From 6d82f170491a39ef969a2d2bcf300004b1def0d5 Mon Sep 17 00:00:00 2001 From: samvaity Date: Wed, 12 Apr 2023 15:05:57 -0700 Subject: [PATCH 1/6] update to test proxy re-record --- .../MetricsAdvisorAdminClientBuilderTest.java | 4 +- ...csAdvisorAdministrationClientTestBase.java | 51 +- .../MetricsAdvisorClientBuilderTest.java | 4 +- .../MetricsAdvisorClientTestBase.java | 51 +- .../AlertAsyncTest.listAlerts[1].json | 26 - .../AlertTest.listAlerts[1].json | 26 - ...st.createAnomalyAlertConfiguration[1].json | 65 - ...est.deleteAnomalyAlertWithResponse[1].json | 86 - ...rtAsyncTest.getAnomalyAlertValidId[1].json | 65 - ...lertAsyncTest.testListAnomalyAlert[1].json | 86 - ...ncTest.updateAnomalyAlertHappyPath[1].json | 108 - ...Test.updateAnomalyAlertRemoveHooks[1].json | 108 - ...st.createAnomalyAlertConfiguration[1].json | 84 - ...est.deleteAnomalyAlertWithResponse[1].json | 86 - ...lyAlertTest.getAnomalyAlertValidId[1].json | 86 - ...malyAlertTest.testListAnomalyAlert[1].json | 86 - ...rtTest.updateAnomalyAlertHappyPath[1].json | 89 - ...Test.updateAnomalyAlertRemoveHooks[1].json | 108 - ...yncTest.listAnomalyDimensionValues[1].json | 67 +- ...uesTest.listAnomalyDimensionValues[1].json | 67 +- ...tedAsyncTest.listIncidentsDetected[1].json | 124 +- ...DetectedTest.listIncidentsDetected[1].json | 124 +- ...ertAsyncTest.listIncidentsForAlert[1].json | 25 - ...ForAlertTest.listIncidentsForAlert[1].json | 25 - ...seAsyncTest.listIncidentRootCauses[1].json | 73 +- ...otCauseTest.listIncidentRootCauses[1].json | 73 +- ...ientTest.createAppInsightsDataFeed[1].json | 237 +- ...lientTest.createAzureTableDataFeed[1].json | 235 +- ...AsyncClientTest.createBlobDataFeed[1].json | 236 +- ...yncClientTest.createCosmosDataFeed[1].json | 237 +- ...Test.createDataLakeStorageDataFeed[1].json | 240 +- ...cClientTest.createExplorerDataFeed[1].json | 234 +- ...yncClientTest.createInfluxDataFeed[1].json | 239 +- ...entTest.createLogAnalyticsDataFeed[1].json | 240 +- ...syncClientTest.createMYSQLDataFeed[1].json | 233 +- ...ncClientTest.createMongoDBDataFeed[1].json | 235 +- ...lientTest.createPostgreSQLDataFeed[1].json | 233 +- ...ClientTest.createSQLServerDataFeed[1].json | 234 +- ...tTest.deleteDataFeedIdWithResponse[1].json | 284 +- ...AsyncClientTest.getDataFeedValidId[1].json | 234 +- ...st.testListDataFeedFilterByCreator[1].json | 521 ++- ...istDataFeedFilterByGranularityType[1].json | 481 ++- ...tTest.testListDataFeedFilterByName[1].json | 340 +- ...testListDataFeedFilterBySourceType[1].json | 147 +- ...est.testListDataFeedFilterByStatus[1].json | 182 +- ...yncClientTest.testListDataFeedTop3[1].json | 545 ++- ...edAsyncClientTest.testListDataFeed[1].json | 732 +++- ...ClientTest.updateDataFeedHappyPath[1].json | 464 ++- ...ientTest.createAppInsightsDataFeed[1].json | 237 +- ...lientTest.createAzureTableDataFeed[1].json | 235 +- ...aFeedClientTest.createBlobDataFeed[1].json | 236 +- ...eedClientTest.createCosmosDataFeed[1].json | 237 +- ....createDataFeedDuplicateMetricName[1].json | 80 +- ...tTest.createDataFeedRequiredParams[1].json | 6 +- ...Test.createDataLakeStorageDataFeed[1].json | 240 +- ...dClientTest.createExplorerDataFeed[1].json | 234 +- ...eedClientTest.createInfluxDataFeed[1].json | 239 +- ...entTest.createLogAnalyticsDataFeed[1].json | 240 +- ...FeedClientTest.createMYSQLDataFeed[1].json | 233 +- ...edClientTest.createMongoDBDataFeed[1].json | 235 +- ...lientTest.createPostgreSQLDataFeed[1].json | 233 +- ...ClientTest.createSQLServerDataFeed[1].json | 234 +- ...tTest.deleteDataFeedIdWithResponse[1].json | 284 +- ...aFeedClientTest.getDataFeedValidId[1].json | 336 +- ...st.testListDataFeedFilterByCreator[1].json | 539 ++- ...istDataFeedFilterByGranularityType[1].json | 563 ++- ...testListDataFeedFilterBySourceType[1].json | 147 +- ...est.testListDataFeedFilterByStatus[1].json | 238 +- ...eedClientTest.testListDataFeedTop3[1].json | 678 +++- ...ataFeedClientTest.testListDataFeed[1].json | 616 ++- ...tionAsyncTest.getIngestionProgress[1].json | 59 +- ...ationAsyncTest.listIngestionStatus[1].json | 464 ++- ...perationAsyncTest.refreshIngestion[1].json | 58 +- ...OperationTest.getIngestionProgress[1].json | 59 +- ...nOperationTest.listIngestionStatus[1].json | 464 ++- ...tionOperationTest.refreshIngestion[1].json | 58 +- ...edentialsAsyncTest.testBlobStorage[1].json | 470 ++- ...dentialsAsyncTest.testDataExplorer[1].json | 1251 ++++-- ...dentialsAsyncTest.testDataLakeGen2[1].json | 1435 +++++-- ...CredentialsAsyncTest.testSqlServer[1].json | 1635 ++++++-- ...ithCredentialsTest.testBlobStorage[1].json | 475 ++- ...thCredentialsTest.testDataExplorer[1].json | 1266 ++++-- ...thCredentialsTest.testDataLakeGen2[1].json | 1453 +++++-- ...dWithCredentialsTest.testSqlServer[1].json | 1655 ++++++-- ...ncTest.createDataLakeGen2SharedKey[1].json | 160 +- ...yncTest.createServicePrincipalInKV[1].json | 171 +- ...alAsyncTest.createServicePrincipal[1].json | 165 +- ...syncTest.createSqlConnectionString[1].json | 160 +- ...Test.testListDataSourceCredentials[1].json | 399 +- ...alTest.createDataLakeGen2SharedKey[1].json | 163 +- ...dentialTest.createServicePrincipal[1].json | 168 +- ...tialTest.createSqlConnectionString[1].json | 163 +- ...Test.testListDataSourceCredentials[1].json | 406 +- ...igurationForMultipleSeriesAndGroup[1].json | 864 +++- ...tionConfigurationForSeriesAndGroup[1].json | 512 ++- ...tectionConfigurationForWholeSeries[1].json | 446 ++- ...cTest.updateDetectionConfiguration[1].json | 1093 +++++- ...igurationForMultipleSeriesAndGroup[1].json | 864 +++- ...tionConfigurationForSeriesAndGroup[1].json | 512 ++- ...tectionConfigurationForWholeSeries[1].json | 446 ++- ...nTest.updateDetectionConfiguration[1].json | 1093 +++++- ...ackAsyncTest.createAnomalyFeedback[1].json | 46 - ...st.createChangePointMetricFeedback[1].json | 46 - ...ncTest.createCommentMetricFeedback[1].json | 46 - ...yncTest.createPeriodMetricFeedback[1].json | 46 - ...yncTest.getMetricFeedbackInvalidId[1].json | 6 +- ...kAsyncTest.getMetricFeedbackNullId[1].json | 6 +- ...AsyncTest.getMetricFeedbackValidId[1].json | 67 - ...ricFeedbackFilterByDimensionFilter[1].json | 288 -- ...MetricFeedbackFilterByFeedbackType[1].json | 3465 ++++++++++++++++- ...tListMetricFeedbackFilterStartTime[1].json | 68 - ...ckAsyncTest.testListMetricFeedback[1].json | 110 - ...FeedbackTest.createAnomalyFeedback[1].json | 46 - ...st.createChangePointMetricFeedback[1].json | 46 - ...ckTest.createCommentMetricFeedback[1].json | 46 - ...ackTest.createPeriodMetricFeedback[1].json | 46 - ...edbackTest.getMetricFeedbackNullId[1].json | 6 +- ...dbackTest.getMetricFeedbackValidId[1].json | 67 - ...ricFeedbackFilterByDimensionFilter[1].json | 266 -- ...MetricFeedbackFilterByFeedbackType[1].json | 26 - ...tListMetricFeedbackFilterStartTime[1].json | 68 - ...eedbackTest.testListMetricFeedback[1].json | 110 - ...t.clientBuilderWithDefaultPipeline[1].json | 267 +- ...lientBuilderWithNullServiceVersion[1].json | 267 +- ...t.clientBuilderWithDefaultPipeline[1].json | 206 +- ...lientBuilderWithNullServiceVersion[1].json | 206 +- ...syncTest.listMetricDimensionValues[1].json | 66 +- ...yncTest.listMetricEnrichmentStatus[1].json | 64 +- ...riesAsyncTest.listMetricSeriesData[1].json | 81 +- ...icSeriesDefinitionsDimensionFilter[1].json | 82 +- ...ncTest.listMetricSeriesDefinitions[1].json | 112 +- ...riesTest.listMetricDimensionValues[1].json | 66 +- ...iesTest.listMetricEnrichmentStatus[1].json | 64 +- ...icsSeriesTest.listMetricSeriesData[1].json | 81 +- ...icSeriesDefinitionsDimensionFilter[1].json | 82 +- ...esTest.listMetricSeriesDefinitions[1].json | 112 +- ...ationHookAsyncTest.createEmailHook[1].json | 65 - ...icationHookAsyncTest.createWebHook[1].json | 180 +- ...ficationHookAsyncTest.testListHook[1].json | 210 - ...tificationHookTest.createEmailHook[1].json | 65 - ...NotificationHookTest.createWebHook[1].json | 180 +- .../NotificationHookTest.testListHook[1].json | 210 - 142 files changed, 28951 insertions(+), 12103 deletions(-) delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertAsyncTest.listAlerts[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertTest.listAlerts[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.createAnomalyAlertConfiguration[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.deleteAnomalyAlertWithResponse[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.getAnomalyAlertValidId[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.testListAnomalyAlert[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertHappyPath[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertRemoveHooks[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.createAnomalyAlertConfiguration[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.deleteAnomalyAlertWithResponse[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.getAnomalyAlertValidId[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.testListAnomalyAlert[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertHappyPath[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertRemoveHooks[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertAsyncTest.listIncidentsForAlert[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertTest.listIncidentsForAlert[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createAnomalyFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createChangePointMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createCommentMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createPeriodMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackValidId[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByDimensionFilter[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterStartTime[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createAnomalyFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createChangePointMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createCommentMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createPeriodMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackValidId[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByDimensionFilter[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByFeedbackType[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterStartTime[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedback[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createEmailHook[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.testListHook[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createEmailHook[1].json delete mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.testListHook[1].json diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java index 225c3e87f3fa9..253494b2ad69f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java @@ -170,10 +170,10 @@ private MetricsAdvisorAdministrationClientBuilder createClientBuilder(HttpClient final MetricsAdvisorAdministrationClientBuilder clientBuilder = new MetricsAdvisorAdministrationClientBuilder() .credential(credential) .endpoint(endpoint) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .serviceVersion(serviceVersion); - if (!interceptorManager.isPlaybackMode()) { + if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java index 30e2e3ef86573..ad906025c6813 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java @@ -5,19 +5,24 @@ import com.azure.ai.metricsadvisor.administration.MetricsAdvisorAdministrationClientBuilder; import com.azure.ai.metricsadvisor.models.MetricsAdvisorKeyCredential; +import com.azure.core.credential.AccessToken; +import com.azure.core.credential.TokenCredential; +import com.azure.core.credential.TokenRequestContext; import com.azure.core.http.HttpClient; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.http.AssertingHttpClientBuilder; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.time.OffsetDateTime; import static com.azure.ai.metricsadvisor.MetricsAdvisorClientBuilderTest.PLAYBACK_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; -public abstract class MetricsAdvisorAdministrationClientTestBase extends TestBase { +public abstract class MetricsAdvisorAdministrationClientTestBase extends TestProxyTestBase { @Override protected void beforeTest() { @@ -37,11 +42,11 @@ private HttpClient buildSyncAssertingClient(HttpClient httpClient) { MetricsAdvisorAdministrationClientBuilder getMetricsAdvisorAdministrationBuilder(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion, boolean isSync) { - HttpClient httpClient1; + HttpClient httpClient1 = interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient; if (isSync) { - httpClient1 = buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildSyncAssertingClient(httpClient1); } else { - httpClient1 = buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildAsyncAssertingClient(httpClient1); } return getMetricsAdvisorAdministrationBuilderInternal(httpClient1, serviceVersion, true); } @@ -57,20 +62,32 @@ MetricsAdvisorAdministrationClientBuilder getMetricsAdvisorAdministrationBuilder boolean useKeyCredential) { MetricsAdvisorAdministrationClientBuilder builder = new MetricsAdvisorAdministrationClientBuilder() .endpoint(getEndpoint()) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(httpClient) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) - .serviceVersion(serviceVersion) - .addPolicy(interceptorManager.getRecordPolicy()); + .serviceVersion(serviceVersion); - if (getTestMode() == TestMode.PLAYBACK) { - builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + if (useKeyCredential) { + if (interceptorManager.isPlaybackMode()) { + builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new MetricsAdvisorKeyCredential( + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))) + .addPolicy(interceptorManager.getRecordPolicy()); + } } else { - if (useKeyCredential) { - builder.credential(new MetricsAdvisorKeyCredential( - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))); - } else { - builder.credential(new DefaultAzureCredentialBuilder().build()); + if (interceptorManager.isPlaybackMode()) { + builder.credential(new TokenCredential() { + @Override + public Mono getToken(TokenRequestContext tokenRequestContext) { + return Mono.just(new AccessToken("mockToken", OffsetDateTime.now().plusHours(2))); + } + }); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new DefaultAzureCredentialBuilder().build()) + .addPolicy(interceptorManager.getRecordPolicy()); } } return builder; diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java index ff1979c93148a..d0aceca71b8aa 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java @@ -185,10 +185,10 @@ private MetricsAdvisorClientBuilder createClientBuilder(HttpClient httpClient, M final MetricsAdvisorClientBuilder clientBuilder = new MetricsAdvisorClientBuilder() .credential(credential) .endpoint(endpoint) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .serviceVersion(serviceVersion); - if (!interceptorManager.isPlaybackMode()) { + if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java index e4670da1c6e2a..066745d640f35 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java @@ -4,18 +4,23 @@ package com.azure.ai.metricsadvisor; import com.azure.ai.metricsadvisor.models.MetricsAdvisorKeyCredential; +import com.azure.core.credential.AccessToken; +import com.azure.core.credential.TokenCredential; +import com.azure.core.credential.TokenRequestContext; import com.azure.core.http.HttpClient; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.http.AssertingHttpClientBuilder; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.time.OffsetDateTime; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; -public abstract class MetricsAdvisorClientTestBase extends TestBase { +public abstract class MetricsAdvisorClientTestBase extends TestProxyTestBase { @Override protected void beforeTest() { @@ -35,11 +40,11 @@ private HttpClient buildSyncAssertingClient(HttpClient httpClient) { MetricsAdvisorClientBuilder getMetricsAdvisorBuilder(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion, boolean isSync) { - HttpClient httpClient1; + HttpClient httpClient1 = interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient; if (isSync) { - httpClient1 = buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildSyncAssertingClient(httpClient1); } else { - httpClient1 = buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildAsyncAssertingClient(httpClient1); } return getMetricsAdvisorBuilderInternal(httpClient1, serviceVersion, true); } @@ -49,20 +54,32 @@ MetricsAdvisorClientBuilder getMetricsAdvisorBuilderInternal(HttpClient httpClie boolean useKeyCredential) { MetricsAdvisorClientBuilder builder = new MetricsAdvisorClientBuilder() .endpoint(getEndpoint()) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(httpClient) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) - .serviceVersion(serviceVersion) - .addPolicy(interceptorManager.getRecordPolicy()); + .serviceVersion(serviceVersion); - if (getTestMode() == TestMode.PLAYBACK) { - builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + if (useKeyCredential) { + if (interceptorManager.isPlaybackMode()) { + builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new MetricsAdvisorKeyCredential( + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))) + .addPolicy(interceptorManager.getRecordPolicy()); + } } else { - if (useKeyCredential) { - builder.credential(new MetricsAdvisorKeyCredential( - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))); - } else { - builder.credential(new DefaultAzureCredentialBuilder().build()); + if (interceptorManager.isPlaybackMode()) { + builder.credential(new TokenCredential() { + @Override + public Mono getToken(TokenRequestContext tokenRequestContext) { + return Mono.just(new AccessToken("mockToken", OffsetDateTime.now().plusHours(2))); + } + }); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new DefaultAzureCredentialBuilder().build()) + .addPolicy(interceptorManager.getRecordPolicy()); } } return builder; diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertAsyncTest.listAlerts[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertAsyncTest.listAlerts[1].json deleted file mode 100644 index af31eaba54028..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertAsyncTest.listAlerts[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d5f663c-6376-47b6-b334-b37e4624e7a6", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "67000902-1a33-4175-92d3-8bc2667c5317", - "content-length" : "443", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "67000902-1a33-4175-92d3-8bc2667c5317", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"alertId\":\"17f9f794800\",\"timestamp\":\"2022-03-19T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:24.721Z\",\"modifiedTime\":\"2022-04-06T00:29:33.895Z\"},{\"alertId\":\"17f8adfd800\",\"timestamp\":\"2022-03-15T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:07.018Z\",\"modifiedTime\":\"2022-04-06T00:28:52.754Z\"},{\"alertId\":\"17f85b97c00\",\"timestamp\":\"2022-03-14T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:06.612Z\",\"modifiedTime\":\"2022-04-06T00:28:51.832Z\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertTest.listAlerts[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertTest.listAlerts[1].json deleted file mode 100644 index d03946abb2305..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertTest.listAlerts[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f82f322d-3413-4adf-9f92-5c592cbbd4bb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "ae57a5fa-9b3e-4215-a5d3-9875a7de7fb3", - "content-length" : "443", - "x-envoy-upstream-service-time" : "450", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ae57a5fa-9b3e-4215-a5d3-9875a7de7fb3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"alertId\":\"17f9f794800\",\"timestamp\":\"2022-03-19T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:24.721Z\",\"modifiedTime\":\"2022-04-06T00:29:33.895Z\"},{\"alertId\":\"17f8adfd800\",\"timestamp\":\"2022-03-15T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:07.018Z\",\"modifiedTime\":\"2022-04-06T00:28:52.754Z\"},{\"alertId\":\"17f85b97c00\",\"timestamp\":\"2022-03-14T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:06.612Z\",\"modifiedTime\":\"2022-04-06T00:28:51.832Z\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.createAnomalyAlertConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.createAnomalyAlertConfiguration[1].json deleted file mode 100644 index b3675a1fdb94d..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.createAnomalyAlertConfiguration[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "27dae8e7-8943-4c4c-bdb7-d8715b199dc4", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1dbde2ca-0ae8-47d3-8b74-1ead0f430004", - "content-length" : "0", - "x-envoy-upstream-service-time" : "162", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1dbde2ca-0ae8-47d3-8b74-1ead0f430004", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a4910983-dc68-4da7-8fde-155fd0367a82" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a4910983-dc68-4da7-8fde-155fd0367a82", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "10d99ca2-e9b6-4571-a961-941e8663ad95" - }, - "Response" : { - "x-request-id" : "6779acf4-fea1-4718-9345-63af23903ccc", - "content-length" : "363", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6779acf4-fea1-4718-9345-63af23903ccc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"a4910983-dc68-4da7-8fde-155fd0367a82\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a4910983-dc68-4da7-8fde-155fd0367a82", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "99a4fe89-0bac-4571-a446-1af17853881d" - }, - "Response" : { - "x-request-id" : "e628eb93-0128-4136-8781-31eb4bf7b0d3", - "content-length" : "0", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e628eb93-0128-4136-8781-31eb4bf7b0d3", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.deleteAnomalyAlertWithResponse[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.deleteAnomalyAlertWithResponse[1].json deleted file mode 100644 index 2d89c33c1a3b6..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.deleteAnomalyAlertWithResponse[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "154ef5ea-4bec-483e-86d0-7de8aa2a8aa6", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2f324f54-a54b-489a-91ec-e2dcc31cfd70", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2f324f54-a54b-489a-91ec-e2dcc31cfd70", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3625914c-9408-4aa8-b069-e37599ac6f68" - }, - "Response" : { - "x-request-id" : "29b4d60e-3297-4791-b8c7-b17133b66b54", - "content-length" : "363", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "29b4d60e-3297-4791-b8c7-b17133b66b54", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"5b5e1acd-7ced-4db9-857b-628a7255deb4\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c46b548e-8241-4fe9-b406-5223f1333ad0" - }, - "Response" : { - "x-request-id" : "b3b7b6b4-46e3-4fc2-b91e-b402e1e95755", - "content-length" : "0", - "x-envoy-upstream-service-time" : "121", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b3b7b6b4-46e3-4fc2-b91e-b402e1e95755", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6993397f-051d-4035-bf6e-85e2545c5278" - }, - "Response" : { - "x-request-id" : "9ac6570e-6871-4d79-b4b4-1f0ca38b2771", - "content-length" : "123", - "x-envoy-upstream-service-time" : "88", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9ac6570e-6871-4d79-b4b4-1f0ca38b2771", - "retry-after" : "0", - "StatusCode" : "404", - "Body" : "{\"code\":\"Not Found\",\"message\":\"Not found this AnomalyAlertingConfiguration. TraceId: 9ac6570e-6871-4d79-b4b4-1f0ca38b2771\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.getAnomalyAlertValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.getAnomalyAlertValidId[1].json deleted file mode 100644 index 556fbb08831d6..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.getAnomalyAlertValidId[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0cf8d453-18db-4bb9-99e0-047234eeba4c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "979cf212-5d87-417f-8f45-61650d003aea", - "content-length" : "0", - "x-envoy-upstream-service-time" : "151", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "979cf212-5d87-417f-8f45-61650d003aea", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0f1915a8-8987-480b-ac82-1d9dc21cf600" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0f1915a8-8987-480b-ac82-1d9dc21cf600", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b1b105af-f13c-414b-a3ec-e62aca3d4012" - }, - "Response" : { - "x-request-id" : "4fea8ff7-0885-47ab-ab4b-de0111a811ea", - "content-length" : "363", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4fea8ff7-0885-47ab-ab4b-de0111a811ea", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"0f1915a8-8987-480b-ac82-1d9dc21cf600\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0f1915a8-8987-480b-ac82-1d9dc21cf600", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "334b35e9-0122-4c9f-b857-4ad27dcdc0e9" - }, - "Response" : { - "x-request-id" : "854a6c8e-edfd-480b-bc7c-cb7ad2e0d170", - "content-length" : "0", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "854a6c8e-edfd-480b-bc7c-cb7ad2e0d170", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.testListAnomalyAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.testListAnomalyAlert[1].json deleted file mode 100644 index 4969093c114d0..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.testListAnomalyAlert[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "52afa1e2-ecfa-4861-b9b5-43eec481bedd", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "37b62d6a-0fcd-469d-8207-f41c2b40b258", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "37b62d6a-0fcd-469d-8207-f41c2b40b258", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/38380ce3-ebba-487a-a609-87e092525aa1" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/38380ce3-ebba-487a-a609-87e092525aa1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "adb11cd6-b255-459e-a2c3-c6659e5b09e4" - }, - "Response" : { - "x-request-id" : "5de7aba7-e5e0-4477-aa35-501b66dc7ae2", - "content-length" : "363", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5de7aba7-e5e0-4477-aa35-501b66dc7ae2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"38380ce3-ebba-487a-a609-87e092525aa1\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0a4bfc8c-5591-4dd6-ab4f-f25e55a347d3" - }, - "Response" : { - "x-request-id" : "ec02bfc9-c5da-42de-a978-49a2b6e6c716", - "content-length" : "4374", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ec02bfc9-c5da-42de-a978-49a2b6e6c716", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyAlertingConfigurationId\":\"11bdb68d-8f8f-4423-b76a-7167ee25deee\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"126d1470-b500-4ef0-b5c0-47f9ca914a75\",\"name\":\"sample-alert-config\",\"description\":\"\",\"splitAlertByDimensions\":[\"Dim1\",\"Dim2\"],\"hookIds\":[\"ad2639d2-84dd-4b12-9635-82b8ff14e832\"],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false,\"severityFilter\":{\"minAlertSeverity\":\"Low\",\"maxAlertSeverity\":\"High\"},\"snoozeFilter\":{\"autoSnooze\":0,\"snoozeScope\":\"Series\",\"onlyForSuccessive\":true}}]},{\"anomalyAlertingConfigurationId\":\"34d464f3-3dc9-43da-afd9-3457f02dcbda\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"38380ce3-ebba-487a-a609-87e092525aa1\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"443ba423-df08-4cf8-80e0-2cc6829ecb29\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"904bd03f-32c6-49ba-8a7c-f194723c1d82\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"cc069d75-e544-4c97-bcf5-7bf02eea3982\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ec712ef4-f92c-401e-a1fd-75acec27c344\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ecd20ff9-4042-485e-aa5c-9b1d9172cde2\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/38380ce3-ebba-487a-a609-87e092525aa1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aa0937cb-0db2-421d-8bbb-c7b46b763e01" - }, - "Response" : { - "x-request-id" : "a412b54c-ebd7-4348-baa6-cea494ef206c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a412b54c-ebd7-4348-baa6-cea494ef206c", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertHappyPath[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertHappyPath[1].json deleted file mode 100644 index 7a7169452622e..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertHappyPath[1].json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e3526d2-4589-438b-b736-4d2c83d1d4f8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d64714b8-a14e-4c4a-8724-8bd748b3693b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d64714b8-a14e-4c4a-8724-8bd748b3693b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7861786e-e59d-4abc-83ed-ca2e659dcba1" - }, - "Response" : { - "x-request-id" : "693533e2-b305-46e6-b4ed-ffe51db14f8d", - "content-length" : "363", - "x-envoy-upstream-service-time" : "97", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "693533e2-b305-46e6-b4ed-ffe51db14f8d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"f6745853-4878-48e7-bbe8-ed8fb8f344d8\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "939ac0fc-484e-42a5-a3f2-54171d7b7b89", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "6c4d2e5b-9e32-4678-ab7d-3135e7cc2da9", - "content-length" : "518", - "x-envoy-upstream-service-time" : "192", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6c4d2e5b-9e32-4678-ab7d-3135e7cc2da9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"f6745853-4878-48e7-bbe8-ed8fb8f344d8\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4b6ee2cf-57eb-4f38-b17a-d1bc3053d075" - }, - "Response" : { - "x-request-id" : "5e0e9e1e-a350-4c26-91c4-d371e78b7c93", - "content-length" : "518", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5e0e9e1e-a350-4c26-91c4-d371e78b7c93", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"f6745853-4878-48e7-bbe8-ed8fb8f344d8\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd1540bb-2fe2-4489-b6c2-625b15940d50" - }, - "Response" : { - "x-request-id" : "76efdcd2-51b9-4d10-917e-ad6b48d7e7ba", - "content-length" : "0", - "x-envoy-upstream-service-time" : "155", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "76efdcd2-51b9-4d10-917e-ad6b48d7e7ba", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertRemoveHooks[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertRemoveHooks[1].json deleted file mode 100644 index c9f2c4b566a25..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertRemoveHooks[1].json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c9e9c579-c158-45d3-a80e-88b478a59de8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "18007e0c-33f9-4572-9480-0282dc68465a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "251", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "18007e0c-33f9-4572-9480-0282dc68465a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "80f3b72b-6e2c-4981-ac0c-b57683815670" - }, - "Response" : { - "x-request-id" : "09fe6027-8495-4b63-9f02-3876911e5692", - "content-length" : "363", - "x-envoy-upstream-service-time" : "185", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "09fe6027-8495-4b63-9f02-3876911e5692", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"86cdaf52-9164-43a0-b852-fd1c2c4c7e74\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4da32747-f7a6-4c66-a83e-b2da049003d9", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "10b819a1-a7e8-4c26-a438-529d57281efc", - "content-length" : "363", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10b819a1-a7e8-4c26-a438-529d57281efc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"86cdaf52-9164-43a0-b852-fd1c2c4c7e74\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bb341a6-fdfc-481b-8328-7002d2ffceb3" - }, - "Response" : { - "x-request-id" : "d7b450b7-264a-444f-8078-d3774f76c2b2", - "content-length" : "363", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d7b450b7-264a-444f-8078-d3774f76c2b2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"86cdaf52-9164-43a0-b852-fd1c2c4c7e74\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "be97cc34-e04e-435c-9e9d-c8c060748988" - }, - "Response" : { - "x-request-id" : "969904a9-3bcb-4bcf-a892-cb91482c60f4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "969904a9-3bcb-4bcf-a892-cb91482c60f4", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.createAnomalyAlertConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.createAnomalyAlertConfiguration[1].json deleted file mode 100644 index 2f0576d8ff9bc..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.createAnomalyAlertConfiguration[1].json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "188c94f6-0a4c-41a2-9934-d799a48c43a9", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "da9a242b-1e45-4b77-a679-8b508b93d195", - "content-length" : "0", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "da9a242b-1e45-4b77-a679-8b508b93d195", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "feae519d-c666-4559-a588-ad94f69049d3" - }, - "Response" : { - "x-request-id" : "11d2bfa7-30f8-4417-9bd2-798d3b9e9379", - "content-length" : "363", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "11d2bfa7-30f8-4417-9bd2-798d3b9e9379", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"e147d830-3c3b-429c-96cc-d4bd6aefeb57\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "26d4ce3c-62e0-4b1a-9daa-6f1669a7d8f3" - }, - "Response" : { - "x-request-id" : "2456f09e-ebd2-439b-a535-1986cbc98fea", - "content-length" : "0", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2456f09e-ebd2-439b-a535-1986cbc98fea", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c201a57-49bc-48c7-b1e0-4df1eef9f141" - }, - "Response" : { - "x-request-id" : "8e9dc3b0-eb69-49af-a5ce-ac8b578d9558", - "content-length" : "0", - "x-envoy-upstream-service-time" : "84", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8e9dc3b0-eb69-49af-a5ce-ac8b578d9558", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.deleteAnomalyAlertWithResponse[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.deleteAnomalyAlertWithResponse[1].json deleted file mode 100644 index 4b5d4d9f6fe33..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.deleteAnomalyAlertWithResponse[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fcef44d7-cf51-42a3-9404-4a9636576e1c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d17f3b4a-ca21-4695-97e2-bc93b9584a22", - "content-length" : "0", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d17f3b4a-ca21-4695-97e2-bc93b9584a22", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b0444e3e-b224-4994-b69e-77580da3c3fc" - }, - "Response" : { - "x-request-id" : "d8c9b6b4-933b-46db-8ec8-61423abd0d87", - "content-length" : "363", - "x-envoy-upstream-service-time" : "103", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d8c9b6b4-933b-46db-8ec8-61423abd0d87", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "186425c7-c288-4ce5-967e-f94f613d82f2" - }, - "Response" : { - "x-request-id" : "fa808844-69ad-43f5-b623-4dd6c5278aee", - "content-length" : "0", - "x-envoy-upstream-service-time" : "134", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fa808844-69ad-43f5-b623-4dd6c5278aee", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e031d4e-e306-4989-92b5-bcd9e4e13459" - }, - "Response" : { - "x-request-id" : "141624a9-4821-475e-b7ef-762d0f80da12", - "content-length" : "123", - "x-envoy-upstream-service-time" : "79", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "141624a9-4821-475e-b7ef-762d0f80da12", - "retry-after" : "0", - "StatusCode" : "404", - "Body" : "{\"code\":\"Not Found\",\"message\":\"Not found this AnomalyAlertingConfiguration. TraceId: 141624a9-4821-475e-b7ef-762d0f80da12\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.getAnomalyAlertValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.getAnomalyAlertValidId[1].json deleted file mode 100644 index d439c277a5453..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.getAnomalyAlertValidId[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "992a10ca-70f6-4ecc-9305-2252193b4cb6", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bbbd62b8-d0ca-4e7e-9d2d-8b9838c6f52d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bbbd62b8-d0ca-4e7e-9d2d-8b9838c6f52d", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e429d2af-7870-4fb1-af9f-3342f7ac21c7" - }, - "Response" : { - "x-request-id" : "7047ca57-4fee-4313-a28c-b4f0d7f9960f", - "content-length" : "363", - "x-envoy-upstream-service-time" : "94", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7047ca57-4fee-4313-a28c-b4f0d7f9960f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"d2c722a5-d638-4993-9b68-e7799280d362\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a30b6454-b766-4ce1-8345-05f8d5fc5557" - }, - "Response" : { - "x-request-id" : "68a28b55-f53c-45e8-8e92-67879c095a2d", - "content-length" : "363", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "68a28b55-f53c-45e8-8e92-67879c095a2d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"d2c722a5-d638-4993-9b68-e7799280d362\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c0eba604-7cdd-4bda-b8f7-f4bedda625ba" - }, - "Response" : { - "x-request-id" : "3d35f3c7-fc41-447b-868d-7854056c87fb", - "content-length" : "0", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3d35f3c7-fc41-447b-868d-7854056c87fb", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.testListAnomalyAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.testListAnomalyAlert[1].json deleted file mode 100644 index f8deac1ecda56..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.testListAnomalyAlert[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f5b0548-1940-4128-b617-dfbd9192a483", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "23e0eb13-2157-4238-b942-456a21011856", - "content-length" : "0", - "x-envoy-upstream-service-time" : "98", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "23e0eb13-2157-4238-b942-456a21011856", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/cc069d75-e544-4c97-bcf5-7bf02eea3982" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/cc069d75-e544-4c97-bcf5-7bf02eea3982", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9506c318-f9fd-461e-a8e4-731534b0f7ef" - }, - "Response" : { - "x-request-id" : "36faa98f-8f62-44f4-b55a-9b098bd23ba5", - "content-length" : "363", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "36faa98f-8f62-44f4-b55a-9b098bd23ba5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"cc069d75-e544-4c97-bcf5-7bf02eea3982\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c383dbc-54d5-4d69-b5a9-05d8078416c0" - }, - "Response" : { - "x-request-id" : "7f328927-8628-485c-89ae-9133e9401907", - "content-length" : "4374", - "x-envoy-upstream-service-time" : "117", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7f328927-8628-485c-89ae-9133e9401907", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyAlertingConfigurationId\":\"11bdb68d-8f8f-4423-b76a-7167ee25deee\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"126d1470-b500-4ef0-b5c0-47f9ca914a75\",\"name\":\"sample-alert-config\",\"description\":\"\",\"splitAlertByDimensions\":[\"Dim1\",\"Dim2\"],\"hookIds\":[\"ad2639d2-84dd-4b12-9635-82b8ff14e832\"],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false,\"severityFilter\":{\"minAlertSeverity\":\"Low\",\"maxAlertSeverity\":\"High\"},\"snoozeFilter\":{\"autoSnooze\":0,\"snoozeScope\":\"Series\",\"onlyForSuccessive\":true}}]},{\"anomalyAlertingConfigurationId\":\"34d464f3-3dc9-43da-afd9-3457f02dcbda\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"38380ce3-ebba-487a-a609-87e092525aa1\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"443ba423-df08-4cf8-80e0-2cc6829ecb29\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"904bd03f-32c6-49ba-8a7c-f194723c1d82\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"cc069d75-e544-4c97-bcf5-7bf02eea3982\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ec712ef4-f92c-401e-a1fd-75acec27c344\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ecd20ff9-4042-485e-aa5c-9b1d9172cde2\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/cc069d75-e544-4c97-bcf5-7bf02eea3982", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21ec9153-0261-410d-a8d4-c13d387e7a6b" - }, - "Response" : { - "x-request-id" : "be3eff99-d91d-44ae-878a-1eaf5c35307f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "154", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "be3eff99-d91d-44ae-878a-1eaf5c35307f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertHappyPath[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertHappyPath[1].json deleted file mode 100644 index 5aa8f9526af80..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertHappyPath[1].json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1c9c3a4c-abbb-47df-bd94-09b296a2dea8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4ad6ce56-4b32-481c-b2dd-e47f946cbb9f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "169", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4ad6ce56-4b32-481c-b2dd-e47f946cbb9f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3f459c75-6d3d-4db3-8a52-47cc52aae2d2" - }, - "Response" : { - "x-request-id" : "d6d0ab60-ca0c-4bc0-8c6b-32cd7b4cb0d5", - "content-length" : "363", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d6d0ab60-ca0c-4bc0-8c6b-32cd7b4cb0d5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"b821c6dc-9f52-4309-80f2-db718518cb9b\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "422d8a46-6c41-41d3-a1f8-1fc80a355618", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "d2c4a5e7-92d3-4bc5-a908-1aa5f0f525b8", - "content-length" : "518", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d2c4a5e7-92d3-4bc5-a908-1aa5f0f525b8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"b821c6dc-9f52-4309-80f2-db718518cb9b\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bfa1745-8889-4e52-85ad-688c44972fa4" - }, - "Response" : { - "x-request-id" : "8bc0fa07-e974-433a-8728-597dd9a048a0", - "content-length" : "518", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8bc0fa07-e974-433a-8728-597dd9a048a0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"b821c6dc-9f52-4309-80f2-db718518cb9b\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertRemoveHooks[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertRemoveHooks[1].json deleted file mode 100644 index 80d6f27a3c8d2..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertRemoveHooks[1].json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7dce082-c562-426f-b7aa-c31df793831b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5b5c509a-b461-4433-b28a-9118ec2a10c5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "227", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5b5c509a-b461-4433-b28a-9118ec2a10c5", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1860071c-5fa4-4ff0-9f09-86b0abb17b31" - }, - "Response" : { - "x-request-id" : "8268c7eb-a71d-4dfb-b2f5-63b7e27f1aef", - "content-length" : "363", - "x-envoy-upstream-service-time" : "197", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8268c7eb-a71d-4dfb-b2f5-63b7e27f1aef", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"3791df3c-8f64-4481-865c-ef81e8b727e0\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "09d19374-b747-4311-bbc6-7da207487348", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "f3b83fa0-4da9-4f43-8b19-24b4ec5752bc", - "content-length" : "363", - "x-envoy-upstream-service-time" : "231", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3b83fa0-4da9-4f43-8b19-24b4ec5752bc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"3791df3c-8f64-4481-865c-ef81e8b727e0\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e4d3ba5-4526-40a0-a790-a69de13ac576" - }, - "Response" : { - "x-request-id" : "572c46f2-93a8-4b4d-9f54-4077828af35c", - "content-length" : "363", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "572c46f2-93a8-4b4d-9f54-4077828af35c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"3791df3c-8f64-4481-865c-ef81e8b727e0\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a03119aa-0c95-4535-9a35-f11a1c08a640" - }, - "Response" : { - "x-request-id" : "8652fadd-89c6-4a55-b25d-135fe4e38dd1", - "content-length" : "0", - "x-envoy-upstream-service-time" : "142", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8652fadd-89c6-4a55-b25d-135fe4e38dd1", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json index 8981e2e07b191..473c53bce17f2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json @@ -1,26 +1,43 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6b1ae994-f4d6-4096-87b9-54643ac18c7e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "588d8568-8468-4013-8305-33d5a6a1a5d5", - "content-length" : "27", - "x-envoy-upstream-service-time" : "244", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "588d8568-8468-4013-8305-33d5a6a1a5d5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "92", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "cf1f5b3c-ece7-4aca-8644-f965f013a6ef", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z", + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "79f77dd7-dd9b-4541-9974-ac890d81489a", + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "354", + "x-ms-region": "West US 2", + "X-Request-ID": "79f77dd7-dd9b-4541-9974-ac890d81489a" + }, + "ResponseBody": { + "value": [ + "__SUM__", + "JPN" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json index 9a7e040afb7da..43cd631107c78 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json @@ -1,26 +1,43 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1d8ee91b-44b7-4b02-80a1-b4d23d00074f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "79ae02f2-2d49-4cb2-8d72-d2737cfd30e3", - "content-length" : "27", - "x-envoy-upstream-service-time" : "244", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79ae02f2-2d49-4cb2-8d72-d2737cfd30e3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "92", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a1d216c6-7ad6-4e66-a12f-186355a2700b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z", + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fe03ce25-c98e-4aa9-8625-44c1cd1f14e5", + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "203", + "x-ms-region": "West US 2", + "X-Request-ID": "fe03ce25-c98e-4aa9-8625-44c1cd1f14e5" + }, + "ResponseBody": { + "value": [ + "__SUM__", + "JPN" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json index ea8fcc7feb7be..ac90db2f891a7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json @@ -1,26 +1,100 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a35a926c-6cd2-4587-9acf-a87892db6c17", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2edbfac9-2009-43c1-8ba7-655e851e7ba6", - "content-length" : "947", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2edbfac9-2009-43c1-8ba7-655e851e7ba6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800\",\"startTime\":\"2022-03-14T00:00:00Z\",\"lastTime\":\"2022-03-15T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":83298.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00\",\"startTime\":\"2022-03-10T00:00:00Z\",\"lastTime\":\"2022-03-10T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":80214.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "eb550037-da0e-4ff0-b9d9-2eae844f79e2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c53b6712-85c0-4183-85c1-be6eeed1d3cf", + "Content-Length": "1472", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "337", + "x-ms-region": "West US 2", + "X-Request-ID": "c53b6712-85c0-4183-85c1-be6eeed1d3cf" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800", + "startTime": "2022-03-19T00:00:00Z", + "lastTime": "2022-03-19T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 97249.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800", + "startTime": "2022-03-14T00:00:00Z", + "lastTime": "2022-03-15T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 83298.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00", + "startTime": "2022-03-10T00:00:00Z", + "lastTime": "2022-03-10T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 80214.0, + "expectedValueOfRootNode": 80000.0 + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json index 2db9cecb95390..dd2641ec518b0 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json @@ -1,26 +1,100 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "44b95f23-efba-4029-b3c1-0ae7f1aa8cfb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "26450c32-3cdd-45e9-a6fd-d628cad1dab5", - "content-length" : "947", - "x-envoy-upstream-service-time" : "556", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "26450c32-3cdd-45e9-a6fd-d628cad1dab5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800\",\"startTime\":\"2022-03-14T00:00:00Z\",\"lastTime\":\"2022-03-15T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":83298.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00\",\"startTime\":\"2022-03-10T00:00:00Z\",\"lastTime\":\"2022-03-10T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":80214.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8491df25-0c7e-49cf-9c85-6c5b29d94128", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cb1b5a36-645f-47fd-b69c-5bfbe4350798", + "Content-Length": "1472", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "484", + "x-ms-region": "West US 2", + "X-Request-ID": "cb1b5a36-645f-47fd-b69c-5bfbe4350798" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800", + "startTime": "2022-03-19T00:00:00Z", + "lastTime": "2022-03-19T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 97249.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800", + "startTime": "2022-03-14T00:00:00Z", + "lastTime": "2022-03-15T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 83298.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00", + "startTime": "2022-03-10T00:00:00Z", + "lastTime": "2022-03-10T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 80214.0, + "expectedValueOfRootNode": 80000.0 + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertAsyncTest.listIncidentsForAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertAsyncTest.listIncidentsForAlert[1].json deleted file mode 100644 index f352baf68c351..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertAsyncTest.listIncidentsForAlert[1].json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/17f9f794800/incidents?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "99d99250-cbb1-4a10-acb6-c30ccf9f4bc0" - }, - "Response" : { - "x-request-id" : "f27475ae-6e5d-460e-bf9e-452cce3a4913", - "content-length" : "498", - "x-envoy-upstream-service-time" : "402", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f27475ae-6e5d-460e-bf9e-452cce3a4913", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertTest.listIncidentsForAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertTest.listIncidentsForAlert[1].json deleted file mode 100644 index 116c99777fd80..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertTest.listIncidentsForAlert[1].json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/17f9f794800/incidents?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "79f958a0-45f1-451c-9562-4489f31f3737" - }, - "Response" : { - "x-request-id" : "37dd6c9c-bd2d-447f-a05d-48a266f252e6", - "content-length" : "498", - "x-envoy-upstream-service-time" : "420", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "37dd6c9c-bd2d-447f-a05d-48a266f252e6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json index 3a751329b70fb..3bd899b535ffb 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json @@ -1,25 +1,50 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "86cf79a6-e52c-460d-bc7f-de698623f817" - }, - "Response" : { - "x-request-id" : "1ff9ddbc-e7a0-48fc-b9a8-edd3f622a9df", - "content-length" : "210", - "x-envoy-upstream-service-time" : "292", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1ff9ddbc-e7a0-48fc-b9a8-edd3f622a9df", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"rootCause\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"path\":[\"Dim1\",\"Dim2\"],\"score\":0.25078896770000203,\"description\":\"Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident.\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "4ee027a4-93c0-4e02-a016-a9d7f8854f86", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "576b0ea9-a905-437e-b926-62926fb91a49", + "Content-Length": "209", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "219", + "x-ms-region": "West US 2", + "X-Request-ID": "576b0ea9-a905-437e-b926-62926fb91a49" + }, + "ResponseBody": { + "value": [ + { + "rootCause": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "path": [ + "Dim1", + "Dim2" + ], + "score": 0.2510180475721517, + "description": "Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident." + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json index d4c2db95cb598..0539518c548ee 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json @@ -1,25 +1,50 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "41dd4398-2a67-4624-bd3b-f551e9f7d3cc" - }, - "Response" : { - "x-request-id" : "29f81f2c-4d85-4f54-85e3-aff3e73eb814", - "content-length" : "210", - "x-envoy-upstream-service-time" : "460", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "29f81f2c-4d85-4f54-85e3-aff3e73eb814", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"rootCause\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"path\":[\"Dim1\",\"Dim2\"],\"score\":0.25078896770000203,\"description\":\"Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident.\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "70a649bd-1881-4b47-a356-eb07c61fc697", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d77ea74-7037-4cc7-a1b5-660e3971e6d9", + "Content-Length": "209", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "463", + "x-ms-region": "West US 2", + "X-Request-ID": "7d77ea74-7037-4cc7-a1b5-660e3971e6d9" + }, + "ResponseBody": { + "value": [ + { + "rootCause": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "path": [ + "Dim1", + "Dim2" + ], + "score": 0.2510180475721517, + "description": "Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident." + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json index 0e3aeafc6336c..55359a3751542 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b66b7300-0e8d-4abf-b8f6-157d0fae3b24", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "882", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "45390797-4461-4e79-936b-379e0508a2ce", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureApplicationInsights", + "dataFeedName": "java_create_data_feed_test_samplef57e05d9-2eed-411c-9947-f146515b6ac2", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "azureCloud": "Azure Global", + "applicationId": "REDACTED", + "apiKey": "REDACTED", + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "b9acab35-c8c4-48f2-8f83-4fac1878b3fc", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5906d94d-378f-4816-9166-7f28f495f2b1", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "938", + "x-ms-region": "West US 2", + "X-Request-ID": "b9acab35-c8c4-48f2-8f83-4fac1878b3fc" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9480b5e3-6f17-4ee5-b434-0203b8fc18ee", - "content-length" : "0", - "x-envoy-upstream-service-time" : "488", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9480b5e3-6f17-4ee5-b434-0203b8fc18ee", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5808bf6-b945-476b-8535-1180756ea532" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5906d94d-378f-4816-9166-7f28f495f2b1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "60551ab4-ee92-4c1c-9158-effd2d13414d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "763e2950-05eb-4c33-b692-eb870ffa0e85", + "Content-Length": "1557", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "165", + "x-ms-region": "West US 2", + "X-Request-ID": "763e2950-05eb-4c33-b692-eb870ffa0e85" + }, + "ResponseBody": { + "dataFeedId": "5906d94d-378f-4816-9166-7f28f495f2b1", + "dataFeedName": "java_create_data_feed_test_samplef57e05d9-2eed-411c-9947-f146515b6ac2", + "metrics": [ + { + "metricId": "9c3b61d0-071f-4367-8f5b-688266fc3c06", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b2ac8aaf-5be7-4d07-8ec9-5ae2195733ae", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureApplicationInsights", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:50Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode", + "azureCloud": "Azure Global", + "applicationId": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5808bf6-b945-476b-8535-1180756ea532", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "90a815dd-6470-4ab0-b27b-10c091f8e3e8" - }, - "Response" : { - "x-request-id" : "1eabfecc-105c-43b4-8f6b-83345474a0f1", - "content-length" : "1560", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1eabfecc-105c-43b4-8f6b-83345474a0f1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d5808bf6-b945-476b-8535-1180756ea532\",\"dataFeedName\":\"java_create_data_feed_test_samplec4ddedaa-b260-4a59-b578-364d58e00b35\",\"metrics\":[{\"metricId\":\"2dc85bf9-d1f5-442b-b2a6-0657600e99e6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"12d7dcdc-ed5b-4da2-81f1-10cc41e43af1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure Global\",\"REDACTED\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:36 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5808bf6-b945-476b-8535-1180756ea532", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc6346f1-0141-46b9-a933-2b014d723dcd" - }, - "Response" : { - "x-request-id" : "13afeace-e37b-462d-965f-f388867429b7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "323", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "13afeace-e37b-462d-965f-f388867429b7", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5906d94d-378f-4816-9166-7f28f495f2b1", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8602f762-d57b-4be2-a15c-4ccfdc28a758", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ab006690-519f-4a06-b6d6-9eba609396fc", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "338", + "x-ms-region": "West US 2", + "X-Request-ID": "ab006690-519f-4a06-b6d6-9eba609396fc" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json index 052fb3a63e331..56b61500c3571 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json @@ -1,65 +1,176 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "33c84bfa-87a2-4762-968c-a27d5244dcff", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "597", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "388e83be-8874-4720-bcc1-f4b520ec790f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureTable", + "dataFeedName": "java_create_data_feed_test_sample06022027-fe57-4b28-a788-ca644948a749", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "table": "adsample", + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "46d71dc9-41c1-4890-9b0c-ffffb58d39d1", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cb9b4a97-a8ea-417a-9553-ac514e65b9bf", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "625", + "x-ms-region": "West US 2", + "X-Request-ID": "46d71dc9-41c1-4890-9b0c-ffffb58d39d1" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c35a7829-92d4-49e8-9734-bbe5fb3ec7e2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "460", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c35a7829-92d4-49e8-9734-bbe5fb3ec7e2", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/86798b7d-5a23-4527-bc31-f348452d3084" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb9b4a97-a8ea-417a-9553-ac514e65b9bf", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0ef30c1f-5925-4620-8e24-1047332f3d02", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "73fdd2bc-0fc6-45fb-b7fa-63d8c17d2004", + "Content-Length": "1262", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144", + "x-ms-region": "West US 2", + "X-Request-ID": "73fdd2bc-0fc6-45fb-b7fa-63d8c17d2004" + }, + "ResponseBody": { + "dataFeedId": "cb9b4a97-a8ea-417a-9553-ac514e65b9bf", + "dataFeedName": "java_create_data_feed_test_sample06022027-fe57-4b28-a788-ca644948a749", + "metrics": [ + { + "metricId": "6609eac8-dceb-4826-a098-35d225711f7e", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3042149f-683b-45f4-83e1-5afe2bde072c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureTable", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:38Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027", + "table": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/86798b7d-5a23-4527-bc31-f348452d3084", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8f0c02d4-ca3a-4a52-b3ee-b08e83279dfc" - }, - "Response" : { - "x-request-id" : "20d083b4-fb55-4a31-a62f-343281a8c5fa", - "content-length" : "1260", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "20d083b4-fb55-4a31-a62f-343281a8c5fa", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"86798b7d-5a23-4527-bc31-f348452d3084\",\"dataFeedName\":\"java_create_data_feed_test_sample05352c10-6a9a-4f82-bd35-1f75dff54a33\",\"metrics\":[{\"metricId\":\"cb229971-a57a-4bcb-81d0-51a47b337235\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e076b6ee-6d4a-4990-9b96-5a57344a0d42\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'\",\"table\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/86798b7d-5a23-4527-bc31-f348452d3084", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d5d1bdd-c397-4638-aecb-ea879145b22a" - }, - "Response" : { - "x-request-id" : "4faa6d2e-c576-4d07-b8ae-837ff8c48a90", - "content-length" : "0", - "x-envoy-upstream-service-time" : "308", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4faa6d2e-c576-4d07-b8ae-837ff8c48a90", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb9b4a97-a8ea-417a-9553-ac514e65b9bf", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "56af02d7-582f-46e6-9f61-dec3e7222b18", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "42924d91-9693-42a3-b9bd-31d536558d4e", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "280", + "x-ms-region": "West US 2", + "X-Request-ID": "42924d91-9693-42a3-b9bd-31d536558d4e" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json index ffc51b6359ad8..bda50b78b6190 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json @@ -1,65 +1,177 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "879295a9-0df0-47ee-9e3f-67ff2071a22a", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "beeff97f-f7d6-463c-89bc-066601c517bd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample50bb0877-d5d2-444b-a2e6-16b4dfe995ed", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d1298405-21ec-429c-931e-69d153b42b19", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cd7995ed-c4a4-4e7a-893f-ee72aa3be867", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "773", + "x-ms-region": "West US 2", + "X-Request-ID": "d1298405-21ec-429c-931e-69d153b42b19" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "08af5909-4321-4367-8d8c-4b24bde04572", - "content-length" : "0", - "x-envoy-upstream-service-time" : "572", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08af5909-4321-4367-8d8c-4b24bde04572", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/097e1cc3-8cbd-4b0c-b36c-608839b3d9bd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cd7995ed-c4a4-4e7a-893f-ee72aa3be867", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c2f43f9c-682c-4d92-9f8a-31411a8a7948", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fe28b44e-6bed-41f0-ae68-3dff4044ed2b", + "Content-Length": "1242", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "185", + "x-ms-region": "West US 2", + "X-Request-ID": "fe28b44e-6bed-41f0-ae68-3dff4044ed2b" + }, + "ResponseBody": { + "dataFeedId": "cd7995ed-c4a4-4e7a-893f-ee72aa3be867", + "dataFeedName": "java_create_data_feed_test_sample50bb0877-d5d2-444b-a2e6-16b4dfe995ed", + "metrics": [ + { + "metricId": "4d6fe466-a24c-45d5-a7f4-338b203730dd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "80a79cbc-bb7f-495d-820a-56220e25bd81", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/097e1cc3-8cbd-4b0c-b36c-608839b3d9bd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7afb9b27-cd99-4baf-97e5-7ded380e6634" - }, - "Response" : { - "x-request-id" : "d9bbf4b6-88b8-40d7-bb21-4d224fe5d814", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "158", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d9bbf4b6-88b8-40d7-bb21-4d224fe5d814", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"097e1cc3-8cbd-4b0c-b36c-608839b3d9bd\",\"dataFeedName\":\"java_create_data_feed_test_samplefd5cb3e1-36ad-451e-be9d-2a46c4570701\",\"metrics\":[{\"metricId\":\"4b77bc80-dca4-4536-999d-5b327ae55d63\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4ca4aa0a-be31-4a65-ad0a-60d1a3d5fbed\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/097e1cc3-8cbd-4b0c-b36c-608839b3d9bd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bf43e34-5ddf-4002-b662-d147b7ab849d" - }, - "Response" : { - "x-request-id" : "a11ca6b6-708d-4eca-9df6-a41b79c5e4ac", - "content-length" : "0", - "x-envoy-upstream-service-time" : "305", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a11ca6b6-708d-4eca-9df6-a41b79c5e4ac", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cd7995ed-c4a4-4e7a-893f-ee72aa3be867", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "189e5cc5-7bac-49f9-8ea4-16286e0af6ea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "73616c93-b4e5-408b-9104-cc5b9c7d510a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "314", + "x-ms-region": "West US 2", + "X-Request-ID": "73616c93-b4e5-408b-9104-cc5b9c7d510a" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json index 3dffcc9d4763c..baa7b17518e72 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "011925ce-376f-4588-a05a-12fa0f49a346", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "625", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6f70137f-7363-4aa2-856c-3bc455634721", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureCosmosDB", + "dataFeedName": "java_create_data_feed_test_sample2e98b41f-1808-4f99-8e15-6ff6785a3b91", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "database": "adsample", + "collectionId": "adsample" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "f5a805ca-ae43-42f0-bd26-3df5f476f83a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2382c25a-9e30-4b08-8df4-7b69a9453580", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "605", + "x-ms-region": "West US 2", + "X-Request-ID": "f5a805ca-ae43-42f0-bd26-3df5f476f83a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "de58f924-7cfb-4188-a02c-423c5893c7e2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "455", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "de58f924-7cfb-4188-a02c-423c5893c7e2", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1daefacc-ae44-4910-b0d2-a22e3aec5464" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2382c25a-9e30-4b08-8df4-7b69a9453580", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d84db63a-6f1c-4189-99bb-288ac1f31358", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "25fbfc17-13f7-4834-87c0-15ff14f08bf8", + "Content-Length": "1290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "192", + "x-ms-region": "West US 2", + "X-Request-ID": "25fbfc17-13f7-4834-87c0-15ff14f08bf8" + }, + "ResponseBody": { + "dataFeedId": "2382c25a-9e30-4b08-8df4-7b69a9453580", + "dataFeedName": "java_create_data_feed_test_sample2e98b41f-1808-4f99-8e15-6ff6785a3b91", + "metrics": [ + { + "metricId": "e8df8991-6f08-4d84-b15a-e0b3a29390d9", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "702d7e70-7289-499d-a5e4-734a4a7f9c7c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureCosmosDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:31Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "database": "adsample", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "collectionId": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1daefacc-ae44-4910-b0d2-a22e3aec5464", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "31ace88b-d187-48c8-b8f1-137dc31b3d95" - }, - "Response" : { - "x-request-id" : "fe4d4187-5aff-4bd0-9e5b-b2bf73b455d8", - "content-length" : "1288", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fe4d4187-5aff-4bd0-9e5b-b2bf73b455d8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"1daefacc-ae44-4910-b0d2-a22e3aec5464\",\"dataFeedName\":\"java_create_data_feed_test_samplee5dfd891-6175-4721-82e7-a54bc1d46350\",\"metrics\":[{\"metricId\":\"a0f43deb-52af-4d97-b84a-f37deb017a86\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff1d5d0c-2390-42bc-8421-e21af0939f75\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"adsample\",\"sqlQuery\":\"select * from adsample2 where Timestamp = @StartTime\",\"collectionId\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1daefacc-ae44-4910-b0d2-a22e3aec5464", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6fde5ba5-acdf-4be3-8564-1075c05c52bd" - }, - "Response" : { - "x-request-id" : "75085cb8-84c3-40bd-aa0e-b0912f28fb28", - "content-length" : "0", - "x-envoy-upstream-service-time" : "333", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "75085cb8-84c3-40bd-aa0e-b0912f28fb28", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2382c25a-9e30-4b08-8df4-7b69a9453580", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ef84a817-8b9b-4cb2-a765-6e73619973f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "25dfb96f-ed06-41ac-8d91-efbe20d4f920", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "338", + "x-ms-region": "West US 2", + "X-Request-ID": "25dfb96f-ed06-41ac-8d91-efbe20d4f920" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json index 644daa94c716b..f3dab31a79081 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7167beb6-cc4d-4521-8863-d4222a785963", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "4bd64cf6-7feb-49d3-9da0-96a6e2b757b6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_samplea2c4fcc1-e310-4499-988c-9074f6188f94", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3b3393e3-0f33-4921-abc7-7770cf32f1af", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d34ed205-758f-4a1b-a141-3f943856de2a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1138", + "x-ms-region": "West US 2", + "X-Request-ID": "3b3393e3-0f33-4921-abc7-7770cf32f1af" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "00a66d9c-c31e-457c-8f35-f20445e2f648", - "content-length" : "0", - "x-envoy-upstream-service-time" : "586", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "00a66d9c-c31e-457c-8f35-f20445e2f648", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b53ffe5a-bb25-40f8-8fc6-dd845c209462" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d34ed205-758f-4a1b-a141-3f943856de2a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f1a397fa-1004-4e08-8952-c0d28f9168ed", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "70398e73-f7d2-4835-8bf1-922c2817a366", + "Content-Length": "1302", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "193", + "x-ms-region": "West US 2", + "X-Request-ID": "70398e73-f7d2-4835-8bf1-922c2817a366" + }, + "ResponseBody": { + "dataFeedId": "d34ed205-758f-4a1b-a141-3f943856de2a", + "dataFeedName": "java_create_data_feed_test_samplea2c4fcc1-e310-4499-988c-9074f6188f94", + "metrics": [ + { + "metricId": "2fd7fb85-3faa-4452-b6c8-ed6c3e3820d3", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8a9c11e1-6299-4da6-9591-12b869157505", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:35Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b53ffe5a-bb25-40f8-8fc6-dd845c209462", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1b021bf9-7c52-4edc-a198-34ba07fe84a3" - }, - "Response" : { - "x-request-id" : "5e12206b-4d87-4ef7-892e-c5598d54e629", - "content-length" : "1312", - "x-envoy-upstream-service-time" : "179", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5e12206b-4d87-4ef7-892e-c5598d54e629", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"b53ffe5a-bb25-40f8-8fc6-dd845c209462\",\"dataFeedName\":\"java_create_data_feed_test_samplec2a80c0b-eec6-4d3f-a2be-55d40c15096f\",\"metrics\":[{\"metricId\":\"b8c24a21-ee87-4b56-99d2-15a67ddf8c6e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"36068ab8-8c32-4eae-a8bd-8636f4cbe62f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b53ffe5a-bb25-40f8-8fc6-dd845c209462", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf699855-67f5-4a93-8b56-16ff6cf5f4ae" - }, - "Response" : { - "x-request-id" : "e019cf9d-4443-49d8-936f-f87e6bc17dcd", - "content-length" : "0", - "x-envoy-upstream-service-time" : "316", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e019cf9d-4443-49d8-936f-f87e6bc17dcd", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d34ed205-758f-4a1b-a141-3f943856de2a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5fe87037-20f7-4fb5-980b-80ad14c7049b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "2e7e73ac-5213-4b36-8c6c-b7d3afa00ea0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "293", + "x-ms-region": "West US 2", + "X-Request-ID": "2e7e73ac-5213-4b36-8c6c-b7d3afa00ea0" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json index 72941e1f427f9..e6c267f9138df 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json @@ -1,65 +1,175 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c7d2773d-acc9-4cb5-99c1-a004d740a21a", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "82528238-a2d9-4b99-a5d9-803ea0dfb66f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sampled7e771f1-9589-406c-abf2-aff8f0361f33", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "ad9200c1-46e2-4834-858f-72df923e87ff", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/eb106151-1bac-43c3-822a-a9c2346c2c4c", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "797", + "x-ms-region": "West US 2", + "X-Request-ID": "ad9200c1-46e2-4834-858f-72df923e87ff" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c2e91d6d-5117-4046-9968-b38be3b17bed", - "content-length" : "0", - "x-envoy-upstream-service-time" : "481", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c2e91d6d-5117-4046-9968-b38be3b17bed", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/abab4c25-f927-44b8-b360-ecf712678e0b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/eb106151-1bac-43c3-822a-a9c2346c2c4c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f89463eb-9ffc-4add-916c-52402e18d8c5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8c613cef-ce7b-4957-b79f-08fa7d72df8b", + "Content-Length": "1339", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148", + "x-ms-region": "West US 2", + "X-Request-ID": "8c613cef-ce7b-4957-b79f-08fa7d72df8b" + }, + "ResponseBody": { + "dataFeedId": "eb106151-1bac-43c3-822a-a9c2346c2c4c", + "dataFeedName": "java_create_data_feed_test_sampled7e771f1-9589-406c-abf2-aff8f0361f33", + "metrics": [ + { + "metricId": "ede4b842-9af3-4148-bce2-99f4c1dafc46", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "6e8bb64c-00e7-430a-a77a-2944f86bc6b3", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:51Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/abab4c25-f927-44b8-b360-ecf712678e0b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6177d0de-7491-4f36-8b15-9598ee26a51d" - }, - "Response" : { - "x-request-id" : "10538b0b-dc42-4600-bad8-8ae42a3e790c", - "content-length" : "1337", - "x-envoy-upstream-service-time" : "176", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10538b0b-dc42-4600-bad8-8ae42a3e790c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"abab4c25-f927-44b8-b360-ecf712678e0b\",\"dataFeedName\":\"java_create_data_feed_test_sample2829297f-b451-4531-b737-2cf63cb2ec4f\",\"metrics\":[{\"metricId\":\"3421f92f-e824-4889-9283-0823c9f6ec6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9baff192-8827-45a8-ae1c-1c35a96e5efa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/abab4c25-f927-44b8-b360-ecf712678e0b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1640250e-9df8-4b5a-ac17-1ce5af2530af" - }, - "Response" : { - "x-request-id" : "63a7e3e2-b941-4e52-ae80-86ddbb8648be", - "content-length" : "0", - "x-envoy-upstream-service-time" : "333", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "63a7e3e2-b941-4e52-ae80-86ddbb8648be", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:36 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/eb106151-1bac-43c3-822a-a9c2346c2c4c", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a83f7001-7b81-4eac-ad56-d5dfbcb95e0a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "11c0ee5f-3915-49fe-bdaa-bebdb236394e", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "284", + "x-ms-region": "West US 2", + "X-Request-ID": "11c0ee5f-3915-49fe-bdaa-bebdb236394e" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json index 0ee8c3d5c86d0..e635889a5bd9a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json @@ -1,65 +1,180 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9924fda-71b2-424c-9df1-e4c46225ae46", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "635", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e431d4fc-fda4-4e47-8fe8-710725e8e9cb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "InfluxDB", + "dataFeedName": "java_create_data_feed_test_sample5c8aa0aa-a467-4b77-b466-44588a3ced2e", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "userName": "REDACTED", + "password": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "35b1b981-5f8c-4d15-a8ae-b725180588c5", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d35b2594-a536-4a49-a320-e3d6e5739b25", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "774", + "x-ms-region": "West US 2", + "X-Request-ID": "35b1b981-5f8c-4d15-a8ae-b725180588c5" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "7055d23c-3ee4-46d1-bd36-0818ca8e6adb", - "content-length" : "0", - "x-envoy-upstream-service-time" : "600", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7055d23c-3ee4-46d1-bd36-0818ca8e6adb", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a1406c79-3a1a-4c23-b7a6-99bd20067751" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d35b2594-a536-4a49-a320-e3d6e5739b25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e51b04d2-3d23-4698-8843-3c8be2a4bec5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a0fff9f8-d93a-4979-8027-6f768d408a4a", + "Content-Length": "1308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "179", + "x-ms-region": "West US 2", + "X-Request-ID": "a0fff9f8-d93a-4979-8027-6f768d408a4a" + }, + "ResponseBody": { + "dataFeedId": "d35b2594-a536-4a49-a320-e3d6e5739b25", + "dataFeedName": "java_create_data_feed_test_sample5c8aa0aa-a467-4b77-b466-44588a3ced2e", + "metrics": [ + { + "metricId": "b3288160-5e41-46f4-8f3f-31ba0c5646b1", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "2f7fd8fd-08a2-4b5d-ae00-0718863b9912", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "InfluxDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:29Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "query": "select * from adsample2 where Timestamp = @StartTime", + "userName": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a1406c79-3a1a-4c23-b7a6-99bd20067751", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f673ee0-a784-4c24-8617-2276d3161d22" - }, - "Response" : { - "x-request-id" : "7690a7a5-8b12-4436-b7ab-075ecce36af5", - "content-length" : "1354", - "x-envoy-upstream-service-time" : "207", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7690a7a5-8b12-4436-b7ab-075ecce36af5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a1406c79-3a1a-4c23-b7a6-99bd20067751\",\"dataFeedName\":\"java_create_data_feed_test_sample4b5fdddc-3daa-4050-91da-b3761efc3b5c\",\"metrics\":[{\"metricId\":\"ac17e309-f997-42f8-b7b0-d70dba2eb1a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"27f813c8-f13e-4890-a05c-afdd957c4510\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"adsample\",\"query\":\"select * from adsample2 where Timestamp = @StartTime\",\"userName\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a1406c79-3a1a-4c23-b7a6-99bd20067751", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eb6db108-face-4e23-b181-c766cee7e191" - }, - "Response" : { - "x-request-id" : "49773338-1af5-437d-ae83-2a98bbaab9ca", - "content-length" : "0", - "x-envoy-upstream-service-time" : "376", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "49773338-1af5-437d-ae83-2a98bbaab9ca", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d35b2594-a536-4a49-a320-e3d6e5739b25", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "156dec28-febe-44f0-a1fe-521dd01a26de", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "09c938bd-5386-4f84-b153-c71b1ac5e2a3", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "287", + "x-ms-region": "West US 2", + "X-Request-ID": "09c938bd-5386-4f84-b153-c71b1ac5e2a3" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json index 30a71e0e39701..67a8f269100c5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd571707-d2b8-49b5-93a6-736c8f21a3b6", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "777", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e9896554-911e-4d82-8e87-c998e920f8ae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureLogAnalytics", + "dataFeedName": "java_create_data_feed_test_sample4ddbfc04-1cf2-418d-bf40-d79ae41112da", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "clientId": "azClientId", + "clientSecret": "azClientSecret", + "workspaceId": "azWorkspaceId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "4881c695-2254-489d-b608-48af0afddc12", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/8fffa738-4a48-4781-a45a-b5ac3f51058b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "820", + "x-ms-region": "West US 2", + "X-Request-ID": "4881c695-2254-489d-b608-48af0afddc12" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "de17722d-35af-497e-88ed-7dbce9f1bb71", - "content-length" : "0", - "x-envoy-upstream-service-time" : "617", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "de17722d-35af-497e-88ed-7dbce9f1bb71", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5510072-8cd4-47c6-be32-04fd46ff5e1d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8fffa738-4a48-4781-a45a-b5ac3f51058b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "80156255-ea24-4ed4-8688-a3e49f9bec94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "55ff8823-4ea8-4db1-ab1a-002b6d997367", + "Content-Length": "1411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "169", + "x-ms-region": "West US 2", + "X-Request-ID": "55ff8823-4ea8-4db1-ab1a-002b6d997367" + }, + "ResponseBody": { + "dataFeedId": "8fffa738-4a48-4781-a45a-b5ac3f51058b", + "dataFeedName": "java_create_data_feed_test_sample4ddbfc04-1cf2-418d-bf40-d79ae41112da", + "metrics": [ + { + "metricId": "deeb6da0-5ac6-4f37-912e-f2bfdeba4a5b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "18fec49c-5328-45be-9e04-6efd7252a710", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureLogAnalytics", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:49Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5510072-8cd4-47c6-be32-04fd46ff5e1d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d8f4b701-0e0b-4196-be48-a1a4230a796e" - }, - "Response" : { - "x-request-id" : "fa05c4f5-6ef4-4393-8bcd-7d575ee1e613", - "content-length" : "1409", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fa05c4f5-6ef4-4393-8bcd-7d575ee1e613", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d5510072-8cd4-47c6-be32-04fd46ff5e1d\",\"dataFeedName\":\"java_create_data_feed_test_sample7845f761-abaa-4a25-b736-30221430597a\",\"metrics\":[{\"metricId\":\"2c8ca6b5-edcb-4821-a1f1-c7f47781a3d4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0830bd1-e8ab-4a56-a007-e69e37e7dac2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"azClientId\",\"query\":\"where StartTime >=datetime(@StartTime) and EndTime = starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7947b01-a65d-42cd-82a8-fd2bcada7ea2" - }, - "Response" : { - "x-request-id" : "c84889fc-81a6-426e-939b-4004bf73f796", - "content-length" : "26685", - "x-envoy-upstream-service-time" : "146", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c84889fc-81a6-426e-939b-4004bf73f796", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "50d1fad0-0863-4fd6-a437-b4e39aea50be" - }, - "Response" : { - "x-request-id" : "c970a98c-97a8-49f6-a86e-2f28ee23f50c", - "content-length" : "26322", - "x-envoy-upstream-service-time" : "146", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c970a98c-97a8-49f6-a86e-2f28ee23f50c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ae629fe3-81f1-410b-949f-1acd52f6c79f" - }, - "Response" : { - "x-request-id" : "4f6cef12-4f04-4966-9113-3fac7ef67e85", - "content-length" : "26635", - "x-envoy-upstream-service-time" : "178", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4f6cef12-4f04-4966-9113-3fac7ef67e85", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7cc7c4a-9a99-4a4c-8de4-f4449ba5c679", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "71be1ee1-b4b9-4ac3-8455-37de59868400" - }, - "Response" : { - "x-request-id" : "491bc891-ff08-4b42-93b2-f3a93c870bec", - "content-length" : "0", - "x-envoy-upstream-service-time" : "366", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "491bc891-ff08-4b42-93b2-f3a93c870bec", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/76ff5a03-0964-41eb-9275-b0e7369d919a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ba1ce45c-d86b-48ea-8b2b-4bc329e5ac19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "6c1f96f3-3970-4c98-a37d-447ec8c1a3f4", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "349", + "x-ms-region": "West US 2", + "X-Request-ID": "6c1f96f3-3970-4c98-a37d-447ec8c1a3f4" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json index a17cea2b439a2..261d26356008e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json @@ -1,88 +1,395 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d4f8f42c-5d96-4adf-8f48-2be75b318553" - }, - "Response" : { - "x-request-id" : "b4ced3f0-913e-468c-b82e-bb38b96c3e7e", - "content-length" : "26353", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b4ced3f0-913e-468c-b82e-bb38b96c3e7e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"java_create_data_feed_test_samplecfc89cb4-1c0b-4d5a-aa0c-5f5537e4bf50\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d5510072-8cd4-47c6-be32-04fd46ff5e1d\",\"dataFeedName\":\"java_create_data_feed_test_sample7845f761-abaa-4a25-b736-30221430597a\",\"metrics\":[{\"metricId\":\"2c8ca6b5-edcb-4821-a1f1-c7f47781a3d4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0830bd1-e8ab-4a56-a007-e69e37e7dac2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"azClientId\",\"query\":\"where StartTime >=datetime(@StartTime) and EndTime = starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6e65f061-1a83-4cf2-b4b5-eaf01b5ca9d2" - }, - "Response" : { - "x-request-id" : "1d99380c-e0f0-4f11-8fa3-0514a9fb7179", - "content-length" : "26591", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1d99380c-e0f0-4f11-8fa3-0514a9fb7179", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f591089-5bf3-403f-9ab1-595b10e8e98b" - }, - "Response" : { - "x-request-id" : "72e61f38-4f91-4b74-96d7-0ce4090cc8c6", - "content-length" : "26379", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "72e61f38-4f91-4b74-96d7-0ce4090cc8c6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d5949403-740b-48a1-9bf9-623bb89c803d" - }, - "Response" : { - "x-request-id" : "cf37982d-e1cd-4041-a375-82610d96b6f4", - "content-length" : "26596", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cf37982d-e1cd-4041-a375-82610d96b6f4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "62f3c443-c2a0-4661-9874-fa200aeb6999", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "78fe7185-b149-4ac9-82c4-e9c1b12a8559", + "Content-Length": "8485", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "161", + "x-ms-region": "West US 2", + "X-Request-ID": "78fe7185-b149-4ac9-82c4-e9c1b12a8559" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "5906d94d-378f-4816-9166-7f28f495f2b1", + "dataFeedName": "java_create_data_feed_test_samplef57e05d9-2eed-411c-9947-f146515b6ac2", + "metrics": [ + { + "metricId": "9c3b61d0-071f-4367-8f5b-688266fc3c06", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b2ac8aaf-5be7-4d07-8ec9-5ae2195733ae", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureApplicationInsights", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:50Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode", + "azureCloud": "Azure Global", + "applicationId": "REDACTED" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "c52c93e7-6823-41ef-a44f-f5c489d34393", + "dataFeedName": "java_create_data_feed_test_sample2397debb-5734-4ca6-b7b1-c770a43c9d0b", + "metrics": [ + { + "metricId": "26e9522f-f47f-4238-a941-302f4dae3177", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "14ec52de-82e1-4024-88ec-6730a92b892d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "PostgreSql", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:49Z", + "isAdmin": false, + "actionLinkTemplate": "", + "dataSourceParameter": {}, + "authenticationType": "Basic" + }, + { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "yutongzhai@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "camaiaor@microsoft.com", + "kaghiya@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "yumeng@microsoft.com", + "chriss@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "chriss@microsoft.com", + "yumeng@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "kaghiya@microsoft.com", + "camaiaor@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json index 1e0882a896572..e3d08e243f035 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json @@ -1,86 +1,262 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5bc84ef-5bfa-4b8f-a81a-6365c1202395", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "549", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "19732b0c-4c60-4831-bf5f-ca66424aa983", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "test_filter_by_name", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "7a229b9c-0c5e-4e0d-879d-ca3657a698ee", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e3d023b0-46a4-4973-8484-48450638d701", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "809", + "x-ms-region": "West US 2", + "X-Request-ID": "7a229b9c-0c5e-4e0d-879d-ca3657a698ee" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "8fe41f99-db8b-41ae-99f3-137873d85734", - "content-length" : "0", - "x-envoy-upstream-service-time" : "530", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8fe41f99-db8b-41ae-99f3-137873d85734", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2596c482-076f-4f59-bff1-b2f94d50261c" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e3d023b0-46a4-4973-8484-48450638d701", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "dc83c37f-6b9f-483a-84dc-3af1ba39ae02", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "201337bd-83bb-414f-8882-c900e7824f68", + "Content-Length": "1185", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "226", + "x-ms-region": "West US 2", + "X-Request-ID": "201337bd-83bb-414f-8882-c900e7824f68" + }, + "ResponseBody": { + "dataFeedId": "e3d023b0-46a4-4973-8484-48450638d701", + "dataFeedName": "test_filter_by_name", + "metrics": [ + { + "metricId": "f495d45d-ca69-4e10-8491-770c51a60ab0", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ab15bcb9-0249-41e9-95e5-51a274aca379", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:48Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2596c482-076f-4f59-bff1-b2f94d50261c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9e2121e-08af-4aef-b09f-2d57a35b5545" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataFeedName=test_filter_by_name", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "330f589a-e743-4db5-a6f9-3826fad80568", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2952895b-a505-4d4f-b60e-ffd06cf7a79d", + "Content-Length": "1197", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "169", + "x-ms-region": "West US 2", + "X-Request-ID": "2952895b-a505-4d4f-b60e-ffd06cf7a79d" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "e3d023b0-46a4-4973-8484-48450638d701", + "dataFeedName": "test_filter_by_name", + "metrics": [ + { + "metricId": "f495d45d-ca69-4e10-8491-770c51a60ab0", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ab15bcb9-0249-41e9-95e5-51a274aca379", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:48Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } + ] + } }, - "Response" : { - "x-request-id" : "1aa30f55-ab5c-450a-b858-ef0278e113ac", - "content-length" : "1183", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1aa30f55-ab5c-450a-b858-ef0278e113ac", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"2596c482-076f-4f59-bff1-b2f94d50261c\",\"dataFeedName\":\"test_filter_by_name\",\"metrics\":[{\"metricId\":\"6fdc7991-c5f8-4a39-aafe-98fd8adc2db7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57bf0170-42d5-4757-9037-6965db339e03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=test_filter_by_name", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "103fec38-ed57-4743-8846-6cc8e0cd6f90" - }, - "Response" : { - "x-request-id" : "2ddb6646-479a-405c-a73c-d1643ab38ce5", - "content-length" : "1195", - "x-envoy-upstream-service-time" : "135", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2ddb6646-479a-405c-a73c-d1643ab38ce5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"2596c482-076f-4f59-bff1-b2f94d50261c\",\"dataFeedName\":\"test_filter_by_name\",\"metrics\":[{\"metricId\":\"6fdc7991-c5f8-4a39-aafe-98fd8adc2db7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57bf0170-42d5-4757-9037-6965db339e03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2596c482-076f-4f59-bff1-b2f94d50261c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ea83bfb7-3d54-41d4-b7a3-4b4132fc03ab" - }, - "Response" : { - "x-request-id" : "808a8363-2489-4aa7-8995-f6df51bf01a9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "313", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "808a8363-2489-4aa7-8995-f6df51bf01a9", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:36 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e3d023b0-46a4-4973-8484-48450638d701", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ce1be60c-a211-4ff6-aa3a-709578d1e8b8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ca679db8-7bcf-407d-a407-7835e7111a45", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "337", + "x-ms-region": "West US 2", + "X-Request-ID": "ca679db8-7bcf-407d-a407-7835e7111a45" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json index 1ec805ec92978..4c54c317d0a7c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json @@ -1,46 +1,103 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc2c711f-dd59-4211-a9b0-bb8a641578b9" - }, - "Response" : { - "x-request-id" : "80fbab34-f64f-432a-bcba-ff67360d6a77", - "content-length" : "25430", - "x-envoy-upstream-service-time" : "258", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "80fbab34-f64f-432a-bcba-ff67360d6a77", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2\",\"dataFeedName\":\"java_create_data_feed_test_sampled79a169e-89c5-4276-8e3c-a836b8c0e333\",\"metrics\":[{\"metricId\":\"07307139-bdff-4622-be27-15282751d186\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cb1c89ec-760e-42e1-82e4-fed7625e853b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "375d580e-f977-4caf-89cc-3fa54113f823" - }, - "Response" : { - "x-request-id" : "7a90570c-aa08-4625-a054-0b0db755abb9", - "content-length" : "5071", - "x-envoy-upstream-service-time" : "248", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7a90570c-aa08-4625-a054-0b0db755abb9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "43df8b19-0487-490d-b561-eb6f8148f332", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "91544509-d785-4d94-b200-0dbbbc7f6462", + "Content-Length": "1499", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140", + "x-ms-region": "West US 2", + "X-Request-ID": "91544509-d785-4d94-b200-0dbbbc7f6462" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com", + "savaity@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "yumeng@microsoft.com", + "camaiaor@microsoft.com", + "chriss@microsoft.com", + "elraikhm@microsoft.com", + "yutongzhai@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json index 9267fc45977eb..25b60b6c7139d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json @@ -1,25 +1,159 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?status=Active", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c2cc157-4bd9-44b1-b378-87fa401988f2" - }, - "Response" : { - "x-request-id" : "ba13dbf6-f49c-4ff6-b3ad-40d2b3505155", - "content-length" : "8975", - "x-envoy-upstream-service-time" : "133", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ba13dbf6-f49c-4ff6-b3ad-40d2b3505155", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"df57e5da-e858-4e24-9864-d62052a5613f\",\"dataFeedName\":\"java_data_feed_for_detectiona829987e-77e4-495a-bb62-80f9f393c21f\",\"metrics\":[{\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57a4f51b-2792-41cd-a304-d97de0f33de8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"64f7b0f6-6d7d-4088-87f8-22010d8049e4\",\"dataFeedName\":\"java_create_data_feed_test_sample179e04ff-0b37-4173-ab9f-f95e354c5125\",\"metrics\":[{\"metricId\":\"be29953f-884d-486a-a867-a5f50bbf2bbb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"34775200-6923-4987-9ef4-aef0eebe5586\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"be44f11a-8d4a-4a51-b869-4f7e12d22058\"},{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?status=Active", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "4473c3c0-e96a-4f77-9336-f0352a6f2ee7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c4f7c9bb-95ae-4c9d-9b96-b85e08174d69", + "Content-Length": "2730", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "184", + "x-ms-region": "West US 2", + "X-Request-ID": "c4f7c9bb-95ae-4c9d-9b96-b85e08174d69" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "93e86e5c-46f9-4f54-b267-29ca1070256f", + "dataFeedName": "java_data_feed_for_detectiond9f1615d-4fa7-492e-8e23-163158be28f6", + "metrics": [ + { + "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "f5778b7e-a32d-4041-9a06-22c985af026e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:23Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com", + "savaity@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "yumeng@microsoft.com", + "camaiaor@microsoft.com", + "chriss@microsoft.com", + "elraikhm@microsoft.com", + "yutongzhai@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json index 67c09ba77e898..b2da267e1db7b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json @@ -1,88 +1,463 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6769deb8-92e4-4994-9aae-d93259b7b616" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "83422d25-6754-47b2-aa1a-bfe82d6a70cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "17333654-f994-44f3-ac4b-1f464776c5af", + "Content-Length": "4294", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "201", + "x-ms-region": "West US 2", + "X-Request-ID": "17333654-f994-44f3-ac4b-1f464776c5af" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "8fffa738-4a48-4781-a45a-b5ac3f51058b", + "dataFeedName": "java_create_data_feed_test_sample4ddbfc04-1cf2-418d-bf40-d79ae41112da", + "metrics": [ + { + "metricId": "deeb6da0-5ac6-4f37-912e-f2bfdeba4a5b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "18fec49c-5328-45be-9e04-6efd7252a710", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureLogAnalytics", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:49Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "dataFeedName": "java_create_data_feed_test_samplee7286ab8-3772-4c0d-9f46-8e866e5d4f6c", + "metrics": [ + { + "metricId": "44fee7d3-a730-48c2-8df3-3c7222ebe4c6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "23573fd4-509f-4989-b0ff-0a6c2d14a00d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:49Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3" + } }, - "Response" : { - "x-request-id" : "83c4c289-b92e-4903-94e6-1494cce8b7d8", - "content-length" : "3864", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83c4c289-b92e-4903-94e6-1494cce8b7d8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"java_create_data_feed_test_samplecfc89cb4-1c0b-4d5a-aa0c-5f5537e4bf50\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"831cc58a-2eac-4218-8f4c-d8802dd77268\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample9ada3e4e-1cbf-4ff9-8821-227bdc30767f\",\"metrics\":[{\"metricId\":\"00476d2a-042b-4984-9b98-474d36f450f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4a35fbfc-6584-47a8-b0be-662becb68cc9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "eb9d5210-4f49-4076-b57c-88ff6912530f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b36618e2-0643-4313-9c88-017a8b316076", + "Content-Length": "4492", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "174", + "x-ms-region": "West US 2", + "X-Request-ID": "b36618e2-0643-4313-9c88-017a8b316076" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "yutongzhai@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "camaiaor@microsoft.com", + "kaghiya@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "yumeng@microsoft.com", + "chriss@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "chriss@microsoft.com", + "yumeng@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "kaghiya@microsoft.com", + "camaiaor@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d7a33ee-159b-42fa-81c3-49706a1cbba4" - }, - "Response" : { - "x-request-id" : "83fd99da-8c30-42b5-a434-a82b49afeb94", - "content-length" : "4066", - "x-envoy-upstream-service-time" : "142", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83fd99da-8c30-42b5-a434-a82b49afeb94", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "03b612ab-0e29-47cf-9bd3-e99349707b65" - }, - "Response" : { - "x-request-id" : "abd23aae-f94a-478b-9fe7-e437aedaffce", - "content-length" : "4030", - "x-envoy-upstream-service-time" : "147", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "abd23aae-f94a-478b-9fe7-e437aedaffce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0fd3e1db-b5a8-4817-ae9a-9b1c37560856" - }, - "Response" : { - "x-request-id" : "4dec1d68-486a-4c8c-be4a-be38f4453a43", - "content-length" : "3981", - "x-envoy-upstream-service-time" : "143", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4dec1d68-486a-4c8c-be4a-be38f4453a43", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=12\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "79429991-9753-492b-88dd-72fed0c87979", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c93b4b1f-f47a-44fc-b142-6ef5490cdfc8", + "Content-Length": "12", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "129", + "x-ms-region": "West US 2", + "X-Request-ID": "c93b4b1f-f47a-44fc-b142-6ef5490cdfc8" + }, + "ResponseBody": { + "value": [] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json index 1e1c46e795209..885733f4e4d27 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json @@ -1,147 +1,599 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ade823d2-8b15-4000-9166-c9456ac03992", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "483", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d40d23ec-ccc5-4672-aa92-18c88df28dd6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6a082f9b-88b1-40ca-9745-c26bdf69a3a5", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d5a98586-1fdc-4029-a24c-004d3637cf60", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/011c6c49-414c-4c23-8619-076adacdfe0b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "602", + "x-ms-region": "West US 2", + "X-Request-ID": "d5a98586-1fdc-4029-a24c-004d3637cf60" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "edb6d3f5-be84-402b-8c30-8205f95872a8", - "content-length" : "0", - "x-envoy-upstream-service-time" : "459", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "edb6d3f5-be84-402b-8c30-8205f95872a8", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/563ef427-fc26-41df-8ce3-a0573d1b928b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/011c6c49-414c-4c23-8619-076adacdfe0b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6f9893bf-a013-482f-a90e-2ae692347097", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cef91058-11b1-457c-8908-320946549fee", + "Content-Length": "1242", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "149", + "x-ms-region": "West US 2", + "X-Request-ID": "cef91058-11b1-457c-8908-320946549fee" + }, + "ResponseBody": { + "dataFeedId": "011c6c49-414c-4c23-8619-076adacdfe0b", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6a082f9b-88b1-40ca-9745-c26bdf69a3a5", + "metrics": [ + { + "metricId": "69f3f750-fbb5-4512-a074-2153a11c5c2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8bf6208a-ae6d-4b9a-8369-93cbabe617ff", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/563ef427-fc26-41df-8ce3-a0573d1b928b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e66b091-296a-4abf-a0db-306db8c1a2a6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "480", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a2031ebe-0352-4deb-9421-73a0830d3676", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_SQL_create_data_feed_test_sampleba9d518e-62c4-4c2a-a258-b32ba87eb25e", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "749d9c67-4d1b-4db4-8572-e08376923ff1", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "921", + "x-ms-region": "West US 2", + "X-Request-ID": "749d9c67-4d1b-4db4-8572-e08376923ff1" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "43dcac41-9191-4c04-8730-477645e7af9a", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "43dcac41-9191-4c04-8730-477645e7af9a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"563ef427-fc26-41df-8ce3-a0573d1b928b\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sample86f7cc27-7051-496e-9e18-db375e702895\",\"metrics\":[{\"metricId\":\"efe5cf04-40f6-467a-aeab-74ec91126962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"345471af-06d0-4ace-93e2-b08d9316938a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f3fb2545-6f6a-4d39-b303-0ebd174e7b9f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "13b496ba-6e76-44da-959d-7dddd770cc6d", + "Content-Length": "1239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "200", + "x-ms-region": "West US 2", + "X-Request-ID": "13b496ba-6e76-44da-959d-7dddd770cc6d" + }, + "ResponseBody": { + "dataFeedId": "2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "dataFeedName": "java_SQL_create_data_feed_test_sampleba9d518e-62c4-4c2a-a258-b32ba87eb25e", + "metrics": [ + { + "metricId": "ae50408d-f3c8-45e9-9087-02f0d4d7cc27", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61d2e307-55e6-4fee-a9db-3c6049a7aefa", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:42Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac43ba19-392a-4462-85b9-3856d4606d2c", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_\u0026granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1ca3da21-dab4-43ce-816b-6cf6a134163d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b4e7d9b2-4355-4e35-9d12-e117ab1bec59", + "Content-Length": "5103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "188", + "x-ms-region": "West US 2", + "X-Request-ID": "b4e7d9b2-4355-4e35-9d12-e117ab1bec59" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "dataFeedName": "java_SQL_create_data_feed_test_sampleba9d518e-62c4-4c2a-a258-b32ba87eb25e", + "metrics": [ + { + "metricId": "ae50408d-f3c8-45e9-9087-02f0d4d7cc27", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61d2e307-55e6-4fee-a9db-3c6049a7aefa", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:42Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "54930ef8-b9f9-4827-bc6c-a00ba33bfff3", + "dataFeedName": "java_create_data_feed_test_sample2041eb53-ecb3-4869-97fd-eb567ba5e079", + "metrics": [ + { + "metricId": "a5fad3e1-b217-48d7-bcaf-b087c8e171ba", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "accd3f2e-055d-4c44-a2ba-aefce536a035", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:42Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78" + }, + { + "dataFeedId": "011c6c49-414c-4c23-8619-076adacdfe0b", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6a082f9b-88b1-40ca-9745-c26bdf69a3a5", + "metrics": [ + { + "metricId": "69f3f750-fbb5-4512-a074-2153a11c5c2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8bf6208a-ae6d-4b9a-8369-93cbabe617ff", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + } + ] + } }, - "Response" : { - "x-request-id" : "8397aad3-23f6-4cf1-a5e9-bc6fbe7136e7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "479", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8397aad3-23f6-4cf1-a5e9-bc6fbe7136e7", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/99636862-b122-4fab-916f-bd70afa6c2fd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/011c6c49-414c-4c23-8619-076adacdfe0b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "202287dc-a889-4aa6-9fe7-9dd5c7d33a73", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "09ff4ae0-200d-4887-a221-b5042bd0837d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "273", + "x-ms-region": "West US 2", + "X-Request-ID": "09ff4ae0-200d-4887-a221-b5042bd0837d" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/99636862-b122-4fab-916f-bd70afa6c2fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "085b6b03-4263-4c19-941d-e4249008713d" - }, - "Response" : { - "x-request-id" : "ac24fc5e-5622-4f5d-90bb-c5399c6e12e9", - "content-length" : "1237", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ac24fc5e-5622-4f5d-90bb-c5399c6e12e9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"99636862-b122-4fab-916f-bd70afa6c2fd\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample4350659d-5476-449b-b9fd-f1359df6a66a\",\"metrics\":[{\"metricId\":\"9d8e3504-b63b-47a4-9604-28c2f4276267\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dee5290b-ed71-468d-994b-13019287cdaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_&granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f4238af-a9c3-4fdf-b3a6-2887fc9f6237" - }, - "Response" : { - "x-request-id" : "ea2df758-8398-4ba3-9c4c-43cb1a52533a", - "content-length" : "6426", - "x-envoy-upstream-service-time" : "131", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ea2df758-8398-4ba3-9c4c-43cb1a52533a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"99636862-b122-4fab-916f-bd70afa6c2fd\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample4350659d-5476-449b-b9fd-f1359df6a66a\",\"metrics\":[{\"metricId\":\"9d8e3504-b63b-47a4-9604-28c2f4276267\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dee5290b-ed71-468d-994b-13019287cdaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c06cf2f8-fb4d-4efa-8091-d3c1e6c64305\",\"dataFeedName\":\"java_create_data_feed_test_sample2539eb87-3aaf-4847-b2ff-57509d087344\",\"metrics\":[{\"metricId\":\"ca01457c-354f-4bfe-92cf-61513da008ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81c42ad8-bd61-4a47-85d9-6a154e591d78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"563ef427-fc26-41df-8ce3-a0573d1b928b\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sample86f7cc27-7051-496e-9e18-db375e702895\",\"metrics\":[{\"metricId\":\"efe5cf04-40f6-467a-aeab-74ec91126962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"345471af-06d0-4ace-93e2-b08d9316938a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0e1df88-6cce-4f5e-9b89-4532d6e081a5\",\"dataFeedName\":\"java_create_data_feed_test_sample6c219e4d-9272-410c-bfa6-067e4180bc70\",\"metrics\":[{\"metricId\":\"9a805e98-5ab4-4212-971b-4a464c5e04f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6fc696ec-6c76-4ccc-9bd9-9d6940550dc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"a8af3e4f-54e4-4ae7-845a-2e0ab30027e1\"},{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/563ef427-fc26-41df-8ce3-a0573d1b928b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "80b3114d-ccec-4878-9cc7-45f35e3bc322" - }, - "Response" : { - "x-request-id" : "012013de-4069-4ca4-a456-9df6df827add", - "content-length" : "0", - "x-envoy-upstream-service-time" : "297", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "012013de-4069-4ca4-a456-9df6df827add", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/99636862-b122-4fab-916f-bd70afa6c2fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "59e28dad-8d31-4ab8-b2b7-d2e58a70fef6" - }, - "Response" : { - "x-request-id" : "6395f991-eb98-4159-8b61-f7e001a6ed6f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "311", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6395f991-eb98-4159-8b61-f7e001a6ed6f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8d1995c9-74d4-436c-a15a-ad7040f60743", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "c9a683b1-fef2-40ed-83c1-55ca1ad50837", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "257", + "x-ms-region": "West US 2", + "X-Request-ID": "c9a683b1-fef2-40ed-83c1-55ca1ad50837" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json index 0e965e95f7c4a..abd06ed67c282 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json @@ -1,108 +1,366 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "94f78617-017d-4322-9c05-d80fa33f489d", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "599", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "09939c5d-8502-40cd-9247-6dd9e0848d16", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample3d3f2ea4-b96f-4418-912c-6f9b634417d3", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "96bc491c-4f3f-4fec-af58-23187206bbe3", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "763", + "x-ms-region": "West US 2", + "X-Request-ID": "96bc491c-4f3f-4fec-af58-23187206bbe3" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "58ad3ceb-128a-4f3f-bb96-3bd506269d9c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "546", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "58ad3ceb-128a-4f3f-bb96-3bd506269d9c", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "77dc3344-33ef-44ff-852a-bac4dd032490", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6d1bb4ef-7ded-4067-9832-0a2247108df9", + "Content-Length": "1235", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "6d1bb4ef-7ded-4067-9832-0a2247108df9" + }, + "ResponseBody": { + "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", + "dataFeedName": "java_create_data_feed_test_sample3d3f2ea4-b96f-4418-912c-6f9b634417d3", + "metrics": [ + { + "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5fbbb1c9-604f-4e26-aeac-e4a86d83075f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "576", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "88ad51b4-9833-42e6-a0c9-f60de29fec71", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "test_updated_dataFeed_name", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "Basic", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b2ce3cce-4cbe-4ec5-9932-7c96653a7914", + "Content-Length": "1192", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "616", + "x-ms-region": "West US 2", + "X-Request-ID": "b2ce3cce-4cbe-4ec5-9932-7c96653a7914" + }, + "ResponseBody": { + "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", + "dataFeedName": "test_updated_dataFeed_name", + "metrics": [ + { + "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Response" : { - "x-request-id" : "991ffdbe-fb67-41a0-95d7-548af2f90ca1", - "content-length" : "1233", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "991ffdbe-fb67-41a0-95d7-548af2f90ca1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"java_create_data_feed_test_samplecfc89cb4-1c0b-4d5a-aa0c-5f5537e4bf50\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "818a600f-4490-4ef8-bf5f-321c17a01ce9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0b0640e9-ea71-4948-9f86-09cc6352202d", + "Content-Length": "1192", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "189", + "x-ms-region": "West US 2", + "X-Request-ID": "0b0640e9-ea71-4948-9f86-09cc6352202d" + }, + "ResponseBody": { + "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", + "dataFeedName": "test_updated_dataFeed_name", + "metrics": [ + { + "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3751e38b-ea07-4927-8130-0b651a778dd1", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "92fb70c9-7911-4014-8127-7ab1c7a7092d", - "content-length" : "1190", - "x-envoy-upstream-service-time" : "618", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "92fb70c9-7911-4014-8127-7ab1c7a7092d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"test_updated_dataFeed_name\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "15523d3a-d879-4b80-a723-c1ba74703701" - }, - "Response" : { - "x-request-id" : "0e87843a-5be8-448b-883e-46740eeba703", - "content-length" : "1190", - "x-envoy-upstream-service-time" : "179", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0e87843a-5be8-448b-883e-46740eeba703", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"test_updated_dataFeed_name\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "783a8f35-91a3-431f-92cf-fc85780f7830" - }, - "Response" : { - "x-request-id" : "56c8f138-332e-4b15-a6b2-52cc5caefb4d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "322", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56c8f138-332e-4b15-a6b2-52cc5caefb4d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0d30784a-2421-4313-9f73-b41028311a41", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "8fba69d7-d145-4a34-a29a-0d9ae4104b17", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "405", + "x-ms-region": "West US 2", + "X-Request-ID": "8fba69d7-d145-4a34-a29a-0d9ae4104b17" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json index 5ad2facf97af7..06f9ba5c9841b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e856da78-93f5-4463-b78c-440f1e0ec521", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "882", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "87240a01-3633-4214-bde9-8c124a895021", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureApplicationInsights", + "dataFeedName": "java_create_data_feed_test_sample23977af7-2acf-4a60-b749-c14637f3211c", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "azureCloud": "Azure Global", + "applicationId": "REDACTED", + "apiKey": "REDACTED", + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3ee991d6-822d-4b3e-965f-637039b59b31", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/092329c4-654f-4dba-8bb1-ba34e3ffb3c2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1057", + "x-ms-region": "West US 2", + "X-Request-ID": "3ee991d6-822d-4b3e-965f-637039b59b31" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "f06ca994-7f6e-40b7-92bc-629c0838e4be", - "content-length" : "0", - "x-envoy-upstream-service-time" : "449", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f06ca994-7f6e-40b7-92bc-629c0838e4be", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3965bfc1-ce1d-4ec8-ac64-701a473ebe3e" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/092329c4-654f-4dba-8bb1-ba34e3ffb3c2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "aba0955e-6411-4417-8774-8830d033b32e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "14f608e8-a092-4648-a903-135d64b67724", + "Content-Length": "1557", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "190", + "x-ms-region": "West US 2", + "X-Request-ID": "14f608e8-a092-4648-a903-135d64b67724" + }, + "ResponseBody": { + "dataFeedId": "092329c4-654f-4dba-8bb1-ba34e3ffb3c2", + "dataFeedName": "java_create_data_feed_test_sample23977af7-2acf-4a60-b749-c14637f3211c", + "metrics": [ + { + "metricId": "e38cb155-12b1-457e-b3bf-2becac255280", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "5486f5f8-3d83-4ff9-8263-45ab0d636453", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureApplicationInsights", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:51Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode", + "azureCloud": "Azure Global", + "applicationId": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3965bfc1-ce1d-4ec8-ac64-701a473ebe3e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "38f5474a-c90a-4774-8d9e-bb21dfcb4de5" - }, - "Response" : { - "x-request-id" : "9a37d7e5-0fcc-4ba9-8c8c-1286caba90a6", - "content-length" : "1560", - "x-envoy-upstream-service-time" : "166", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9a37d7e5-0fcc-4ba9-8c8c-1286caba90a6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3965bfc1-ce1d-4ec8-ac64-701a473ebe3e\",\"dataFeedName\":\"java_create_data_feed_test_sample95eac441-360e-4d79-8014-da205c8b3f78\",\"metrics\":[{\"metricId\":\"362c197b-3319-422b-8ef3-ac934f52adb2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2157b6c9-a339-42f6-82c8-6e34b7ec1a08\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure Global\",\"REDACTED\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3965bfc1-ce1d-4ec8-ac64-701a473ebe3e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5ec8be95-88e1-4820-8b01-7fc35c1bc155" - }, - "Response" : { - "x-request-id" : "0f3fefa8-fcbb-490b-911b-e0cdcdd7f126", - "content-length" : "0", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0f3fefa8-fcbb-490b-911b-e0cdcdd7f126", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/092329c4-654f-4dba-8bb1-ba34e3ffb3c2", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9669ed07-ddff-43ca-934b-089fdee4ad6a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "be86c17a-fc46-44c6-ac51-1a8062f9ecfc", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "249", + "x-ms-region": "West US 2", + "X-Request-ID": "be86c17a-fc46-44c6-ac51-1a8062f9ecfc" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json index 5d4969707abf4..aafe498448957 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json @@ -1,65 +1,176 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "12b97284-dea4-4a08-8a40-93e54a7d6147", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "597", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "da3f200e-3a56-4200-a2cf-a00257b0a5f2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureTable", + "dataFeedName": "java_create_data_feed_test_sample5e20ab32-6a55-4df6-9271-a1b5f23f3a2d", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "table": "adsample", + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "be68ca1b-8cec-40f0-845f-331e26274adb", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/701b5e31-27ea-43e5-8f38-fea7e626ce97", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "904", + "x-ms-region": "West US 2", + "X-Request-ID": "be68ca1b-8cec-40f0-845f-331e26274adb" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "f3743734-cbf0-4c60-b5b4-640fef5896c4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "460", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3743734-cbf0-4c60-b5b4-640fef5896c4", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a1f95a3-b8a9-42f3-be4d-47570eaf1427" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/701b5e31-27ea-43e5-8f38-fea7e626ce97", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a2ba216f-2216-4908-9c2a-ce87e5a4a4b4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4dc34012-6c2d-47d9-b0da-8b63eaaa4d66", + "Content-Length": "1262", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "162", + "x-ms-region": "West US 2", + "X-Request-ID": "4dc34012-6c2d-47d9-b0da-8b63eaaa4d66" + }, + "ResponseBody": { + "dataFeedId": "701b5e31-27ea-43e5-8f38-fea7e626ce97", + "dataFeedName": "java_create_data_feed_test_sample5e20ab32-6a55-4df6-9271-a1b5f23f3a2d", + "metrics": [ + { + "metricId": "d6af6fdb-9a37-4ca5-b614-28bee27457a4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b83ac042-552e-492f-b072-5d37fb5e7200", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureTable", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:48Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027", + "table": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a1f95a3-b8a9-42f3-be4d-47570eaf1427", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d867d24e-a4e7-44e4-a661-195dda8b37d3" - }, - "Response" : { - "x-request-id" : "365d5fa6-93ca-4a58-bd1f-6ffac380341a", - "content-length" : "1260", - "x-envoy-upstream-service-time" : "161", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "365d5fa6-93ca-4a58-bd1f-6ffac380341a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"4a1f95a3-b8a9-42f3-be4d-47570eaf1427\",\"dataFeedName\":\"java_create_data_feed_test_sample5d049ce6-e34c-42b3-93d9-84b6dc615490\",\"metrics\":[{\"metricId\":\"5fcab1c0-e7e5-42bf-bd86-7013cfef1f6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63c7e140-2bc2-4bb1-812d-4c99aae88c9b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'\",\"table\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a1f95a3-b8a9-42f3-be4d-47570eaf1427", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "682da9a0-cb4c-46f5-b881-a5485dc88a76" - }, - "Response" : { - "x-request-id" : "89204c9a-c351-4416-b6bb-dcc454bc318a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "330", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "89204c9a-c351-4416-b6bb-dcc454bc318a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/701b5e31-27ea-43e5-8f38-fea7e626ce97", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "25295ec9-7181-465c-b43a-4e917b851705", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "1b749062-4714-4af2-a052-1136fa330354", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "571", + "x-ms-region": "West US 2", + "X-Request-ID": "1b749062-4714-4af2-a052-1136fa330354" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json index 23e8f24f64da5..59d2a24e92107 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json @@ -1,65 +1,177 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f7d0eeb5-1bbc-4218-be98-1b6e587e805a", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "933b5f0c-1939-4543-ba60-9c0eb06c1573", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample52a5b8e4-4822-49a5-986a-e7972241134b", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "59afc441-f3b3-425a-a387-6046006a0e92", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/60162fe4-a88d-4db7-845d-7e6f1a80ff01", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "634", + "x-ms-region": "West US 2", + "X-Request-ID": "59afc441-f3b3-425a-a387-6046006a0e92" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "da32b68e-320d-41e5-8acd-fdfe3576c79a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "452", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "da32b68e-320d-41e5-8acd-fdfe3576c79a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/60162fe4-a88d-4db7-845d-7e6f1a80ff01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6dd0cec0-f32d-4f24-8320-3ee8d91cd024", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b9e696c2-eb37-47cc-aa2e-e5fa2d70843d", + "Content-Length": "1242", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "156", + "x-ms-region": "West US 2", + "X-Request-ID": "b9e696c2-eb37-47cc-aa2e-e5fa2d70843d" + }, + "ResponseBody": { + "dataFeedId": "60162fe4-a88d-4db7-845d-7e6f1a80ff01", + "dataFeedName": "java_create_data_feed_test_sample52a5b8e4-4822-49a5-986a-e7972241134b", + "metrics": [ + { + "metricId": "26078835-b9c9-496a-a4be-3b0fd45e47c0", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "257fbfcf-3467-469b-861a-e7660984bede", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c729cad-2f4f-4f11-95ef-40da3b491e46" - }, - "Response" : { - "x-request-id" : "3e676892-c3e1-498c-ad4d-2bda703f1156", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "189", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3e676892-c3e1-498c-ad4d-2bda703f1156", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2\",\"dataFeedName\":\"java_create_data_feed_test_sampled79a169e-89c5-4276-8e3c-a836b8c0e333\",\"metrics\":[{\"metricId\":\"07307139-bdff-4622-be27-15282751d186\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cb1c89ec-760e-42e1-82e4-fed7625e853b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "79d37adb-325c-4c7b-ac46-8fd8edd44312" - }, - "Response" : { - "x-request-id" : "cc4495d5-168d-45d0-8abb-01b87de738a8", - "content-length" : "0", - "x-envoy-upstream-service-time" : "579", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cc4495d5-168d-45d0-8abb-01b87de738a8", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/60162fe4-a88d-4db7-845d-7e6f1a80ff01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "812238e8-a8f4-4db6-85ff-dcf8f0b919b5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "0bd5c474-ff3b-4869-ac83-8e8fa2dd9b25", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "269", + "x-ms-region": "West US 2", + "X-Request-ID": "0bd5c474-ff3b-4869-ac83-8e8fa2dd9b25" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json index 1e98dfe174980..624a144a3842f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f3afe9c-2d8c-45ca-996f-6900c5262c82", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "625", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "90650b32-c23d-43c8-bb39-fd90e68bcff4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureCosmosDB", + "dataFeedName": "java_create_data_feed_test_sample2aa859a2-e0e6-4f73-ab83-f4ee79ad4051", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "database": "adsample", + "collectionId": "adsample" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "c6c48562-c157-4918-9a8c-4288458df63b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cf0a33d7-701e-463b-8b1d-bbd6de78066d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "650", + "x-ms-region": "West US 2", + "X-Request-ID": "c6c48562-c157-4918-9a8c-4288458df63b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "3eba8bfe-1340-40b1-92e0-252c52aee4fe", - "content-length" : "0", - "x-envoy-upstream-service-time" : "465", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3eba8bfe-1340-40b1-92e0-252c52aee4fe", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7a80c258-feae-448c-b10a-02860d8c9be9" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cf0a33d7-701e-463b-8b1d-bbd6de78066d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "dba6372f-c769-4fb4-8bc0-561976919f71", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "99d14226-b226-4de5-9af7-6172ae6442e4", + "Content-Length": "1290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "163", + "x-ms-region": "West US 2", + "X-Request-ID": "99d14226-b226-4de5-9af7-6172ae6442e4" + }, + "ResponseBody": { + "dataFeedId": "cf0a33d7-701e-463b-8b1d-bbd6de78066d", + "dataFeedName": "java_create_data_feed_test_sample2aa859a2-e0e6-4f73-ab83-f4ee79ad4051", + "metrics": [ + { + "metricId": "d04c6a44-c632-46a6-8b0c-2c8da38de526", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "315d3e65-57be-447e-b23b-0c2ed0f8a64b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureCosmosDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "database": "adsample", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "collectionId": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7a80c258-feae-448c-b10a-02860d8c9be9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d42db99e-9b2f-455a-8e20-1489789cf817" - }, - "Response" : { - "x-request-id" : "e03bd7ac-9303-4b19-9b23-5871edf08fca", - "content-length" : "1288", - "x-envoy-upstream-service-time" : "190", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e03bd7ac-9303-4b19-9b23-5871edf08fca", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"7a80c258-feae-448c-b10a-02860d8c9be9\",\"dataFeedName\":\"java_create_data_feed_test_sample5b1a1f12-595a-4d98-87c4-0a28479cd752\",\"metrics\":[{\"metricId\":\"68b79bf7-42e3-4a55-9484-1b8715c092aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"27ca7efe-b91a-4463-8fb5-e41e0012fba6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"adsample\",\"sqlQuery\":\"select * from adsample2 where Timestamp = @StartTime\",\"collectionId\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7a80c258-feae-448c-b10a-02860d8c9be9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c24b3712-1d45-414e-b621-a3eb2c6f7353" - }, - "Response" : { - "x-request-id" : "65ddac11-a0e2-447c-8410-7104f23b3f5a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "353", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "65ddac11-a0e2-447c-8410-7104f23b3f5a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cf0a33d7-701e-463b-8b1d-bbd6de78066d", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "537f7cc0-a753-4092-85be-71f9851f57a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "3462c6a4-15f4-4643-ac25-2cd63d8fa655", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "265", + "x-ms-region": "West US 2", + "X-Request-ID": "3462c6a4-15f4-4643-ac25-2cd63d8fa655" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json index be6ac2bba00e9..227bf3ff89f54 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json @@ -1,26 +1,56 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6d731ccc-9473-4eb3-96b6-3b2ab0e3e39d", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "449fa1d3-7313-48f3-93c4-c49bb89e3d6b", - "content-length" : "92", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "449fa1d3-7313-48f3-93c4-c49bb89e3d6b", - "retry-after" : "0", - "StatusCode" : "400", - "Body" : "{\"code\":\"ERROR_DUP_NAME\",\"message\":\"The metric name 'cost' is duplicate,please remove one.\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "403", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "4081ddf3-d55d-4a45-b55d-5dbc051a4717", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplefc6ee70a-ee2c-4832-92fe-1bcd024d541f", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "cost" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "9e91b209-8305-45c0-9d0c-14ba1bc0ce34", + "Content-Length": "92", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "129", + "x-ms-region": "West US 2", + "X-Request-ID": "9e91b209-8305-45c0-9d0c-14ba1bc0ce34" + }, + "ResponseBody": { + "code": "ERROR_DUP_NAME", + "message": "The metric name \u0027cost\u0027 is duplicate,please remove one." + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json index 3f904c59010be..788dbf091cd10 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "daca41f8-4350-4067-a2f4-dd5b5f05c92b", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "24235950-e953-46bc-9573-504e66a2195a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample5f618684-fd69-4eac-8a00-fac961ffcae4", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "cf08fe89-aa39-45d5-8a23-3a98b277895d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a440d215-3122-462d-aa55-84cf5a59fa4b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "773", + "x-ms-region": "West US 2", + "X-Request-ID": "cf08fe89-aa39-45d5-8a23-3a98b277895d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "169b692c-a33e-4d36-8ec3-b9aaf54d2c51", - "content-length" : "0", - "x-envoy-upstream-service-time" : "486", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "169b692c-a33e-4d36-8ec3-b9aaf54d2c51", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e57f36b3-303b-44f5-9c36-f33f399171a0" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a440d215-3122-462d-aa55-84cf5a59fa4b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f1f5c59f-8e40-4df2-ae3e-dbb45e2f5f22", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "137d7322-b0f4-4595-849a-8514e604e1d4", + "Content-Length": "1302", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "137", + "x-ms-region": "West US 2", + "X-Request-ID": "137d7322-b0f4-4595-849a-8514e604e1d4" + }, + "ResponseBody": { + "dataFeedId": "a440d215-3122-462d-aa55-84cf5a59fa4b", + "dataFeedName": "java_create_data_feed_test_sample5f618684-fd69-4eac-8a00-fac961ffcae4", + "metrics": [ + { + "metricId": "3c08848c-2566-4212-a0c3-a457b384635d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "820b494f-fde8-49fe-bc1b-c6c58bbb675b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:45Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e57f36b3-303b-44f5-9c36-f33f399171a0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "17d5de97-e7a1-4a57-ac50-4141ba2eaafc" - }, - "Response" : { - "x-request-id" : "e9d5499b-028c-4d43-a3e0-6762da0a2f1f", - "content-length" : "1312", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e9d5499b-028c-4d43-a3e0-6762da0a2f1f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"e57f36b3-303b-44f5-9c36-f33f399171a0\",\"dataFeedName\":\"java_create_data_feed_test_samplee42342c6-f114-4cbf-9a29-445d2bdbb49f\",\"metrics\":[{\"metricId\":\"e6472dae-edda-400a-8366-b99bf71e7134\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cc59953c-e5e5-495b-bcd4-902e3d179428\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e57f36b3-303b-44f5-9c36-f33f399171a0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0ddab947-c1de-4c33-9bdf-3b5336c2c413" - }, - "Response" : { - "x-request-id" : "e24e0857-38d4-419b-9b79-56770c813d73", - "content-length" : "0", - "x-envoy-upstream-service-time" : "304", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e24e0857-38d4-419b-9b79-56770c813d73", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a440d215-3122-462d-aa55-84cf5a59fa4b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fccf23a1-d144-456b-b232-34106ab90bbc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "c82cf171-c773-4459-b2c3-5843b98b471c", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "245", + "x-ms-region": "West US 2", + "X-Request-ID": "c82cf171-c773-4459-b2c3-5843b98b471c" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json index 9861e389871d5..db5da0ad1f565 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json @@ -1,65 +1,175 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6695c0d6-a897-4317-b9fa-328b44903745", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "78027dca-a5e4-40c0-a973-1ef6d79ad3dc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplee7286ab8-3772-4c0d-9f46-8e866e5d4f6c", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "de8cea99-1ed6-49c5-bd5e-856166c8bff6", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "883", + "x-ms-region": "West US 2", + "X-Request-ID": "de8cea99-1ed6-49c5-bd5e-856166c8bff6" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "a88d53a1-2aaf-46af-8137-9ff1c7c6c7dc", - "content-length" : "0", - "x-envoy-upstream-service-time" : "451", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a88d53a1-2aaf-46af-8137-9ff1c7c6c7dc", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c06cf2f8-fb4d-4efa-8091-d3c1e6c64305" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5a5cbf04-0c9d-47c7-a509-9e94540d685b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "84fa981a-c277-4b41-a35b-672afd4acfab", + "Content-Length": "1339", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "191", + "x-ms-region": "West US 2", + "X-Request-ID": "84fa981a-c277-4b41-a35b-672afd4acfab" + }, + "ResponseBody": { + "dataFeedId": "264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "dataFeedName": "java_create_data_feed_test_samplee7286ab8-3772-4c0d-9f46-8e866e5d4f6c", + "metrics": [ + { + "metricId": "44fee7d3-a730-48c2-8df3-3c7222ebe4c6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "23573fd4-509f-4989-b0ff-0a6c2d14a00d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:49Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c06cf2f8-fb4d-4efa-8091-d3c1e6c64305", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d743869-6a53-4dbe-9144-c5e5f306c7f8" - }, - "Response" : { - "x-request-id" : "66b270a7-3c77-45e3-b62a-be60a10c6389", - "content-length" : "1337", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "66b270a7-3c77-45e3-b62a-be60a10c6389", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c06cf2f8-fb4d-4efa-8091-d3c1e6c64305\",\"dataFeedName\":\"java_create_data_feed_test_sample2539eb87-3aaf-4847-b2ff-57509d087344\",\"metrics\":[{\"metricId\":\"ca01457c-354f-4bfe-92cf-61513da008ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81c42ad8-bd61-4a47-85d9-6a154e591d78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c06cf2f8-fb4d-4efa-8091-d3c1e6c64305", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ec5e9d8-ceae-443c-a5cc-f3696c642ebf" - }, - "Response" : { - "x-request-id" : "9df002e4-669f-4f5f-af46-e32505cb623a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "305", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9df002e4-669f-4f5f-af46-e32505cb623a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "91951ecf-f663-4641-a21d-615edea62909", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ac19b1c2-6f5b-4b8a-99af-ee4572cf126d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "413", + "x-ms-region": "West US 2", + "X-Request-ID": "ac19b1c2-6f5b-4b8a-99af-ee4572cf126d" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json index 9ed1c12769fb8..5a816a4f7491f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json @@ -1,65 +1,180 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c571545f-4040-467b-a938-ed17ae6891b8", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "635", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5358f9f0-5a24-41b6-b765-1687d7111b8f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "InfluxDB", + "dataFeedName": "java_create_data_feed_test_sample89168859-3521-4a8f-ba90-4acc421880ba", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "userName": "REDACTED", + "password": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "683e19ff-ea1f-4522-9d14-eaabb919482c", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5addbf96-4db8-4f9e-ae75-f081995488e0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "695", + "x-ms-region": "West US 2", + "X-Request-ID": "683e19ff-ea1f-4522-9d14-eaabb919482c" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0e9c9d97-32f2-4fe3-bfcf-689e370a08ab", - "content-length" : "0", - "x-envoy-upstream-service-time" : "527", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0e9c9d97-32f2-4fe3-bfcf-689e370a08ab", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e1cda9ed-cc64-4689-96c9-86972e1ddfdf" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5addbf96-4db8-4f9e-ae75-f081995488e0", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9621259a-c5e9-401a-8c24-bc0c9c5ee8f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cead4fe6-7f57-4e68-a1c7-5669cbc2edc1", + "Content-Length": "1308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "196", + "x-ms-region": "West US 2", + "X-Request-ID": "cead4fe6-7f57-4e68-a1c7-5669cbc2edc1" + }, + "ResponseBody": { + "dataFeedId": "5addbf96-4db8-4f9e-ae75-f081995488e0", + "dataFeedName": "java_create_data_feed_test_sample89168859-3521-4a8f-ba90-4acc421880ba", + "metrics": [ + { + "metricId": "d2f7800d-60bc-4ef2-b5a0-16dcaaa265e6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a2945411-2f41-4edc-ae07-6716d2869c72", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "InfluxDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:39Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "query": "select * from adsample2 where Timestamp = @StartTime", + "userName": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e1cda9ed-cc64-4689-96c9-86972e1ddfdf", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "653570f6-a076-417e-919b-dd15922550df" - }, - "Response" : { - "x-request-id" : "7e826fb5-e16a-4fd4-92f9-7cee863b1c44", - "content-length" : "1354", - "x-envoy-upstream-service-time" : "179", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7e826fb5-e16a-4fd4-92f9-7cee863b1c44", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"e1cda9ed-cc64-4689-96c9-86972e1ddfdf\",\"dataFeedName\":\"java_create_data_feed_test_sample9bcbf2d4-6b1b-42c4-8ab7-2ca1c563360e\",\"metrics\":[{\"metricId\":\"92964ea7-f122-4cc4-b474-12d8288bbe08\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1748dfdd-a1ae-40f9-9581-99ff626a1ce9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"adsample\",\"query\":\"select * from adsample2 where Timestamp = @StartTime\",\"userName\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e1cda9ed-cc64-4689-96c9-86972e1ddfdf", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "db584278-0f78-4ced-ae72-8c4bb95c5bef" - }, - "Response" : { - "x-request-id" : "dba42aa7-6997-4353-978c-e4082b0ae248", - "content-length" : "0", - "x-envoy-upstream-service-time" : "338", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "dba42aa7-6997-4353-978c-e4082b0ae248", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5addbf96-4db8-4f9e-ae75-f081995488e0", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "928c4171-0fe0-44af-bdcf-f0f1e18d78bb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "bba93230-1922-4bc3-a405-4a28b185d431", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "321", + "x-ms-region": "West US 2", + "X-Request-ID": "bba93230-1922-4bc3-a405-4a28b185d431" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json index 4d9313e33ff48..bd283790124d6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "56f22eea-a2da-4b90-b492-95b31f70489d", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "777", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "677e804e-6044-4398-810f-32fe02a75488", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureLogAnalytics", + "dataFeedName": "java_create_data_feed_test_sample4086ead4-9025-428f-aa77-2407700310e2", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "clientId": "azClientId", + "clientSecret": "azClientSecret", + "workspaceId": "azWorkspaceId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "4503e7be-adab-47ff-93ec-e95464288f34", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/607c5991-274f-434a-9d23-e0b9a5be067b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "698", + "x-ms-region": "West US 2", + "X-Request-ID": "4503e7be-adab-47ff-93ec-e95464288f34" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "fe2b0a8b-2bbf-4049-8bf5-11162fab4e81", - "content-length" : "0", - "x-envoy-upstream-service-time" : "468", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fe2b0a8b-2bbf-4049-8bf5-11162fab4e81", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2cd5377f-23b2-43f8-bfaf-cc9d1aec5201" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/607c5991-274f-434a-9d23-e0b9a5be067b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2d6487f2-8781-4f28-b55b-3af813152ac5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a6ffaea6-cb10-4727-8a14-140ebcb67d49", + "Content-Length": "1411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "210", + "x-ms-region": "West US 2", + "X-Request-ID": "a6ffaea6-cb10-4727-8a14-140ebcb67d49" + }, + "ResponseBody": { + "dataFeedId": "607c5991-274f-434a-9d23-e0b9a5be067b", + "dataFeedName": "java_create_data_feed_test_sample4086ead4-9025-428f-aa77-2407700310e2", + "metrics": [ + { + "metricId": "db3556b1-0bd4-4fc6-aa04-20104cf2ade1", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "4f367ee5-e29a-48f8-94b9-bb440b8c441e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureLogAnalytics", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:47Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2cd5377f-23b2-43f8-bfaf-cc9d1aec5201", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "560c8f44-630a-4692-962e-41159f555f83" - }, - "Response" : { - "x-request-id" : "b1189681-e92a-453d-81a9-7cc057ba274f", - "content-length" : "1409", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b1189681-e92a-453d-81a9-7cc057ba274f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"2cd5377f-23b2-43f8-bfaf-cc9d1aec5201\",\"dataFeedName\":\"java_create_data_feed_test_sample0d1a85b7-04ce-43ef-9d40-977c8f8d695a\",\"metrics\":[{\"metricId\":\"da57bcb0-61fb-4fb8-a2da-167f965f5c95\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5088b045-63a1-4a30-877a-28d95b96f303\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"azClientId\",\"query\":\"where StartTime >=datetime(@StartTime) and EndTime = StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "68461991-7411-4b59-8c95-3ed583504198" - }, - "Response" : { - "x-request-id" : "30c793a6-004d-4f01-a9bf-531ad0be9efe", - "content-length" : "26685", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "30c793a6-004d-4f01-a9bf-531ad0be9efe", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac773e99-1e39-4dea-a14c-d0a1b693ae2b" - }, - "Response" : { - "x-request-id" : "83ef7932-ba6c-48a4-9359-b1d6551c7da0", - "content-length" : "26322", - "x-envoy-upstream-service-time" : "150", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83ef7932-ba6c-48a4-9359-b1d6551c7da0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "be923937-4a22-4010-bf5d-11c4b0ce70d4" - }, - "Response" : { - "x-request-id" : "6c06d67f-6c5a-4b19-83f8-2f07d4341ab3", - "content-length" : "26635", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6c06d67f-6c5a-4b19-83f8-2f07d4341ab3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f0bc651-e10b-4a74-b381-b1fcc31ae47e" - }, - "Response" : { - "x-request-id" : "a8732121-2f13-447d-a911-edecca31d80e", - "content-length" : "26592", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a8732121-2f13-447d-a911-edecca31d80e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7782cc33-bb9a-4cfc-ba00-48348a22d0e4\",\"dataFeedName\":\"js-test-appInsightsFeed-163459779906406741\",\"metrics\":[{\"metricId\":\"35a57c39-2068-4bbb-900a-38a4741b6a27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a10526c1-4cec-4fa2-969a-3a52afbf39af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5ff5341-c7c7-499c-8a75-5d197d6b5537", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9373d82e-0e1b-418b-b766-e9c73ecc68df" - }, - "Response" : { - "x-request-id" : "605d7de2-eff9-40bb-a729-9bcebdd5210d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "605d7de2-eff9-40bb-a729-9bcebdd5210d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8d5ac7ff-f701-4617-87ce-9d19ac5f7a50", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9679a8aa-d36f-4e6e-b625-f771dce23714", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "0545a228-22ad-4c8a-af2c-1e6349830068", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "290", + "x-ms-region": "West US 2", + "X-Request-ID": "0545a228-22ad-4c8a-af2c-1e6349830068" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json index f98c312d3e33d..274b3010a34ad 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json @@ -1,109 +1,456 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "81828971-5047-4790-bbb0-297937910322" - }, - "Response" : { - "x-request-id" : "8467d9dd-50dc-4c4d-ba6f-3a98b8280c81", - "content-length" : "26109", - "x-envoy-upstream-service-time" : "157", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8467d9dd-50dc-4c4d-ba6f-3a98b8280c81", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"563ef427-fc26-41df-8ce3-a0573d1b928b\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sample86f7cc27-7051-496e-9e18-db375e702895\",\"metrics\":[{\"metricId\":\"efe5cf04-40f6-467a-aeab-74ec91126962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"345471af-06d0-4ace-93e2-b08d9316938a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b109beda-d37a-45a1-9637-5535bb2d364f\",\"dataFeedName\":\"java_create_data_feed_test_sample5c2ec2a6-4470-4c2c-9926-e78285fb990c\",\"metrics\":[{\"metricId\":\"dfb9e2ca-8b1b-46e7-94ba-c083b3aa3017\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84acdd93-1192-42a7-b463-3599dad27363\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4dd96148-fc46-4c4c-804e-d84d6f4c029d\",\"dataFeedName\":\"java_create_data_feed_test_sample862b3644-6b81-4170-830a-3e6421489f8b\",\"metrics\":[{\"metricId\":\"a4c46a4a-0613-4d45-a0d2-0e1514d80265\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9308310f-4add-4d17-bcd7-05dd132e6a95\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0e1df88-6cce-4f5e-9b89-4532d6e081a5\",\"dataFeedName\":\"java_create_data_feed_test_sample6c219e4d-9272-410c-bfa6-067e4180bc70\",\"metrics\":[{\"metricId\":\"9a805e98-5ab4-4212-971b-4a464c5e04f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6fc696ec-6c76-4ccc-9bd9-9d6940550dc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"1ab2e9d6-e583-4a03-8590-16f079982558\"},{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f4391064-0f7b-4e0e-9ad7-141663d2ae39" - }, - "Response" : { - "x-request-id" : "b0570fb4-781b-49f0-acd0-7107fe9074b2", - "content-length" : "26340", - "x-envoy-upstream-service-time" : "155", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b0570fb4-781b-49f0-acd0-7107fe9074b2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "76ed0c67-97d3-4b47-a9a1-44bc07f730d0" - }, - "Response" : { - "x-request-id" : "ff345e03-87f8-4ca9-90d3-691c534bb8fa", - "content-length" : "26650", - "x-envoy-upstream-service-time" : "146", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ff345e03-87f8-4ca9-90d3-691c534bb8fa", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e1dcb1db-b4e2-4d60-9e90-04404e8d726d" - }, - "Response" : { - "x-request-id" : "63b7729e-4d79-4476-b553-b49fcd79d9e8", - "content-length" : "26528", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "63b7729e-4d79-4476-b553-b49fcd79d9e8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "833c901a-94ce-4314-afac-bdc0ed447791" - }, - "Response" : { - "x-request-id" : "d67f39bd-ee58-4b3e-a815-756184284f8c", - "content-length" : "26341", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d67f39bd-ee58-4b3e-a815-756184284f8c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "55c76557-917b-4a87-813d-f06537fa8851", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3471a63b-598f-45b8-82ca-c56edc0c2b0f", + "Content-Length": "9644", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "213", + "x-ms-region": "West US 2", + "X-Request-ID": "3471a63b-598f-45b8-82ca-c56edc0c2b0f" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "701b5e31-27ea-43e5-8f38-fea7e626ce97", + "dataFeedName": "java_create_data_feed_test_sample5e20ab32-6a55-4df6-9271-a1b5f23f3a2d", + "metrics": [ + { + "metricId": "d6af6fdb-9a37-4ca5-b614-28bee27457a4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b83ac042-552e-492f-b072-5d37fb5e7200", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureTable", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:48Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027", + "table": "adsample" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" + }, + { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc" + }, + { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "yutongzhai@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "camaiaor@microsoft.com", + "kaghiya@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "yumeng@microsoft.com", + "chriss@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "chriss@microsoft.com", + "yumeng@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "kaghiya@microsoft.com", + "camaiaor@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json index 1e4934e12ad59..194784adcd636 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json @@ -1,46 +1,103 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "39d17ce6-f8e5-4062-ac3f-22efab64f4b9" - }, - "Response" : { - "x-request-id" : "50abb703-04d0-48fe-98ab-dc16fbbebdbc", - "content-length" : "25454", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "50abb703-04d0-48fe-98ab-dc16fbbebdbc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9754aeec-fbbc-4ff1-af81-146a47f2d106" - }, - "Response" : { - "x-request-id" : "0395da57-3e74-49f2-b06f-e9e7f466e69c", - "content-length" : "3806", - "x-envoy-upstream-service-time" : "154", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0395da57-3e74-49f2-b06f-e9e7f466e69c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "687abb51-ecaa-4eae-a738-7426b35302a0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3c87d932-9391-4d08-a48d-d12980052741", + "Content-Length": "1499", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "141", + "x-ms-region": "West US 2", + "X-Request-ID": "3c87d932-9391-4d08-a48d-d12980052741" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com", + "savaity@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "yumeng@microsoft.com", + "camaiaor@microsoft.com", + "chriss@microsoft.com", + "elraikhm@microsoft.com", + "yutongzhai@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json index 4396f80a435bd..4fa3e8702d5af 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json @@ -1,25 +1,215 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?status=Active", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c58c4c3f-7a22-4205-aa63-910f58d140e7" - }, - "Response" : { - "x-request-id" : "700281ab-1f54-41ce-a34c-f730777281e8", - "content-length" : "8872", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "700281ab-1f54-41ce-a34c-f730777281e8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d89f21ac-3f13-4d3a-a170-8b0e12ae761c\",\"dataFeedName\":\"java_create_data_feed_test_sample9b7af246-541e-40bb-881d-4c918d636a5e\",\"metrics\":[{\"metricId\":\"73366f99-3f35-4419-9dec-027b25ad6362\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"14355e3d-91c8-406a-8948-6650169d7baf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35ce1d3a-511e-479c-ae34-7335bfe442bb\",\"dataFeedName\":\"java_data_feed_for_detectiond6efe5f7-cf0a-4fa4-94b6-5b0df3946a63\",\"metrics\":[{\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"89edb185-205d-43f5-b760-6723a83befdb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?status=Active", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6dd83c23-0760-4276-9df5-106fb1f1678c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "37e4a20a-a8c7-4faa-9ba3-73d49ef3dc7b", + "Content-Length": "4070", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "155", + "x-ms-region": "West US 2", + "X-Request-ID": "37e4a20a-a8c7-4faa-9ba3-73d49ef3dc7b" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "dataFeedName": "java_data_feed_for_detectiona7aa40f2-1714-4535-93f4-409844dfd918", + "metrics": [ + { + "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d08b5790-b8db-4613-8829-68f1bfda3bbe", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com", + "savaity@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "yumeng@microsoft.com", + "camaiaor@microsoft.com", + "chriss@microsoft.com", + "elraikhm@microsoft.com", + "yutongzhai@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json index b3c1efa29d64b..0bdb86e55a611 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json @@ -1,109 +1,575 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "75cb993f-1870-4d33-b99f-f5300d709b05" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "97961a71-7466-4778-8a05-89b69ee1b097", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "147f948d-003e-4ac8-a50b-4188c98abf45", + "Content-Length": "3981", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "150", + "x-ms-region": "West US 2", + "X-Request-ID": "147f948d-003e-4ac8-a50b-4188c98abf45" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", + "dataFeedName": "test_updated_dataFeed_name", + "metrics": [ + { + "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + }, + { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3" + } }, - "Response" : { - "x-request-id" : "5bd41e4f-5849-4738-b43d-cc420e1154c1", - "content-length" : "3919", - "x-envoy-upstream-service-time" : "161", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5bd41e4f-5849-4738-b43d-cc420e1154c1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"f733b791-ae71-4c4b-974a-71ddf8d2fb87\",\"dataFeedName\":\"java_create_data_feed_test_sample126316a3-c5f5-498e-b1ab-628bf4da9b14\",\"metrics\":[{\"metricId\":\"3dfab421-c544-4024-8ce8-e28e7a3ba6aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5cf0cd31-58ec-453f-b7df-c656f96b03af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c8bb473a-0e89-4f63-b1ae-35632f2ddce0\",\"dataFeedName\":\"java_create_data_feed_test_samplef36c926b-8dfb-45d6-accc-d5bced699c78\",\"metrics\":[{\"metricId\":\"b932e910-7f06-423b-8ffa-4b6a780fdec7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51368ea8-2163-4c20-b518-a0b8a2a916d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e57f36b3-303b-44f5-9c36-f33f399171a0\",\"dataFeedName\":\"java_create_data_feed_test_samplee42342c6-f114-4cbf-9a29-445d2bdbb49f\",\"metrics\":[{\"metricId\":\"e6472dae-edda-400a-8366-b99bf71e7134\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cc59953c-e5e5-495b-bcd4-902e3d179428\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "67d2defc-dda3-4e2b-a6d7-c88ba496da7a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "67e7b1d4-31b3-4951-aeb9-ba1bfff2d7a9", + "Content-Length": "4227", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "159", + "x-ms-region": "West US 2", + "X-Request-ID": "67e7b1d4-31b3-4951-aeb9-ba1bfff2d7a9" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" + }, + { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com", + "savaity@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "yumeng@microsoft.com", + "camaiaor@microsoft.com", + "chriss@microsoft.com", + "elraikhm@microsoft.com", + "yutongzhai@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "392d45c8-73eb-4183-b044-d9194f9d576e" - }, - "Response" : { - "x-request-id" : "b18e1586-6f48-4e2d-bb7b-0d16035a04c1", - "content-length" : "3967", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b18e1586-6f48-4e2d-bb7b-0d16035a04c1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fef4700c-1236-47fa-9588-09bd47ad516b" - }, - "Response" : { - "x-request-id" : "082adb31-3927-4bc3-833d-597976aa256b", - "content-length" : "4053", - "x-envoy-upstream-service-time" : "163", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "082adb31-3927-4bc3-833d-597976aa256b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d1b49f2-c0ab-489a-8753-51ff880d50bc" - }, - "Response" : { - "x-request-id" : "87f14a17-796b-408f-b364-32a52d16a544", - "content-length" : "4031", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "87f14a17-796b-408f-b364-32a52d16a544", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=12\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=12", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "02126ada-e7d9-4ef1-9d4f-9c35f4bd93a9" - }, - "Response" : { - "x-request-id" : "56942d66-a981-47ed-80a0-68452d78dc26", - "content-length" : "4000", - "x-envoy-upstream-service-time" : "151", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56942d66-a981-47ed-80a0-68452d78dc26", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=15\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6a786bdd-91e2-4acc-8712-2c0591339620", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aa705590-aa2d-4972-a2ef-a916f3e4ea81", + "Content-Length": "2878", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "157", + "x-ms-region": "West US 2", + "X-Request-ID": "aa705590-aa2d-4972-a2ef-a916f3e4ea81" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com", + "savaity@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "yumeng@microsoft.com", + "camaiaor@microsoft.com", + "chriss@microsoft.com", + "elraikhm@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json index 18f9bfc1595f0..dc081a9218419 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json @@ -1,147 +1,483 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5053c91d-6e60-4e64-be63-222ab491edf3", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "483", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "38f4be84-1b06-4e8c-853b-dc899397bf2f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6e785a6f-ebb4-4443-9966-70585570a30d", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "7ce38951-6300-432e-a66a-a2c8fb8a806d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "875", + "x-ms-region": "West US 2", + "X-Request-ID": "7ce38951-6300-432e-a66a-a2c8fb8a806d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0115c36c-eafb-4e99-88db-f24bed6eb293", - "content-length" : "0", - "x-envoy-upstream-service-time" : "423", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0115c36c-eafb-4e99-88db-f24bed6eb293", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3ce82421-5f4f-4fad-9917-fd598e3688a4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "996b45b7-6295-4a3f-815e-669ee73b5d6d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6b4715d5-fa80-41fd-aff6-245a45466176", + "Content-Length": "1242", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "137", + "x-ms-region": "West US 2", + "X-Request-ID": "6b4715d5-fa80-41fd-aff6-245a45466176" + }, + "ResponseBody": { + "dataFeedId": "2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6e785a6f-ebb4-4443-9966-70585570a30d", + "metrics": [ + { + "metricId": "982cf7f3-0565-4a6b-b52d-ca5ae2fc97e1", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "447295c5-ef1f-4722-b3b7-2a3714224fd0", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:51Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3ce82421-5f4f-4fad-9917-fd598e3688a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "91a309bf-b5af-4e67-a4e3-870339c123f8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "480", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "848a5b08-e5f4-4521-baa9-9f7cdb47d2c7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_SQL_create_data_feed_test_sample8a2fb70b-8757-440b-803d-edad73751ecc", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "f21a8ba2-990c-4fb0-af6a-1f707693e6d0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "535", + "x-ms-region": "West US 2", + "X-Request-ID": "f21a8ba2-990c-4fb0-af6a-1f707693e6d0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "a2f94b59-b1e2-4391-9c80-f1d8927ed7c3", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "168", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a2f94b59-b1e2-4391-9c80-f1d8927ed7c3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3ce82421-5f4f-4fad-9917-fd598e3688a4\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sampleb3059d62-ec00-44fe-be83-cc7a4784577e\",\"metrics\":[{\"metricId\":\"a3cda76c-b353-4b08-a54e-bc9cbd8b265e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9adc2bf-33bb-4620-87e0-977813ff4ffc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "615b138e-6d1e-4521-95d9-bde4c7425fa2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c761d111-bab0-4b7c-806d-f32f3c7820d4", + "Content-Length": "1239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "165", + "x-ms-region": "West US 2", + "X-Request-ID": "c761d111-bab0-4b7c-806d-f32f3c7820d4" + }, + "ResponseBody": { + "dataFeedId": "915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "dataFeedName": "java_SQL_create_data_feed_test_sample8a2fb70b-8757-440b-803d-edad73751ecc", + "metrics": [ + { + "metricId": "f8af30b7-d6ee-4344-b417-74e4ed25a685", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "df2e6580-fa21-426b-a2ce-d197f7e2bf22", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:52Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "80668589-63a1-4e2a-a1c5-15770b38a8c4", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_\u0026granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fdd6c51a-d496-41d5-84ef-e5cc27b9e549", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e6719bd1-2129-44a0-969b-a9f279940fd9", + "Content-Length": "2494", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "164", + "x-ms-region": "West US 2", + "X-Request-ID": "e6719bd1-2129-44a0-969b-a9f279940fd9" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "dataFeedName": "java_SQL_create_data_feed_test_sample8a2fb70b-8757-440b-803d-edad73751ecc", + "metrics": [ + { + "metricId": "f8af30b7-d6ee-4344-b417-74e4ed25a685", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "df2e6580-fa21-426b-a2ce-d197f7e2bf22", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:52Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6e785a6f-ebb4-4443-9966-70585570a30d", + "metrics": [ + { + "metricId": "982cf7f3-0565-4a6b-b52d-ca5ae2fc97e1", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "447295c5-ef1f-4722-b3b7-2a3714224fd0", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:51Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + } + ] + } }, - "Response" : { - "x-request-id" : "43487308-80b5-4f8b-aace-12a4fdcb93bc", - "content-length" : "0", - "x-envoy-upstream-service-time" : "542", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "43487308-80b5-4f8b-aace-12a4fdcb93bc", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/831cc58a-2eac-4218-8f4c-d8802dd77268" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:53 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e71bcfeb-8e87-4008-90e3-e4c033e5202f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "6fa85d53-98c8-424d-841f-2e6076e89930", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "264", + "x-ms-region": "West US 2", + "X-Request-ID": "6fa85d53-98c8-424d-841f-2e6076e89930" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/831cc58a-2eac-4218-8f4c-d8802dd77268", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e3fa3a1-5b82-4a39-9ad6-8cb95214632c" - }, - "Response" : { - "x-request-id" : "e62c9b49-320b-4f70-816b-f153e8ec4712", - "content-length" : "1237", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e62c9b49-320b-4f70-816b-f153e8ec4712", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"831cc58a-2eac-4218-8f4c-d8802dd77268\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample9ada3e4e-1cbf-4ff9-8821-227bdc30767f\",\"metrics\":[{\"metricId\":\"00476d2a-042b-4984-9b98-474d36f450f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4a35fbfc-6584-47a8-b0be-662becb68cc9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_&granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4e8e4cb-8cec-4fc6-aa1a-afb469df2029" - }, - "Response" : { - "x-request-id" : "5ce45260-fad3-4e86-aebd-a77d5d731034", - "content-length" : "3724", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5ce45260-fad3-4e86-aebd-a77d5d731034", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"831cc58a-2eac-4218-8f4c-d8802dd77268\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample9ada3e4e-1cbf-4ff9-8821-227bdc30767f\",\"metrics\":[{\"metricId\":\"00476d2a-042b-4984-9b98-474d36f450f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4a35fbfc-6584-47a8-b0be-662becb68cc9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3ad73c08-6123-48ac-9808-551842e20964\",\"dataFeedName\":\"java_create_data_feed_test_sample3b576a74-fcd2-4beb-96bb-2d538ef10378\",\"metrics\":[{\"metricId\":\"5327895e-8ed2-497a-ad4f-b977ca3b4bfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d983d9d-ab4a-411c-b9bc-e645311f8034\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3ce82421-5f4f-4fad-9917-fd598e3688a4\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sampleb3059d62-ec00-44fe-be83-cc7a4784577e\",\"metrics\":[{\"metricId\":\"a3cda76c-b353-4b08-a54e-bc9cbd8b265e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9adc2bf-33bb-4620-87e0-977813ff4ffc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3ce82421-5f4f-4fad-9917-fd598e3688a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bbcbe7c-c80c-4b95-9f60-7e9dd6b0b08b" - }, - "Response" : { - "x-request-id" : "b011ca2b-60c8-4fdb-b8d3-ca8c1cf5781a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "347", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b011ca2b-60c8-4fdb-b8d3-ca8c1cf5781a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/831cc58a-2eac-4218-8f4c-d8802dd77268", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "78f8d324-b545-46f4-ada9-2f94d48c69ef" - }, - "Response" : { - "x-request-id" : "17db5836-cee5-47ee-a027-e9fd4b1f8ff8", - "content-length" : "0", - "x-envoy-upstream-service-time" : "329", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "17db5836-cee5-47ee-a027-e9fd4b1f8ff8", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:53 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "06505c4a-5f6c-447c-9a8e-f52bac10d103", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "397768b1-2d1b-473a-9c46-14ad1a40b9ac", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "256", + "x-ms-region": "West US 2", + "X-Request-ID": "397768b1-2d1b-473a-9c46-14ad1a40b9ac" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json index 91caaff4dfe7c..d1a948d9f5298 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json @@ -1,25 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "14756f83-914b-4d97-a663-c28a69c5de8b" - }, - "Response" : { - "x-request-id" : "c1264101-426d-45ea-9fa1-b898998009dc", - "content-length" : "96", - "x-envoy-upstream-service-time" : "251", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c1264101-426d-45ea-9fa1-b898998009dc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"latestSuccessTimestamp\":\"2022-04-07T00:00:00Z\",\"latestActiveTimestamp\":\"2022-04-07T00:00:00Z\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ad81bc06-ac77-43d1-a87e-57ac44da42fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "30718841-628a-4679-8c43-8cf7feaffc97", + "Content-Length": "96", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "250", + "x-ms-region": "West US 2", + "X-Request-ID": "30718841-628a-4679-8c43-8cf7feaffc97" + }, + "ResponseBody": { + "latestSuccessTimestamp": "2023-04-11T00:00:00Z", + "latestActiveTimestamp": "2023-04-11T00:00:00Z" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json index abcff95dc2ea9..257e05740dae1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json @@ -1,26 +1,440 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "62512c91-3df1-4efb-b1ef-ec456ce09d44", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4287f9cb-65b5-43ff-91ee-5960e470e9db", - "content-length" : "5697", - "x-envoy-upstream-service-time" : "257", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4287f9cb-65b5-43ff-91ee-5960e470e9db", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"timestamp\":\"2022-03-21T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-20T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-19T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-18T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-17T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-16T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-15T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-14T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-13T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-12T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-11T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-10T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-09T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-08T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-07T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-06T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-05T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-04T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-03T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-02T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-01T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-02-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-31T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-30T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-29T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a4fdf88c-6b61-4bc9-b626-9f03ebca7e6e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3354d9a0-dbf3-41d7-ab2b-eb5b3da42f1e", + "Content-Length": "5697", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "222", + "x-ms-region": "West US 2", + "X-Request-ID": "3354d9a0-dbf3-41d7-ab2b-eb5b3da42f1e" + }, + "ResponseBody": { + "value": [ + { + "timestamp": "2022-03-21T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-20T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-19T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-18T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-17T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-16T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-15T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-14T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-13T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-12T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-11T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-10T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-09T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-08T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-07T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-06T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-05T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-04T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-03T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-02T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-01T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-02-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-01T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-31T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-30T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-29T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-01T00:00:00Z", + "status": "Succeeded", + "message": "" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json index 349ae02f51848..cf896e5572a05 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json @@ -1,24 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b4dc99e-bc46-498e-98d2-22c5304b55bf", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "9fcdd371-5e11-4f71-a3cc-8b0058d64c15", - "content-length" : "0", - "x-envoy-upstream-service-time" : "297", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9fcdd371-5e11-4f71-a3cc-8b0058d64c15", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8fcbf18b-dbc6-46e0-901e-7109c2a7f37a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "0ff5ac3c-aac0-4f80-b965-f8df9401dfe0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "218", + "x-ms-region": "West US 2", + "X-Request-ID": "0ff5ac3c-aac0-4f80-b965-f8df9401dfe0" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json index 22fdfaa3e80e8..4f42884e5079b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json @@ -1,25 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "187abb3c-30d9-4279-8457-0fff93d03742" - }, - "Response" : { - "x-request-id" : "1df93cbf-5fc2-420f-89f8-9e5b43529dc2", - "content-length" : "96", - "x-envoy-upstream-service-time" : "261", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1df93cbf-5fc2-420f-89f8-9e5b43529dc2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"latestSuccessTimestamp\":\"2022-04-07T00:00:00Z\",\"latestActiveTimestamp\":\"2022-04-07T00:00:00Z\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6cabbc05-ec46-4fb4-871c-7e16b04002b9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5b609d4c-ae0d-4424-8b1d-d69f876de104", + "Content-Length": "96", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "224", + "x-ms-region": "West US 2", + "X-Request-ID": "5b609d4c-ae0d-4424-8b1d-d69f876de104" + }, + "ResponseBody": { + "latestSuccessTimestamp": "2023-04-11T00:00:00Z", + "latestActiveTimestamp": "2023-04-11T00:00:00Z" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json index 10f462f945022..cd4842ff54b0d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json @@ -1,26 +1,440 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "766cb0e2-1cd5-4280-b277-4a3718079452", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d1d611f0-3d89-417a-b9a0-c6cf84d85c51", - "content-length" : "5691", - "x-envoy-upstream-service-time" : "605", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d1d611f0-3d89-417a-b9a0-c6cf84d85c51", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"timestamp\":\"2022-03-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-31T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-30T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-29T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a9228e04-b473-42e8-8ef8-51be824f319f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d64ba8dc-3884-459e-adbc-f03f7251bf6c", + "Content-Length": "5691", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "290", + "x-ms-region": "West US 2", + "X-Request-ID": "d64ba8dc-3884-459e-adbc-f03f7251bf6c" + }, + "ResponseBody": { + "value": [ + { + "timestamp": "2022-03-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-01T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-01T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-31T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-30T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-29T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-01T00:00:00Z", + "status": "Succeeded", + "message": "" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json index bdf6a212cd1a5..7af97fdf34e33 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json @@ -1,24 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ab28811c-11c0-4938-923d-5de5324a14eb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f15dac0f-be69-433d-ad0c-3555b5d7c312", - "content-length" : "0", - "x-envoy-upstream-service-time" : "526", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f15dac0f-be69-433d-ad0c-3555b5d7c312", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "43b0e171-5ef1-4801-9e3e-9e52ee79aaca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "5e86532f-6488-4bce-9674-f3e6f98bae0f", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "286", + "x-ms-region": "West US 2", + "X-Request-ID": "5e86532f-6488-4bce-9674-f3e6f98bae0f" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json index df1bad6a416bb..925bbd5872139 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json @@ -1,108 +1,372 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d8db785-b596-42d0-8da3-8e156ae32c64", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3719f656-4483-4699-b5f7-e14f61c50b4c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d4f94015-716f-4b5c-b236-1f3ea4510c53", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "670", + "x-ms-region": "West US 2", + "X-Request-ID": "d4f94015-716f-4b5c-b236-1f3ea4510c53" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "824214fe-d930-4b7f-b77e-2ed09da2ee47", - "content-length" : "0", - "x-envoy-upstream-service-time" : "568", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "824214fe-d930-4b7f-b77e-2ed09da2ee47", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "51a742cb-f2f3-498d-b9e6-0d3a9258c63e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "45890cda-6be4-4d09-b2f3-0f424e4e5fa1", + "Content-Length": "1242", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "180", + "x-ms-region": "West US 2", + "X-Request-ID": "45890cda-6be4-4d09-b2f3-0f424e4e5fa1" + }, + "ResponseBody": { + "dataFeedId": "ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "metrics": [ + { + "metricId": "836448ee-db2a-40b1-ad49-8373e41d54b4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "811b9e11-e89e-46b7-b835-5178016d651b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:40Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2f93f8b3-aa68-4856-bf33-eb560664528b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "666", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b6ec14d6-be90-4329-b6ce-e48f5108ebec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "706390a4-54f4-4cf9-8ac7-a0c8cc6cf5d4", + "Content-Length": "1252", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "492", + "x-ms-region": "West US 2", + "X-Request-ID": "706390a4-54f4-4cf9-8ac7-a0c8cc6cf5d4" + }, + "ResponseBody": { + "dataFeedId": "ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "metrics": [ + { + "metricId": "836448ee-db2a-40b1-ad49-8373e41d54b4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "811b9e11-e89e-46b7-b835-5178016d651b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:40Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "f4312eef-dac0-46e8-b2b1-86ed336421bc", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "250", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f4312eef-dac0-46e8-b2b1-86ed336421bc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c98cc63c-03a8-4064-ae90-48290f5b95a3\",\"dataFeedName\":\"java_create_data_feed_test_sample730974bc-5999-40b0-b90d-6c1dabf21e8f\",\"metrics\":[{\"metricId\":\"5c9b0b45-b2db-4cb2-9917-5916a8ce90ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d57ef088-3a04-4a17-b723-9002b0506a10\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d600e00b-b4a6-41c0-ac8e-1b4acf600da5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "641cf0a6-5df1-45fe-96fa-f5d852529575", + "Content-Length": "1252", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "162", + "x-ms-region": "West US 2", + "X-Request-ID": "641cf0a6-5df1-45fe-96fa-f5d852529575" + }, + "ResponseBody": { + "dataFeedId": "ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "metrics": [ + { + "metricId": "836448ee-db2a-40b1-ad49-8373e41d54b4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "811b9e11-e89e-46b7-b835-5178016d651b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:40Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "61bc12e3-8880-4c5f-bd4f-65c800508cd4", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "649ef062-97c9-4f7a-947b-18c31d64fd41", - "content-length" : "1250", - "x-envoy-upstream-service-time" : "580", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "649ef062-97c9-4f7a-947b-18c31d64fd41", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c98cc63c-03a8-4064-ae90-48290f5b95a3\",\"dataFeedName\":\"java_create_data_feed_test_sample730974bc-5999-40b0-b90d-6c1dabf21e8f\",\"metrics\":[{\"metricId\":\"5c9b0b45-b2db-4cb2-9917-5916a8ce90ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d57ef088-3a04-4a17-b723-9002b0506a10\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "40126f4e-fd0c-4d1e-b459-2a9bedd1328b" - }, - "Response" : { - "x-request-id" : "1b58a4f8-f8b9-4a85-938e-24c37c503751", - "content-length" : "1250", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1b58a4f8-f8b9-4a85-938e-24c37c503751", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c98cc63c-03a8-4064-ae90-48290f5b95a3\",\"dataFeedName\":\"java_create_data_feed_test_sample730974bc-5999-40b0-b90d-6c1dabf21e8f\",\"metrics\":[{\"metricId\":\"5c9b0b45-b2db-4cb2-9917-5916a8ce90ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d57ef088-3a04-4a17-b723-9002b0506a10\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "83b841d8-182a-4a07-8ea5-24ce634b08fd" - }, - "Response" : { - "x-request-id" : "7933a484-a16f-4aa4-9752-ab26e51affdd", - "content-length" : "0", - "x-envoy-upstream-service-time" : "310", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7933a484-a16f-4aa4-9752-ab26e51affdd", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "58e5dc70-0ae7-468f-b4e2-7239f6a7d0d8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "9fc5cafd-5af5-472d-9d33-1b5f306369e7", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "267", + "x-ms-region": "West US 2", + "X-Request-ID": "9fc5cafd-5af5-472d-9d33-1b5f306369e7" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json index 34073988fb601..7957521f2b126 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json @@ -1,316 +1,965 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce4dce4f-4904-4fef-9f1a-77030c2c3f0f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3638103d-eeb0-47aa-a1b3-5a4089b40bab", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d93d764d-face-43c7-b252-57a08f4c3b7d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "998", + "x-ms-region": "West US 2", + "X-Request-ID": "d93d764d-face-43c7-b252-57a08f4c3b7d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "55e4e0bb-12e8-46c0-b6c5-e0f1f0883f4a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "456", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "55e4e0bb-12e8-46c0-b6c5-e0f1f0883f4a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d69fd7d1-06b7-4ea7-bb47-fbf9d9f5efb2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6bd0d47c-f6db-42dc-bf78-36744e3f52ef", + "Content-Length": "1339", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "404", + "x-ms-region": "West US 2", + "X-Request-ID": "6bd0d47c-f6db-42dc-bf78-36744e3f52ef" + }, + "ResponseBody": { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "07db46da-3337-4631-b392-f977a2140965" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "763", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "7d8e84b2-852e-4825-a69c-2e34a5aa1a61", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b1195afc-3e46-4243-a5a9-6876665c1d42", + "Content-Length": "1349", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "708", + "x-ms-region": "West US 2", + "X-Request-ID": "b1195afc-3e46-4243-a5a9-6876665c1d42" + }, + "ResponseBody": { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "b151abe7-a20b-43f9-93b0-6770a5cd1055", - "content-length" : "1337", - "x-envoy-upstream-service-time" : "186", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b151abe7-a20b-43f9-93b0-6770a5cd1055", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "83993b0f-c686-4ff5-b3d6-2d80202c8fb2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c8677269-cf9f-40d7-831e-56c59e1ee468", + "Content-Length": "1349", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "281", + "x-ms-region": "West US 2", + "X-Request-ID": "c8677269-cf9f-40d7-831e-56c59e1ee468" + }, + "ResponseBody": { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c5c94030-0a99-41c8-8ef0-3715258bca55", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "479529f1-6ec8-407e-9743-b99a87601cc1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spb28677ce-1f3c-4a76-b8e5-a1562ac94221", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "34db4b0c-7ea6-4f7c-a487-c89c17a926bf", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/ab77702e-8c09-48cb-9a92-bb5360deb883", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "289", + "x-ms-region": "West US 2", + "X-Request-ID": "34db4b0c-7ea6-4f7c-a487-c89c17a926bf" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "4d5a5d8f-35d2-4f36-8a55-9f9b7a6f8d60", - "content-length" : "1347", - "x-envoy-upstream-service-time" : "693", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4d5a5d8f-35d2-4f36-8a55-9f9b7a6f8d60", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ab77702e-8c09-48cb-9a92-bb5360deb883", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "273773e3-3359-4909-bcc0-2e16f58d22c7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "23dc1fb5-e6e9-414e-866c-9f6a467261db", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "107", + "x-ms-region": "West US 2", + "X-Request-ID": "23dc1fb5-e6e9-414e-866c-9f6a467261db" + }, + "ResponseBody": { + "dataSourceCredentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883", + "dataSourceCredentialName": "java_create_data_source_cred_spb28677ce-1f3c-4a76-b8e5-a1562ac94221", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "420d15aa-c1c3-4bf3-8c59-5c4e28e1bb9f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "818", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e7d6fcb0-8d98-47a9-abe4-7b716a8a6bff", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c6a0ab19-1a5d-43d1-80db-f9fb2161e473", + "Content-Length": "1404", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "617", + "x-ms-region": "West US 2", + "X-Request-ID": "c6a0ab19-1a5d-43d1-80db-f9fb2161e473" + }, + "ResponseBody": { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883" + } }, - "Response" : { - "x-request-id" : "514a8d25-e970-424e-868e-7c2618512ffb", - "content-length" : "1347", - "x-envoy-upstream-service-time" : "260", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "514a8d25-e970-424e-868e-7c2618512ffb", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "91c954cc-56a2-4e09-bb29-037bc7b9adfb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d9e4fcb-1beb-4334-a941-8c9559907393", + "Content-Length": "1404", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "139", + "x-ms-region": "West US 2", + "X-Request-ID": "7d9e4fcb-1beb-4334-a941-8c9559907393" + }, + "ResponseBody": { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5aed37d6-2e0c-4d3c-8914-8c6295fbd2c9", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ab4c7ae2-6591-4aae-8fe8-2c5891f507ca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkva22c135b-d7b2-4649-b7c3-8f28e0566894", + "parameters": { + "keyVaultEndpoint": "https://2dd2544d-efad-4de0-a604-0d72b8c8d642.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "7a521104-e759-4f85-a53a-df27238ed2eb", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/37567453-849e-4144-a4bc-3a0dbd2eedbf", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "280", + "x-ms-region": "West US 2", + "X-Request-ID": "7a521104-e759-4f85-a53a-df27238ed2eb" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9b82da46-d654-4d25-97ec-278fc16ea67a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "213", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9b82da46-d654-4d25-97ec-278fc16ea67a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0b9d3a46-9932-4002-b0cb-ca88e0a49076" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/37567453-849e-4144-a4bc-3a0dbd2eedbf", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b39239be-b8ea-490f-8654-df55f2e4392f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ea685741-00c4-4f92-8fd0-d3ac58c91a13", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "116", + "x-ms-region": "West US 2", + "X-Request-ID": "ea685741-00c4-4f92-8fd0-d3ac58c91a13" + }, + "ResponseBody": { + "dataSourceCredentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf", + "dataSourceCredentialName": "java_create_data_source_cred_spkva22c135b-d7b2-4649-b7c3-8f28e0566894", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://2dd2544d-efad-4de0-a604-0d72b8c8d642.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0b9d3a46-9932-4002-b0cb-ca88e0a49076", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "436b6cf8-7419-4b94-806f-1575f92f1879" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "822", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0d931aaa-3f53-4e3b-910a-1c1ad906d656", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6161bcc0-a8b5-4ef6-b908-abc4d317edbf", + "Content-Length": "1408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "516", + "x-ms-region": "West US 2", + "X-Request-ID": "6161bcc0-a8b5-4ef6-b908-abc4d317edbf" + }, + "ResponseBody": { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf" + } }, - "Response" : { - "x-request-id" : "bdd6f7e7-606e-40a3-ab67-4a7b4c61d025", - "content-length" : "360", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bdd6f7e7-606e-40a3-ab67-4a7b4c61d025", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp7cbe4972-94a8-4daa-a445-071b84596db9\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ad9d2bc3-78e3-4ff5-a98a-0ae26567daa5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "653de3d5-b6b3-469e-954a-2cb1cc49e399", + "Content-Length": "1408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144", + "x-ms-region": "West US 2", + "X-Request-ID": "653de3d5-b6b3-469e-954a-2cb1cc49e399" + }, + "ResponseBody": { + "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", + "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "metrics": [ + { + "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8d40bc9-66e8-4d02-bbe7-ec4f4e6d49af", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "803a0e39-f1b1-4738-998e-c3b47392b344", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "85d51067-dc1e-4a5e-8207-b797561d5a10", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "242", + "x-ms-region": "West US 2", + "X-Request-ID": "85d51067-dc1e-4a5e-8207-b797561d5a10" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0be3b230-61cb-4a10-9835-3d2a359039a8", - "content-length" : "1402", - "x-envoy-upstream-service-time" : "653", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0be3b230-61cb-4a10-9835-3d2a359039a8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\"}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ab77702e-8c09-48cb-9a92-bb5360deb883", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "915d71a4-1880-4224-8f3f-1d40bd0c4534", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "5620c16e-6eaf-494f-9354-a213a5344a1b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "108", + "x-ms-region": "West US 2", + "X-Request-ID": "5620c16e-6eaf-494f-9354-a213a5344a1b" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bb2ed09-ac53-456d-85cb-ec08507ae036" - }, - "Response" : { - "x-request-id" : "94315588-f305-4744-b2d4-864e64866668", - "content-length" : "1402", - "x-envoy-upstream-service-time" : "171", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "94315588-f305-4744-b2d4-864e64866668", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7453e42c-834e-4f44-aa96-9e061cb94783", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5a1943de-7166-42ac-9062-0f7288158572", - "content-length" : "0", - "x-envoy-upstream-service-time" : "190", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5a1943de-7166-42ac-9062-0f7288158572", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a71c5dce-f7f0-42f3-9d59-971fd89a2919" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a71c5dce-f7f0-42f3-9d59-971fd89a2919", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ea5d5b28-c2f2-4b5b-9410-94f95383d1ca" - }, - "Response" : { - "x-request-id" : "13e444eb-f854-4d53-9381-561f96cecce6", - "content-length" : "549", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "13e444eb-f854-4d53-9381-561f96cecce6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"a71c5dce-f7f0-42f3-9d59-971fd89a2919\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv31ecef8b-41fe-4845-8f38-63f9a7bfe13d\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://f0d10bd1-c7f1-49cf-b4a5-6de92931f172.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c04243f-e60b-46e6-90cc-df9ee1979d91", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "6e2bba50-edbc-493b-9978-b50b26f91f98", - "content-length" : "1406", - "x-envoy-upstream-service-time" : "666", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e2bba50-edbc-493b-9978-b50b26f91f98", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"a71c5dce-f7f0-42f3-9d59-971fd89a2919\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d876060e-6033-47bc-9c56-64c6ae1da5e3" - }, - "Response" : { - "x-request-id" : "16abb6d1-1a0a-4352-a04c-9eb2b1422af0", - "content-length" : "1406", - "x-envoy-upstream-service-time" : "191", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "16abb6d1-1a0a-4352-a04c-9eb2b1422af0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"a71c5dce-f7f0-42f3-9d59-971fd89a2919\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "39a7099d-137b-44b3-b61c-ec8c16f41444" - }, - "Response" : { - "x-request-id" : "2ee50957-6285-4ca8-a894-ea313df2d3b0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "354", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2ee50957-6285-4ca8-a894-ea313df2d3b0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0b9d3a46-9932-4002-b0cb-ca88e0a49076", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0608952a-477a-456d-9f39-05d85fe7e1a6" - }, - "Response" : { - "x-request-id" : "aed6a541-e874-43ad-a9ab-684257558a58", - "content-length" : "0", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "aed6a541-e874-43ad-a9ab-684257558a58", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a71c5dce-f7f0-42f3-9d59-971fd89a2919", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b246271b-4745-4e3a-a7d6-ba9ecec59e93" - }, - "Response" : { - "x-request-id" : "6f29e0d3-72d6-4836-9db4-e7f568cd41d4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f29e0d3-72d6-4836-9db4-e7f568cd41d4", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/37567453-849e-4144-a4bc-3a0dbd2eedbf", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d08c5981-66fc-4276-ae06-053e01eb9f0a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "67328657-94e5-4b9a-9cfb-40e1cfff87d7", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "111", + "x-ms-region": "West US 2", + "X-Request-ID": "67328657-94e5-4b9a-9cfb-40e1cfff87d7" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json index 749f01689fb34..f9110b8b8500a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json @@ -1,377 +1,1094 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f9af64b-a22b-4e3c-be9a-92e27c1b0989", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f3819a3b-829c-478e-90b1-acf87e8eabb4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "123aa251-62d3-4129-b7fd-08037094d214", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "685", + "x-ms-region": "West US 2", + "X-Request-ID": "123aa251-62d3-4129-b7fd-08037094d214" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "1c374f9a-fa3b-45c6-8d73-f5a1c5e99e31", - "content-length" : "0", - "x-envoy-upstream-service-time" : "516", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1c374f9a-fa3b-45c6-8d73-f5a1c5e99e31", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b29166e1-9922-46da-855c-a76f4eade406", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "89b53ed6-78da-4d9a-8f86-ad3487d1e22c", + "Content-Length": "1302", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "162", + "x-ms-region": "West US 2", + "X-Request-ID": "89b53ed6-78da-4d9a-8f86-ad3487d1e22c" + }, + "ResponseBody": { + "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "metrics": [ + { + "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "569784d1-3ab8-481f-b2d2-95a903eec3c7" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "20597510-420f-41f9-8079-8cdffc75d9aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen38aab27d-88d9-4f15-b82e-caf42f719578", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d7dcc7f7-53e6-433e-81b4-84163c917f64", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/773bc94c-5636-4327-89e4-18cb21628ad2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "286", + "x-ms-region": "West US 2", + "X-Request-ID": "d7dcc7f7-53e6-433e-81b4-84163c917f64" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "5e0277ca-15f6-43db-abfe-7a625924db71", - "content-length" : "1312", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5e0277ca-15f6-43db-abfe-7a625924db71", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/773bc94c-5636-4327-89e4-18cb21628ad2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "497a4e8f-cf04-4cf0-bdd6-e371429758ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dede4379-c09d-40cb-9d38-dc76c192f2d1", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "112", + "x-ms-region": "West US 2", + "X-Request-ID": "dede4379-c09d-40cb-9d38-dc76c192f2d1" + }, + "ResponseBody": { + "dataSourceCredentialId": "773bc94c-5636-4327-89e4-18cb21628ad2", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen38aab27d-88d9-4f15-b82e-caf42f719578", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f0ebcf5-ab8a-4ccd-b973-1bc7c7a72175", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "756", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1071f380-2718-4833-8dc0-8605c689b25c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "773bc94c-5636-4327-89e4-18cb21628ad2", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "57b8c6d6-8775-48db-ba05-841318c7da60", + "Content-Length": "1372", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "841", + "x-ms-region": "West US 2", + "X-Request-ID": "57b8c6d6-8775-48db-ba05-841318c7da60" + }, + "ResponseBody": { + "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "metrics": [ + { + "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "773bc94c-5636-4327-89e4-18cb21628ad2" + } }, - "Response" : { - "x-request-id" : "e2e2927b-17a8-4ab9-862e-ff6eed556d24", - "content-length" : "0", - "x-envoy-upstream-service-time" : "206", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e2e2927b-17a8-4ab9-862e-ff6eed556d24", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b52b46ff-69ea-429c-8412-44bc131a8d95" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ad4f2dec-4570-40d4-919e-7cd2573a3490", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "211e49f4-cc3f-4be6-9783-d05f3cd6b77b", + "Content-Length": "1372", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "191", + "x-ms-region": "West US 2", + "X-Request-ID": "211e49f4-cc3f-4be6-9783-d05f3cd6b77b" + }, + "ResponseBody": { + "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "metrics": [ + { + "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "773bc94c-5636-4327-89e4-18cb21628ad2" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b52b46ff-69ea-429c-8412-44bc131a8d95", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac8101fb-80ac-474c-80d5-96988503b120" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0539020c-dcb5-4d57-89b4-0eae21cc780f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spb37d8b30-20af-414e-9d72-9819fc888b98", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "94ae0aca-2bd3-4792-aaea-9d1c3efd8dec", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d7796fd0-cc34-482e-9df0-86906f7a380e", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "310", + "x-ms-region": "West US 2", + "X-Request-ID": "94ae0aca-2bd3-4792-aaea-9d1c3efd8dec" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "69c9a9e9-e1cd-4f0f-82ba-d58ecbd69fdf", - "content-length" : "273", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "69c9a9e9-e1cd-4f0f-82ba-d58ecbd69fdf", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gene7134649-fb22-4c2c-9adb-bcd53ba9aa73\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d7796fd0-cc34-482e-9df0-86906f7a380e", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fc5c8ce3-d9cb-4d84-8ac2-ebc98233c343", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "203f7fc7-8f44-4efa-8d2b-7aeadf0373d5", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122", + "x-ms-region": "West US 2", + "X-Request-ID": "203f7fc7-8f44-4efa-8d2b-7aeadf0373d5" + }, + "ResponseBody": { + "dataSourceCredentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e", + "dataSourceCredentialName": "java_create_data_source_cred_spb37d8b30-20af-414e-9d72-9819fc888b98", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ab554bd-d972-4774-ae61-35a0e09bd84d", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "751", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1bca9967-192e-4e4b-a12d-f01918a1b607", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "09cb00e6-3cd5-46ce-a5a6-6e8856cc3825", + "Content-Length": "1367", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "655", + "x-ms-region": "West US 2", + "X-Request-ID": "09cb00e6-3cd5-46ce-a5a6-6e8856cc3825" + }, + "ResponseBody": { + "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "metrics": [ + { + "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e" + } }, - "Response" : { - "x-request-id" : "ebc45f46-7583-4a0e-a11e-3a29a2eb9d45", - "content-length" : "1382", - "x-envoy-upstream-service-time" : "712", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ebc45f46-7583-4a0e-a11e-3a29a2eb9d45", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fe7b88ee-617e-4c26-917c-b071646e29f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a616ac9c-89a9-417a-bad2-4b0f579e5d8e", + "Content-Length": "1367", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "204", + "x-ms-region": "West US 2", + "X-Request-ID": "a616ac9c-89a9-417a-bad2-4b0f579e5d8e" + }, + "ResponseBody": { + "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "metrics": [ + { + "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f1ca541-916f-4175-9f1e-3dee0700d6d6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8c1fc499-8cd9-41d7-a820-909292ddf45d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkvb27bf8e3-5df2-4fc1-b564-5dd683e0a11f", + "parameters": { + "keyVaultEndpoint": "https://a3ee2736-f6e6-4fe2-8fdd-c9ee67584aa5.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "6819c59a-287a-4a5f-ac7c-a88587772320", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "364", + "x-ms-region": "West US 2", + "X-Request-ID": "6819c59a-287a-4a5f-ac7c-a88587772320" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "6e843745-e722-4d18-86bf-e340dcfcf912", - "content-length" : "1382", - "x-envoy-upstream-service-time" : "193", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e843745-e722-4d18-86bf-e340dcfcf912", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c5310380-5f0f-4c8c-940f-5e19e8257e65", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9ee55cba-52c8-4d00-b940-edda8acba33f", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "108", + "x-ms-region": "West US 2", + "X-Request-ID": "9ee55cba-52c8-4d00-b940-edda8acba33f" + }, + "ResponseBody": { + "dataSourceCredentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "dataSourceCredentialName": "java_create_data_source_cred_spkvb27bf8e3-5df2-4fc1-b564-5dd683e0a11f", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://a3ee2736-f6e6-4fe2-8fdd-c9ee67584aa5.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ba058fb-1b0f-4f9b-9106-5fd53daefd03", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "755", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3a90d2ce-35bf-42c7-a4d0-045b916057e5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4c3a14b2-012e-4609-95a1-7bd0e109781f", + "Content-Length": "1371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "620", + "x-ms-region": "West US 2", + "X-Request-ID": "4c3a14b2-012e-4609-95a1-7bd0e109781f" + }, + "ResponseBody": { + "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "metrics": [ + { + "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e" + } }, - "Response" : { - "x-request-id" : "4db51689-11e7-47b1-86b5-deedb21acf73", - "content-length" : "0", - "x-envoy-upstream-service-time" : "249", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4db51689-11e7-47b1-86b5-deedb21acf73", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dc87a781-e3dc-4450-b980-1f5c990ca4fd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "eda04c9c-4248-4cef-b0e1-a31b2d9240f6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f61e1fdf-9173-4cf8-952c-a3855d2f5471", + "Content-Length": "1371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143", + "x-ms-region": "West US 2", + "X-Request-ID": "f61e1fdf-9173-4cf8-952c-a3855d2f5471" + }, + "ResponseBody": { + "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", + "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "metrics": [ + { + "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dc87a781-e3dc-4450-b980-1f5c990ca4fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c557781f-cef9-4f9c-b73b-4ca03ecfb9d7" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9db91991-cb41-47a7-8b21-48d92919d77e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "5124957e-269e-4ad6-9fd4-312f2705f8c1", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "421", + "x-ms-region": "West US 2", + "X-Request-ID": "5124957e-269e-4ad6-9fd4-312f2705f8c1" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "eff5dd14-767e-46c5-903d-3b01a95e3318", - "content-length" : "360", - "x-envoy-upstream-service-time" : "189", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "eff5dd14-767e-46c5-903d-3b01a95e3318", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp2efe3c29-e1d5-43f9-b9fb-b0645b8b7b75\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/773bc94c-5636-4327-89e4-18cb21628ad2", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c7ebe575-80e8-4b34-9fc2-3bc1878020df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "19a17812-6f51-49dd-94e9-c1a113224a59", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "157", + "x-ms-region": "West US 2", + "X-Request-ID": "19a17812-6f51-49dd-94e9-c1a113224a59" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc0ba805-3a6b-4015-93b8-0fcb80176663", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d7796fd0-cc34-482e-9df0-86906f7a380e", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "81aeab4c-b5ea-487c-ac4a-07630c6ca4bb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "44bd98d9-f8a7-4c45-962f-3a27b5399490", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "150", + "x-ms-region": "West US 2", + "X-Request-ID": "44bd98d9-f8a7-4c45-962f-3a27b5399490" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "8593a013-b87e-4055-9416-283a13bfd82a", - "content-length" : "1377", - "x-envoy-upstream-service-time" : "720", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8593a013-b87e-4055-9416-283a13bfd82a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "641d0131-3383-485d-813a-3d068c47caa7" - }, - "Response" : { - "x-request-id" : "377bdcf0-cb4e-42ad-908b-971bf1883e68", - "content-length" : "1377", - "x-envoy-upstream-service-time" : "196", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "377bdcf0-cb4e-42ad-908b-971bf1883e68", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "65838549-322a-4320-bd70-c18ee098f7ad", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "207b9402-d08a-4a6f-a01b-2524557f1300", - "content-length" : "0", - "x-envoy-upstream-service-time" : "311", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "207b9402-d08a-4a6f-a01b-2524557f1300", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dec52ab7-5e0a-410d-aeba-69bb221ce1b4" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dec52ab7-5e0a-410d-aeba-69bb221ce1b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e5d56ea-e265-4adc-a545-3d76a7ee6d16" - }, - "Response" : { - "x-request-id" : "2051a6dc-71f7-412e-8d74-d23512e5fc5d", - "content-length" : "549", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2051a6dc-71f7-412e-8d74-d23512e5fc5d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"dec52ab7-5e0a-410d-aeba-69bb221ce1b4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv24a35659-0c82-4c9b-bfcd-0de9a9f78974\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://5e07ccee-2009-476f-ae6e-2a3f8fdb48df.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a0a2e0e-c6fd-4f95-81e9-889da0ad7027", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "65ba6aaa-fcef-43bd-87d7-c7a947fa0401", - "content-length" : "1381", - "x-envoy-upstream-service-time" : "641", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "65ba6aaa-fcef-43bd-87d7-c7a947fa0401", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"dec52ab7-5e0a-410d-aeba-69bb221ce1b4\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "51c892e6-8771-427b-b5ab-736f09917964" - }, - "Response" : { - "x-request-id" : "df2c3559-4c7b-43ba-b750-d7d9e01454db", - "content-length" : "1381", - "x-envoy-upstream-service-time" : "233", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "df2c3559-4c7b-43ba-b750-d7d9e01454db", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"dec52ab7-5e0a-410d-aeba-69bb221ce1b4\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f17cce7-3f48-4312-bd13-b7b436e198ae" - }, - "Response" : { - "x-request-id" : "79cacde3-be25-4247-ba71-37db89b15b38", - "content-length" : "0", - "x-envoy-upstream-service-time" : "355", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79cacde3-be25-4247-ba71-37db89b15b38", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b52b46ff-69ea-429c-8412-44bc131a8d95", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a99fd3b-a71e-488a-9682-60846b551a69" - }, - "Response" : { - "x-request-id" : "10261392-3fd3-4111-825a-b1993c9c8e51", - "content-length" : "0", - "x-envoy-upstream-service-time" : "127", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10261392-3fd3-4111-825a-b1993c9c8e51", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dc87a781-e3dc-4450-b980-1f5c990ca4fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "85a32e35-560d-47e8-bf29-8166d1d0455f" - }, - "Response" : { - "x-request-id" : "8d147cbb-303f-47a8-a43d-0707ec382aba", - "content-length" : "0", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8d147cbb-303f-47a8-a43d-0707ec382aba", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dec52ab7-5e0a-410d-aeba-69bb221ce1b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4c207ccc-736f-4fc9-8771-2971e6ca00ef" - }, - "Response" : { - "x-request-id" : "6e0e6689-3848-43e5-bcab-25f0c2fbdadf", - "content-length" : "0", - "x-envoy-upstream-service-time" : "117", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e0e6689-3848-43e5-bcab-25f0c2fbdadf", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "cf4af9ab-6d9c-438a-904b-f317000a47b1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "92f5f71b-fa24-4366-b1d8-60dad26bd412", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "209", + "x-ms-region": "West US 2", + "X-Request-ID": "92f5f71b-fa24-4366-b1d8-60dad26bd412" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json index 2d88339fe2767..3ce753c54ffb4 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json @@ -1,420 +1,1255 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f130658-173f-4f6a-bd57-d5415b3108c1", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "599", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9c1ea270-4a66-4971-b307-b6a7f19ce170", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "2c76da4a-b4a7-44df-ac2c-e30da376b124", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1115", + "x-ms-region": "West US 2", + "X-Request-ID": "2c76da4a-b4a7-44df-ac2c-e30da376b124" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "952cf963-3678-410b-849d-7ba1ac11c899", - "content-length" : "0", - "x-envoy-upstream-service-time" : "522", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "952cf963-3678-410b-849d-7ba1ac11c899", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5c99ad93-a8e6-4726-8914-ead790c04b3a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2c76f71f-a0ba-4b21-94ac-ded2aa15bcda", + "Content-Length": "1235", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143", + "x-ms-region": "West US 2", + "X-Request-ID": "2c76f71f-a0ba-4b21-94ac-ded2aa15bcda" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b0bebc2-0905-4ada-9250-bffd8d679d3b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "659", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c57ad7ff-4445-4386-87b2-ea36fd3cca19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6d717ff6-3a2b-41f4-9d2e-3f128781232a", + "Content-Length": "1245", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "498", + "x-ms-region": "West US 2", + "X-Request-ID": "6d717ff6-3a2b-41f4-9d2e-3f128781232a" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "db17dfa5-1451-491b-821c-2c79a18b469d", - "content-length" : "1233", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "db17dfa5-1451-491b-821c-2c79a18b469d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "907fc412-a384-485d-847a-110413841009", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "78c4b0a4-c128-4610-866d-56d48ea29684", + "Content-Length": "1245", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "220", + "x-ms-region": "West US 2", + "X-Request-ID": "78c4b0a4-c128-4610-866d-56d48ea29684" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c182c141-d7dc-42e6-ad06-332632a468a8", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fc5d27c2-8f8d-4a49-a1f5-12779f4561b3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_cona3045255-bd17-46d8-aadd-4bfe36c471da", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "ce1bcf88-f118-49f1-9d66-d202fc355341", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "253", + "x-ms-region": "West US 2", + "X-Request-ID": "ce1bcf88-f118-49f1-9d66-d202fc355341" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9a7ad4d3-8727-437b-aba8-2f8b651c0f4b", - "content-length" : "1243", - "x-envoy-upstream-service-time" : "733", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9a7ad4d3-8727-437b-aba8-2f8b651c0f4b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "dbf00186-f590-4e51-a5f6-b392f3fe58d8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6af61145-b55a-454a-a6e1-15e8688d2458", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "114", + "x-ms-region": "West US 2", + "X-Request-ID": "6af61145-b55a-454a-a6e1-15e8688d2458" + }, + "ResponseBody": { + "dataSourceCredentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "dataSourceCredentialName": "java_create_data_source_cred_sql_cona3045255-bd17-46d8-aadd-4bfe36c471da", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c098db40-e12b-4cca-8f5d-5f46662d03af" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "692", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5d336ea1-50eb-4121-a9ab-df7d1d2af078", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "AzureSQLConnectionString", + "credentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1736d82c-ac4b-4e84-b2af-b5e139036c5f", + "Content-Length": "1308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "563", + "x-ms-region": "West US 2", + "X-Request-ID": "1736d82c-ac4b-4e84-b2af-b5e139036c5f" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8" + } }, - "Response" : { - "x-request-id" : "896db7b6-5ca7-406f-90ed-75398d977db9", - "content-length" : "1243", - "x-envoy-upstream-service-time" : "172", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "896db7b6-5ca7-406f-90ed-75398d977db9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f53c1bf4-495e-49e7-9d68-f42bfb4e81eb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2dc785a5-3c6e-4027-bf06-5f95a564a1d5", + "Content-Length": "1308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "132", + "x-ms-region": "West US 2", + "X-Request-ID": "2dc785a5-3c6e-4027-bf06-5f95a564a1d5" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ecdd8492-4cb5-49b6-8b79-69773b61ddd9", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fbb81b3d-a00a-4f24-bf1f-a40488cc9404", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_sp44888b46-eca0-4ac1-8b74-6d5e2753471d", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "30f1b42c-fe60-4f0d-9804-1ee69f70d892", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/f908fda0-d87e-4720-a1da-3cb358ec1644", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "317", + "x-ms-region": "West US 2", + "X-Request-ID": "30f1b42c-fe60-4f0d-9804-1ee69f70d892" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "ed7c1baa-6216-4ad0-8609-4f6b9dcdd2b5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "286", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ed7c1baa-6216-4ad0-8609-4f6b9dcdd2b5", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a36d9288-1edf-4212-9d87-a7391bf54f3f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/f908fda0-d87e-4720-a1da-3cb358ec1644", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "72ed096a-5fb3-49d9-995d-ccdce9f676b5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "654ffdc4-b3b1-41ea-8f98-8d90cd6fc1f7", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "109", + "x-ms-region": "West US 2", + "X-Request-ID": "654ffdc4-b3b1-41ea-8f98-8d90cd6fc1f7" + }, + "ResponseBody": { + "dataSourceCredentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644", + "dataSourceCredentialName": "java_create_data_source_cred_sp44888b46-eca0-4ac1-8b74-6d5e2753471d", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a36d9288-1edf-4212-9d87-a7391bf54f3f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b4e26870-a2ef-4b2a-85a1-eefeb7abeb46" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "714", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "71038c1e-45ae-446c-bd48-816d3ff93d14", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cf87148d-88b6-498e-a261-c2ef63c43c4c", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "524", + "x-ms-region": "West US 2", + "X-Request-ID": "cf87148d-88b6-498e-a261-c2ef63c43c4c" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644" + } }, - "Response" : { - "x-request-id" : "4382bfc8-d734-4768-b52d-1834d9f735ce", - "content-length" : "274", - "x-envoy-upstream-service-time" : "112", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4382bfc8-d734-4768-b52d-1834d9f735ce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"a36d9288-1edf-4212-9d87-a7391bf54f3f\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con0b954587-053b-43d4-ad12-dd01b780c5ea\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "69630383-4cb0-4a91-88e7-a2c89c6a6cb0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fdf00bf4-b799-49a1-a3df-38ef0b1546ae", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148", + "x-ms-region": "West US 2", + "X-Request-ID": "fdf00bf4-b799-49a1-a3df-38ef0b1546ae" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d0eaaf0b-ee74-460e-a0e4-44c5978378ec", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5a5ca69e-7eef-4c8f-b0b8-a676d8e673e7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkvb0a205d8-0653-43ee-8e62-c1da439edcf5", + "parameters": { + "keyVaultEndpoint": "https://66c96fba-af74-44b4-97bd-8286360a6585.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "f9dd6e0a-ef0b-4232-85e3-8abbb5654ed0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/10a84118-ca82-4686-8399-1b4e1eea29cc", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "308", + "x-ms-region": "West US 2", + "X-Request-ID": "f9dd6e0a-ef0b-4232-85e3-8abbb5654ed0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "27d233b1-cc64-465e-a482-9c04fe533047", - "content-length" : "1306", - "x-envoy-upstream-service-time" : "667", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "27d233b1-cc64-465e-a482-9c04fe533047", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"a36d9288-1edf-4212-9d87-a7391bf54f3f\"}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/10a84118-ca82-4686-8399-1b4e1eea29cc", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9b6fac00-b043-4d05-a6bc-6eaa4d626ba2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1dc50c2a-eaf7-4d93-9f72-799553173eb9", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "156", + "x-ms-region": "West US 2", + "X-Request-ID": "1dc50c2a-eaf7-4d93-9f72-799553173eb9" + }, + "ResponseBody": { + "dataSourceCredentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc", + "dataSourceCredentialName": "java_create_data_source_cred_spkvb0a205d8-0653-43ee-8e62-c1da439edcf5", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://66c96fba-af74-44b4-97bd-8286360a6585.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce0ea6ef-ef6f-4a72-bd44-f19f2d658d8b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "718", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fd81f1d2-67ff-4751-90c3-5b7b0dbeb324", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5657a36d-29f1-47d8-bfdf-8f73f25c861f", + "Content-Length": "1304", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "704", + "x-ms-region": "West US 2", + "X-Request-ID": "5657a36d-29f1-47d8-bfdf-8f73f25c861f" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc" + } }, - "Response" : { - "x-request-id" : "cfdab470-78ca-49e8-a580-994a5800fc6c", - "content-length" : "1306", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cfdab470-78ca-49e8-a580-994a5800fc6c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"a36d9288-1edf-4212-9d87-a7391bf54f3f\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e3785fbd-cefc-417f-8f18-54e1068bbe4e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "76e25b92-f23e-4da0-bc70-4d85e9aa64c4", + "Content-Length": "1304", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "156", + "x-ms-region": "West US 2", + "X-Request-ID": "76e25b92-f23e-4da0-bc70-4d85e9aa64c4" + }, + "ResponseBody": { + "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "metrics": [ + { + "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "bbeb43c5-55b9-4853-bdc9-095d82cab12a", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6d6254d1-cfb0-4f9d-986c-90912429e716", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a9f3b93a-e631-428d-978f-cf44ead160d2", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "533", + "x-ms-region": "West US 2", + "X-Request-ID": "a9f3b93a-e631-428d-978f-cf44ead160d2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "62709957-2a52-43ad-9006-f29f2e9388b4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "246", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "62709957-2a52-43ad-9006-f29f2e9388b4", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/c603d450-e526-42ba-b924-3144f1a84988" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a25f455d-7633-448c-a3f7-a8e2df058af9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "cf3b32c1-5c32-4223-9eeb-461679879d52", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "121", + "x-ms-region": "West US 2", + "X-Request-ID": "cf3b32c1-5c32-4223-9eeb-461679879d52" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/c603d450-e526-42ba-b924-3144f1a84988", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3f38623-b303-46f3-9ba9-b4157af9068c" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/f908fda0-d87e-4720-a1da-3cb358ec1644", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "50c40cac-bac4-4671-88aa-e66facabb7dc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "75714775-6d51-46c6-8d14-111d0126ca66", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "75714775-6d51-46c6-8d14-111d0126ca66" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d0b758b1-198b-4a31-9fed-cd4500b2c2d7", - "content-length" : "360", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d0b758b1-198b-4a31-9fed-cd4500b2c2d7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp929fba8a-70e8-41d9-8763-136eb0c5146f\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "411c3b6c-53ec-4b54-b6da-d901c80c890a", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "2aa1022e-d24f-4d60-a7b1-9b47733f3763", - "content-length" : "1298", - "x-envoy-upstream-service-time" : "634", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2aa1022e-d24f-4d60-a7b1-9b47733f3763", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e68f1769-b52d-4b30-a8b7-161837b94196" - }, - "Response" : { - "x-request-id" : "36918649-4709-49f0-bcec-f82a68136ef5", - "content-length" : "1298", - "x-envoy-upstream-service-time" : "172", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "36918649-4709-49f0-bcec-f82a68136ef5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a543286-6cfa-497c-bdae-42d45d89824f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6df0a7ac-27f4-4e31-adae-d69bba79e0bf", - "content-length" : "0", - "x-envoy-upstream-service-time" : "197", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6df0a7ac-27f4-4e31-adae-d69bba79e0bf", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/eeb0866c-524a-4fd5-bba3-9a617425a99a" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/eeb0866c-524a-4fd5-bba3-9a617425a99a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "015b9be8-08e4-4614-976a-a22dd2a3aa31" - }, - "Response" : { - "x-request-id" : "18a086c7-150f-438d-a491-cd5cca317ae9", - "content-length" : "549", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "18a086c7-150f-438d-a491-cd5cca317ae9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"eeb0866c-524a-4fd5-bba3-9a617425a99a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv69f77b90-16e9-4316-94c2-2ed0bd910972\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://09af4580-c1ab-48bc-bdf9-04a1bfdfe7c8.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "37670fc1-cae7-4f7d-b9d9-a33efd99af4f", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "79bebaa7-8ddb-4ca4-b56c-92353e35f7e5", - "content-length" : "1302", - "x-envoy-upstream-service-time" : "669", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79bebaa7-8ddb-4ca4-b56c-92353e35f7e5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"eeb0866c-524a-4fd5-bba3-9a617425a99a\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1c58f20c-5ef6-46c9-81ac-f8784b98c845" - }, - "Response" : { - "x-request-id" : "02bc7eee-b686-4b06-bcec-8c92b1eb7a67", - "content-length" : "1302", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "02bc7eee-b686-4b06-bcec-8c92b1eb7a67", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"eeb0866c-524a-4fd5-bba3-9a617425a99a\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "198dc2b0-d1a4-4333-8f28-198bbcd40d88" - }, - "Response" : { - "x-request-id" : "64637249-70dc-4244-b62e-d6411ef64a86", - "content-length" : "0", - "x-envoy-upstream-service-time" : "344", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "64637249-70dc-4244-b62e-d6411ef64a86", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a36d9288-1edf-4212-9d87-a7391bf54f3f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "59d7d76f-30fc-4417-b9a8-22dd0b89eab2" - }, - "Response" : { - "x-request-id" : "45640f3e-0deb-4f31-8862-19e237141662", - "content-length" : "0", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "45640f3e-0deb-4f31-8862-19e237141662", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/c603d450-e526-42ba-b924-3144f1a84988", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d97d355-5840-4540-8abf-738ce2adf567" - }, - "Response" : { - "x-request-id" : "c784fdc9-ba1f-417c-9b2e-875d7bb005f2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c784fdc9-ba1f-417c-9b2e-875d7bb005f2", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/eeb0866c-524a-4fd5-bba3-9a617425a99a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7595ef2b-5ce5-4ec7-a82c-0f98a7ba6c42" - }, - "Response" : { - "x-request-id" : "de217017-b76a-4463-8d48-94591ce88439", - "content-length" : "0", - "x-envoy-upstream-service-time" : "115", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "de217017-b76a-4463-8d48-94591ce88439", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/10a84118-ca82-4686-8399-1b4e1eea29cc", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "21bca9de-b9bb-4dbe-b459-fcdc96e36b9e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "3cf3c325-eced-45b7-aa8e-a01e8d253355", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "114", + "x-ms-region": "West US 2", + "X-Request-ID": "3cf3c325-eced-45b7-aa8e-a01e8d253355" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json index 8467a4d3dec11..8bf7495e09bcd 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json @@ -1,113 +1,372 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "003a1971-e066-4ac7-8c72-068cd64765ee", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "66cd074c-8005-4291-b430-0fbd780bbef9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "2fcab454-a823-4a7a-99c3-e54166c1084b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "717", + "x-ms-region": "West US 2", + "X-Request-ID": "2fcab454-a823-4a7a-99c3-e54166c1084b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "8745c2d0-9ccc-42d3-a7c0-186cd9372851", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "892", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8745c2d0-9ccc-42d3-a7c0-186cd9372851", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5b8555a5-a746-4e94-96b7-8f65d5a93024", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5c0f57aa-77e2-4ef5-a882-96474877864c", + "Content-Length": "1242", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "177", + "x-ms-region": "West US 2", + "X-Request-ID": "5c0f57aa-77e2-4ef5-a882-96474877864c" + }, + "ResponseBody": { + "dataFeedId": "a663788c-8f20-4875-bc26-ba59d5e7bec2", + "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "metrics": [ + { + "metricId": "58009647-b5ee-4b96-a4e5-47dbcf588620", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "824d21ff-ae92-430d-82a1-ac6de3f81574", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:45Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0528b202-b1e3-4679-a929-415244748804" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "666", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "bfb7166f-59d6-4255-a901-33211f67479f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b3719253-4f75-4e7b-b84e-06c9ae0a9863", + "Content-Length": "1252", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "537", + "x-ms-region": "West US 2", + "X-Request-ID": "b3719253-4f75-4e7b-b84e-06c9ae0a9863" + }, + "ResponseBody": { + "dataFeedId": "a663788c-8f20-4875-bc26-ba59d5e7bec2", + "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "metrics": [ + { + "metricId": "58009647-b5ee-4b96-a4e5-47dbcf588620", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "824d21ff-ae92-430d-82a1-ac6de3f81574", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:45Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "86f4da0d-e092-4041-accd-a323648b47be", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "301", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "86f4da0d-e092-4041-accd-a323648b47be", - "retry-after" : "0", - "Content-Length" : "1242", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"45d50f9c-14e0-4d9b-8a1e-730d43936cd8\",\"dataFeedName\":\"java_create_data_feed_test_sampleb7ee415d-7dc5-4d1f-a5fa-a0999b29ee19\",\"metrics\":[{\"metricId\":\"d6fe86cd-816c-4b69-9c4f-fb0498d4dedc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"accccdd2-5e40-4626-a8e2-a48a0cac5b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f058ba9c-455b-4145-9918-0496c9590cba", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aecf702e-869a-446e-b1b9-28a71933af5d", + "Content-Length": "1252", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "183", + "x-ms-region": "West US 2", + "X-Request-ID": "aecf702e-869a-446e-b1b9-28a71933af5d" + }, + "ResponseBody": { + "dataFeedId": "a663788c-8f20-4875-bc26-ba59d5e7bec2", + "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "metrics": [ + { + "metricId": "58009647-b5ee-4b96-a4e5-47dbcf588620", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "824d21ff-ae92-430d-82a1-ac6de3f81574", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:45Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ef4afe85-c0a5-439e-8a37-c59ec62ab130", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "be4bd22c-55c3-45cd-a8f9-736f22170fd6", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "634", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "be4bd22c-55c3-45cd-a8f9-736f22170fd6", - "retry-after" : "0", - "Content-Length" : "1252", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"45d50f9c-14e0-4d9b-8a1e-730d43936cd8\",\"dataFeedName\":\"java_create_data_feed_test_sampleb7ee415d-7dc5-4d1f-a5fa-a0999b29ee19\",\"metrics\":[{\"metricId\":\"d6fe86cd-816c-4b69-9c4f-fb0498d4dedc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"accccdd2-5e40-4626-a8e2-a48a0cac5b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4f96c836-e045-43b0-911c-4c2951fd955b" - }, - "Response" : { - "x-request-id" : "c3e0838f-20ab-43fa-bcfe-1bc16c18a93f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c3e0838f-20ab-43fa-bcfe-1bc16c18a93f", - "retry-after" : "0", - "Content-Length" : "1252", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"45d50f9c-14e0-4d9b-8a1e-730d43936cd8\",\"dataFeedName\":\"java_create_data_feed_test_sampleb7ee415d-7dc5-4d1f-a5fa-a0999b29ee19\",\"metrics\":[{\"metricId\":\"d6fe86cd-816c-4b69-9c4f-fb0498d4dedc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"accccdd2-5e40-4626-a8e2-a48a0cac5b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7999fff2-5bf9-4697-8aa3-6a398cf31532" - }, - "Response" : { - "x-request-id" : "2fc9f86a-17f2-4d55-b3b0-82721bfb6a7a", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "335", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2fc9f86a-17f2-4d55-b3b0-82721bfb6a7a", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "24db90cf-3493-465a-9a9c-a1f18d90c17d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "07bce795-9f13-4fa7-8fa7-2477940b3d77", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "280", + "x-ms-region": "West US 2", + "X-Request-ID": "07bce795-9f13-4fa7-8fa7-2477940b3d77" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json index 64431df1e1af1..4201b0c864215 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json @@ -1,331 +1,965 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8316f20f-1d20-4594-854f-76296745d735", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1c0e8e58-6486-4e1d-a6a5-bfe2798e9108", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "986931fd-e22e-491f-a74b-b838ab9bb711", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "723", + "x-ms-region": "West US 2", + "X-Request-ID": "986931fd-e22e-491f-a74b-b838ab9bb711" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "6627212d-bd35-4ce7-bc3c-8d5d9d964378", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "900", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6627212d-bd35-4ce7-bc3c-8d5d9d964378", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c43d675b-6ad3-48cf-bfae-b3708e073928", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "97514569-6e7c-4e1f-948e-0451a13d2767", + "Content-Length": "1339", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "162", + "x-ms-region": "West US 2", + "X-Request-ID": "97514569-6e7c-4e1f-948e-0451a13d2767" + }, + "ResponseBody": { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aa2b141f-c3f5-412a-a91e-6caca64a9790" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "763", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6098becd-90f2-4e3d-bf01-c9d6c54cf755", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1d69971d-c2aa-46e0-bcbf-bb67bad31d99", + "Content-Length": "1349", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "495", + "x-ms-region": "West US 2", + "X-Request-ID": "1d69971d-c2aa-46e0-bcbf-bb67bad31d99" + }, + "ResponseBody": { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "3019c2ff-338b-4408-b55c-800519e0a183", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "223", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3019c2ff-338b-4408-b55c-800519e0a183", - "retry-after" : "0", - "Content-Length" : "1339", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0955d8b0-e5b1-4d67-bfd1-65a79d51dcfe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a13952ce-cc0b-4e66-b8e5-d3cea28c75f2", + "Content-Length": "1349", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "171", + "x-ms-region": "West US 2", + "X-Request-ID": "a13952ce-cc0b-4e66-b8e5-d3cea28c75f2" + }, + "ResponseBody": { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d92a1078-fd0a-42bb-9bf0-3841de9dc523", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ae78afd9-547b-43ea-b3ad-34c294b603f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spca8f42b9-6ebf-49ee-9d43-62a9f66c2dd3", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "7f1076f6-5fc0-4b7a-a870-4e5d256a4f4a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d4796868-b5ba-45bb-abde-091453d3ceb2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "365", + "x-ms-region": "West US 2", + "X-Request-ID": "7f1076f6-5fc0-4b7a-a870-4e5d256a4f4a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "4aa39805-c23f-45e5-9b0f-f694dbddb7ce", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "627", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4aa39805-c23f-45e5-9b0f-f694dbddb7ce", - "retry-after" : "0", - "Content-Length" : "1349", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d4796868-b5ba-45bb-abde-091453d3ceb2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a944100b-2950-437a-b316-fb0c208f378c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6fa6eebe-711a-4694-92f8-57daa8226586", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143", + "x-ms-region": "West US 2", + "X-Request-ID": "6fa6eebe-711a-4694-92f8-57daa8226586" + }, + "ResponseBody": { + "dataSourceCredentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2", + "dataSourceCredentialName": "java_create_data_source_cred_spca8f42b9-6ebf-49ee-9d43-62a9f66c2dd3", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fc916550-ff7e-4ca7-856c-ae45cd486e86" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "818", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c7905a93-fd1d-45ad-8856-263ad39e422c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3159b12d-fc09-47c5-ae09-a517fddd19c8", + "Content-Length": "1404", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "749", + "x-ms-region": "West US 2", + "X-Request-ID": "3159b12d-fc09-47c5-ae09-a517fddd19c8" + }, + "ResponseBody": { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" + } }, - "Response" : { - "x-request-id" : "c3687b4a-3650-49e5-aee0-35b3ba4fac45", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "278", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c3687b4a-3650-49e5-aee0-35b3ba4fac45", - "retry-after" : "0", - "Content-Length" : "1349", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0301ae00-2ed7-47b9-819a-d805c2293eb4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "63783751-8a2a-4bc7-85da-f702df607f69", + "Content-Length": "1404", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "316", + "x-ms-region": "West US 2", + "X-Request-ID": "63783751-8a2a-4bc7-85da-f702df607f69" + }, + "ResponseBody": { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "915eda93-fcef-41f0-8a68-8530b6fa8d9a", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2e78a900-8c06-496f-9e53-a5eff2aa5d5f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkv4bcd7f73-59d9-4035-91dc-d2930ee786d1", + "parameters": { + "keyVaultEndpoint": "https://37e960e1-c807-4809-944d-f644b4f85d12.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "add290d3-fafb-4b87-9166-ced2155856fe", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "274", + "x-ms-region": "West US 2", + "X-Request-ID": "add290d3-fafb-4b87-9166-ced2155856fe" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "62e1b6e4-6c65-4d54-935b-c52bc67b41a9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "287", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "62e1b6e4-6c65-4d54-935b-c52bc67b41a9", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/58dd48d5-917e-47c1-87e7-be830f9aed36" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2985dd52-eb84-4522-82ce-c72f22e72508", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "99ab2377-973d-49a7-987f-ad9feb5b430d", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "102", + "x-ms-region": "West US 2", + "X-Request-ID": "99ab2377-973d-49a7-987f-ad9feb5b430d" + }, + "ResponseBody": { + "dataSourceCredentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "dataSourceCredentialName": "java_create_data_source_cred_spkv4bcd7f73-59d9-4035-91dc-d2930ee786d1", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://37e960e1-c807-4809-944d-f644b4f85d12.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/58dd48d5-917e-47c1-87e7-be830f9aed36", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc32c6af-a8c7-424f-984e-79372afc4db7" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "822", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "68057956-123a-4529-82e7-9e4d590f6da2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c9e88285-5708-4a34-a929-4740fd6f12a3", + "Content-Length": "1408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "753", + "x-ms-region": "West US 2", + "X-Request-ID": "c9e88285-5708-4a34-a929-4740fd6f12a3" + }, + "ResponseBody": { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30" + } }, - "Response" : { - "x-request-id" : "a189d5a0-d762-45ca-af24-2df303d9ad9c", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "184", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a189d5a0-d762-45ca-af24-2df303d9ad9c", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"58dd48d5-917e-47c1-87e7-be830f9aed36\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spc8c50bd9-9dbd-4df4-bd74-97d3f3768298\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "20b698a6-daeb-452a-b122-1a3b8752b0b6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3b7f245a-6471-4d34-a345-6b1cd5e34213", + "Content-Length": "1408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "153", + "x-ms-region": "West US 2", + "X-Request-ID": "3b7f245a-6471-4d34-a345-6b1cd5e34213" + }, + "ResponseBody": { + "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", + "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "metrics": [ + { + "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:46Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "288d866d-f13d-411b-a640-4510e1f93b87", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3dac4461-1cb0-4d8e-999b-b65b71c02f32", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "56623000-5e1c-4eca-b5db-a5646f25bd57", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "288", + "x-ms-region": "West US 2", + "X-Request-ID": "56623000-5e1c-4eca-b5db-a5646f25bd57" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0f9f00fd-bce2-4f6d-abfe-910e16dfb97e", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "619", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0f9f00fd-bce2-4f6d-abfe-910e16dfb97e", - "retry-after" : "0", - "Content-Length" : "1404", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"58dd48d5-917e-47c1-87e7-be830f9aed36\"}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d4796868-b5ba-45bb-abde-091453d3ceb2", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "30b8d5e6-7650-4dc4-b646-4ac129986671", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "0628c0ac-4d86-4b3a-b6ff-7b8fa306f7f0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122", + "x-ms-region": "West US 2", + "X-Request-ID": "0628c0ac-4d86-4b3a-b6ff-7b8fa306f7f0" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "73ab9f92-e25b-4103-9531-a90d997a89f8" - }, - "Response" : { - "x-request-id" : "2078be56-4a62-4169-984e-cfc9e43f916b", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "206", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2078be56-4a62-4169-984e-cfc9e43f916b", - "retry-after" : "0", - "Content-Length" : "1404", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"58dd48d5-917e-47c1-87e7-be830f9aed36\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9bb6bc38-ad79-4166-a96c-6b79b0cc64a5", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "07fd3441-d71f-4289-bc27-b0a3bc263a25", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "321", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "07fd3441-d71f-4289-bc27-b0a3bc263a25", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/63d4b56f-c18d-423a-90d3-a789df300613" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/63d4b56f-c18d-423a-90d3-a789df300613", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "329929b0-1e4d-411a-ad21-40b26ce25a0d" - }, - "Response" : { - "x-request-id" : "3955a813-addd-4212-be52-cc1195fa1750", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "136", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3955a813-addd-4212-be52-cc1195fa1750", - "retry-after" : "0", - "Content-Length" : "549", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"63d4b56f-c18d-423a-90d3-a789df300613\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkva2a189fb-cc2a-4d62-84ea-45266f57f864\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://3641d70a-7aa1-47e2-9e75-f61b95197240.vault.azure.net\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce701cc2-ad6c-45d1-aca4-80779e5fbe58", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "2a481528-998e-453e-95cb-4574aaec3faf", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "607", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2a481528-998e-453e-95cb-4574aaec3faf", - "retry-after" : "0", - "Content-Length" : "1408", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"63d4b56f-c18d-423a-90d3-a789df300613\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e09a8073-097c-4812-a360-c8752f938b46" - }, - "Response" : { - "x-request-id" : "673e777b-490f-4f15-852a-4fd4f074fcfb", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "215", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "673e777b-490f-4f15-852a-4fd4f074fcfb", - "retry-after" : "0", - "Content-Length" : "1408", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"63d4b56f-c18d-423a-90d3-a789df300613\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f8fb540-5fd2-4441-bcaf-335198b5f703" - }, - "Response" : { - "x-request-id" : "823459ac-2a33-4f1d-a688-949403daabdb", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "417", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "823459ac-2a33-4f1d-a688-949403daabdb", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/58dd48d5-917e-47c1-87e7-be830f9aed36", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e9496937-fe39-40da-beaf-95f67f00c331" - }, - "Response" : { - "x-request-id" : "7b3fc149-4f66-44af-8b42-915b0f974321", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "196", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7b3fc149-4f66-44af-8b42-915b0f974321", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/63d4b56f-c18d-423a-90d3-a789df300613", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0a31f891-98fd-43a0-b96b-c4dcda955fea" - }, - "Response" : { - "x-request-id" : "ba4c8063-71c4-496c-a22b-6c82900b46e9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "150", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ba4c8063-71c4-496c-a22b-6c82900b46e9", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1b981e58-99f9-422c-9327-6f3aeccf89f6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d76007f0-c704-4142-b91d-03130bad5f88", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "107", + "x-ms-region": "West US 2", + "X-Request-ID": "d76007f0-c704-4142-b91d-03130bad5f88" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json index 2bef572f7e6ce..b53ab933b8513 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json @@ -1,395 +1,1094 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "65f6412d-857a-4b42-a1f3-6e2769ad1a93", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3f179292-523d-4e88-b43a-65909289de12", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "99ed159d-3bdf-41b5-97dd-276532801190", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "595", + "x-ms-region": "West US 2", + "X-Request-ID": "99ed159d-3bdf-41b5-97dd-276532801190" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "332be0d9-edf0-4474-8313-4c2c3787c8c2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "907", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "332be0d9-edf0-4474-8313-4c2c3787c8c2", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "45113784-d2fc-4f18-a53a-798b1bedc33d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "14dfb212-bed5-4042-9648-fdddcd7ee375", + "Content-Length": "1302", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "189", + "x-ms-region": "West US 2", + "X-Request-ID": "14dfb212-bed5-4042-9648-fdddcd7ee375" + }, + "ResponseBody": { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f9398aca-b0cd-4a42-b9b7-e67307d16131" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "13a1992d-ba09-4cd3-afd2-27b80975d6d9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_genfcfadd06-9e47-472a-b978-5292ce3f96a5", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "01b14cc0-d82a-4111-9925-7e8212b93e3d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/34b21755-1709-41fd-ab8a-726fa64c7f78", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "268", + "x-ms-region": "West US 2", + "X-Request-ID": "01b14cc0-d82a-4111-9925-7e8212b93e3d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "edb36a0c-abee-42ed-b7f8-28546314cf67", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "199", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "edb36a0c-abee-42ed-b7f8-28546314cf67", - "retry-after" : "0", - "Content-Length" : "1314", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/34b21755-1709-41fd-ab8a-726fa64c7f78", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1106e09d-8859-4ff5-b903-73ff7099e166", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "61e09014-52dd-4dc2-83be-038d15e1decb", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "119", + "x-ms-region": "West US 2", + "X-Request-ID": "61e09014-52dd-4dc2-83be-038d15e1decb" + }, + "ResponseBody": { + "dataSourceCredentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_genfcfadd06-9e47-472a-b978-5292ce3f96a5", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7814506a-2542-4970-be9d-eefb5b5d3ccc", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "756", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1e8d9fe9-f18f-4b14-8308-a4bb846b806c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "295c73bd-7472-41da-aeb6-3e80e4af1565", + "Content-Length": "1372", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "728", + "x-ms-region": "West US 2", + "X-Request-ID": "295c73bd-7472-41da-aeb6-3e80e4af1565" + }, + "ResponseBody": { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78" + } }, - "Response" : { - "x-request-id" : "53af4855-b9d1-4334-b1d6-4609ecce4e63", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "310", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "53af4855-b9d1-4334-b1d6-4609ecce4e63", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/cf360619-912c-47eb-83ce-e721e26373b4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f938cffb-92cf-45aa-ab0c-cdd903f34811", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c7ccdc81-fbbc-4517-9d52-e8ebcd840e5c", + "Content-Length": "1372", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "216", + "x-ms-region": "West US 2", + "X-Request-ID": "c7ccdc81-fbbc-4517-9d52-e8ebcd840e5c" + }, + "ResponseBody": { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/cf360619-912c-47eb-83ce-e721e26373b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "75baae85-dabe-4731-824e-90172f2d65b8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a340a09b-4a4f-4544-b122-242c9d54c2e3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spd2ec8700-ebf4-4df1-843a-e1c1c2082218", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "074be166-5ad4-42e2-a666-6325411e22b7", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "314", + "x-ms-region": "West US 2", + "X-Request-ID": "074be166-5ad4-42e2-a666-6325411e22b7" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9c1a1b34-a204-4b3e-be97-3e29609ebcc2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "225", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9c1a1b34-a204-4b3e-be97-3e29609ebcc2", - "retry-after" : "0", - "Content-Length" : "273", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"cf360619-912c-47eb-83ce-e721e26373b4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gene7bebc51-4c81-425c-88d5-eeb99c1e1ce3\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e6039df7-aed0-4847-81f8-e25b5c2bbfe1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a71eaef4-5e48-41c2-ad84-25c9dbe3d318", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "98", + "x-ms-region": "West US 2", + "X-Request-ID": "a71eaef4-5e48-41c2-ad84-25c9dbe3d318" + }, + "ResponseBody": { + "dataSourceCredentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "dataSourceCredentialName": "java_create_data_source_cred_spd2ec8700-ebf4-4df1-843a-e1c1c2082218", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d24c68b4-dd82-4768-8bd8-075b873805ef", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "751", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "726bdcdf-ddb0-45a4-bded-0666ffb4263b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "51d52f00-6a5a-448b-954a-3c4987be4607", + "Content-Length": "1367", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "579", + "x-ms-region": "West US 2", + "X-Request-ID": "51d52f00-6a5a-448b-954a-3c4987be4607" + }, + "ResponseBody": { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0" + } }, - "Response" : { - "x-request-id" : "b9ef4456-d458-481a-b626-03a56a424bf0", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "738", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b9ef4456-d458-481a-b626-03a56a424bf0", - "retry-after" : "0", - "Content-Length" : "1384", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"cf360619-912c-47eb-83ce-e721e26373b4\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3e129cbc-c074-4a10-9dc5-eca46b508db6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9ffbb128-68da-4889-afe5-a311799ce007", + "Content-Length": "1367", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "188", + "x-ms-region": "West US 2", + "X-Request-ID": "9ffbb128-68da-4889-afe5-a311799ce007" + }, + "ResponseBody": { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "668fec28-2dc3-4909-b074-30285f95be4d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b3b90169-b2c8-4326-bfb6-0f0013fe72f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkv560908ee-5a5a-4628-9bea-ebfef4dc1746", + "parameters": { + "keyVaultEndpoint": "https://c956e715-f011-4995-9333-ab0f02fa9249.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "cbd0f258-adfc-4f04-ac23-da8426ecb169", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/603c4fd6-74fb-4372-9bf1-926162a56612", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "310", + "x-ms-region": "West US 2", + "X-Request-ID": "cbd0f258-adfc-4f04-ac23-da8426ecb169" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "67b96ded-8e4e-4744-8a4b-a7c3d8a208d9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "67b96ded-8e4e-4744-8a4b-a7c3d8a208d9", - "retry-after" : "0", - "Content-Length" : "1384", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"cf360619-912c-47eb-83ce-e721e26373b4\"}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/603c4fd6-74fb-4372-9bf1-926162a56612", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "46175916-8298-42d2-a0ff-81890e899e28", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7405a85f-eb69-4544-bea4-80ad8da20068", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "91", + "x-ms-region": "West US 2", + "X-Request-ID": "7405a85f-eb69-4544-bea4-80ad8da20068" + }, + "ResponseBody": { + "dataSourceCredentialId": "603c4fd6-74fb-4372-9bf1-926162a56612", + "dataSourceCredentialName": "java_create_data_source_cred_spkv560908ee-5a5a-4628-9bea-ebfef4dc1746", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://c956e715-f011-4995-9333-ab0f02fa9249.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b27afa0-bfa5-460e-a167-9c473dd3e539", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "755", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9c2168ef-f777-4483-a0bb-5d26a0fa4268", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "603c4fd6-74fb-4372-9bf1-926162a56612", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "df369db4-ac99-4c17-987d-cc7e5b071db9", + "Content-Length": "1371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "592", + "x-ms-region": "West US 2", + "X-Request-ID": "df369db4-ac99-4c17-987d-cc7e5b071db9" + }, + "ResponseBody": { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "603c4fd6-74fb-4372-9bf1-926162a56612" + } }, - "Response" : { - "x-request-id" : "5c94eb25-91aa-494d-9935-6b468dbed235", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "328", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5c94eb25-91aa-494d-9935-6b468dbed235", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/57774f5f-dc28-4a77-bda0-a4a32240f97a" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "25f88498-8d17-4442-8295-0231881467a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d6fbbdf2-be9b-4a8c-89fe-26523e87734d", + "Content-Length": "1371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "135", + "x-ms-region": "West US 2", + "X-Request-ID": "d6fbbdf2-be9b-4a8c-89fe-26523e87734d" + }, + "ResponseBody": { + "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", + "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "metrics": [ + { + "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:41Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "603c4fd6-74fb-4372-9bf1-926162a56612" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/57774f5f-dc28-4a77-bda0-a4a32240f97a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a0d6085-d3ab-4869-9d8e-7a5df6efd2ed" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fdf8face-d595-439e-9c86-0da6db34e8b1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b53cade0-692f-4a4a-b306-16c42d670d70", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "276", + "x-ms-region": "West US 2", + "X-Request-ID": "b53cade0-692f-4a4a-b306-16c42d670d70" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "32a554c0-b285-4064-949a-f78ab75588c6", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "32a554c0-b285-4064-949a-f78ab75588c6", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"57774f5f-dc28-4a77-bda0-a4a32240f97a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp1ad9772c-ea46-4945-a672-3a2f4d54803e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/34b21755-1709-41fd-ab8a-726fa64c7f78", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b8bfdaea-865f-4db8-875a-3222442a272c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "e7b5a298-08d4-4601-b790-a918e85b69e9", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "136", + "x-ms-region": "West US 2", + "X-Request-ID": "e7b5a298-08d4-4601-b790-a918e85b69e9" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee4f0a63-6f07-490c-a1ea-a40153fcd711", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "186145f6-dded-4078-9296-4ab56846e243", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "64cc0521-5c8d-4a77-b741-ccbe61c6859a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "99", + "x-ms-region": "West US 2", + "X-Request-ID": "64cc0521-5c8d-4a77-b741-ccbe61c6859a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9e47b83c-2524-4213-a582-f215956d9708", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "571", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9e47b83c-2524-4213-a582-f215956d9708", - "retry-after" : "0", - "Content-Length" : "1379", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"57774f5f-dc28-4a77-bda0-a4a32240f97a\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5caa3654-407a-409d-a3ec-a5f7ac519962" - }, - "Response" : { - "x-request-id" : "1a57c701-3162-41fc-bc55-fcc1fcb17fd9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "227", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1a57c701-3162-41fc-bc55-fcc1fcb17fd9", - "retry-after" : "0", - "Content-Length" : "1379", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"57774f5f-dc28-4a77-bda0-a4a32240f97a\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7fa06704-467a-49fb-9359-e5763a9a088b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "9049f2ad-30a1-41a3-90d9-723a3743689f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "219", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9049f2ad-30a1-41a3-90d9-723a3743689f", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b7339881-bfde-419e-a95d-aca7ad12e9bb" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b7339881-bfde-419e-a95d-aca7ad12e9bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7925ec3c-ca78-426a-a82e-40071b476917" - }, - "Response" : { - "x-request-id" : "bfd20a79-9429-494f-abe8-f1420c64a86c", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bfd20a79-9429-494f-abe8-f1420c64a86c", - "retry-after" : "0", - "Content-Length" : "549", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"b7339881-bfde-419e-a95d-aca7ad12e9bb\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv70f1dad4-2a18-464c-a463-cff23896e607\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://80bd7a31-4b21-472d-9693-19ec373b1815.vault.azure.net\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "71a7fb5e-52e1-46c1-90b9-ba3ad96777dd", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "78f412c1-ae8b-4a4a-b2fd-c7fd69723a8f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "614", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "78f412c1-ae8b-4a4a-b2fd-c7fd69723a8f", - "retry-after" : "0", - "Content-Length" : "1383", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"b7339881-bfde-419e-a95d-aca7ad12e9bb\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "519adc08-8f09-44b6-9c7e-d02bdd02af9e" - }, - "Response" : { - "x-request-id" : "b3a4b93a-0267-48ca-b3ae-3ef91a38e13b", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "184", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b3a4b93a-0267-48ca-b3ae-3ef91a38e13b", - "retry-after" : "0", - "Content-Length" : "1383", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"b7339881-bfde-419e-a95d-aca7ad12e9bb\"}", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0e306751-4929-455d-be7e-0aa9be32cb43" - }, - "Response" : { - "x-request-id" : "7225279b-8448-4d00-8d9c-0df32532321b", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "331", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7225279b-8448-4d00-8d9c-0df32532321b", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/cf360619-912c-47eb-83ce-e721e26373b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4d28e6a2-639a-46c6-8c54-9d521ba3be40" - }, - "Response" : { - "x-request-id" : "86fdeaca-2baf-4c6a-994c-a2720aebe7ac", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "197", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "86fdeaca-2baf-4c6a-994c-a2720aebe7ac", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/57774f5f-dc28-4a77-bda0-a4a32240f97a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b51bf144-8f42-42c9-99a8-e3e6c8b47fae" - }, - "Response" : { - "x-request-id" : "e9113efa-3423-46c2-a354-a7541e50b12d", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "136", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e9113efa-3423-46c2-a354-a7541e50b12d", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:43 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b7339881-bfde-419e-a95d-aca7ad12e9bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ff305b64-e59f-44e3-adc7-7a1c7c57b0ab" - }, - "Response" : { - "x-request-id" : "d632f8ab-e391-4411-b113-0c8aa26462d1", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "201", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d632f8ab-e391-4411-b113-0c8aa26462d1", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/603c4fd6-74fb-4372-9bf1-926162a56612", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5689725f-bf93-460c-ac15-716fc0d41943", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "1b1f24ad-deae-475e-91b6-1c813a24f84d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "136", + "x-ms-region": "West US 2", + "X-Request-ID": "1b1f24ad-deae-475e-91b6-1c813a24f84d" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json index 831f081d0ed7f..7d7c8c29b8978 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json @@ -1,440 +1,1255 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "535e58cc-2651-4e9b-ae74-a90e8297725e", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "599", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2c6a3724-b7ae-44a5-9e8c-eb30ec373319", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "9959645e-28d6-40f2-8bd6-5c8aca4607fa", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "929", + "x-ms-region": "West US 2", + "X-Request-ID": "9959645e-28d6-40f2-8bd6-5c8aca4607fa" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b9f50ee6-7e58-4ed6-864c-672588f50570", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "839", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b9f50ee6-7e58-4ed6-864c-672588f50570", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c56d6e21-78e7-4dc7-b3c7-d282b3d8e0b6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3342183d-300c-42cd-98e2-1440ca78cfbd", + "Content-Length": "1235", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "172", + "x-ms-region": "West US 2", + "X-Request-ID": "3342183d-300c-42cd-98e2-1440ca78cfbd" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6b8b87f3-0a9d-430c-b9d3-1cbf6bb329b6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "659", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0615b734-ed37-47d6-927b-6ab6c5a5b188", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8ff0c409-2ecc-4ce8-a536-64a4e63e1f84", + "Content-Length": "1245", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "618", + "x-ms-region": "West US 2", + "X-Request-ID": "8ff0c409-2ecc-4ce8-a536-64a4e63e1f84" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "64151110-fb37-48b0-bf98-ea4d0291bda5", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "64151110-fb37-48b0-bf98-ea4d0291bda5", - "retry-after" : "0", - "Content-Length" : "1235", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "57cebfc0-adac-4182-ac3c-cc44e66e734e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "044e4943-6b47-4018-b9ca-611f03dd355c", + "Content-Length": "1245", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "164", + "x-ms-region": "West US 2", + "X-Request-ID": "044e4943-6b47-4018-b9ca-611f03dd355c" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a869a4f-bece-4b4d-a630-0136da505718", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "031d8d48-9546-41ca-ab0b-4ded83347a5c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_conc7ce8fc3-3a18-4a9e-a561-1488eff6455b", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "4b3058c7-9589-4948-91c5-49f01127b0d2", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/8ae88c45-daa0-47e0-af8d-49d87659599c", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "386", + "x-ms-region": "West US 2", + "X-Request-ID": "4b3058c7-9589-4948-91c5-49f01127b0d2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0c20cd6d-61d1-4311-b5d6-8c2008613ee1", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "638", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0c20cd6d-61d1-4311-b5d6-8c2008613ee1", - "retry-after" : "0", - "Content-Length" : "1245", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8ae88c45-daa0-47e0-af8d-49d87659599c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "daee4b61-7885-4d18-af99-7702b1a80cc0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e315a96e-d28a-4629-b312-25a0d2e8e484", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "115", + "x-ms-region": "West US 2", + "X-Request-ID": "e315a96e-d28a-4629-b312-25a0d2e8e484" + }, + "ResponseBody": { + "dataSourceCredentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c", + "dataSourceCredentialName": "java_create_data_source_cred_sql_conc7ce8fc3-3a18-4a9e-a561-1488eff6455b", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a23f958-52d7-4860-8554-ac779b973884" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "692", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e81c20d4-6929-448c-86f5-4b11d25d8d2b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "AzureSQLConnectionString", + "credentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4c985b1d-6f63-4feb-9d92-c6c22b81b1cd", + "Content-Length": "1308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "569", + "x-ms-region": "West US 2", + "X-Request-ID": "4c985b1d-6f63-4feb-9d92-c6c22b81b1cd" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c" + } }, - "Response" : { - "x-request-id" : "2abce010-b2f0-4821-a2ec-81fdd4a29436", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "257", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2abce010-b2f0-4821-a2ec-81fdd4a29436", - "retry-after" : "0", - "Content-Length" : "1245", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "60a6bd0e-659f-4b02-a5a9-c949e40a862c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e0a6c6ab-cea6-401f-b592-cdf2e741f346", + "Content-Length": "1308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142", + "x-ms-region": "West US 2", + "X-Request-ID": "e0a6c6ab-cea6-401f-b592-cdf2e741f346" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "da26588d-36f6-476d-a73f-337437858be7", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "cddead94-6bf0-4b86-b613-707bfceb670a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spa9c2b30c-db58-45cb-9578-a13d6837882c", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "c7e5748f-7155-477d-a9f3-eeb4e16cf6fe", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "287", + "x-ms-region": "West US 2", + "X-Request-ID": "c7e5748f-7155-477d-a9f3-eeb4e16cf6fe" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "942fb19f-fcc0-4940-8ddf-eb1c3e5807f2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "374", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "942fb19f-fcc0-4940-8ddf-eb1c3e5807f2", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8f4a24b3-377a-4a33-85d1-8c3e80186f30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e9f65975-66ad-4b53-af73-0f5c8e42b3c0", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "97", + "x-ms-region": "West US 2", + "X-Request-ID": "e9f65975-66ad-4b53-af73-0f5c8e42b3c0" + }, + "ResponseBody": { + "dataSourceCredentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "dataSourceCredentialName": "java_create_data_source_cred_spa9c2b30c-db58-45cb-9578-a13d6837882c", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee387936-5057-495d-a584-2add6e2650d5" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "714", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c5494277-7e1b-40fb-900f-831afa85264b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9b006aa0-d71e-49b3-beac-1e3e279d0c42", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "604", + "x-ms-region": "West US 2", + "X-Request-ID": "9b006aa0-d71e-49b3-beac-1e3e279d0c42" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" + } }, - "Response" : { - "x-request-id" : "ecfda7e0-9043-403a-8d9a-c5672f264418", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ecfda7e0-9043-403a-8d9a-c5672f264418", - "retry-after" : "0", - "Content-Length" : "274", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con5692e3eb-e557-41f1-a903-3e0d19160b70\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e40fde8b-9a98-434f-88a3-81e290000cf8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f36e427d-5128-418f-8bd9-61a9e8952079", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "178", + "x-ms-region": "West US 2", + "X-Request-ID": "f36e427d-5128-418f-8bd9-61a9e8952079" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4aec542b-160d-47dc-b4fe-ff587f8669db", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a72cc34d-729d-4bf5-9122-55ecf51690f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkvee248c05-6f1f-474b-8a1c-264c3891c8f0", + "parameters": { + "keyVaultEndpoint": "https://7eef2fc9-14f6-428d-baca-a2be4b0ac722.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "a93ff1a3-4dc3-4d37-8fc7-699bfcdddf0a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "230", + "x-ms-region": "West US 2", + "X-Request-ID": "a93ff1a3-4dc3-4d37-8fc7-699bfcdddf0a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9c2ddacc-5872-41c2-b56c-c7a17e011a75", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "734", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9c2ddacc-5872-41c2-b56c-c7a17e011a75", - "retry-after" : "0", - "Content-Length" : "1308", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd\"}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e7ba3fa0-5b26-4684-bf6d-449d807cd941", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4c57da5e-b3e4-4fa1-ab29-626e08ba98db", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140", + "x-ms-region": "West US 2", + "X-Request-ID": "4c57da5e-b3e4-4fa1-ab29-626e08ba98db" + }, + "ResponseBody": { + "dataSourceCredentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "dataSourceCredentialName": "java_create_data_source_cred_spkvee248c05-6f1f-474b-8a1c-264c3891c8f0", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://7eef2fc9-14f6-428d-baca-a2be4b0ac722.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7108e56f-5626-4629-b661-5b1f70966783" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "718", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "cf767439-5285-4687-8d49-e0abfb89e5a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3045d954-e327-40d9-ac1a-816f6b41fd5e", + "Content-Length": "1304", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "771", + "x-ms-region": "West US 2", + "X-Request-ID": "3045d954-e327-40d9-ac1a-816f6b41fd5e" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16" + } }, - "Response" : { - "x-request-id" : "cc46fb96-c6a1-4389-9071-126a78741e52", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "194", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cc46fb96-c6a1-4389-9071-126a78741e52", - "retry-after" : "0", - "Content-Length" : "1308", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b6c12121-73f6-4ee7-a8b2-258412e6bdc7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7b8112cf-3aca-4084-9b3b-a1b929698e4f", + "Content-Length": "1304", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "229", + "x-ms-region": "West US 2", + "X-Request-ID": "7b8112cf-3aca-4084-9b3b-a1b929698e4f" + }, + "ResponseBody": { + "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", + "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "metrics": [ + { + "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:43Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e678f81-12ef-4711-a3a4-7c0b3fea13a5", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "82925052-a9d0-4d9a-9bd7-a599869e2578", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "925c07e9-d31a-4af7-8924-92649727ff69", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "372", + "x-ms-region": "West US 2", + "X-Request-ID": "925c07e9-d31a-4af7-8924-92649727ff69" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "70ad7174-2ef9-42a3-bdd5-c11c48f114cb", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "255", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "70ad7174-2ef9-42a3-bdd5-c11c48f114cb", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/443a3283-7d43-49fe-b74d-4be7902dde7d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8ae88c45-daa0-47e0-af8d-49d87659599c", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "710302cf-5ae6-4a12-a5c5-66fe816fbce6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "4d6a7a2c-9298-441c-803c-b8685bd43580", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "112", + "x-ms-region": "West US 2", + "X-Request-ID": "4d6a7a2c-9298-441c-803c-b8685bd43580" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/443a3283-7d43-49fe-b74d-4be7902dde7d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4452d3d8-16de-43a9-b27d-1debfd9d2dc8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "32179464-2c91-41bb-bff1-9baa80315e09", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "046e198f-8995-4f34-bec9-ea63beb8a95c", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "138", + "x-ms-region": "West US 2", + "X-Request-ID": "046e198f-8995-4f34-bec9-ea63beb8a95c" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "09bc6930-98b2-4355-b742-5946b347b1c4", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "104", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "09bc6930-98b2-4355-b742-5946b347b1c4", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"443a3283-7d43-49fe-b74d-4be7902dde7d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp34ff19a8-1bcb-467b-9e33-9707f97bd58e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "89dc5f05-b081-4b2a-89fd-1ee46ce10beb", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "56f0fd3d-a63a-4b2f-8cd1-6da6c154bfd6", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "630", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56f0fd3d-a63a-4b2f-8cd1-6da6c154bfd6", - "retry-after" : "0", - "Content-Length" : "1300", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"443a3283-7d43-49fe-b74d-4be7902dde7d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f662099b-d2a7-43a9-9faf-3e56ef7edb1c" - }, - "Response" : { - "x-request-id" : "21e58ede-9dee-4be3-b46f-6cd18488935f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "21e58ede-9dee-4be3-b46f-6cd18488935f", - "retry-after" : "0", - "Content-Length" : "1300", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"443a3283-7d43-49fe-b74d-4be7902dde7d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cb3e2005-08ce-4588-8c8f-a594937f4488", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "065200fc-ee8d-45b2-bfee-9ea3639d7606", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "260", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "065200fc-ee8d-45b2-bfee-9ea3639d7606", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d419264f-0614-4b19-b0d8-7db1df42c77d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d419264f-0614-4b19-b0d8-7db1df42c77d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b914000-b10b-46d3-8bf6-0f3b727b2c2e" - }, - "Response" : { - "x-request-id" : "b4d37806-ab85-43ab-89fd-ceee6ce8054f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "144", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b4d37806-ab85-43ab-89fd-ceee6ce8054f", - "retry-after" : "0", - "Content-Length" : "549", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"d419264f-0614-4b19-b0d8-7db1df42c77d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkvb6f8e64e-584c-4c3f-a36a-a5c6ab06497e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://8c7a2129-da34-40ff-8c27-5da4dc05400c.vault.azure.net\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6ff2df2a-b231-4410-bc5a-e96218e49b08", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "35550439-f896-4dea-be79-822946d546e4", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "778", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "35550439-f896-4dea-be79-822946d546e4", - "retry-after" : "0", - "Content-Length" : "1304", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"d419264f-0614-4b19-b0d8-7db1df42c77d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0fbde9fb-439b-434d-b0f4-de6d837a5f8e" - }, - "Response" : { - "x-request-id" : "bc32686e-ed4b-47fa-a8a6-2e0b0c5bea6a", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "195", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc32686e-ed4b-47fa-a8a6-2e0b0c5bea6a", - "retry-after" : "0", - "Content-Length" : "1304", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"d419264f-0614-4b19-b0d8-7db1df42c77d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7343cfe1-0d29-465e-b991-da45438f99cf" - }, - "Response" : { - "x-request-id" : "c14eac45-13b1-4e0b-9d9e-8a358ef042a3", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "501", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c14eac45-13b1-4e0b-9d9e-8a358ef042a3", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:43 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21a2ec4c-9690-4352-8cf7-85ae1caa934e" - }, - "Response" : { - "x-request-id" : "adce703b-848b-409a-825a-e90a0ae380d4", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "adce703b-848b-409a-825a-e90a0ae380d4", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:44 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/443a3283-7d43-49fe-b74d-4be7902dde7d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1e848581-fec5-4767-8630-4912c76cbc36" - }, - "Response" : { - "x-request-id" : "27cd5c2f-eb88-4bb7-89f7-c11405d960f8", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "27cd5c2f-eb88-4bb7-89f7-c11405d960f8", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:43 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d419264f-0614-4b19-b0d8-7db1df42c77d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "bc748819-9d55-434e-903e-eede78effc5a" - }, - "Response" : { - "x-request-id" : "8f4c932a-5555-441a-acc6-6af116fa5ef0", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "186", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8f4c932a-5555-441a-acc6-6af116fa5ef0", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:44 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6293173e-3fbc-4cad-99e1-2c201c37341f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "baa6c4a6-ecb0-4399-b2f8-3be16189ad82", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "166", + "x-ms-region": "West US 2", + "X-Request-ID": "baa6c4a6-ecb0-4399-b2f8-3be16189ad82" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json index 6d97c829789bf..dc3a0ff15c5ae 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json @@ -1,65 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a4b53430-1dae-4caa-b97e-ade69898e70f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b257b54f-4ea3-45e9-adf0-4c2873d228f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen26d26822-66b2-464c-84c1-c49ce9b2a271", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "44fffb41-a6fe-414f-8a9a-c28e1cfd09f5", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d26114d8-4e60-4ad4-ad21-c17422f255df", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "363", + "x-ms-region": "West US 2", + "X-Request-ID": "44fffb41-a6fe-414f-8a9a-c28e1cfd09f5" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0d88ff0b-2acc-4815-a735-a093daa49663", - "content-length" : "0", - "x-envoy-upstream-service-time" : "269", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0d88ff0b-2acc-4815-a735-a093daa49663", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5fa2f4e8-eea4-4384-9763-15af07923a90" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d26114d8-4e60-4ad4-ad21-c17422f255df", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d25a3880-18c9-4a31-9cdb-0b2046e75be3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8b35bfde-72b7-4fd9-8f47-35f30cea91d9", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "199", + "x-ms-region": "West US 2", + "X-Request-ID": "8b35bfde-72b7-4fd9-8f47-35f30cea91d9" + }, + "ResponseBody": { + "dataSourceCredentialId": "d26114d8-4e60-4ad4-ad21-c17422f255df", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen26d26822-66b2-464c-84c1-c49ce9b2a271", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5fa2f4e8-eea4-4384-9763-15af07923a90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ab858af-195d-41bc-88e5-a4aa901e48a0" - }, - "Response" : { - "x-request-id" : "5f5f95e6-0a9f-4d2a-95f9-2dc0799a10a1", - "content-length" : "273", - "x-envoy-upstream-service-time" : "138", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5f5f95e6-0a9f-4d2a-95f9-2dc0799a10a1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"5fa2f4e8-eea4-4384-9763-15af07923a90\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen9c16f190-8c70-49c4-9a85-c6795fe9279e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5fa2f4e8-eea4-4384-9763-15af07923a90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b29e1348-027e-410c-9b78-dc7f3d91341e" - }, - "Response" : { - "x-request-id" : "88b06014-bf22-44ae-9e49-91a24227590f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "143", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "88b06014-bf22-44ae-9e49-91a24227590f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d26114d8-4e60-4ad4-ad21-c17422f255df", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "55fb9134-c415-49e0-89bd-45dec9955d69", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "13fbc4db-f93c-40f5-831c-d98af552e7e7", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "121", + "x-ms-region": "West US 2", + "X-Request-ID": "13fbc4db-f93c-40f5-831c-d98af552e7e7" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json index e00900a12e77d..8b8e829b8e1f7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json @@ -1,65 +1,112 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "39f42171-3e62-4286-a85f-259b4502366e", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e7b0dc5b-862d-4578-87b2-4c8947e4ee73", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkv941dcda0-aec9-4af6-9f4e-f2f1a554e756", + "parameters": { + "keyVaultEndpoint": "https://d8fc702d-5309-4079-adeb-63dc513307e5.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "1a11b1d8-21de-4ad9-b88e-a348174be409", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "293", + "x-ms-region": "West US 2", + "X-Request-ID": "1a11b1d8-21de-4ad9-b88e-a348174be409" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "7ea5d2d0-2b00-4793-9bcb-620b3f04732b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "230", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7ea5d2d0-2b00-4793-9bcb-620b3f04732b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "7ef1415d-1c51-4c9c-9774-c86041ae4a6c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "474fe9e9-3240-49ab-b4fe-8cadee38bc2d", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "117", + "x-ms-region": "West US 2", + "X-Request-ID": "474fe9e9-3240-49ab-b4fe-8cadee38bc2d" + }, + "ResponseBody": { + "dataSourceCredentialId": "e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", + "dataSourceCredentialName": "java_create_data_source_cred_spkv941dcda0-aec9-4af6-9f4e-f2f1a554e756", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://d8fc702d-5309-4079-adeb-63dc513307e5.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "088c1678-2c69-4d11-9fa3-9741c4e1e68c" - }, - "Response" : { - "x-request-id" : "7b78bec7-e532-470b-9d2d-6e05c44e7b58", - "content-length" : "549", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7b78bec7-e532-470b-9d2d-6e05c44e7b58", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv963dbddd-b647-4639-a558-219a5e6daaf2\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://fafd87f9-5cb4-4bd4-ad3c-72345baf35d1.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8206350d-759b-43a1-8f04-4320eeedab50" - }, - "Response" : { - "x-request-id" : "1c86a7e2-2873-4cc7-bcf8-13a2ecfdecaf", - "content-length" : "0", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1c86a7e2-2873-4cc7-bcf8-13a2ecfdecaf", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "94ad1fc8-84c9-4d0c-a4ac-ec5b6cdb721b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "14d96140-f435-4d3d-8fa1-4d2e2f9b182b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143", + "x-ms-region": "West US 2", + "X-Request-ID": "14d96140-f435-4d3d-8fa1-4d2e2f9b182b" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json index 88984b5768ff4..8f5a94eddda6e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json @@ -1,65 +1,106 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eb1baa49-71ca-409e-a45d-2d8fc1e9d864", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "bf3a1829-0386-4f63-be80-f808fd949550", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_sp9263fb41-12c6-4045-bed8-be62ce89a3c9", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "bbdb926e-19f5-47ad-a9e4-4fe37425fbfc", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/8276596d-e912-45a0-a561-7e2470e56841", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "287", + "x-ms-region": "West US 2", + "X-Request-ID": "bbdb926e-19f5-47ad-a9e4-4fe37425fbfc" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "749c1acd-9511-4d4f-adc9-fbf5ed444b06", - "content-length" : "0", - "x-envoy-upstream-service-time" : "344", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "749c1acd-9511-4d4f-adc9-fbf5ed444b06", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fd240172-33c9-4615-9bad-c25499dc2c0a" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8276596d-e912-45a0-a561-7e2470e56841", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f620724f-fd59-4d7e-9122-8e2e9044c244", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "10592281-25b3-4684-84ac-01be789ee1a2", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "117", + "x-ms-region": "West US 2", + "X-Request-ID": "10592281-25b3-4684-84ac-01be789ee1a2" + }, + "ResponseBody": { + "dataSourceCredentialId": "8276596d-e912-45a0-a561-7e2470e56841", + "dataSourceCredentialName": "java_create_data_source_cred_sp9263fb41-12c6-4045-bed8-be62ce89a3c9", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fd240172-33c9-4615-9bad-c25499dc2c0a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf2861e5-33bd-4ce9-9e6f-1c03291f63ab" - }, - "Response" : { - "x-request-id" : "e1a21b2e-a884-4ced-82d2-eb8b60bb7eb6", - "content-length" : "360", - "x-envoy-upstream-service-time" : "104", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e1a21b2e-a884-4ced-82d2-eb8b60bb7eb6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"fd240172-33c9-4615-9bad-c25499dc2c0a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp985c25a3-e0a9-4d29-a24f-d4ea2d7252cc\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fd240172-33c9-4615-9bad-c25499dc2c0a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9bd65a4b-f27c-43c2-af6c-65e9d58f6c61" - }, - "Response" : { - "x-request-id" : "db4599d2-a7ec-45f8-aa54-cffbdc3cdd0a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "db4599d2-a7ec-45f8-aa54-cffbdc3cdd0a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8276596d-e912-45a0-a561-7e2470e56841", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "94543893-ed14-4aed-bee4-900576e62652", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "89869a5e-adad-49b7-b24a-993bccaa8d0a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122", + "x-ms-region": "West US 2", + "X-Request-ID": "89869a5e-adad-49b7-b24a-993bccaa8d0a" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json index 202a0694636bf..58a957702a36f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json @@ -1,65 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d9cd42e4-2748-4c61-b05b-4736efdf2f92", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "45bc9c54-87cd-40f5-ade2-6524ca135b3b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con213ed2b5-7c36-469a-9edb-88293a906d7d", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "26420852-934e-480f-b085-41dd257872c0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5d986f99-37f9-434b-96c1-42ad0dbb486c", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "277", + "x-ms-region": "West US 2", + "X-Request-ID": "26420852-934e-480f-b085-41dd257872c0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "68fb905a-0f2f-4262-aa02-d21ac499c648", - "content-length" : "0", - "x-envoy-upstream-service-time" : "240", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "68fb905a-0f2f-4262-aa02-d21ac499c648", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/71878b1e-7020-4a8d-b56c-2da2a3b2377d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/5d986f99-37f9-434b-96c1-42ad0dbb486c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f6077f36-0b2c-434a-a992-9c0d3b26ae8a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fe0b85f4-a040-4b31-bc96-44aba2738ffc", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "137", + "x-ms-region": "West US 2", + "X-Request-ID": "fe0b85f4-a040-4b31-bc96-44aba2738ffc" + }, + "ResponseBody": { + "dataSourceCredentialId": "5d986f99-37f9-434b-96c1-42ad0dbb486c", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con213ed2b5-7c36-469a-9edb-88293a906d7d", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/71878b1e-7020-4a8d-b56c-2da2a3b2377d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f5e08a6b-2c4a-48c9-9a33-170696a42d9c" - }, - "Response" : { - "x-request-id" : "6c973ee9-efe0-41de-af99-8cd34bed518e", - "content-length" : "274", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6c973ee9-efe0-41de-af99-8cd34bed518e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"71878b1e-7020-4a8d-b56c-2da2a3b2377d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con14c11183-3599-4b29-b5cf-a97b478f04a9\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/71878b1e-7020-4a8d-b56c-2da2a3b2377d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "71fa3217-8558-41d6-b550-8d4a71ebe277" - }, - "Response" : { - "x-request-id" : "9fb3e595-68ed-4762-b33a-56f727411b42", - "content-length" : "0", - "x-envoy-upstream-service-time" : "149", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9fb3e595-68ed-4762-b33a-56f727411b42", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/5d986f99-37f9-434b-96c1-42ad0dbb486c", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "954aa61b-d055-4567-8766-9d2489c73ccb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "764e621b-4ea4-4eae-8c4c-5cac156fbe98", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "139", + "x-ms-region": "West US 2", + "X-Request-ID": "764e621b-4ea4-4eae-8c4c-5cac156fbe98" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json index a56bb49f6be36..693492f03b668 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json @@ -1,147 +1,266 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2440659a-ac4c-4408-8584-23c215bc4975", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "117eca3b-1746-4952-9af5-a97706fbd8aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "b9518431-c23a-4394-ad8b-c2bcdb96e351", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "492", + "x-ms-region": "West US 2", + "X-Request-ID": "b9518431-c23a-4394-ad8b-c2bcdb96e351" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "5148f6af-fc1c-4113-92da-01f04942907b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "594", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5148f6af-fc1c-4113-92da-01f04942907b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d33eab4a-061e-422f-9583-536bf63f9ff4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "47a86864-05d7-4e63-9078-0bd669279cd5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cbdc3e25-5022-425e-a27e-e5a9b321c2ab", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "126", + "x-ms-region": "West US 2", + "X-Request-ID": "cbdc3e25-5022-425e-a27e-e5a9b321c2ab" + }, + "ResponseBody": { + "dataSourceCredentialId": "0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d33eab4a-061e-422f-9583-536bf63f9ff4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "821742e8-32ee-45e1-9334-2d01921fed61" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "7ccdcca6-343b-4652-9434-68488acaa392", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "dcfaf050-6d8f-4a68-9947-23094c1f0f5b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/159c944e-5618-4287-82e7-6b1f43fac586", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "323", + "x-ms-region": "West US 2", + "X-Request-ID": "dcfaf050-6d8f-4a68-9947-23094c1f0f5b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "ab70e3a2-617f-44e9-84ac-0f846f119fe1", - "content-length" : "274", - "x-envoy-upstream-service-time" : "314", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ab70e3a2-617f-44e9-84ac-0f846f119fe1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"d33eab4a-061e-422f-9583-536bf63f9ff4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con50289f8b-f9ea-48aa-a10d-d904e7dcffcb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/159c944e-5618-4287-82e7-6b1f43fac586", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9a666832-dbd7-46c6-b26c-d45d315f9dd9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "29cb650f-29ee-430d-b135-b4da5bbc3fe3", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "106", + "x-ms-region": "West US 2", + "X-Request-ID": "29cb650f-29ee-430d-b135-b4da5bbc3fe3" + }, + "ResponseBody": { + "dataSourceCredentialId": "159c944e-5618-4287-82e7-6b1f43fac586", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b776a62-2d1e-4244-ac1a-2b4ffccee417", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "424585b2-91a2-4524-aad3-d7a138f25d0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5f0cd3d4-f646-4cce-9d54-0b67b1ec69d8", + "Content-Length": "1379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "437", + "x-ms-region": "West US 2", + "X-Request-ID": "5f0cd3d4-f646-4cce-9d54-0b67b1ec69d8" + }, + "ResponseBody": { + "value": [ + { + "dataSourceCredentialId": "718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "159c944e-5618-4287-82e7-6b1f43fac586", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "704e7b07-a09f-4bfe-b610-b89885586ccb", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "9388a986-5430-4666-a758-7461c2a48774", + "dataSourceCredentialName": "sample_credential", + "dataSourceCredentialDescription": "my credential", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "client_id", + "tenantId": "tenant_id" + } + } + ] + } }, - "Response" : { - "x-request-id" : "33084e53-c5ae-4784-9bf3-e4ee2ea9708e", - "content-length" : "0", - "x-envoy-upstream-service-time" : "409", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "33084e53-c5ae-4784-9bf3-e4ee2ea9708e", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e97eab59-f8ab-4bb3-bf8b-361241c0b76e" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "be0d96b6-b1a7-4d39-9855-49a0909f0bfe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "519610db-05e2-4ebf-a57a-9ae1c9d28e83", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "211", + "x-ms-region": "West US 2", + "X-Request-ID": "519610db-05e2-4ebf-a57a-9ae1c9d28e83" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e97eab59-f8ab-4bb3-bf8b-361241c0b76e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8330b521-8ccb-43d4-abf0-5341b8463b12" - }, - "Response" : { - "x-request-id" : "10f6ef06-59cd-4e0c-bcc9-546e131722ff", - "content-length" : "273", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10f6ef06-59cd-4e0c-bcc9-546e131722ff", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"e97eab59-f8ab-4bb3-bf8b-361241c0b76e\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen1730dcc9-d5f4-4e82-9a17-c9bccf1b4fd0\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ef648d5-08ba-453f-b282-56535bd0620e" - }, - "Response" : { - "x-request-id" : "0120c0d8-55ec-480b-804d-feacc01c90bd", - "content-length" : "6803", - "x-envoy-upstream-service-time" : "102", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0120c0d8-55ec-480b-804d-feacc01c90bd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataSourceCredentialId\":\"e97eab59-f8ab-4bb3-bf8b-361241c0b76e\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen1730dcc9-d5f4-4e82-9a17-c9bccf1b4fd0\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"bf61bf8f-cced-4002-91d7-3cde7971ff0c\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gene473f19a-8810-4cf1-81af-9c78f846db3c\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"24de18de-29b6-44bb-b320-804b564d7c36\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_condcbd4355-716c-4b67-96f3-32381ac25c42\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"d33eab4a-061e-422f-9583-536bf63f9ff4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con50289f8b-f9ea-48aa-a10d-d904e7dcffcb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"bd8efb03-f896-47e2-a190-9a2236747685\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen932b8ba9-640d-4244-8cdb-3b3f1f643004\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"26d33b0e-4ee7-4c04-8197-b416e145767d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_conb8050b60-ada1-44e1-9cab-f626df35c709\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"87028c8d-68f8-406c-8be6-5d734f89e85e\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gena761548c-6237-4d9b-95bd-fb8f936db184\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"2323af4c-7ba5-4d1b-96d4-553507357a2a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con660e66dc-12f3-4fa1-9a3c-b1b8a546b72f\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"d4e7c8ec-6f73-4326-a747-00f091f0a435\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spff0f9695-55d5-4f00-baf1-2bc84d8f342b\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"e5899900-be84-41be-a505-137ad292102a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkvad3fc993-9a23-4c41-a57c-986393834024\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://e9ed3b05-32e2-49a5-9d5f-5f3d7938d040.vault.azure.net\"}},{\"dataSourceCredentialId\":\"015ec99d-99c0-4818-912e-23bd8d6ae05a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp312e324d-5bfd-4517-bf5e-e9ce51e2f5cb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"364a8194-6dc3-4dea-be87-993199d7251c\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen66df73a4-0f49-487d-b0a2-361ef544fb71\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"ae3609ba-4e2b-4342-945b-34f7befc03e8\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv7972c8e7-987d-48ef-9add-c8daee566e49\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://80ad7a59-e21e-4370-b236-e6aa39e58825.vault.azure.net\"}},{\"dataSourceCredentialId\":\"3dd810ae-cb71-4056-b4bc-d988e278af67\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp4d4b4ba8-326c-4d1a-8fef-161a5fa9c111\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"f728170a-cd4e-4a72-a06c-9c1adee9ca0f\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkva0d52f12-0893-408b-a960-74963bf764a9\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://7ff0ba76-39f1-4b98-b4a4-1b3a9a354ba3.vault.azure.net\"}},{\"dataSourceCredentialId\":\"d8597169-af7d-4f4f-a59f-ece184eee962\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp71e373d1-bcc9-4ffa-8b6b-031a4812527d\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"87293ca3-ac3a-4142-b533-245656a0fa44\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con81ba4caa-73ad-4b12-a8d8-e7da5d8a9c84\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"72f2d603-c4a7-4808-af99-5bf69c88aae7\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen3ae57a51-8719-413c-906b-b40245409ec1\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"990062be-75c6-4bd3-9f7a-29c49b8c52ae\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_condc1e9ef9-fbb7-4e42-b9da-ed1b13ecfa9d\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"eafca70f-8a22-48c9-83cf-6b378952c83f\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen1190f838-5ddd-4b60-97c2-63561eb6ebcb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/credentials?$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d33eab4a-061e-422f-9583-536bf63f9ff4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aac3b9e9-859e-4759-90b1-8f867b0d0dd4" - }, - "Response" : { - "x-request-id" : "9ed75c2e-6309-4f88-9e3b-37cb922997fd", - "content-length" : "0", - "x-envoy-upstream-service-time" : "121", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9ed75c2e-6309-4f88-9e3b-37cb922997fd", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e97eab59-f8ab-4bb3-bf8b-361241c0b76e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "57499028-2500-40f8-be0e-4a1d22b9fd20" - }, - "Response" : { - "x-request-id" : "e63e287e-ed22-426d-8e71-9ba7bb23ac93", - "content-length" : "0", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e63e287e-ed22-426d-8e71-9ba7bb23ac93", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/159c944e-5618-4287-82e7-6b1f43fac586", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "4d06681e-4f02-4a9e-913e-fd9d3fd9c74b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "4b67dd11-4281-4ba0-aa8b-67b5c226cc4f", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "216", + "x-ms-region": "West US 2", + "X-Request-ID": "4b67dd11-4281-4ba0-aa8b-67b5c226cc4f" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json index dd13d3c453b57..2b5fb4eee34b3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json @@ -1,68 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1dd3024f-08d3-405e-886b-c7dea9f522d2", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8074f16d-8bdd-4ea4-a1eb-3cca3dd6f540", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen47cd341e-50ca-4767-a621-505dcb11d4b7", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "7139a8e7-20fe-407a-88ea-43c5cd3a4d52", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/8115689c-6d48-47b3-979a-1b338d704cd7", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "292", + "x-ms-region": "West US 2", + "X-Request-ID": "7139a8e7-20fe-407a-88ea-43c5cd3a4d52" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "3109761b-d933-4eaf-ac0e-1338cd806715", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "245", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3109761b-d933-4eaf-ac0e-1338cd806715", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:26 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e72aee87-f3a0-4cd4-8dde-007197061547" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8115689c-6d48-47b3-979a-1b338d704cd7", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "78a02b05-b77a-4688-a4fc-caf0bad72a4f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9990fe0a-b2bb-4f45-974d-a9b46b957e8b", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140", + "x-ms-region": "West US 2", + "X-Request-ID": "9990fe0a-b2bb-4f45-974d-a9b46b957e8b" + }, + "ResponseBody": { + "dataSourceCredentialId": "8115689c-6d48-47b3-979a-1b338d704cd7", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen47cd341e-50ca-4767-a621-505dcb11d4b7", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e72aee87-f3a0-4cd4-8dde-007197061547", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "81142c54-4a9b-45d8-8b18-37cb3ce7aac2" - }, - "Response" : { - "x-request-id" : "821d9b3c-e5a4-4958-8c60-79ee6965d6ff", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "139", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "821d9b3c-e5a4-4958-8c60-79ee6965d6ff", - "retry-after" : "0", - "Content-Length" : "273", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"e72aee87-f3a0-4cd4-8dde-007197061547\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen6bb57c2c-d1c6-4017-a93e-0e2c856b8d71\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e72aee87-f3a0-4cd4-8dde-007197061547", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "087dfa65-a284-41b0-a330-8c88b4692506" - }, - "Response" : { - "x-request-id" : "a1d58cb1-478d-4575-8e7a-7174f9c27b78", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a1d58cb1-478d-4575-8e7a-7174f9c27b78", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8115689c-6d48-47b3-979a-1b338d704cd7", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8b3c24e8-68fd-4105-aa1a-c15be1c21896", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "94eaaea8-3d2c-4155-a983-7d187464189e", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "132", + "x-ms-region": "West US 2", + "X-Request-ID": "94eaaea8-3d2c-4155-a983-7d187464189e" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json index 1204d199f1cf0..731927026a652 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json @@ -1,68 +1,106 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4a081bba-1784-4cfa-805a-109f6b931223", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "453daf42-3096-4dfa-a75a-e190e8ebc245", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spa8401a0a-7494-4133-b836-484cc112f2fe", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "54690244-e424-46f9-a0f8-096d2b69d902", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/06a52ac4-d30d-4cd0-90f5-3c09206b7dba", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "306", + "x-ms-region": "West US 2", + "X-Request-ID": "54690244-e424-46f9-a0f8-096d2b69d902" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "5b178ea2-c366-4ff0-b93d-b6d9c007a9ef", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "370", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5b178ea2-c366-4ff0-b93d-b6d9c007a9ef", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:26 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/31ca9bfa-60c3-4ebb-9801-6d36c9f7f975" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/06a52ac4-d30d-4cd0-90f5-3c09206b7dba", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9f89b629-13fa-4abe-a93f-2d4b70114d51", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3216002c-abaa-4184-9d62-e49c8860e531", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "126", + "x-ms-region": "West US 2", + "X-Request-ID": "3216002c-abaa-4184-9d62-e49c8860e531" + }, + "ResponseBody": { + "dataSourceCredentialId": "06a52ac4-d30d-4cd0-90f5-3c09206b7dba", + "dataSourceCredentialName": "java_create_data_source_cred_spa8401a0a-7494-4133-b836-484cc112f2fe", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/31ca9bfa-60c3-4ebb-9801-6d36c9f7f975", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "648828a1-ed64-4cd4-92a0-eae4594c6649" - }, - "Response" : { - "x-request-id" : "e343282c-3cc8-4322-a049-a5e468aa115f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e343282c-3cc8-4322-a049-a5e468aa115f", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"31ca9bfa-60c3-4ebb-9801-6d36c9f7f975\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp908c801d-3909-422c-b982-7e36a4104f6b\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:11:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/31ca9bfa-60c3-4ebb-9801-6d36c9f7f975", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f13a2a88-6078-4284-a877-c0bd393fcdf9" - }, - "Response" : { - "x-request-id" : "d5fe3e06-e992-4d4d-a21d-aa388cd32ad7", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d5fe3e06-e992-4d4d-a21d-aa388cd32ad7", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/06a52ac4-d30d-4cd0-90f5-3c09206b7dba", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "17cc15f2-89f8-4c7f-92dd-9c08594f0377", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "684b1b1c-8ef8-4f51-812e-9792122142f1", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "163", + "x-ms-region": "West US 2", + "X-Request-ID": "684b1b1c-8ef8-4f51-812e-9792122142f1" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json index 74caa5f382b38..bad93814e554b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json @@ -1,68 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "59a072b8-c722-43b1-8a84-1f8083bf77e8", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5dc9100f-438f-4813-8404-12d9a8338e85", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con626de43d-f965-4b82-a9bc-eb2a96a8ebd4", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d89e1a71-da0a-450f-a777-0df82c6cc80e", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/1d52ff27-b774-439d-a1a7-b73cce292954", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "318", + "x-ms-region": "West US 2", + "X-Request-ID": "d89e1a71-da0a-450f-a777-0df82c6cc80e" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "44e4b09d-7eda-4771-93a8-c1b256f84912", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "261", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "44e4b09d-7eda-4771-93a8-c1b256f84912", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/55761657-6044-4511-a12b-70df9373d7a4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/1d52ff27-b774-439d-a1a7-b73cce292954", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "777a6c6e-db23-4ade-bffa-2cf2f3b46fcc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3a44dcd9-4da3-417b-8225-a5f1a7201cf5", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "125", + "x-ms-region": "West US 2", + "X-Request-ID": "3a44dcd9-4da3-417b-8225-a5f1a7201cf5" + }, + "ResponseBody": { + "dataSourceCredentialId": "1d52ff27-b774-439d-a1a7-b73cce292954", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con626de43d-f965-4b82-a9bc-eb2a96a8ebd4", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/55761657-6044-4511-a12b-70df9373d7a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "245e1849-769c-4535-a02e-643d83b9ba77" - }, - "Response" : { - "x-request-id" : "298f0463-c021-4ef8-8324-eadf231c0a60", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "298f0463-c021-4ef8-8324-eadf231c0a60", - "retry-after" : "0", - "Content-Length" : "274", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"55761657-6044-4511-a12b-70df9373d7a4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con2b958760-0a0b-42b3-9bdd-5e9bd30eb4c5\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/55761657-6044-4511-a12b-70df9373d7a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c2e81497-02b7-4c2f-9ecf-bdeef2fdce8b" - }, - "Response" : { - "x-request-id" : "8793fbe7-0f81-4e21-89c8-f800000d7c12", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "127", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8793fbe7-0f81-4e21-89c8-f800000d7c12", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/1d52ff27-b774-439d-a1a7-b73cce292954", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "05050edd-fb07-4762-943a-26c78c97fd64", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "5a28f549-bc3f-4fdc-a63c-77f629636199", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122", + "x-ms-region": "West US 2", + "X-Request-ID": "5a28f549-bc3f-4fdc-a63c-77f629636199" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json index cdd7d86076097..a2a272960e507 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json @@ -1,154 +1,266 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "df7e4e4d-a702-4a22-94ff-0753e5b2aa39", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8bc5494d-8e2c-43db-9ab8-09a8361f1cb1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3e190406-faaa-45c5-9452-cbe8d448fab3", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/704e7b07-a09f-4bfe-b610-b89885586ccb", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "532", + "x-ms-region": "West US 2", + "X-Request-ID": "3e190406-faaa-45c5-9452-cbe8d448fab3" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0f1a61de-227c-4bc5-8907-5d82f3ff36c1", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "374", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0f1a61de-227c-4bc5-8907-5d82f3ff36c1", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/96b69b9e-3ede-480a-b998-613aa0107977" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/704e7b07-a09f-4bfe-b610-b89885586ccb", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "c0163b02-36b4-409a-a0df-8ba888817af6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4a23a4ae-d214-4c07-9302-0210272d27b5", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "161", + "x-ms-region": "West US 2", + "X-Request-ID": "4a23a4ae-d214-4c07-9302-0210272d27b5" + }, + "ResponseBody": { + "dataSourceCredentialId": "704e7b07-a09f-4bfe-b610-b89885586ccb", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/96b69b9e-3ede-480a-b998-613aa0107977", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a9956c0-f859-48ae-ad09-622b9b7ac206" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f47984b2-abaf-4d21-8423-6d1dbef60af5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "513e1963-8a8a-4604-982b-01fdabb67a40", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "337", + "x-ms-region": "West US 2", + "X-Request-ID": "513e1963-8a8a-4604-982b-01fdabb67a40" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "214e470f-701d-44d8-bb03-bacf42950485", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "144", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "214e470f-701d-44d8-bb03-bacf42950485", - "retry-after" : "0", - "Content-Length" : "274", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"96b69b9e-3ede-480a-b998-613aa0107977\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_coneed4ea4e-fff6-48c8-a1be-0d5846d2b922\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "92d71688-bbbc-4896-98dc-8fc32681d4e1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5f55af48-9f43-4fce-9c10-921272ee2872", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143", + "x-ms-region": "West US 2", + "X-Request-ID": "5f55af48-9f43-4fce-9c10-921272ee2872" + }, + "ResponseBody": { + "dataSourceCredentialId": "718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f97539b-3b5d-45d3-b760-6228459fa301", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "7bb8287d-9695-4f92-bd9a-29153c7468d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0287268d-04a9-41af-80cc-90f3f7b5fb8c", + "Content-Length": "1379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "473", + "x-ms-region": "West US 2", + "X-Request-ID": "0287268d-04a9-41af-80cc-90f3f7b5fb8c" + }, + "ResponseBody": { + "value": [ + { + "dataSourceCredentialId": "718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "159c944e-5618-4287-82e7-6b1f43fac586", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "704e7b07-a09f-4bfe-b610-b89885586ccb", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "9388a986-5430-4666-a758-7461c2a48774", + "dataSourceCredentialName": "sample_credential", + "dataSourceCredentialDescription": "my credential", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "client_id", + "tenantId": "tenant_id" + } + } + ] + } }, - "Response" : { - "x-request-id" : "4563da42-f91d-4adb-ae19-a07db10ddd6f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "235", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4563da42-f91d-4adb-ae19-a07db10ddd6f", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b81952e9-690b-4e84-a614-0c9fc39ce868" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/704e7b07-a09f-4bfe-b610-b89885586ccb", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "67381c52-b908-4a01-9829-60c0ba120bf5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "4e530685-f9a1-47f3-b3dc-a2dfdfc113cb", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "191", + "x-ms-region": "West US 2", + "X-Request-ID": "4e530685-f9a1-47f3-b3dc-a2dfdfc113cb" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b81952e9-690b-4e84-a614-0c9fc39ce868", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4655b463-0bef-4554-871a-ce90fbe13f01" - }, - "Response" : { - "x-request-id" : "e98ce732-5d8b-48cb-8bb8-55d006118dd2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e98ce732-5d8b-48cb-8bb8-55d006118dd2", - "retry-after" : "0", - "Content-Length" : "273", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"b81952e9-690b-4e84-a614-0c9fc39ce868\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gend8f92192-aea5-4dd5-a81d-05164e6f7432\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "945f584a-c93a-41db-b69e-1931c37f6d07" - }, - "Response" : { - "x-request-id" : "256dde52-e847-40b7-a5c0-824eb093f91e", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "223", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "256dde52-e847-40b7-a5c0-824eb093f91e", - "retry-after" : "0", - "Content-Length" : "830", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataSourceCredentialId\":\"b81952e9-690b-4e84-a614-0c9fc39ce868\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gend8f92192-aea5-4dd5-a81d-05164e6f7432\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"96b69b9e-3ede-480a-b998-613aa0107977\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_coneed4ea4e-fff6-48c8-a1be-0d5846d2b922\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"9388a986-5430-4666-a758-7461c2a48774\",\"dataSourceCredentialName\":\"sample_credential\",\"dataSourceCredentialDescription\":\"my credential\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"client_id\",\"tenantId\":\"tenant_id\"}}]}", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/96b69b9e-3ede-480a-b998-613aa0107977", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d53cd149-e535-42b9-9f24-d50fb218ff88" - }, - "Response" : { - "x-request-id" : "780ea243-e603-4ae4-aaa0-2a9b4dfc9b61", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "780ea243-e603-4ae4-aaa0-2a9b4dfc9b61", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b81952e9-690b-4e84-a614-0c9fc39ce868", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b36fb9ac-8535-4705-839b-53b42bcddc31" - }, - "Response" : { - "x-request-id" : "1b0062f7-d2fb-4372-83d7-dbba0db282db", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "162", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1b0062f7-d2fb-4372-83d7-dbba0db282db", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:29 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "100d4184-0501-47d4-a426-7e6ecca510ee", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "15b59ceb-eb21-496f-a086-95bd9247eea6", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "202", + "x-ms-region": "West US 2", + "X-Request-ID": "15b59ceb-eb21-496f-a086-95bd9247eea6" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json index bb57d135c70ba..5b02c0408d15f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json @@ -1,147 +1,731 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "60628e96-127a-415f-8af1-cc6e876809ed", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a5df337c-05b1-40f1-ab85-8215a55b6f13", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection37ef8b24-418d-45c2-a8f8-1a1162099582", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "71dfda01-90a8-458c-b95b-09babec1cad5", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bb8428d8-802f-4020-b918-7aabe77bb9e6", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "688", + "x-ms-region": "West US 2", + "X-Request-ID": "71dfda01-90a8-458c-b95b-09babec1cad5" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "52752797-08e3-4e7f-b6d7-f87f3281a519", - "content-length" : "0", - "x-envoy-upstream-service-time" : "564", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "52752797-08e3-4e7f-b6d7-f87f3281a519", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/df57e5da-e858-4e24-9864-d62052a5613f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bb8428d8-802f-4020-b918-7aabe77bb9e6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "66f6bdb0-8635-49d4-8694-b0232c1abd96", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4aedcc85-6d18-48dd-a392-1490e803278a", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "156", + "x-ms-region": "West US 2", + "X-Request-ID": "4aedcc85-6d18-48dd-a392-1490e803278a" + }, + "ResponseBody": { + "dataFeedId": "bb8428d8-802f-4020-b918-7aabe77bb9e6", + "dataFeedName": "java_data_feed_for_detection37ef8b24-418d-45c2-a8f8-1a1162099582", + "metrics": [ + { + "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "2596334d-e7a7-43fa-ad0b-66a0e6aaba33", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:26Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/df57e5da-e858-4e24-9864-d62052a5613f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f14ae87e-4a08-4fbe-b0be-0bed227c93aa" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2215", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "da973449-dfd2-4c4a-a1b9-84c367e86de7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "description": "test metric anomaly detection configuration", + "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "f855ef62-e0a8-4c1e-b7a4-198f4b429af2", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "363", + "x-ms-region": "West US 2", + "X-Request-ID": "f855ef62-e0a8-4c1e-b7a4-198f4b429af2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0eb7163d-3d86-45b8-83b7-3776248d6932", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "181", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0eb7163d-3d86-45b8-83b7-3776248d6932", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"df57e5da-e858-4e24-9864-d62052a5613f\",\"dataFeedName\":\"java_data_feed_for_detectiona829987e-77e4-495a-bb62-80f9f393c21f\",\"metrics\":[{\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57a4f51b-2792-41cd-a304-d97de0f33de8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "235b36fb-e4b2-48bf-8a67-3c4f7b69250e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c39babb2-9dcd-43fc-b025-f42273d870dc", + "Content-Length": "2288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "130", + "x-ms-region": "West US 2", + "X-Request-ID": "c39babb2-9dcd-43fc-b025-f42273d870dc" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "description": "test metric anomaly detection configuration", + "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "54ce3f6c-5ae0-41f7-b2a9-7e3325d42f92", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/186801c3-70ca-46ab-8d7a-6d25f1f96680/enrichment/anomalyDetection/configurations", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "711e0111-df52-42f3-92e7-28b67d6f7805", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "141bd77a-fb37-4281-ab24-58c39f249be7", + "Content-Length": "2698", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "111", + "x-ms-region": "West US 2", + "X-Request-ID": "141bd77a-fb37-4281-ab24-58c39f249be7" + }, + "ResponseBody": { + "value": [ + { + "anomalyDetectionConfigurationId": "752facc9-6148-4e05-aaa2-22322bd0c93b", + "name": "Default", + "description": "", + "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "wholeMetricConfiguration": { + "smartDetectionCondition": { + "sensitivity": 79.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + }, + { + "anomalyDetectionConfigurationId": "ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "description": "test metric anomaly detection configuration", + "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } + ] + } }, - "Response" : { - "x-request-id" : "37e7de25-edde-4b96-b88d-97500a61153d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "296", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "37e7de25-edde-4b96-b88d-97500a61153d", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/713031db-9abf-4e74-a921-857d64d52d34" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d6375d1b-8249-45b4-a7b0-0eb7c3a8f80b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a6948bff-514a-4690-9fb9-806fbfa808b0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "133", + "x-ms-region": "West US 2", + "X-Request-ID": "a6948bff-514a-4690-9fb9-806fbfa808b0" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/713031db-9abf-4e74-a921-857d64d52d34", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d6ec338-8214-4ecb-8791-3695288d7934" - }, - "Response" : { - "x-request-id" : "e504542e-8443-4559-99c6-a6a562835a63", - "content-length" : "2288", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e504542e-8443-4559-99c6-a6a562835a63", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"713031db-9abf-4e74-a921-857d64d52d34\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/9d0311c7-4aa1-4858-9375-6801d8551844/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "10970bba-8c6b-463c-86bc-8bc0b75b2907" - }, - "Response" : { - "x-request-id" : "01347471-f205-443b-aa04-8d4ab80d6412", - "content-length" : "2698", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "01347471-f205-443b-aa04-8d4ab80d6412", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyDetectionConfigurationId\":\"713031db-9abf-4e74-a921-857d64d52d34\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]},{\"anomalyDetectionConfigurationId\":\"e9d3b82e-356f-4111-b8b1-bff8a47f57e3\",\"name\":\"Default\",\"description\":\"\",\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"wholeMetricConfiguration\":{\"smartDetectionCondition\":{\"sensitivity\":79.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/713031db-9abf-4e74-a921-857d64d52d34", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "981cd06b-8899-4092-8fc3-af03ddc879b2" - }, - "Response" : { - "x-request-id" : "840790d7-c60a-4d8e-9a0b-4e28682c4219", - "content-length" : "0", - "x-envoy-upstream-service-time" : "67", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "840790d7-c60a-4d8e-9a0b-4e28682c4219", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/df57e5da-e858-4e24-9864-d62052a5613f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "14ddb8cf-7d9c-467a-9f3a-38b93f681ab4" - }, - "Response" : { - "x-request-id" : "d940860a-98f2-425f-aed6-710eefcbecf0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "338", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d940860a-98f2-425f-aed6-710eefcbecf0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bb8428d8-802f-4020-b918-7aabe77bb9e6", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d49c897f-1d44-4bf0-9e36-dcd06990a2a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "02655909-cc56-4f49-a14f-f5409c8730e2", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "291", + "x-ms-region": "West US 2", + "X-Request-ID": "02655909-cc56-4f49-a14f-f5409c8730e2" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json index 5424e2522a88c..8538dd35d28bb 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json @@ -1,126 +1,398 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e0467c95-fed4-4440-b07b-2425a452819f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "89da2d4b-2bce-4844-9620-0f681c40b507", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectionad148130-7f2f-46cc-a45b-8472c22c6740", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "25deb03a-e863-47c6-8ae8-190943392b9a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e45218c6-5e67-472e-b5da-a0d3c753f1e2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "655", + "x-ms-region": "West US 2", + "X-Request-ID": "25deb03a-e863-47c6-8ae8-190943392b9a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "da157a04-d845-412f-98ee-5b511e2c8f25", - "content-length" : "0", - "x-envoy-upstream-service-time" : "652", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "da157a04-d845-412f-98ee-5b511e2c8f25", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3d45708c-036f-4b13-8c63-41575afd3c03" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e45218c6-5e67-472e-b5da-a0d3c753f1e2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a3a30a48-258b-4a89-8ff2-921ff5623449", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e076f5cd-f92d-4e9d-a4fd-23b5e18afa82", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "210", + "x-ms-region": "West US 2", + "X-Request-ID": "e076f5cd-f92d-4e9d-a4fd-23b5e18afa82" + }, + "ResponseBody": { + "dataFeedId": "e45218c6-5e67-472e-b5da-a0d3c753f1e2", + "dataFeedName": "java_data_feed_for_detectionad148130-7f2f-46cc-a45b-8472c22c6740", + "metrics": [ + { + "metricId": "d728093b-239b-466f-9b89-f49f143b9e22", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "66925a68-2b57-432a-ba72-37db3df5c765", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:29Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3d45708c-036f-4b13-8c63-41575afd3c03", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "847b802e-2130-4572-b8b6-a759defa0ec6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1143", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "eec988b5-5f57-468e-8f32-bd35e1b4dcb7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "description": "test metric anomaly detection configuration", + "metricId": "d728093b-239b-466f-9b89-f49f143b9e22", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "51204802-f211-458c-9f86-0571334c1a7f", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "245", + "x-ms-region": "West US 2", + "X-Request-ID": "51204802-f211-458c-9f86-0571334c1a7f" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d760938c-ba08-4c2e-9e5f-87145876e174", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "185", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d760938c-ba08-4c2e-9e5f-87145876e174", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3d45708c-036f-4b13-8c63-41575afd3c03\",\"dataFeedName\":\"java_data_feed_for_detection6f7a892a-ad43-4adc-b062-b768044db54c\",\"metrics\":[{\"metricId\":\"45c1ef19-9cb4-4209-b613-3fc374cdd9df\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a25b7bc8-87d1-4bb1-b90e-abd75658ba3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a9578ed4-e39b-49c4-b0c0-847ea8b9e918", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e4ff3741-9554-4311-9539-7886025856d3", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "106", + "x-ms-region": "West US 2", + "X-Request-ID": "e4ff3741-9554-4311-9539-7886025856d3" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", + "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "description": "test metric anomaly detection configuration", + "metricId": "d728093b-239b-466f-9b89-f49f143b9e22", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5de32ef1-4250-45d9-92c0-88e2b1beaabf", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "37be6905-34ee-4af4-835a-3cbccf0f3bd8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d091d3b1-a35d-4fa5-ad54-170adb0ec672", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "78", + "x-ms-region": "West US 2", + "X-Request-ID": "d091d3b1-a35d-4fa5-ad54-170adb0ec672" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "35991183-4fb8-4d3f-a17f-921c3147d9aa", - "content-length" : "0", - "x-envoy-upstream-service-time" : "280", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "35991183-4fb8-4d3f-a17f-921c3147d9aa", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a5c3f723-a484-4bbe-be28-5e3e5067fd98" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a5c3f723-a484-4bbe-be28-5e3e5067fd98", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd48b822-fbf4-42bd-9f1a-afa5b9d27be1" - }, - "Response" : { - "x-request-id" : "093686bd-c200-493c-b6bd-34fa9a113296", - "content-length" : "1216", - "x-envoy-upstream-service-time" : "153", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "093686bd-c200-493c-b6bd-34fa9a113296", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"a5c3f723-a484-4bbe-be28-5e3e5067fd98\",\"name\":\"testdetectionconfigd593c2dd-16ed-4ac2-b9e3-a26bd6a31168\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"45c1ef19-9cb4-4209-b613-3fc374cdd9df\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/a5c3f723-a484-4bbe-be28-5e3e5067fd98", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e046668a-3cd3-4bc5-b026-5e3e6b02effb" - }, - "Response" : { - "x-request-id" : "2256d127-9e6d-4018-812a-30d94f736d6b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2256d127-9e6d-4018-812a-30d94f736d6b", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3d45708c-036f-4b13-8c63-41575afd3c03", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d38fe68b-f01b-42b6-98ed-5fc274d5b93a" - }, - "Response" : { - "x-request-id" : "a0a71755-4a82-44fc-91d8-8255ca8aa11c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "331", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a0a71755-4a82-44fc-91d8-8255ca8aa11c", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e45218c6-5e67-472e-b5da-a0d3c753f1e2", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "857eff09-5e6a-4b88-a75b-223125da5089", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "1808fb19-2ed2-4ebf-896e-b6bb6f13d027", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "261", + "x-ms-region": "West US 2", + "X-Request-ID": "1808fb19-2ed2-4ebf-896e-b6bb6f13d027" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json index 463d6a8ac8465..a5b38e5767cb2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json @@ -1,126 +1,332 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "631db421-cbca-486d-981d-5c7b4a23ef2f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3de19fe8-68cd-44a7-ba25-5f76e05fcf5c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectiond9f1615d-4fa7-492e-8e23-163158be28f6", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "954bee28-013a-4a0b-bbe5-aaee9f4b0a23", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/93e86e5c-46f9-4f54-b267-29ca1070256f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1211", + "x-ms-region": "West US 2", + "X-Request-ID": "954bee28-013a-4a0b-bbe5-aaee9f4b0a23" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "fc80e35a-ba74-4d59-bdc9-f70e2f019e34", - "content-length" : "0", - "x-envoy-upstream-service-time" : "541", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fc80e35a-ba74-4d59-bdc9-f70e2f019e34", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7567592-c913-4d10-8c4c-fdd2e8b703c6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/93e86e5c-46f9-4f54-b267-29ca1070256f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "295e9407-2c3f-4270-9130-3718a0ac998b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4f842b38-d583-4fec-a49b-f6b2af32dffa", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "246", + "x-ms-region": "West US 2", + "X-Request-ID": "4f842b38-d583-4fec-a49b-f6b2af32dffa" + }, + "ResponseBody": { + "dataFeedId": "93e86e5c-46f9-4f54-b267-29ca1070256f", + "dataFeedName": "java_data_feed_for_detectiond9f1615d-4fa7-492e-8e23-163158be28f6", + "metrics": [ + { + "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "f5778b7e-a32d-4041-9a06-22c985af026e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:23Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7567592-c913-4d10-8c4c-fdd2e8b703c6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c84ee555-6ef4-425e-9cbb-839d41c52668" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "761", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f9b575aa-1c3e-47b0-8878-40a711194d17", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "description": "test metric anomaly detection configuration", + "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "b405a0b6-d0de-4873-93ed-fd0f77dbd023", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d2115a16-7b69-4e96-ba37-d19359287e13", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "236", + "x-ms-region": "West US 2", + "X-Request-ID": "b405a0b6-d0de-4873-93ed-fd0f77dbd023" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b2a2910a-a5a1-46b5-93bb-1a58b748b279", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b2a2910a-a5a1-46b5-93bb-1a58b748b279", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c7567592-c913-4d10-8c4c-fdd2e8b703c6\",\"dataFeedName\":\"java_data_feed_for_detection6c702af8-95d0-4407-ba44-2d7db7995fa9\",\"metrics\":[{\"metricId\":\"a6cc0c63-22a8-468f-9a83-fc4657046cc3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"50ca29dd-b96a-4f91-ab7e-06339ef2a307\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d2115a16-7b69-4e96-ba37-d19359287e13", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "ff4c7329-da5e-4369-9ecf-a2042976c6f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "230ad048-a01c-4bc2-bd3c-3ab225681e1d", + "Content-Length": "834", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "155", + "x-ms-region": "West US 2", + "X-Request-ID": "230ad048-a01c-4bc2-bd3c-3ab225681e1d" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "d2115a16-7b69-4e96-ba37-d19359287e13", + "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "description": "test metric anomaly detection configuration", + "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "79bbebb2-fc1e-4164-b909-71338fc4abe7", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/d2115a16-7b69-4e96-ba37-d19359287e13", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9694a448-70c7-49ba-a7b1-0c969156d824", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "58b02452-8ab7-4022-92e6-0db48cf7b3c2", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "98", + "x-ms-region": "West US 2", + "X-Request-ID": "58b02452-8ab7-4022-92e6-0db48cf7b3c2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c688b07f-8514-4dbb-bf8c-ce14d5c69d84", - "content-length" : "0", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c688b07f-8514-4dbb-bf8c-ce14d5c69d84", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/25ec679c-a900-4b2a-98eb-aa2290ae910f" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/25ec679c-a900-4b2a-98eb-aa2290ae910f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0191ee4e-c13c-4865-a888-7f37dac9d9ea" - }, - "Response" : { - "x-request-id" : "a3b95cdb-bfbf-4629-8c78-49997e1ce3b2", - "content-length" : "834", - "x-envoy-upstream-service-time" : "117", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a3b95cdb-bfbf-4629-8c78-49997e1ce3b2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"25ec679c-a900-4b2a-98eb-aa2290ae910f\",\"name\":\"testdetectionconfigc3e1ee7a-a280-4e2a-a624-1ac29ed67082\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"a6cc0c63-22a8-468f-9a83-fc4657046cc3\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/25ec679c-a900-4b2a-98eb-aa2290ae910f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "514ccb8f-a011-4f58-8043-2d4245cd5e47" - }, - "Response" : { - "x-request-id" : "c5196933-1fcb-45e6-9e27-86b72afd1660", - "content-length" : "0", - "x-envoy-upstream-service-time" : "65", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c5196933-1fcb-45e6-9e27-86b72afd1660", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7567592-c913-4d10-8c4c-fdd2e8b703c6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "de25259e-b959-47f5-8350-82edfe85bb01" - }, - "Response" : { - "x-request-id" : "7a7f070a-bcd7-4c5f-a05f-f5dd9cfb9ede", - "content-length" : "0", - "x-envoy-upstream-service-time" : "326", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7a7f070a-bcd7-4c5f-a05f-f5dd9cfb9ede", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/93e86e5c-46f9-4f54-b267-29ca1070256f", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0156c515-677c-4a32-8444-8f2102ae7aa1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d7a642fc-6f04-4ed8-9601-0cbbf1bdf9a9", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "316", + "x-ms-region": "West US 2", + "X-Request-ID": "d7a642fc-6f04-4ed8-9601-0cbbf1bdf9a9" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json index 21b456accc6e2..1c15381baa283 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json @@ -1,169 +1,940 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8fc3205-4d76-4d57-9661-d0ab27f17a48", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "18f11f7a-3e9c-42f3-af7c-dfc551a52cc8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection41f1d15d-8c32-4c3e-bd7f-a66fe7e1eb66", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3b62b2f8-0030-4272-9d60-6b156779c64b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "782", + "x-ms-region": "West US 2", + "X-Request-ID": "3b62b2f8-0030-4272-9d60-6b156779c64b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "22061dfc-aea4-4f76-a3fe-998dfec0b4e0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "474", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "22061dfc-aea4-4f76-a3fe-998dfec0b4e0", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2fb8b6e4-3af6-440a-9d2b-6d82bab06812" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6add7129-0a10-496e-a791-496faf06ff09", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "39b69b06-e453-4c88-a432-78c2b55a8bfd", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "168", + "x-ms-region": "West US 2", + "X-Request-ID": "39b69b06-e453-4c88-a432-78c2b55a8bfd" + }, + "ResponseBody": { + "dataFeedId": "d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", + "dataFeedName": "java_data_feed_for_detection41f1d15d-8c32-4c3e-bd7f-a66fe7e1eb66", + "metrics": [ + { + "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "703b3fcf-e432-44b5-a0e5-7d7a2755219e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:31Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2fb8b6e4-3af6-440a-9d2b-6d82bab06812", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c2c62ef-85c5-4fa6-a7c8-4a4c54ffdbfb" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2038", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "78b5c40a-1c04-4f39-a3d4-4943cacae7ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "aa0e8f31-764f-4f7a-8e04-20d3a01dffce", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "451", + "x-ms-region": "West US 2", + "X-Request-ID": "aa0e8f31-764f-4f7a-8e04-20d3a01dffce" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b37d1c0e-b4d4-4ee3-9f76-67bfc07604d9", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "176", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b37d1c0e-b4d4-4ee3-9f76-67bfc07604d9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"2fb8b6e4-3af6-440a-9d2b-6d82bab06812\",\"dataFeedName\":\"java_data_feed_for_detectiond736926b-8bf9-48f5-ad40-750baa5868a8\",\"metrics\":[{\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7f7a1ddd-12d8-475d-bed9-f443d138be07\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "afdf8ea6-8bf5-4fef-9f73-fea05f288a95", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fc4ab255-d069-40fc-aad1-57f474bc1024", + "Content-Length": "2111", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "fc4ab255-d069-40fc-aad1-57f474bc1024" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "a4e56992-ec21-4462-9452-7207592f8308", + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf8766c4-8282-4fba-ab79-d176a9b09424", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1962", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b55b7a3f-7e36-48b6-ace1-eb1093164276", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7ebf6478-600a-4a5b-b4b5-e0ed505dff98", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "361", + "x-ms-region": "West US 2", + "X-Request-ID": "7ebf6478-600a-4a5b-b4b5-e0ed505dff98" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "a4e56992-ec21-4462-9452-7207592f8308", + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Response" : { - "x-request-id" : "cbce0f0b-98cc-4b3f-aa68-00a26ef10a3c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "261", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cbce0f0b-98cc-4b3f-aa68-00a26ef10a3c", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "53e6c7af-f44f-4408-a4b3-2a032f7697d3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "27a9de8c-2fb7-45db-9eb6-254f74db9cc5", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "116", + "x-ms-region": "West US 2", + "X-Request-ID": "27a9de8c-2fb7-45db-9eb6-254f74db9cc5" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "a4e56992-ec21-4462-9452-7207592f8308", + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c9011bde-5717-49de-ba9c-0b70abb53fa9" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a4e56992-ec21-4462-9452-7207592f8308", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5409fd6b-e47b-489f-8133-f0cc455923df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "766d8072-5ff0-4ffa-af53-dbaac9228a2d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142", + "x-ms-region": "West US 2", + "X-Request-ID": "766d8072-5ff0-4ffa-af53-dbaac9228a2d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "90ddff42-8834-4788-af88-38ef980a626a", - "content-length" : "2111", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "90ddff42-8834-4788-af88-38ef980a626a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"455eb856-c258-4a31-bef1-67269e684622\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "980edb87-8e99-4cb2-a368-42127f716873", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "770031e6-ebb7-40a1-b975-16dc818a0731", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "390", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "770031e6-ebb7-40a1-b975-16dc818a0731", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"455eb856-c258-4a31-bef1-67269e684622\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "deec6ba3-8ce3-49bc-843a-410edfd987af" - }, - "Response" : { - "x-request-id" : "9e649f72-08ae-4533-a574-99a26c09f411", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9e649f72-08ae-4533-a574-99a26c09f411", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"455eb856-c258-4a31-bef1-67269e684622\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "43a9cfb3-e214-4de7-b791-94cf630ad165" - }, - "Response" : { - "x-request-id" : "68730d55-295a-49c1-86dd-8d6afb6a71a0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "90", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "68730d55-295a-49c1-86dd-8d6afb6a71a0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2fb8b6e4-3af6-440a-9d2b-6d82bab06812", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e5e22781-572f-4b58-b3a8-d47c1ddd2402" - }, - "Response" : { - "x-request-id" : "394e060e-867c-4339-a23b-1e4acbf57f84", - "content-length" : "0", - "x-envoy-upstream-service-time" : "308", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "394e060e-867c-4339-a23b-1e4acbf57f84", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "21da7fb3-5f11-4829-9f86-5d8aa1dc5aae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "07ed35a8-fb21-49e8-af4d-6fcbfdc28ab3", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "474", + "x-ms-region": "West US 2", + "X-Request-ID": "07ed35a8-fb21-49e8-af4d-6fcbfdc28ab3" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json index 7677dc7737a34..ac1439793de32 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json @@ -1,147 +1,731 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3d7ab0b-eaf7-4172-832d-dc155bfbe201", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "047100a4-83fc-4b26-a624-5463a61e28c4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectiona7aa40f2-1714-4535-93f4-409844dfd918", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "bbd97708-47ed-4f1b-b784-9dc907aeeea9", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1362", + "x-ms-region": "West US 2", + "X-Request-ID": "bbd97708-47ed-4f1b-b784-9dc907aeeea9" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "6e94aa63-842c-40b6-88f8-3dfaba0c4b68", - "content-length" : "0", - "x-envoy-upstream-service-time" : "547", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e94aa63-842c-40b6-88f8-3dfaba0c4b68", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/35ce1d3a-511e-479c-ae34-7335bfe442bb" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "974aaa5d-dcf6-46d8-b8d6-50e74dfa1d25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "832161ee-1307-41e0-9462-3de03a273270", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "227", + "x-ms-region": "West US 2", + "X-Request-ID": "832161ee-1307-41e0-9462-3de03a273270" + }, + "ResponseBody": { + "dataFeedId": "44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "dataFeedName": "java_data_feed_for_detectiona7aa40f2-1714-4535-93f4-409844dfd918", + "metrics": [ + { + "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d08b5790-b8db-4613-8829-68f1bfda3bbe", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:34Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/35ce1d3a-511e-479c-ae34-7335bfe442bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "85a663bd-e2fe-4f9c-8345-9c86570acc53" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2215", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "9b7d6d98-c790-4d5a-8738-70218f182967", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "description": "test metric anomaly detection configuration", + "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "651756f1-32aa-4d0f-866b-e61c65eab5e0", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0e42a221-6b7d-48a2-af77-be9e18cc7883", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "287", + "x-ms-region": "West US 2", + "X-Request-ID": "651756f1-32aa-4d0f-866b-e61c65eab5e0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "40cfa388-994b-476a-8eaa-1aae12fc5b47", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "173", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "40cfa388-994b-476a-8eaa-1aae12fc5b47", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"35ce1d3a-511e-479c-ae34-7335bfe442bb\",\"dataFeedName\":\"java_data_feed_for_detectiond6efe5f7-cf0a-4fa4-94b6-5b0df3946a63\",\"metrics\":[{\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"89edb185-205d-43f5-b760-6723a83befdb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0e42a221-6b7d-48a2-af77-be9e18cc7883", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a165a91e-0350-4df2-ae8c-ecffd502c0f5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d0c662e6-c1a3-4fc7-9e52-d1d52f63b606", + "Content-Length": "2288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "176", + "x-ms-region": "West US 2", + "X-Request-ID": "d0c662e6-c1a3-4fc7-9e52-d1d52f63b606" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "0e42a221-6b7d-48a2-af77-be9e18cc7883", + "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "description": "test metric anomaly detection configuration", + "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "026012ff-7ac4-478c-b471-493a37073f5c", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/9fde0a33-29fd-4d41-b929-f4daf3ef9397/enrichment/anomalyDetection/configurations", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1a9df074-3496-4ffd-b713-df0de7868e97", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cae0de78-4579-4c01-beb4-045c3e95611f", + "Content-Length": "2698", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "357", + "x-ms-region": "West US 2", + "X-Request-ID": "cae0de78-4579-4c01-beb4-045c3e95611f" + }, + "ResponseBody": { + "value": [ + { + "anomalyDetectionConfigurationId": "0e42a221-6b7d-48a2-af77-be9e18cc7883", + "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "description": "test metric anomaly detection configuration", + "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + { + "anomalyDetectionConfigurationId": "fba69de5-366f-4c06-ae64-6e9a2e81dc8c", + "name": "Default", + "description": "", + "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "wholeMetricConfiguration": { + "smartDetectionCondition": { + "sensitivity": 79.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + } + ] + } }, - "Response" : { - "x-request-id" : "346f54a0-b88c-4a1d-80db-ef70aa7d4f77", - "content-length" : "0", - "x-envoy-upstream-service-time" : "307", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "346f54a0-b88c-4a1d-80db-ef70aa7d4f77", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e86aca10-2aaf-4351-bead-959fa71d12ef" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/0e42a221-6b7d-48a2-af77-be9e18cc7883", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "363fa9ab-b02e-447d-bcf5-78b34b74b2d7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "4339fc66-df25-4560-aa44-58c426d621cb", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "71", + "x-ms-region": "West US 2", + "X-Request-ID": "4339fc66-df25-4560-aa44-58c426d621cb" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e86aca10-2aaf-4351-bead-959fa71d12ef", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e15cd08-36fb-4a64-bf59-e2097089c279" - }, - "Response" : { - "x-request-id" : "688a64f0-93c2-4264-bb14-107d84f38d21", - "content-length" : "2288", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "688a64f0-93c2-4264-bb14-107d84f38d21", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"e86aca10-2aaf-4351-bead-959fa71d12ef\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/7bd38aee-376e-4257-82c8-1b71cb87c954/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f6ee96cc-7f3a-4f27-a827-fb6c4d9dd1f6" - }, - "Response" : { - "x-request-id" : "0bebed75-f228-4b19-b08d-dbe63c25c4d5", - "content-length" : "2698", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0bebed75-f228-4b19-b08d-dbe63c25c4d5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyDetectionConfigurationId\":\"e86aca10-2aaf-4351-bead-959fa71d12ef\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]},{\"anomalyDetectionConfigurationId\":\"edabaf7b-adfe-4649-88f7-0d11482adce1\",\"name\":\"Default\",\"description\":\"\",\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"wholeMetricConfiguration\":{\"smartDetectionCondition\":{\"sensitivity\":79.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e86aca10-2aaf-4351-bead-959fa71d12ef", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "10ccdbdf-380b-494b-8f00-13f03a80f799" - }, - "Response" : { - "x-request-id" : "8919ba6d-3c49-427a-8779-e88ee17cab2c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8919ba6d-3c49-427a-8779-e88ee17cab2c", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/35ce1d3a-511e-479c-ae34-7335bfe442bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d3245cb-19b3-471c-a169-817b36f85f89" - }, - "Response" : { - "x-request-id" : "5777f19c-0118-4237-863e-ef5ec22ce7b9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "326", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5777f19c-0118-4237-863e-ef5ec22ce7b9", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b63e2f80-cd39-40bf-a0d7-fb2e63de2448", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ff13e565-b218-4aef-b31b-f4f16b654076", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "310", + "x-ms-region": "West US 2", + "X-Request-ID": "ff13e565-b218-4aef-b31b-f4f16b654076" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json index 2892c4c2b62b6..954132e4055b1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json @@ -1,126 +1,398 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f066ad0-7fbe-4e4d-9105-8c33c357a8dd", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d8abc191-b628-41ce-a3b2-6aa0f5628763", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectione49c6370-a814-4046-9384-3a57009fb997", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "7a5e1e75-4bac-408c-bde0-93d36e6fda41", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "671", + "x-ms-region": "West US 2", + "X-Request-ID": "7a5e1e75-4bac-408c-bde0-93d36e6fda41" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0fced75e-d893-4ef0-89ff-27c7e918ce5a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "488", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0fced75e-d893-4ef0-89ff-27c7e918ce5a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d70129f4-8e3c-4929-a155-bde2ff399237" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "623ee4f7-fab9-4c0f-b204-a6885fb64d82", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9ab76402-ed0d-4210-9a86-cb7576b553e9", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "187", + "x-ms-region": "West US 2", + "X-Request-ID": "9ab76402-ed0d-4210-9a86-cb7576b553e9" + }, + "ResponseBody": { + "dataFeedId": "6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", + "dataFeedName": "java_data_feed_for_detectione49c6370-a814-4046-9384-3a57009fb997", + "metrics": [ + { + "metricId": "033578ff-88c9-4858-9deb-dd39f72a05a4", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "56ffa201-ca54-4ffa-90e0-d4caad8a53b8", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d70129f4-8e3c-4929-a155-bde2ff399237", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "37b2fb4b-7c7c-47ee-ba4d-8367fb510489" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1143", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "3e16e91b-cdc7-4bbf-8016-58f29df5c61f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "description": "test metric anomaly detection configuration", + "metricId": "033578ff-88c9-4858-9deb-dd39f72a05a4", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "89ac2685-5b8b-482b-a235-b1147239677b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/57d226a5-3d0a-4408-843b-3438173db9c0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "212", + "x-ms-region": "West US 2", + "X-Request-ID": "89ac2685-5b8b-482b-a235-b1147239677b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "cccd3173-9716-411b-8532-e2d01d37da88", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "166", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cccd3173-9716-411b-8532-e2d01d37da88", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d70129f4-8e3c-4929-a155-bde2ff399237\",\"dataFeedName\":\"java_data_feed_for_detectionfcbb1b0c-d7c0-416b-9643-243997ecd325\",\"metrics\":[{\"metricId\":\"dab7144b-9a58-4226-94b2-d593f29ad905\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2be31fc5-38de-4484-8145-b51d86bdd703\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/57d226a5-3d0a-4408-843b-3438173db9c0", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "7b0a16f7-04cf-4772-bb3b-805c4849a444", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a1eba596-ff17-46e6-a444-a3a7d9d47f42", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "93", + "x-ms-region": "West US 2", + "X-Request-ID": "a1eba596-ff17-46e6-a444-a3a7d9d47f42" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "57d226a5-3d0a-4408-843b-3438173db9c0", + "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "description": "test metric anomaly detection configuration", + "metricId": "033578ff-88c9-4858-9deb-dd39f72a05a4", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6091801a-78a3-4750-8e0c-b02fe810417c", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/57d226a5-3d0a-4408-843b-3438173db9c0", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f6460dd2-12fa-4414-891a-6e89199592de", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "8b814732-93a5-482a-aaab-d581090ab679", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58", + "x-ms-region": "West US 2", + "X-Request-ID": "8b814732-93a5-482a-aaab-d581090ab679" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b8af779b-a660-4656-85af-a1cf5f73a429", - "content-length" : "0", - "x-envoy-upstream-service-time" : "271", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b8af779b-a660-4656-85af-a1cf5f73a429", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ba375ec6-5ded-4df2-a357-4e511cd3ef52" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ba375ec6-5ded-4df2-a357-4e511cd3ef52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21ba3e4f-17b5-49d6-8527-565849025e32" - }, - "Response" : { - "x-request-id" : "5f9f046e-52e9-40c2-8fb3-39b27b7a44f8", - "content-length" : "1216", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5f9f046e-52e9-40c2-8fb3-39b27b7a44f8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"ba375ec6-5ded-4df2-a357-4e511cd3ef52\",\"name\":\"testdetectionconfigd593c2dd-16ed-4ac2-b9e3-a26bd6a31168\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"dab7144b-9a58-4226-94b2-d593f29ad905\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/ba375ec6-5ded-4df2-a357-4e511cd3ef52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "abfb75e3-6c79-4dbc-b356-dff55f8fd68c" - }, - "Response" : { - "x-request-id" : "a863aa85-7575-4cb5-b57c-6b3e96559733", - "content-length" : "0", - "x-envoy-upstream-service-time" : "75", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a863aa85-7575-4cb5-b57c-6b3e96559733", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d70129f4-8e3c-4929-a155-bde2ff399237", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b9b53e8-1a2d-4a2c-ba22-267f5273179f" - }, - "Response" : { - "x-request-id" : "e9968d33-f884-442b-bd07-2ff7c3012bb0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "357", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e9968d33-f884-442b-bd07-2ff7c3012bb0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b70948fc-7841-4df6-bfdc-adb71067531a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "2ef3eb86-18ff-4485-b167-b5a5bd3b7cad", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "266", + "x-ms-region": "West US 2", + "X-Request-ID": "2ef3eb86-18ff-4485-b167-b5a5bd3b7cad" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json index a428f8851c4ee..35bc065c5a3f9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json @@ -1,126 +1,332 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6374597a-4bb7-4d0d-a0b9-455d5946c8e3", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1eb20b26-86a6-4987-8030-5085737fb7c1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection0967b632-1853-4a3b-809b-9f8451800f51", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "1a095ee6-bcaf-444c-aebd-2c88e6e2508d", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cef0ee57-4d37-4434-83ef-cc651766a67c", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "652", + "x-ms-region": "West US 2", + "X-Request-ID": "1a095ee6-bcaf-444c-aebd-2c88e6e2508d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "a8ac7d03-ee5f-4044-93f8-39981b794baa", - "content-length" : "0", - "x-envoy-upstream-service-time" : "461", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a8ac7d03-ee5f-4044-93f8-39981b794baa", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61b5ee68-835d-49ef-8028-89cf9dbfac5f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cef0ee57-4d37-4434-83ef-cc651766a67c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1e0cf5b7-b542-4033-9e64-ca33ec8fb912", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b07140bf-6e4d-4ea0-9c33-b76984b2b8ad", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "187", + "x-ms-region": "West US 2", + "X-Request-ID": "b07140bf-6e4d-4ea0-9c33-b76984b2b8ad" + }, + "ResponseBody": { + "dataFeedId": "cef0ee57-4d37-4434-83ef-cc651766a67c", + "dataFeedName": "java_data_feed_for_detection0967b632-1853-4a3b-809b-9f8451800f51", + "metrics": [ + { + "metricId": "58b1a11a-d591-405b-8ca0-57941050cf9c", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "4bf7888f-3987-4b6b-a777-ed1b2673851c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:30Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61b5ee68-835d-49ef-8028-89cf9dbfac5f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9042c31-19d8-4b12-9d63-5b5a2e4efd9b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "761", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0b735f86-9649-4f8f-bdf9-498e4c483a45", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "description": "test metric anomaly detection configuration", + "metricId": "58b1a11a-d591-405b-8ca0-57941050cf9c", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "6d825b04-c854-44bd-99f4-19d2b552b44b", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/24e26be8-35a3-4c81-ae39-9391bfce6000", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "214", + "x-ms-region": "West US 2", + "X-Request-ID": "6d825b04-c854-44bd-99f4-19d2b552b44b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c1cbdbcf-ed81-48a4-8bc7-61ce7e6004cf", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c1cbdbcf-ed81-48a4-8bc7-61ce7e6004cf", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"61b5ee68-835d-49ef-8028-89cf9dbfac5f\",\"dataFeedName\":\"java_data_feed_for_detectione198f187-8e09-4c83-a408-e9180a3a4bf8\",\"metrics\":[{\"metricId\":\"585c7f6d-fdcd-498e-b952-3f554c865243\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2ce5f611-0db8-4f6a-bbf7-0169fcd3d1a4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/24e26be8-35a3-4c81-ae39-9391bfce6000", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6a5e3131-5933-4dbc-8ea4-b7e75c8b6e5b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "419d556d-d478-4b70-94da-63322052939f", + "Content-Length": "834", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "109", + "x-ms-region": "West US 2", + "X-Request-ID": "419d556d-d478-4b70-94da-63322052939f" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "24e26be8-35a3-4c81-ae39-9391bfce6000", + "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "description": "test metric anomaly detection configuration", + "metricId": "58b1a11a-d591-405b-8ca0-57941050cf9c", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ae5d8142-c0e1-4b71-9ff0-6f80619a8f55", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/24e26be8-35a3-4c81-ae39-9391bfce6000", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "4f795c1b-cae1-4c31-ae08-2d16ef2e376c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "8cd41ae7-b45b-40f5-8e83-8d70f69cb1b1", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "86", + "x-ms-region": "West US 2", + "X-Request-ID": "8cd41ae7-b45b-40f5-8e83-8d70f69cb1b1" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "39766b2a-c89b-44e2-95dc-364757d56475", - "content-length" : "0", - "x-envoy-upstream-service-time" : "182", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "39766b2a-c89b-44e2-95dc-364757d56475", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fc92decf-7ee6-45e8-924b-ce1cb242ca7c" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fc92decf-7ee6-45e8-924b-ce1cb242ca7c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d486cec2-9688-4fd9-9b39-6ff7b7f317e5" - }, - "Response" : { - "x-request-id" : "3e180b9c-4538-4440-903a-41307f67d0b0", - "content-length" : "834", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3e180b9c-4538-4440-903a-41307f67d0b0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"fc92decf-7ee6-45e8-924b-ce1cb242ca7c\",\"name\":\"testdetectionconfigc3e1ee7a-a280-4e2a-a624-1ac29ed67082\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"585c7f6d-fdcd-498e-b952-3f554c865243\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fc92decf-7ee6-45e8-924b-ce1cb242ca7c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee68973d-1df2-4d1e-be43-5688756a0d08" - }, - "Response" : { - "x-request-id" : "e76cc0d1-fb3c-4dae-add2-e39c4e7cdec1", - "content-length" : "0", - "x-envoy-upstream-service-time" : "73", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e76cc0d1-fb3c-4dae-add2-e39c4e7cdec1", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61b5ee68-835d-49ef-8028-89cf9dbfac5f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2548ef12-cf79-4e8b-8b97-d6864984ddb5" - }, - "Response" : { - "x-request-id" : "2afbb094-1514-4839-b375-3b6d0c5007c4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "384", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2afbb094-1514-4839-b375-3b6d0c5007c4", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cef0ee57-4d37-4434-83ef-cc651766a67c", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "0abea709-15b9-4af0-bb58-7a4d3640617f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "f407e562-5bf5-4115-ae82-f8560b408b04", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "398", + "x-ms-region": "West US 2", + "X-Request-ID": "f407e562-5bf5-4115-ae82-f8560b408b04" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json index 82876d1e0add4..238f677574ed2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json @@ -1,169 +1,940 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "716edcd3-ee68-4330-89c1-fbef497c6329", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "633c12d9-c46f-4475-be76-dcfb8ea9470f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection614b0208-2aff-466a-afc6-007adb00797a", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "2bf9519b-566f-499c-8b0c-99dccd7c24cd", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/111b0b19-6552-4a41-b4d1-81930fd12af2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "590", + "x-ms-region": "West US 2", + "X-Request-ID": "2bf9519b-566f-499c-8b0c-99dccd7c24cd" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d6e0a71c-2fc4-4f09-896a-482b3c203b61", - "content-length" : "0", - "x-envoy-upstream-service-time" : "487", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d6e0a71c-2fc4-4f09-896a-482b3c203b61", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a4d2891-a7d5-40ac-bdd3-6bcba125588d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/111b0b19-6552-4a41-b4d1-81930fd12af2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "a5b3851b-9eb4-402a-8c3f-39f9fc245f98", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ae4a05c6-ff40-4e73-8a1e-e2761ecbea52", + "Content-Length": "1230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "198", + "x-ms-region": "West US 2", + "X-Request-ID": "ae4a05c6-ff40-4e73-8a1e-e2761ecbea52" + }, + "ResponseBody": { + "dataFeedId": "111b0b19-6552-4a41-b4d1-81930fd12af2", + "dataFeedName": "java_data_feed_for_detection614b0208-2aff-466a-afc6-007adb00797a", + "metrics": [ + { + "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "f37530c4-5835-4df6-8f01-e6c64e64e6c0", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Active", + "createdTime": "2023-04-12T22:01:39Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a4d2891-a7d5-40ac-bdd3-6bcba125588d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a08798a0-e05b-4d6f-98bb-e11c390d36b1" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2038", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "801f4b3c-4387-4a9a-bae3-8bb3179447b1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "8dec8504-c022-433c-a0f5-c99767ee55d3", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "265", + "x-ms-region": "West US 2", + "X-Request-ID": "8dec8504-c022-433c-a0f5-c99767ee55d3" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "bed6497e-dd85-4227-9015-f212896b957b", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bed6497e-dd85-4227-9015-f212896b957b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"4a4d2891-a7d5-40ac-bdd3-6bcba125588d\",\"dataFeedName\":\"java_data_feed_for_detection17f64f2e-4594-4f66-827c-468ab29a3e62\",\"metrics\":[{\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3048654a-9441-4c96-b437-96308c2a6fba\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "e00fe4b5-d00d-4888-8ce3-20a0be99be4c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ec51be30-2b6f-4596-b1da-8e63358ab54e", + "Content-Length": "2111", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "90", + "x-ms-region": "West US 2", + "X-Request-ID": "ec51be30-2b6f-4596-b1da-8e63358ab54e" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "afa099ed-0e29-430d-ab88-0f35da2983ee", + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5cf1d2e7-fddf-416a-a3b6-226b638f28d0", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1962", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2cc76253-507e-4afc-8e44-69396e77ae3a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b35c4e12-d83b-413d-be07-eb4f4db7dbb9", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "286", + "x-ms-region": "West US 2", + "X-Request-ID": "b35c4e12-d83b-413d-be07-eb4f4db7dbb9" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "afa099ed-0e29-430d-ab88-0f35da2983ee", + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Response" : { - "x-request-id" : "56f75fc1-d845-4be9-86f3-f36da864139d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "288", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56f75fc1-d845-4be9-86f3-f36da864139d", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "800a62c3-4e50-48ed-8ba3-f60170adf8ab", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5a5fdca4-2ecc-464f-bd8e-bda5dbc1f87a", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "111", + "x-ms-region": "West US 2", + "X-Request-ID": "5a5fdca4-2ecc-464f-bd8e-bda5dbc1f87a" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "afa099ed-0e29-430d-ab88-0f35da2983ee", + "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "description": "test metric anomaly detection configuration", + "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "007fe3d5-f11a-4e62-a5f7-a9f026d29231" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2094b593-057d-4d20-9050-06d6118819f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "746cf6b7-32f7-41e7-bcbb-c09d5070f832", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "66", + "x-ms-region": "West US 2", + "X-Request-ID": "746cf6b7-32f7-41e7-bcbb-c09d5070f832" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "4e10b5df-ab2d-4c32-9110-5fc7736a0f55", - "content-length" : "2111", - "x-envoy-upstream-service-time" : "122", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4e10b5df-ab2d-4c32-9110-5fc7736a0f55", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"2212e735-9074-47f5-ad74-e1fed09de78e\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f4434ed7-9fa4-4544-98b3-bcc8565ac1c8", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "70da7898-61ba-4534-9aeb-9fda9b2bdfa0", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "509", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "70da7898-61ba-4534-9aeb-9fda9b2bdfa0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"2212e735-9074-47f5-ad74-e1fed09de78e\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c84f78ef-f2ca-4437-9e27-73f695ce2eb9" - }, - "Response" : { - "x-request-id" : "96558c1b-7de1-435a-9cb4-d45d3ddc62ba", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "182", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "96558c1b-7de1-435a-9cb4-d45d3ddc62ba", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"2212e735-9074-47f5-ad74-e1fed09de78e\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dcbeaa1b-a298-46e0-b4c3-9c8eec351e53" - }, - "Response" : { - "x-request-id" : "dd25f20d-d8c2-42de-8cb4-f349721166f5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "dd25f20d-d8c2-42de-8cb4-f349721166f5", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a4d2891-a7d5-40ac-bdd3-6bcba125588d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "43b16b1b-4c93-4b19-b652-98fc71cb3c30" - }, - "Response" : { - "x-request-id" : "6f8767c6-de63-4ee0-ab90-8c61ce3df63d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "444", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f8767c6-de63-4ee0-ab90-8c61ce3df63d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/111b0b19-6552-4a41-b4d1-81930fd12af2", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "4b6b6d2d-1bf2-4ca9-a4b9-7ca2c712e154", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "68274a7e-8dee-400c-aeb3-f58a2443736a", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "301", + "x-ms-region": "West US 2", + "X-Request-ID": "68274a7e-8dee-400c-aeb3-f58a2443736a" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createAnomalyFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createAnomalyFeedback[1].json deleted file mode 100644 index 70169965204bb..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createAnomalyFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5f8dba14-5696-419c-a4a4-90e2ef817310", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "04c59a4a-1faf-4270-8094-3033cfd9f8e3", - "content-length" : "0", - "x-envoy-upstream-service-time" : "545", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "04c59a4a-1faf-4270-8094-3033cfd9f8e3", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/b0ec5ba6-a6a4-4a96-9258-04c643e81878" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/b0ec5ba6-a6a4-4a96-9258-04c643e81878", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "72860f66-471b-4216-a0d8-904bdf69dd44" - }, - "Response" : { - "x-request-id" : "ccff5f23-dd47-4687-832a-b7081b095773", - "content-length" : "373", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ccff5f23-dd47-4687-832a-b7081b095773", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createChangePointMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createChangePointMetricFeedback[1].json deleted file mode 100644 index 95c5a3d19fee6..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createChangePointMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2edae27a-b8d9-4075-adb8-c122ea642794", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bc7f2df3-b584-4819-aa6f-145dd83b74d0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "507", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc7f2df3-b584-4819-aa6f-145dd83b74d0", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0f28d794-c1fe-45a2-b064-e7b2c084fd3d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0f28d794-c1fe-45a2-b064-e7b2c084fd3d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3ebb78e3-f9ac-45e8-8987-a05d8e52d29f" - }, - "Response" : { - "x-request-id" : "bff408ca-67d5-4082-835e-597917ecb284", - "content-length" : "382", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bff408ca-67d5-4082-835e-597917ecb284", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"0f28d794-c1fe-45a2-b064-e7b2c084fd3d\",\"createdTime\":\"2022-04-08T23:50:34.043Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createCommentMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createCommentMetricFeedback[1].json deleted file mode 100644 index 638efa21433fb..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createCommentMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2665da8f-cca7-4bc9-80aa-9d4dc491a775", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "07ae01ee-9991-4e05-bbd3-bed9abf77861", - "content-length" : "0", - "x-envoy-upstream-service-time" : "374", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "07ae01ee-9991-4e05-bbd3-bed9abf77861", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/03a899a6-6b10-4194-9cd7-84c5ce467576" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/03a899a6-6b10-4194-9cd7-84c5ce467576", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "83492e1e-bb0a-4807-994a-8591ee52bf2d" - }, - "Response" : { - "x-request-id" : "1b095f4d-03d9-460f-bae0-a63bbf239937", - "content-length" : "379", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1b095f4d-03d9-460f-bae0-a63bbf239937", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"03a899a6-6b10-4194-9cd7-84c5ce467576\",\"createdTime\":\"2022-04-08T23:50:34.559Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createPeriodMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createPeriodMetricFeedback[1].json deleted file mode 100644 index 4f9c49ad5d3d1..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createPeriodMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bfdec07-2fe3-415f-9887-7c2f26f9c09d", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6862d32c-03b5-4a3a-9d3b-26b1c27eb036", - "content-length" : "0", - "x-envoy-upstream-service-time" : "584", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6862d32c-03b5-4a3a-9d3b-26b1c27eb036", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c3a01d5f-ba7c-40fe-8182-434f73c42af6" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c3a01d5f-ba7c-40fe-8182-434f73c42af6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7680e5da-97b5-45c0-bf9d-a7f5f53011a6" - }, - "Response" : { - "x-request-id" : "ab27b014-beb0-44a4-8a71-cab38c354f53", - "content-length" : "319", - "x-envoy-upstream-service-time" : "154", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ab27b014-beb0-44a4-8a71-cab38c354f53", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"c3a01d5f-ba7c-40fe-8182-434f73c42af6\",\"createdTime\":\"2022-04-08T23:50:28.716Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackValidId[1].json deleted file mode 100644 index f4c30365d2fe2..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackValidId[1].json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cd5571eb-8efd-401c-ac84-8dc347e9bb2e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f08f4a42-0228-4891-94db-3a562d0f508f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "357", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f08f4a42-0228-4891-94db-3a562d0f508f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/21307b49-5afa-4d26-b248-175f566d8b76" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/21307b49-5afa-4d26-b248-175f566d8b76", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "083e58b9-9685-4a58-a382-834ec94c3b8c" - }, - "Response" : { - "x-request-id" : "ca9d9aad-402a-4a8c-9b88-d9e8a1a7bd73", - "content-length" : "379", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ca9d9aad-402a-4a8c-9b88-d9e8a1a7bd73", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/21307b49-5afa-4d26-b248-175f566d8b76", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5054748-af15-4795-bac4-a731ed190ed2" - }, - "Response" : { - "x-request-id" : "31461c7c-9f04-4a7f-b368-58d497ae850e", - "content-length" : "379", - "x-envoy-upstream-service-time" : "97", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "31461c7c-9f04-4a7f-b368-58d497ae850e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByDimensionFilter[1].json deleted file mode 100644 index 1a36a8eee2749..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByDimensionFilter[1].json +++ /dev/null @@ -1,288 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c7f7d835-e3b1-4eaa-8ffa-c50b58d08496", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "456b6b93-28f5-469f-af92-faac36bb0e36", - "content-length" : "0", - "x-envoy-upstream-service-time" : "567", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "456b6b93-28f5-469f-af92-faac36bb0e36", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/420f6032-d80c-4c61-a67a-df636bf191f2" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/420f6032-d80c-4c61-a67a-df636bf191f2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a4eb4887-0f29-47df-896c-719de4da435f" - }, - "Response" : { - "x-request-id" : "61eb9579-8a56-498d-8073-13324178acec", - "content-length" : "374", - "x-envoy-upstream-service-time" : "97", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "61eb9579-8a56-498d-8073-13324178acec", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "38a25dd4-849e-434a-b4c5-e841dd75b800", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "642279d3-4a02-4c83-b470-3301fc2d2092", - "content-length" : "3871", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "642279d3-4a02-4c83-b470-3301fc2d2092", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9\",\"createdTime\":\"2022-04-08T23:50:28.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c3a01d5f-ba7c-40fe-8182-434f73c42af6\",\"createdTime\":\"2022-04-08T23:50:28.716Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9a79f86b-7b7c-4500-bd15-3892011c8c8d", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "823f87a9-e15f-4cc6-8db9-dc4a5631aab8", - "content-length" : "3814", - "x-envoy-upstream-service-time" : "92", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "823f87a9-e15f-4cc6-8db9-dc4a5631aab8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "67c3422f-3ae6-438f-97a5-0063ba3f942b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4ea6b74a-a615-4b90-ba9d-bf254bdd361e", - "content-length" : "3874", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4ea6b74a-a615-4b90-ba9d-bf254bdd361e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cb5f9531-0908-4c0d-bfa0-c2e9a43d8e60", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "05ea867a-6320-4812-81f2-db001f63f7ee", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "05ea867a-6320-4812-81f2-db001f63f7ee", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e68a919b-b9d4-44b9-a09e-1396bef964cb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "831080b3-ec1e-4790-828d-dfeab867a82d", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "831080b3-ec1e-4790-828d-dfeab867a82d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "46f67eb2-956e-4ae5-b827-fdfa45f3cb97", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f59ce641-6688-45df-87a2-6a5d32603585", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f59ce641-6688-45df-87a2-6a5d32603585", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "502f3f78-99c7-46e9-89d9-d5d334f8bf77", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4df48cc0-f581-431a-87a1-47d1a0d6dab1", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4df48cc0-f581-431a-87a1-47d1a0d6dab1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6d5f107-591a-4d01-b3ce-c85117da3843", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "737907aa-90e5-4694-96af-a01be79bf9d6", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "737907aa-90e5-4694-96af-a01be79bf9d6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8403b969-ec01-4e30-8e54-17210adb2504", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b632a972-a32a-4003-b495-2f91d9f58d91", - "content-length" : "3938", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b632a972-a32a-4003-b495-2f91d9f58d91", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7fdce6a2-9aa1-47ea-9ead-0089f5b69f49", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b6e9f6fe-ec9a-4f6d-a769-7a042951d12e", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b6e9f6fe-ec9a-4f6d-a769-7a042951d12e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "36e23fe8-ffce-458b-8247-ac4134e2dcb7", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "70945bdb-ff2a-402f-b56b-f3a74fa5d756", - "content-length" : "2600", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "70945bdb-ff2a-402f-b56b-f3a74fa5d756", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json index c9636bd5380d6..d3a17ab7aab3c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json @@ -1,26 +1,3441 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "26354b83-38b5-4ff2-9f47-78f08cdc053f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bb4ba2a9-444b-4927-864d-b19732235ac5", - "content-length" : "22128", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bb4ba2a9-444b-4927-864d-b19732235ac5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"816fa8a0-e2dc-4842-b059-5f0d3a96e8ec\",\"createdTime\":\"2022-04-06T02:28:52.685Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ed1d8bfe-3427-4caf-ac86-c4c7265c31ee\",\"createdTime\":\"2022-04-06T02:28:47.189Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3333cd22-8f94-44d0-9fbc-5684a4d8267d\",\"createdTime\":\"2022-04-06T02:28:45.172Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"12fd1b60-8de0-4cb5-8736-1c346dfb576a\",\"createdTime\":\"2022-04-06T00:39:48.181Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1214b129-a9af-4129-a9d2-ffa2cbf7bb8e\",\"createdTime\":\"2022-04-06T00:39:47.194Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b728f2f3-0dec-46ef-a019-fc58b80620b6\",\"createdTime\":\"2022-04-06T00:39:46.614Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1fdd07ef-acae-459e-9a4a-12f91d5ba561\",\"createdTime\":\"2022-04-06T00:39:45.845Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b61e40c1-1d28-4607-bcd3-44478d9ab182\",\"createdTime\":\"2022-04-06T00:39:44.72Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a41b0f09-b539-4147-af82-2b0b1a9522a3\",\"createdTime\":\"2022-04-06T00:39:43.831Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3e7917b9-1f4f-4f1f-b0f6-c25ec2929c6a\",\"createdTime\":\"2022-04-06T00:24:03.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7434d71e-86db-4603-81ce-5d3184db1d99\",\"createdTime\":\"2022-04-06T00:24:02.717Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"15d67b1e-fa83-4a60-b483-3f0c3ed244f5\",\"createdTime\":\"2022-04-06T00:24:02.509Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5ae7c79e-11ab-4593-b3b9-661fa8ff4916\",\"createdTime\":\"2022-04-06T00:24:01.928Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"44ca9d4e-8fba-4aa0-a33c-dca1c36f33d4\",\"createdTime\":\"2022-04-06T00:24:00.693Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"57d2d483-931f-4613-8094-f0da13b2f05a\",\"createdTime\":\"2022-04-06T00:23:59.746Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"9209565d-2de6-4779-942b-2d00bd948b82\",\"createdTime\":\"2022-04-06T00:12:23.674Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e3c288a6-048a-4d3a-9cbb-ab0b884e93bf\",\"createdTime\":\"2022-04-06T00:12:23.175Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ef9734e0-1079-4080-909d-30078a98ff51\",\"createdTime\":\"2022-04-06T00:12:23.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4b8022e9-ffec-4352-b47f-57dd5fbaf4c5\",\"createdTime\":\"2022-04-06T00:10:26.219Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"c5efdb7b-4239-44c7-a67f-0c9dbd1da27c\",\"createdTime\":\"2022-04-06T00:10:26.24Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"831fe6e8-6e92-4153-9126-db8a3de1d218\",\"createdTime\":\"2022-04-06T00:10:26.127Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "42ef4c70-e138-4384-8a1e-eea109fe5003", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "feedbackType": "Anomaly" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4a1b2227-7cfd-4cfd-aea8-bda1d7e61a78", + "Content-Length": "72938", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "185", + "x-ms-region": "West US 2", + "X-Request-ID": "4a1b2227-7cfd-4cfd-aea8-bda1d7e61a78" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", + "createdTime": "2022-11-17T08:28:24.161Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", + "createdTime": "2022-11-17T08:28:14.714Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", + "createdTime": "2022-11-17T08:28:13.473Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", + "createdTime": "2022-11-16T08:38:56.029Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4a44489e-5861-4e8c-885d-759e76a4c1e5", + "createdTime": "2022-11-16T08:34:43.298Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "882b411d-b5f7-4db0-9342-088dfb0932be", + "createdTime": "2022-11-16T08:32:46.965Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5a5965e9-932d-4803-851e-b272c22fe9d2", + "createdTime": "2022-11-16T08:32:12.299Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3133c8c1-3a18-4c3b-b4f8-00a686bdc925", + "createdTime": "2022-11-16T08:31:22.138Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "32220722-6b63-41d8-843a-5714493a01da", + "createdTime": "2022-11-16T08:30:11.89Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "59a42b37-54ea-4dba-928d-17ae716438e5", + "createdTime": "2022-11-16T08:29:54.202Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dfb0ef5f-f5ed-4847-84d1-a7ee44af8272", + "createdTime": "2022-11-16T08:29:38.922Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0c4af4b5-93af-49a1-a978-c3b68e3fa831", + "createdTime": "2022-11-16T08:29:31.839Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "82bdbddd-16e7-416b-92b5-0524e46e0f97", + "createdTime": "2022-11-16T08:28:44.548Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dae84d60-eedb-4b0b-9c02-76de8e04027a", + "createdTime": "2022-11-16T08:27:42.576Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "11a923ff-5990-4d9f-9149-feca48064861", + "createdTime": "2022-11-16T08:26:24.323Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0762b977-f38d-49c5-9f63-95c1fbe05376", + "createdTime": "2022-11-16T08:25:44.139Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f7ab8fe8-bfc7-45af-b9c6-4394d344bb77", + "createdTime": "2022-11-16T08:25:41.76Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ad442466-687b-4514-9a7d-5230ecd974a1", + "createdTime": "2022-11-15T08:36:24.682Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0560c90f-3073-4706-8977-ddff18eb9128", + "createdTime": "2022-11-15T08:35:26.831Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4e18805d-7d72-4a32-a08f-32a796df289e", + "createdTime": "2022-11-15T08:34:47.289Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "846167cc-2610-4276-acc6-42110869a239", + "createdTime": "2022-11-15T08:34:00.941Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1a01e34f-bedc-4b6c-af27-0c0d935c7c55", + "createdTime": "2022-11-15T08:32:42.634Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f4598c87-5fd6-4e7b-b0a4-9a46c4b4058e", + "createdTime": "2022-11-15T08:32:42.455Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "9ed4b24c-fea1-4b04-9948-42b8ba814f6e", + "createdTime": "2022-11-15T08:32:24.563Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "92c654bf-05bd-4e3b-befe-3616c449547e", + "createdTime": "2022-11-15T08:32:13.039Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "904baea6-d878-4acf-96d2-0cbb3415db03", + "createdTime": "2022-11-15T08:31:55.351Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b202a8d2-a9d7-49f2-8f68-521d6e0d6c02", + "createdTime": "2022-11-15T08:30:57.564Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7358ef56-1978-4435-82b1-67c2c0a69635", + "createdTime": "2022-11-15T08:29:51.926Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "10a53b22-2a08-4e1d-9353-5757a79a94b8", + "createdTime": "2022-11-15T08:28:20.855Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c4773829-020d-4501-9163-8f6151a84103", + "createdTime": "2022-11-15T08:28:13.703Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1bb2b9a7-a7a5-4a2f-a7cb-b71c4cfa0e70", + "createdTime": "2022-11-15T08:28:00.452Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ef76ef6b-f727-4102-9a11-6745cc6bed87", + "createdTime": "2022-11-14T08:38:24.574Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f3da4ff3-c819-4d51-b03a-f03f5ebac392", + "createdTime": "2022-11-14T08:34:43.096Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "eabdbf12-c484-48f3-a3ff-71057164e542", + "createdTime": "2022-11-14T08:34:10.318Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2eeff6bb-87bf-458d-8863-78f07bc91191", + "createdTime": "2022-11-14T08:33:40.153Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "775e6bb2-b66c-4804-ad50-57f30c0bd3dc", + "createdTime": "2022-11-14T08:33:30.599Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4bc9b96c-9ba6-49f0-8785-f8546be0324c", + "createdTime": "2022-11-14T08:32:32.224Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7a0ccc0b-7dc1-4cb1-99f6-4b871051e89f", + "createdTime": "2022-11-14T08:31:43.164Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "cebb1de2-b30f-4d77-adb5-ea8727f330c4", + "createdTime": "2022-11-14T08:31:37.778Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "384b4af0-75de-4dd6-81ed-1703aa6a0769", + "createdTime": "2022-11-14T08:31:10.589Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e0455c18-c856-4fd5-b84f-8c4e8ee21624", + "createdTime": "2022-11-14T08:30:25.698Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3c8bd888-7339-475c-95a9-10bdf40be8f0", + "createdTime": "2022-11-14T08:29:35.559Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ead61b26-f423-43d0-8761-fc2ce5812fbb", + "createdTime": "2022-11-14T08:28:06.776Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "982a8bdf-7070-4d61-ae9e-b73973742fb4", + "createdTime": "2022-11-14T08:27:18.149Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5959f7c7-cea7-4075-bfa8-53331d44a132", + "createdTime": "2022-11-14T08:27:17.562Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e1fdeec0-825c-4fd2-a07a-c8b69f326b6b", + "createdTime": "2022-11-13T15:04:23.353Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b0308182-8205-4244-ae96-5e7e0ee85ebb", + "createdTime": "2022-11-13T15:03:30.769Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0dc51c3f-c835-474a-b11a-d79847a52c15", + "createdTime": "2022-11-13T15:03:26.471Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c628638d-bca6-44b2-9c77-721d79f7a279", + "createdTime": "2022-11-13T15:02:53.322Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "bd4efb2e-ae89-4535-a6af-74f3bd852e5f", + "createdTime": "2022-11-13T15:01:33.615Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f7be759a-30ec-4395-8931-8b625b6a7842", + "createdTime": "2022-11-13T15:01:32.866Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c72c8a81-29c8-4c77-8384-5b3f772e5d38", + "createdTime": "2022-11-13T15:01:31.727Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "23df0af6-1279-4f63-85c5-0aad4843c751", + "createdTime": "2022-11-13T14:59:52.654Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0bd0a1c3-2b31-4faa-b15c-97c05e3c2339", + "createdTime": "2022-11-13T14:59:35.538Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4e906a9f-a2c8-4e51-81ae-db24e69c873c", + "createdTime": "2022-11-13T14:59:34.465Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "509ee114-c15e-40b4-8920-26e33ff343b2", + "createdTime": "2022-11-13T14:58:41.129Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dff19228-e9cd-452d-a1ca-82660a9966ec", + "createdTime": "2022-11-13T14:57:04.847Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e9a3f92c-57e7-4a63-af9b-0203da72167b", + "createdTime": "2022-11-13T14:57:02.909Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0aee1a34-bdd7-4248-b285-496025951bcc", + "createdTime": "2022-11-13T14:56:47.913Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "be5e8764-94ab-44c9-aafc-8d8d7bf48ae6", + "createdTime": "2022-11-11T08:35:17.416Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "80a9f41e-ead7-4233-be44-7dcf402e66e6", + "createdTime": "2022-11-11T08:35:04.33Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0626e3c2-9f5e-4d93-8961-9f6b1e0021ce", + "createdTime": "2022-11-11T08:32:35.985Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b334d431-1c17-41a6-bd1e-2abdfba4f84a", + "createdTime": "2022-11-11T08:32:35.795Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "75a80614-0d57-4153-a88c-5b23dd4ee9c6", + "createdTime": "2022-11-11T08:32:12.825Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "519c7104-33ce-40b7-8cf7-cefd8588af23", + "createdTime": "2022-11-11T08:31:46.624Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8a566453-9a66-4e43-a6b6-347aaa6bf435", + "createdTime": "2022-11-11T08:31:46.199Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "be50eda0-272f-481d-afa0-286de304b0c0", + "createdTime": "2022-11-11T08:31:41.849Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "618b97a2-2dbf-4535-a276-cc9f1195a271", + "createdTime": "2022-11-11T08:31:05.615Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "cc0bb884-3ce4-4f8b-9402-1ef556affd1b", + "createdTime": "2022-11-11T08:28:21.773Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "813d3675-eb5d-4c9e-914e-507fab1363dc", + "createdTime": "2022-11-11T08:27:59.702Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "37d2d8a0-02e2-4906-af38-c372e158f827", + "createdTime": "2022-11-11T08:27:47.952Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d081dcbe-0ac1-4a3f-812a-fea3176bcf23", + "createdTime": "2022-11-11T08:27:08.44Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "56347e86-8be5-4107-a227-85e3a1bbbb38", + "createdTime": "2022-11-11T08:27:04.564Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "45947b7c-6d17-4303-a5ef-9d838ac649ea", + "createdTime": "2022-11-10T08:36:50.275Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c4582fca-dd79-4b26-845e-c064354ec75c", + "createdTime": "2022-11-10T08:34:25.911Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a5fdfcf7-f2f5-4120-9616-5325311694e1", + "createdTime": "2022-11-10T08:32:28.188Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6550eaa0-e184-41b8-bca4-c904f8b2e1b6", + "createdTime": "2022-11-10T08:31:06.324Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "161bb752-67c9-42f3-962c-00a21cc89f81", + "createdTime": "2022-11-10T08:30:59.199Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "9ee38c49-3c6f-4a36-abf8-b5392e4cdc54", + "createdTime": "2022-11-10T08:30:28.286Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e5a140c0-0004-42d8-9fa4-b1601900a44d", + "createdTime": "2022-11-10T08:28:52.425Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "20134e53-b7a9-4323-971c-9cdacc171958", + "createdTime": "2022-11-10T08:28:43.087Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2a0727f3-0211-4b04-b571-3b4eb569c11b", + "createdTime": "2022-11-10T08:28:35.793Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c4f8d368-a50c-499d-ab76-20452f778565", + "createdTime": "2022-11-10T08:27:34.898Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7178346d-f8e3-40d2-9ed2-d92983e2312c", + "createdTime": "2022-11-10T08:26:42.989Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "94fab047-2792-4ee0-a0f0-0768568197d6", + "createdTime": "2022-11-10T08:25:10.415Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "76f5ac85-e177-40ea-992a-d05f2c61fa91", + "createdTime": "2022-11-10T08:25:09.925Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "619bf00a-df7d-4827-bead-26734f804e61", + "createdTime": "2022-11-10T08:25:00.391Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ba1fb487-be4e-4355-bdc1-875e78059784", + "createdTime": "2022-11-09T08:33:28.291Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f4f300dc-a4a8-4783-961b-d3ad3ce8ea28", + "createdTime": "2022-11-09T08:32:13.605Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3d682ee8-3506-4f81-89b4-ecd160c10ac2", + "createdTime": "2022-11-09T08:31:41.8Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "09639eb6-e45e-4d06-886c-5666d98338d5", + "createdTime": "2022-11-09T08:31:12.637Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "13fe35e2-17ed-4689-8d2c-7ef0838e2788", + "createdTime": "2022-11-09T08:30:43.485Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6024b053-b892-4001-8ff7-6286fea42b10", + "createdTime": "2022-11-09T08:30:12.34Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "09f58f16-b6c9-4cdb-a2a5-24009ab8a0d1", + "createdTime": "2022-11-09T08:30:05.189Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0de251d8-f4b3-4ea0-87ef-69214b2e7fc3", + "createdTime": "2022-11-09T08:29:21.969Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3faacc8a-ced1-4f8a-a998-90e680febc6f", + "createdTime": "2022-11-09T08:28:24.089Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6b824d5d-6650-45a2-a4aa-3ad478080b98", + "createdTime": "2022-11-09T08:27:33.361Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "89b20db8-0180-4642-92bc-43514d42c0a4", + "createdTime": "2022-11-09T08:27:31.157Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "56e171c8-f1d3-4be7-9789-24929d1b6fa5", + "createdTime": "2022-11-09T08:26:13.882Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3c750d6f-b0a7-49d6-a4b7-2fe1f51c2b38", + "createdTime": "2022-11-09T08:25:31.923Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e26e3020-6e01-4bfa-9d12-db12e076f6f8", + "createdTime": "2022-11-09T08:24:58.498Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1a8b0df6-7542-4a2d-b2ea-baad5640e4ce", + "createdTime": "2022-11-08T08:37:45.85Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a5a047d5-1834-4abf-9d20-db39eb042dad", + "createdTime": "2022-11-08T08:33:48.056Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "99a99c46-e16e-4aaa-ac2e-91e94793e299", + "createdTime": "2022-11-08T08:33:32.725Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5c04a01b-3ef9-4325-a343-260d1d8cda87", + "createdTime": "2022-11-08T08:33:24.777Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6f93b66d-dbdd-44d7-be62-907dd6c3187d", + "createdTime": "2022-11-08T08:30:46.141Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d16c00cc-d3a1-4312-bd8a-3b1439a27529", + "createdTime": "2022-11-08T08:30:45.801Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "99abc591-576b-4b26-88bd-84580a6c7be5", + "createdTime": "2022-11-08T08:30:14.649Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d4b10a8d-0347-414d-b17c-20b057db492e", + "createdTime": "2022-11-08T08:29:46.241Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a16e8a0e-90ac-4969-bc77-e7e2f5cb7f2a", + "createdTime": "2022-11-08T08:29:32.589Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6283fc79-970a-4223-aef1-9b4e4a4eceb7", + "createdTime": "2022-11-08T08:29:29.035Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "78bcf0ba-6679-4113-8059-e4fda9aea2b5", + "createdTime": "2022-11-08T08:26:53.927Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1f996b09-e31d-4350-b785-288958b83494", + "createdTime": "2022-11-08T08:26:01.169Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "93fcb056-5999-4510-bd43-4ab9c54cb961", + "createdTime": "2022-11-08T08:25:48.02Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dd9cdf03-0ee4-4c2a-ae9b-b11f0b37a1e6", + "createdTime": "2022-11-08T08:25:46.676Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "261e4b9e-3137-4f45-9d74-2af9a1fbf5b7", + "createdTime": "2022-11-07T08:33:39.064Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "9b6c0878-8e3f-46f7-8d3d-92fb477796b4", + "createdTime": "2022-11-07T08:33:20.55Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0f45107e-d68e-48ce-a561-4751bbca2385", + "createdTime": "2022-11-07T08:33:06.473Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e484150d-9d6f-49c1-a81a-08e745f18330", + "createdTime": "2022-11-07T08:31:14.457Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "73330f3f-7ced-4407-ab4e-ca83dba821a0", + "createdTime": "2022-11-07T08:30:07.557Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c6ec92fe-b35a-42aa-a812-216e2c32ef80", + "createdTime": "2022-11-07T08:29:52.629Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "de59642e-01d4-43b7-a0af-efe67af4fec7", + "createdTime": "2022-11-07T08:29:45.967Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "06db48e1-49a2-4fde-9618-15baf002b70d", + "createdTime": "2022-11-07T08:29:35.658Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0d03e98b-299c-4290-8f89-a504b64bdd10", + "createdTime": "2022-11-07T08:28:49.121Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d0c8d076-d1e7-4515-af39-844d0319ba66", + "createdTime": "2022-11-07T08:28:37.291Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "17981d33-8ac8-4d7a-9cca-26bf63d6ca54", + "createdTime": "2022-11-07T08:27:43.689Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "24bff904-03fe-4050-97d5-000ac19445e2", + "createdTime": "2022-11-07T08:25:37.361Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7719837b-d39c-4956-8fa0-854c8c833063", + "createdTime": "2022-11-07T08:24:40.19Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "17db4e3a-9e28-4477-bbe3-3ee80d1fb309", + "createdTime": "2022-11-07T08:24:38.642Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d68ff979-cc2a-4c01-865b-a2bda8fac29d", + "createdTime": "2022-11-06T15:02:00.768Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4bd1d053-a1bf-4201-a49e-64f9c194ba4b", + "createdTime": "2022-11-06T15:01:33.346Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "57e7ed93-b3d1-4cb1-b14d-dc153a0d2231", + "createdTime": "2022-11-06T15:01:29.345Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3840cb8a-dace-4d20-a766-aad0480344ba", + "createdTime": "2022-11-06T15:00:27.784Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f825c6ce-9bf8-44ec-9307-5efc281ae5e2", + "createdTime": "2022-11-06T14:59:24.15Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "011e1486-ee09-4dae-a9fd-c2175a5f9256", + "createdTime": "2022-11-06T14:58:59.727Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a2189c76-154c-49e2-b8be-af65da75d8c5", + "createdTime": "2022-11-06T14:58:52.342Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1526f7d4-4d5b-4b77-9508-3244b1e59a63", + "createdTime": "2022-11-06T14:58:42.028Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "75272256-ef0c-4f0b-96e8-47f3a8d8971b", + "createdTime": "2022-11-06T14:58:39.581Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e68b9867-b64c-4770-a09f-8da4ea58387f", + "createdTime": "2022-11-06T14:57:58.699Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "96f59ad4-047c-48d8-9d71-b6049169b491", + "createdTime": "2022-11-06T14:56:05.037Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "671fb461-305c-45b3-b9de-450e698e88e0", + "createdTime": "2022-11-06T14:54:56.717Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "abf2ce83-9e1b-4811-a34a-69269c7dd91e", + "createdTime": "2022-11-06T14:54:11.197Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "27d47e05-d92c-4605-8045-8c2a50defff7", + "createdTime": "2022-11-06T14:54:10.473Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b12478b5-81ae-4800-8506-1a9da6f3a5f1", + "createdTime": "2022-11-04T07:33:03.802Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8b4341a5-2d40-4739-ab4f-b071a5651b6e", + "createdTime": "2022-11-04T07:32:38.095Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4532f407-2e59-462e-87eb-9ab5b8e12121", + "createdTime": "2022-11-04T07:32:04.161Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "09c4356f-49a4-4a23-b7c5-51445bd43436", + "createdTime": "2022-11-04T07:30:27.913Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3588fe59-6377-44ae-8bc8-5441b833230d", + "createdTime": "2022-11-04T07:30:12.966Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b2909e4e-3698-44dd-9f22-a6c10f31f4f6", + "createdTime": "2022-11-04T07:29:38.692Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "31efab14-cc68-4ee1-b892-953f5ed97b52", + "createdTime": "2022-11-04T07:29:14.458Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d0f1fcf8-b6b0-405a-a4a1-74ba22f50421", + "createdTime": "2022-11-04T07:29:13.175Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "94ba1cc2-e9e4-4f05-be2a-1b9611b70f4d", + "createdTime": "2022-11-04T07:29:07.563Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "af76aa3e-5d9a-4185-9113-582a5016a949", + "createdTime": "2022-11-04T07:28:26.634Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "32645c5c-b415-424e-b64a-5331b2dc5cf5", + "createdTime": "2022-11-04T07:26:07.12Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3acee414-789b-4f67-be42-17d716e50569", + "createdTime": "2022-11-04T07:26:00.698Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5d334162-1639-4604-8a72-33c361a9dd85", + "createdTime": "2022-11-04T07:24:42.123Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a367eeca-9125-4145-81fc-aa77dbd1d3f9", + "createdTime": "2022-11-04T07:24:41.735Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b9b78e2c-1096-44e7-9cbd-a66bd2b650ad", + "createdTime": "2022-11-03T07:44:27.901Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "eedc6a53-fdda-4026-929f-b31d5b98474e", + "createdTime": "2022-11-03T07:43:55.37Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "72f83379-8e39-47f1-b87d-b490fc412f85", + "createdTime": "2022-11-03T07:43:39.719Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6d1e4c42-b831-45c7-8f7b-15e0da76cb25", + "createdTime": "2022-11-03T07:43:00.564Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1d848441-c624-4e1f-8897-5513d7127026", + "createdTime": "2022-11-03T07:42:50.123Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "24ae495d-a088-41dc-9f74-4cf15dd9da14", + "createdTime": "2022-11-03T07:42:32.421Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a70c0c07-339b-437a-a572-3f1c566595e6", + "createdTime": "2022-11-03T07:42:31.782Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "93dfecbc-f1f5-4688-80a6-7ddf597c904c", + "createdTime": "2022-11-03T07:40:32.334Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5bbb44a5-f37e-4886-ab86-3918e17ee7db", + "createdTime": "2022-11-03T07:39:58.095Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d6615a56-e8af-4cbe-a7cb-4b5c535633cf", + "createdTime": "2022-11-03T07:39:21.645Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "bd3af90d-5ada-4b17-9cb2-e9728134bb35", + "createdTime": "2022-11-03T07:38:33.599Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7f006d3c-7319-4ac9-b14e-eecddae590b3", + "createdTime": "2022-11-03T07:38:00.824Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "84ec5052-74dc-49f7-b40e-13fbf607b935", + "createdTime": "2022-11-03T07:37:51.022Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "15872734-bdd6-4810-b54c-97c37b7b3d88", + "createdTime": "2022-11-03T07:37:45.106Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c6bfb2ac-6b20-4553-a3fa-8450f2fb8b47", + "createdTime": "2022-11-02T16:21:55.896Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d65a4245-ce0d-4ef3-93bc-4ff4bae329ad", + "createdTime": "2022-11-02T16:18:13.308Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "88588209-9e79-4587-b1e1-ec2549a4635a", + "createdTime": "2022-11-02T07:33:23.917Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7788ea7c-a460-4bb9-9eb0-b557a42521a8", + "createdTime": "2022-11-02T07:33:15.896Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "351ccd09-8368-4ef3-b511-935445774ed7", + "createdTime": "2022-11-02T07:32:42.576Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "faf2dbb6-f558-4c58-902d-9e76fc52d81e", + "createdTime": "2022-11-02T07:32:07.399Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "cb8ef237-35ba-4f18-ba77-3170ce80f895", + "createdTime": "2022-11-02T07:31:21.197Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ba120c66-f906-4dc1-85c0-b06e134b0d98", + "createdTime": "2022-11-02T07:31:13.212Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6382eb1f-fa99-48a8-87e0-62a8313863c9", + "createdTime": "2022-11-02T07:30:57.823Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a76717a8-98bb-4afe-a037-95d7bf47e8b4", + "createdTime": "2022-11-02T07:29:35.791Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d51827b0-7cc7-4f1e-b742-e02934e7e267", + "createdTime": "2022-11-02T07:29:33.538Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "11877ed8-7daa-4c9f-8669-e005ca27446f", + "createdTime": "2022-11-02T07:28:34.564Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1596530c-ec99-41ca-a2be-4c67dd699f53", + "createdTime": "2022-11-02T07:27:23.484Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2733971f-0f22-472f-91ea-0943d5d3eb9b", + "createdTime": "2022-11-02T07:26:40.746Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "30c583c7-c169-4e00-a1fb-c338ac737f67", + "createdTime": "2022-11-02T07:26:08.292Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b13e55e3-7add-4f60-8ecd-db5fdd2b6074", + "createdTime": "2022-11-02T07:26:05.028Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2043010d-cdd1-40af-8de1-dfb785899b21", + "createdTime": "2022-11-01T07:33:16.295Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f758d867-8705-4abe-a86d-4b444fd6ea11", + "createdTime": "2022-11-01T07:32:52.907Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "19676731-5741-464f-83da-e8049cf2c211", + "createdTime": "2022-11-01T07:32:40.841Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5aca61bc-15b8-4218-bca8-1bc54abbcea7", + "createdTime": "2022-11-01T07:31:00.317Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f4b3d592-b3cf-4b93-8eb8-028f63cdd5ff", + "createdTime": "2022-11-01T07:30:01.254Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "95304edc-93e7-489d-8329-5fce27b1cec2", + "createdTime": "2022-11-01T07:29:55.136Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8c58f933-d279-47ab-a17b-8f726d6c553e", + "createdTime": "2022-11-01T07:29:29.314Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "25f0ebb7-6925-4acf-bdd3-532a622b4bb8", + "createdTime": "2022-11-01T07:29:24.529Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8410510b-21dc-4df9-b1f7-68a756983b62", + "createdTime": "2022-11-01T07:29:03.207Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a9e686da-b273-4292-ba7b-218b6cf7f547", + "createdTime": "2022-11-01T07:29:00.64Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4f176043-11b0-4a01-aad1-e4c0879e80e8", + "createdTime": "2022-11-01T07:27:08.156Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1d91ea0d-60dc-4735-aa40-c0621519c71c", + "createdTime": "2022-11-01T07:25:28.059Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "06844791-bd87-4aad-982c-15c77bc5ce7b", + "createdTime": "2022-11-01T07:24:57.529Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=200\u0026$skip=200" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterStartTime[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterStartTime[1].json deleted file mode 100644 index 6d0dadc588b07..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterStartTime[1].json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7643935-1812-4ac4-bd6b-6a8e5d62b6ea", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "69da046c-faa5-457d-b1f1-e3ddca409aad", - "content-length" : "0", - "x-envoy-upstream-service-time" : "503", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "69da046c-faa5-457d-b1f1-e3ddca409aad", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/3bded5b3-c0e3-4767-bf92-453536f02408" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/3bded5b3-c0e3-4767-bf92-453536f02408", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "85e45b66-625b-4ed4-b2a4-e497ea490ff3" - }, - "Response" : { - "x-request-id" : "0392578c-e78f-42fd-835b-bc66c1be3cd6", - "content-length" : "374", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0392578c-e78f-42fd-835b-bc66c1be3cd6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"3bded5b3-c0e3-4767-bf92-453536f02408\",\"createdTime\":\"2022-04-08T23:50:34.257Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ab3809e-0d27-42da-a07a-93a769a0b8f1", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "75a9fdb8-bae3-41a9-9d10-3b5e336929b8", - "content-length" : "1146", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "75a9fdb8-bae3-41a9-9d10-3b5e336929b8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"03a899a6-6b10-4194-9cd7-84c5ce467576\",\"createdTime\":\"2022-04-08T23:50:34.559Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2c1b0178-b281-4cf9-a20c-9f1c64528a3d\",\"createdTime\":\"2022-04-08T23:50:34.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3bded5b3-c0e3-4767-bf92-453536f02408\",\"createdTime\":\"2022-04-08T23:50:34.257Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedback[1].json deleted file mode 100644 index f432dba7f6f89..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedback[1].json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce0c9ce7-75de-4833-9e25-b894df43daef", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b10283d6-fc0c-4071-b95a-2b9b2353fc1f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "384", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b10283d6-fc0c-4071-b95a-2b9b2353fc1f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/2c1b0178-b281-4cf9-a20c-9f1c64528a3d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/2c1b0178-b281-4cf9-a20c-9f1c64528a3d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "34b32d35-731a-4cc3-96d1-9744ee1d5ade" - }, - "Response" : { - "x-request-id" : "dfc66e91-5f52-42e6-8b7a-8cc0e7891c0a", - "content-length" : "379", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "dfc66e91-5f52-42e6-8b7a-8cc0e7891c0a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"2c1b0178-b281-4cf9-a20c-9f1c64528a3d\",\"createdTime\":\"2022-04-08T23:50:34.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21420b72-e22a-4ad7-bb2f-a376939ac541", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d453091b-8d39-46d8-8b7f-e0f332d6ef61", - "content-length" : "0", - "x-envoy-upstream-service-time" : "369", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d453091b-8d39-46d8-8b7f-e0f332d6ef61", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0a216f35-1702-460f-9485-b387fee93145" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0a216f35-1702-460f-9485-b387fee93145", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ce90385-dee6-4086-9343-fd88bf1048a9" - }, - "Response" : { - "x-request-id" : "5316e4ad-a8cd-42eb-8dab-20a7360b7f7e", - "content-length" : "378", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5316e4ad-a8cd-42eb-8dab-20a7360b7f7e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"0a216f35-1702-460f-9485-b387fee93145\",\"createdTime\":\"2022-04-08T23:50:35.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a0c7e116-3651-4d99-8878-28367511c795", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "8aa89744-37fb-4546-a705-7ed1a8d4416b", - "content-length" : "40170", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8aa89744-37fb-4546-a705-7ed1a8d4416b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"3bded5b3-c0e3-4767-bf92-453536f02408\",\"createdTime\":\"2022-04-08T23:50:34.257Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0a216f35-1702-460f-9485-b387fee93145\",\"createdTime\":\"2022-04-08T23:50:35.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"03a899a6-6b10-4194-9cd7-84c5ce467576\",\"createdTime\":\"2022-04-08T23:50:34.559Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"0f28d794-c1fe-45a2-b064-e7b2c084fd3d\",\"createdTime\":\"2022-04-08T23:50:34.043Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"2c1b0178-b281-4cf9-a20c-9f1c64528a3d\",\"createdTime\":\"2022-04-08T23:50:34.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9\",\"createdTime\":\"2022-04-08T23:50:28.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c3a01d5f-ba7c-40fe-8182-434f73c42af6\",\"createdTime\":\"2022-04-08T23:50:28.716Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createAnomalyFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createAnomalyFeedback[1].json deleted file mode 100644 index 5b00c7d941799..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createAnomalyFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aae08176-bad5-4e4f-b37e-5c05355f4a59", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "59ce7012-2955-4255-b7b7-b7092f3d1b55", - "content-length" : "0", - "x-envoy-upstream-service-time" : "516", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "59ce7012-2955-4255-b7b7-b7092f3d1b55", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/54865767-7b5c-48a7-8d0f-d0d390a4c6f4" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/54865767-7b5c-48a7-8d0f-d0d390a4c6f4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "31b52eec-cfab-49d6-9dc6-a9b1cd9d85fd" - }, - "Response" : { - "x-request-id" : "85a35639-7b2d-430a-9369-05075e4f01f8", - "content-length" : "373", - "x-envoy-upstream-service-time" : "134", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "85a35639-7b2d-430a-9369-05075e4f01f8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createChangePointMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createChangePointMetricFeedback[1].json deleted file mode 100644 index 20c3664bc1f95..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createChangePointMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "efd5f459-a60a-4d17-b5e1-0f89f7fb8d66", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d877b384-d2ed-46e6-acbf-5574f4c4e766", - "content-length" : "0", - "x-envoy-upstream-service-time" : "511", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d877b384-d2ed-46e6-acbf-5574f4c4e766", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9610d675-ccef-4bd4-a468-16fbad8b5875" - }, - "Response" : { - "x-request-id" : "bc8fc326-f96a-4942-b65b-571efede5754", - "content-length" : "382", - "x-envoy-upstream-service-time" : "103", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc8fc326-f96a-4942-b65b-571efede5754", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9\",\"createdTime\":\"2022-04-08T23:50:28.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createCommentMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createCommentMetricFeedback[1].json deleted file mode 100644 index 98acbdf759c7e..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createCommentMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "285b4ed9-ef13-4431-ac8f-6fc7b42bc5cb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "08f15388-88bc-4bc2-92db-cf408f35c9f7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "430", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08f15388-88bc-4bc2-92db-cf408f35c9f7", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "120b8bb4-9e82-4a8c-b6e2-8dd77b641323" - }, - "Response" : { - "x-request-id" : "2bc9b6f9-9930-4ca6-bb38-52a053086f49", - "content-length" : "378", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2bc9b6f9-9930-4ca6-bb38-52a053086f49", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createPeriodMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createPeriodMetricFeedback[1].json deleted file mode 100644 index 51d29a76c0f9d..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createPeriodMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f158ce8-3fc5-430c-b2b3-9916dc888b57", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bc4977ba-1b2c-4334-b302-2268079d988f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "581", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc4977ba-1b2c-4334-b302-2268079d988f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/90f684bb-39f8-4479-9c54-7e009b998a0c" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/90f684bb-39f8-4479-9c54-7e009b998a0c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ac10bb3-5c9b-4d4e-b293-faa460a030ad" - }, - "Response" : { - "x-request-id" : "012c0db4-dbff-4990-83b4-8293f7748884", - "content-length" : "319", - "x-envoy-upstream-service-time" : "106", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "012c0db4-dbff-4990-83b4-8293f7748884", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackValidId[1].json deleted file mode 100644 index f318cdba11297..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackValidId[1].json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f89a5932-7c50-430e-bb6f-b5a279fc9325", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1e839f1e-5025-4370-8790-31b8c1be7bb7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "436", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1e839f1e-5025-4370-8790-31b8c1be7bb7", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/d19c8c84-14e3-4601-9724-2da6213a6004" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/d19c8c84-14e3-4601-9724-2da6213a6004", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "548af1fd-3b05-4fda-963f-a39b501ab2ed" - }, - "Response" : { - "x-request-id" : "08163e0f-0255-4a1f-a22e-9c572a477605", - "content-length" : "379", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08163e0f-0255-4a1f-a22e-9c572a477605", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/d19c8c84-14e3-4601-9724-2da6213a6004", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8a3abd01-f37e-4220-92f7-243fceb7f05b" - }, - "Response" : { - "x-request-id" : "2d7ad5b0-1014-4e2a-b556-2f06a137e0ca", - "content-length" : "379", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2d7ad5b0-1014-4e2a-b556-2f06a137e0ca", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByDimensionFilter[1].json deleted file mode 100644 index 6f5af016fddd5..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByDimensionFilter[1].json +++ /dev/null @@ -1,266 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "43fe0f2f-a66d-4581-ae1c-ab85f7af6720", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c4b4fa1b-f833-4eda-aaf4-b9ae33eac10f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "600", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c4b4fa1b-f833-4eda-aaf4-b9ae33eac10f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/69ed30e4-1842-4cee-9427-e2f19fa92775" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/69ed30e4-1842-4cee-9427-e2f19fa92775", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2606ca02-fb66-4d7d-916b-fe61456f4990" - }, - "Response" : { - "x-request-id" : "fb3be872-339b-46ea-8ed1-3d8f877a5a22", - "content-length" : "373", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fb3be872-339b-46ea-8ed1-3d8f877a5a22", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "00983c85-6bff-4af0-9a67-321f8ca587d2", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bd2a483c-bda3-4b79-9555-ca309307337e", - "content-length" : "3808", - "x-envoy-upstream-service-time" : "122", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bd2a483c-bda3-4b79-9555-ca309307337e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a8d88fe-b818-4e17-9820-c712204a1555", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "a8edf079-387d-4ed2-b4e0-cd9a7790a899", - "content-length" : "3879", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a8edf079-387d-4ed2-b4e0-cd9a7790a899", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c240943f-be5a-4bdd-9ba1-6961431271c2", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "e5f0c762-cbfd-47cb-8586-7eab834119ce", - "content-length" : "3870", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e5f0c762-cbfd-47cb-8586-7eab834119ce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a157b782-ca16-47be-9631-9759b6fdb859", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c43f86de-036d-46a3-af93-7da4aba54c9b", - "content-length" : "3880", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c43f86de-036d-46a3-af93-7da4aba54c9b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3fa9ac3e-397e-4be3-ace3-5de664494ffa", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "843fb0cc-58cd-444d-987b-7b521690eeb4", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "121", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "843fb0cc-58cd-444d-987b-7b521690eeb4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "edfeced5-0fe2-4916-9489-faa6f1df472a", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c4263f11-b9ec-4b45-b620-825be108aaeb", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c4263f11-b9ec-4b45-b620-825be108aaeb", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "22851dac-2bcc-4005-984e-2ccd1eb71479", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "22f309c6-0e5d-4b83-b9d1-1f539f604263", - "content-length" : "3873", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "22f309c6-0e5d-4b83-b9d1-1f539f604263", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "878213c2-2197-4fe3-b39b-0eda3a463cfa", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "08328630-7b4d-448b-9dea-7940adf8ada6", - "content-length" : "3938", - "x-envoy-upstream-service-time" : "133", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08328630-7b4d-448b-9dea-7940adf8ada6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "20fae097-7b53-4158-a5a2-c1039480976a", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "05feee93-043f-4038-aeb2-81cc9a43e886", - "content-length" : "3881", - "x-envoy-upstream-service-time" : "200", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "05feee93-043f-4038-aeb2-81cc9a43e886", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b0ac5939-8e0b-49d9-a09e-7f632591de4e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d375f87c-5de8-4296-b86c-b17c28c5d1e6", - "content-length" : "1461", - "x-envoy-upstream-service-time" : "112", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d375f87c-5de8-4296-b86c-b17c28c5d1e6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByFeedbackType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByFeedbackType[1].json deleted file mode 100644 index 67265e10dc8ac..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByFeedbackType[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e08cd133-0f18-474b-9369-331683116e0c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b5179d38-5bcf-4702-b022-387f7df66680", - "content-length" : "21379", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b5179d38-5bcf-4702-b022-387f7df66680", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"816fa8a0-e2dc-4842-b059-5f0d3a96e8ec\",\"createdTime\":\"2022-04-06T02:28:52.685Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ed1d8bfe-3427-4caf-ac86-c4c7265c31ee\",\"createdTime\":\"2022-04-06T02:28:47.189Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3333cd22-8f94-44d0-9fbc-5684a4d8267d\",\"createdTime\":\"2022-04-06T02:28:45.172Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"12fd1b60-8de0-4cb5-8736-1c346dfb576a\",\"createdTime\":\"2022-04-06T00:39:48.181Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1214b129-a9af-4129-a9d2-ffa2cbf7bb8e\",\"createdTime\":\"2022-04-06T00:39:47.194Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b728f2f3-0dec-46ef-a019-fc58b80620b6\",\"createdTime\":\"2022-04-06T00:39:46.614Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1fdd07ef-acae-459e-9a4a-12f91d5ba561\",\"createdTime\":\"2022-04-06T00:39:45.845Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b61e40c1-1d28-4607-bcd3-44478d9ab182\",\"createdTime\":\"2022-04-06T00:39:44.72Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a41b0f09-b539-4147-af82-2b0b1a9522a3\",\"createdTime\":\"2022-04-06T00:39:43.831Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3e7917b9-1f4f-4f1f-b0f6-c25ec2929c6a\",\"createdTime\":\"2022-04-06T00:24:03.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7434d71e-86db-4603-81ce-5d3184db1d99\",\"createdTime\":\"2022-04-06T00:24:02.717Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"15d67b1e-fa83-4a60-b483-3f0c3ed244f5\",\"createdTime\":\"2022-04-06T00:24:02.509Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5ae7c79e-11ab-4593-b3b9-661fa8ff4916\",\"createdTime\":\"2022-04-06T00:24:01.928Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"44ca9d4e-8fba-4aa0-a33c-dca1c36f33d4\",\"createdTime\":\"2022-04-06T00:24:00.693Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"57d2d483-931f-4613-8094-f0da13b2f05a\",\"createdTime\":\"2022-04-06T00:23:59.746Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"9209565d-2de6-4779-942b-2d00bd948b82\",\"createdTime\":\"2022-04-06T00:12:23.674Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e3c288a6-048a-4d3a-9cbb-ab0b884e93bf\",\"createdTime\":\"2022-04-06T00:12:23.175Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ef9734e0-1079-4080-909d-30078a98ff51\",\"createdTime\":\"2022-04-06T00:12:23.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4b8022e9-ffec-4352-b47f-57dd5fbaf4c5\",\"createdTime\":\"2022-04-06T00:10:26.219Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"c5efdb7b-4239-44c7-a67f-0c9dbd1da27c\",\"createdTime\":\"2022-04-06T00:10:26.24Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"831fe6e8-6e92-4153-9126-db8a3de1d218\",\"createdTime\":\"2022-04-06T00:10:26.127Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterStartTime[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterStartTime[1].json deleted file mode 100644 index 7cbd680048617..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterStartTime[1].json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "13ce28c7-41e4-430c-903d-ad9b6e7f3df3", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "a75c87f8-a42a-4221-a188-5c227d5bbaad", - "content-length" : "0", - "x-envoy-upstream-service-time" : "525", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a75c87f8-a42a-4221-a188-5c227d5bbaad", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c8d6904c-66cb-496f-9af6-0ca5542136fe" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c8d6904c-66cb-496f-9af6-0ca5542136fe", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8bbee7eb-42b5-47b8-ac04-bd1d8d107592" - }, - "Response" : { - "x-request-id" : "31132a42-e390-475f-902c-61d490a5d2a7", - "content-length" : "374", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "31132a42-e390-475f-902c-61d490a5d2a7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5cdb0d3-1f67-4320-a94e-8bf1dd0843f4", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "23d84cfd-756a-48ea-84cc-5272fca3c73b", - "content-length" : "386", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "23d84cfd-756a-48ea-84cc-5272fca3c73b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedback[1].json deleted file mode 100644 index 36f1b0ea2e871..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedback[1].json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c855c9f8-bc27-483f-adbe-95ee6676d622", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "35e2e520-0ff9-470b-8af2-fa4694348d24", - "content-length" : "0", - "x-envoy-upstream-service-time" : "427", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "35e2e520-0ff9-470b-8af2-fa4694348d24", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/75c7ceed-3e4f-4867-a8ba-5001232b17f9" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/75c7ceed-3e4f-4867-a8ba-5001232b17f9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f61b263b-7323-425f-9a19-70d74cdf5793" - }, - "Response" : { - "x-request-id" : "f797f259-a391-4f5f-a89e-0cfac1d828e9", - "content-length" : "379", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f797f259-a391-4f5f-a89e-0cfac1d828e9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "592e0570-608b-4c3d-984d-f083df918e05", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "743b18f1-3342-4420-a311-d593a841038b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "394", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "743b18f1-3342-4420-a311-d593a841038b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/f20c1446-392c-49c8-bed8-0d4ed5a5b72d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/f20c1446-392c-49c8-bed8-0d4ed5a5b72d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fb76abd3-998b-4260-b8a0-fe27435582df" - }, - "Response" : { - "x-request-id" : "13a3ed67-dd68-4300-9350-edaf34a37683", - "content-length" : "379", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "13a3ed67-dd68-4300-9350-edaf34a37683", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c91bac2c-2c71-4f71-a8ae-9b82fdb1ada9", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "173b645d-b2af-4810-b7ec-c26f0ee407d2", - "content-length" : "36066", - "x-envoy-upstream-service-time" : "136", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "173b645d-b2af-4810-b7ec-c26f0ee407d2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index cf2b575e0f7d1..6e4407191efae 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -4,271 +4,20 @@ "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", "Headers" : { "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ae2c2f3-5901-4be8-a06f-8e7f01ba123b" + "x-ms-client-request-id" : "827cddf8-92ce-4a5c-9584-ddd570eba14e" }, "Response" : { - "x-request-id" : "6e607e8e-5a2d-4c33-be18-96828f722a1c", - "content-length" : "26448", - "x-envoy-upstream-service-time" : "165", + "x-request-id" : "e692301d-b6fa-458f-bd50-9c65f60adf45", + "x-ms-region" : "West US 2", + "x-envoy-upstream-service-time" : "276", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", "x-content-type-options" : "nosniff", - "apim-request-id" : "6e607e8e-5a2d-4c33-be18-96828f722a1c", + "apim-request-id" : "e692301d-b6fa-458f-bd50-9c65f60adf45", "retry-after" : "0", + "Content-Length" : "4378", "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"64f7b0f6-6d7d-4088-87f8-22010d8049e4\",\"dataFeedName\":\"java_create_data_feed_test_sample179e04ff-0b37-4173-ab9f-f95e354c5125\",\"metrics\":[{\"metricId\":\"be29953f-884d-486a-a867-a5f50bbf2bbb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"34775200-6923-4987-9ef4-aef0eebe5586\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"be44f11a-8d4a-4a51-b869-4f7e12d22058\"},{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2dd23722-bb59-4025-b454-71a2dbc8f5c8" - }, - "Response" : { - "x-request-id" : "fa7f082a-04dc-4675-87cb-fb389f0bd043", - "content-length" : "26569", - "x-envoy-upstream-service-time" : "270", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fa7f082a-04dc-4675-87cb-fb389f0bd043", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b661625b-3354-462d-ab6e-08ac4991d97e" - }, - "Response" : { - "x-request-id" : "5f04f2c1-f1a5-436e-bd26-3feaefed8392", - "content-length" : "26290", - "x-envoy-upstream-service-time" : "142", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5f04f2c1-f1a5-436e-bd26-3feaefed8392", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8fe63451-cd73-4c4d-97b5-e9c9a26cb4bf" - }, - "Response" : { - "x-request-id" : "7b61c960-9182-41ad-bd32-b106b9b38f55", - "content-length" : "26603", - "x-envoy-upstream-service-time" : "169", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7b61c960-9182-41ad-bd32-b106b9b38f55", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a6f84fb-258e-45fc-8e2a-f0f6af4ea02b" - }, - "Response" : { - "x-request-id" : "15c18272-4b1b-4953-8645-44e210a98036", - "content-length" : "26560", - "x-envoy-upstream-service-time" : "161", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "15c18272-4b1b-4953-8645-44e210a98036", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7782cc33-bb9a-4cfc-ba00-48348a22d0e4\",\"dataFeedName\":\"js-test-appInsightsFeed-163459779906406741\",\"metrics\":[{\"metricId\":\"35a57c39-2068-4bbb-900a-38a4741b6a27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a10526c1-4cec-4fa2-969a-3a52afbf39af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a13f2ab-f45a-49a7-928a-96386304c75f" - }, - "Response" : { - "x-request-id" : "7740f560-f5aa-423f-a6b5-557dad1b5a98", - "content-length" : "26291", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7740f560-f5aa-423f-a6b5-557dad1b5a98", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"60871ba1-1e6e-4cf3-af3b-e31b60131f7a\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163433850942004151\",\"metrics\":[{\"metricId\":\"77baaf3e-e305-49b4-bd96-201c19ead369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b07fce2c-718e-4402-8787-e9892c64abb2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22692c13-d12c-450a-a082-726d26bbc2e8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163433850942002901\",\"metrics\":[{\"metricId\":\"8ebac36d-a3a3-465a-94dc-a70e7e92b945\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"356fd0e3-7586-4f6c-8b43-a74d9df1e2a1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bc76a95e-645d-4b83-8c77-71faac9d3669\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163433850942000615\",\"metrics\":[{\"metricId\":\"61ea573b-a444-49e6-b804-cb2b2eac0518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"40ed0586-9c6f-4f0d-9e4e-9a3aafe53554\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42312f0-7272-434e-98c9-f87de9571265\",\"dataFeedName\":\"js-test-mySqlFeed-163433850942009324\",\"metrics\":[{\"metricId\":\"a46a2716-7613-4d1f-ad0f-a68bd2a5336c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c5a83e72-2d48-4dab-af41-9175a15253f6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f337ee7d-cb3a-4c84-8aef-087867fef781\",\"dataFeedName\":\"js-test-mongoDbFeed-163433850942006486\",\"metrics\":[{\"metricId\":\"8d69fe2e-cf9f-4163-931b-d40bd8b7a800\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"052428d4-5831-4957-b961-dd5fe634067e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"df64d783-cbeb-4f59-913f-1b7b7f8a5d78\",\"dataFeedName\":\"js-test-influxdbFeed-163433850942002966\",\"metrics\":[{\"metricId\":\"80e2c19b-bb1a-4388-9cc6-33f22a9d524f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2edf4b3f-5603-4228-8718-3386db7cc9db\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"15fac2c4-9b96-4029-9bd6-b8187c6a8027\",\"dataFeedName\":\"js-test-tableFeed-163433850942003172\",\"metrics\":[{\"metricId\":\"9f48c5b8-fa50-4c01-8e19-3f0af7ca667f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8b14d6fa-9589-47a3-80f4-2428eea1281b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4324bb8-3383-4caf-8a1f-6188c3b06f56\",\"dataFeedName\":\"js-test-dataExplorerFeed-163433850942006585\",\"metrics\":[{\"metricId\":\"ff677574-7597-4236-a280-ece802441f89\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcfe74c1-a212-4a2e-b7ae-86d69d6191c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"106784c1-8835-4f4b-ad71-f0978fae7837\",\"dataFeedName\":\"js-test-cosmosFeed-163433850942008143\",\"metrics\":[{\"metricId\":\"0da56162-f2e7-443d-9cee-6ad9d0c47dfe\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8de5feb6-26f5-4add-85d0-f99ee837453f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f2a7474-51de-44ac-92a0-912e039efd35\",\"dataFeedName\":\"js-test-sqlServerFeed-163433850942004244\",\"metrics\":[{\"metricId\":\"d1de3841-15b3-4bdc-8437-f50787962b3c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dce159ff-b8d3-4932-89ba-5a72cf9123e0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"83bb685e-3c33-4742-8188-50f22915295e\",\"dataFeedName\":\"js-test-appInsightsFeed-163433850942005474\",\"metrics\":[{\"metricId\":\"b8a339a6-62ce-4d00-ad52-2213800eceba\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7141608-2242-4377-8f49-46c8e46dfa12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"57acead6-3bee-46e9-a05b-226626bfc824\",\"dataFeedName\":\"js-test-postgreSqlFeed-163425217090408737\",\"metrics\":[{\"metricId\":\"539b7713-4289-4d1d-9628-5c86a86051a7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2a8a29b1-5285-4a94-bed7-2146b20291b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4ac1273-9249-4bfa-83db-f907178157df\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163425217090404735\",\"metrics\":[{\"metricId\":\"0bb40ff8-1fe6-4045-ae87-7df0956c8a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1345f27f-facf-4baa-ba88-1069141b8733\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"93016b8a-5db1-489e-a15d-bf89944e2732\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163425217090403154\",\"metrics\":[{\"metricId\":\"a30713a3-c9f2-4c08-8ca8-6f2b667738b3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5f59e56-f0a3-40d5-a9dd-c535a2411b04\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f817aa1-c49f-424f-84a8-744cde3802e8\",\"dataFeedName\":\"js-test-mySqlFeed-163425217090403483\",\"metrics\":[{\"metricId\":\"713abf2e-3351-491b-bedb-53f0c6354c4d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cd9dcd8e-b661-443d-9194-4b001abbe18a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bacb9a83-6d9e-4868-b22e-d3d35c17133c\",\"dataFeedName\":\"js-test-mongoDbFeed-163425217090401041\",\"metrics\":[{\"metricId\":\"d1b1ad45-1aa1-4d96-b134-7f039bf628f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1888a766-f6da-498a-a62f-a098be6ac72f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:08Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26ef2841-4afa-4109-a99a-87283cd1b3bc\",\"dataFeedName\":\"js-test-influxdbFeed-163425217090400404\",\"metrics\":[{\"metricId\":\"0abf9946-a4b3-45cc-aa77-3840ddd50993\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"af614b1d-799b-49d9-949e-87dcf2bda2ab\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2f4140f4-1909-42a8-aff0-b99def9deffb\",\"dataFeedName\":\"js-test-tableFeed-163425217090408777\",\"metrics\":[{\"metricId\":\"5bbadc9e-47d1-47fd-af15-2b4c0315a508\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7f3b580c-28bf-4217-8148-459fc9280cbd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fcb26a52-2d36-4e52-a139-d77a53d4962a" - }, - "Response" : { - "x-request-id" : "f3f9f635-ec40-4222-afc9-52d688958ea6", - "content-length" : "26849", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3f9f635-ec40-4222-afc9-52d688958ea6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"0b6c4066-cfca-4fdb-a1d2-2eb5542f79e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163425217090406927\",\"metrics\":[{\"metricId\":\"1623ced7-5372-4ddf-ace0-98484c420957\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fd2a820a-2622-422c-9a3b-d00e0ae5b0c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"65c33d7d-9c0b-4039-94da-9007dbe241e5\",\"dataFeedName\":\"js-test-cosmosFeed-163425217090407342\",\"metrics\":[{\"metricId\":\"933b5b13-d2fe-4132-9413-034dd1a1e569\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b48f9fdc-309e-479d-8830-1459085b92f3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ea05aed5-aa00-4465-8f9e-6cbf6e14aff3\",\"dataFeedName\":\"js-test-sqlServerFeed-163425217090404114\",\"metrics\":[{\"metricId\":\"317f97ff-9808-4ed3-8712-c92659a3b25e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea6da990-b74f-4999-b5c4-bd749d113bb4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fdc1c582-bba0-468c-ab58-e85bf0fb7201\",\"dataFeedName\":\"js-test-appInsightsFeed-163425217090405709\",\"metrics\":[{\"metricId\":\"3906e586-05a2-41ce-a89d-58c0ef88fff6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"660a265f-da62-41ca-a448-e80afe023e39\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d17f93b6-0852-4da8-aec0-d5f00673f68e\",\"dataFeedName\":\"js-test-postgreSqlFeed-163416596428201839\",\"metrics\":[{\"metricId\":\"c86cc6cd-ee66-436c-9c77-a26b0785cd85\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"713b5b85-f8c3-4cde-8014-64fd3c0c638f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6a98b7ad-ffc8-456c-8939-7314ce99b0be\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163416596428206823\",\"metrics\":[{\"metricId\":\"22acd26a-8b3a-4e35-be23-7faaecd4ad34\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51340ea1-f6f2-4191-8009-11ef089fa68d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4129aa5b-f664-48f9-b7c6-7ab0a00e3173\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163416596428205979\",\"metrics\":[{\"metricId\":\"570a2f41-1d4f-46bb-82ac-11b46c3f85e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cc72378-6a9c-4db9-ae17-494c69ec3382\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"47fa40a6-1ffa-425f-9348-06eddbfcec21\",\"dataFeedName\":\"js-test-mySqlFeed-163416596428204189\",\"metrics\":[{\"metricId\":\"bc5c0828-4d2e-4f1e-bef3-16f9d8dd9e9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ee2de793-3cb6-4ea2-8f75-a15a8f507f3c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6bc26334-3d4a-4c6e-9b9f-bc64648df3b3\",\"dataFeedName\":\"js-test-mongoDbFeed-163416596428203057\",\"metrics\":[{\"metricId\":\"415387ca-61f4-4424-a270-5fc07de3cda4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e6e8d45-66ce-42ac-b2ec-bc587c29c221\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22880bf7-fe5a-429a-b940-fe1e7bcdc1d6\",\"dataFeedName\":\"js-test-influxdbFeed-163416596428205352\",\"metrics\":[{\"metricId\":\"266a7b9e-b0d4-4e58-8249-a323b3eed704\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a199c341-2c6c-4d65-8b24-bef478bf058f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4061e534-3c2a-44b9-88ce-3fe7a6b2b317\",\"dataFeedName\":\"js-test-tableFeed-163416596428209518\",\"metrics\":[{\"metricId\":\"7b6d4b44-cdc5-409c-8a65-806f514e136c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d519c9c4-299a-4c35-9d04-6b03014f3712\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9aba55b0-2226-4170-b0f1-5f5c281b2ab3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163416596428209351\",\"metrics\":[{\"metricId\":\"1638e7fe-e1a1-4549-918b-a95557722533\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1fcd05f9-7364-4c9a-b134-125e08c227a8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d54ca735-c5ed-4aee-81ea-7b09f32d0dc4\",\"dataFeedName\":\"js-test-cosmosFeed-163416596428209934\",\"metrics\":[{\"metricId\":\"9fc9ba13-4e33-4879-b037-95bf7e703eb5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8714548c-cce1-49b3-b1bd-1eaf2b27dbf9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9a7458ec-34f1-47a3-ab16-38f8a1cdff4e\",\"dataFeedName\":\"js-test-sqlServerFeed-163416596428209579\",\"metrics\":[{\"metricId\":\"7c7f75fa-036b-4d6c-9a88-829e3bcd00a4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c9b483d-c2bb-45bd-a5d1-13c2bdbd3c25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"16de3de9-3282-4faa-8438-db96b781dfd3\",\"dataFeedName\":\"js-test-appInsightsFeed-163416596428205623\",\"metrics\":[{\"metricId\":\"803dbf64-08c1-4369-9a81-b3e6024b75df\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c173bd7-c4e9-4bf6-ac9f-40d21dba3e7a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ecf7fb2b-665f-4478-93e2-5486307ca8cb\",\"dataFeedName\":\"js-test-cosmosFeed-163407956949508845\",\"metrics\":[{\"metricId\":\"0c282973-acd4-46f0-9ccd-48e47f082fa5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e06bba51-8b02-4f56-9518-e7e8ff96ace1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T23:00:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6c3903c-d940-4511-a443-d96aeda61a3d\",\"dataFeedName\":\"js-test-sqlServerFeed-163407956949506495\",\"metrics\":[{\"metricId\":\"79781ed2-6259-4221-ab95-d25aea5747ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"10713176-5d8b-4590-9981-041aaacfe985\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3934c532-5be6-464d-b4af-3eb246f3ca40\",\"dataFeedName\":\"js-test-appInsightsFeed-163407956949509570\",\"metrics\":[{\"metricId\":\"f9503a78-1a49-41b6-aa14-ea04a9920a82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff846520-c02e-4bec-b0e2-b21d7c2cd7dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6b9d779-07ff-4933-a1b6-3b5065fc975b" - }, - "Response" : { - "x-request-id" : "949044ef-04cf-4b53-81a5-93d39e44b93d", - "content-length" : "26550", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "949044ef-04cf-4b53-81a5-93d39e44b93d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"3934c532-5be6-464d-b4af-3eb246f3ca40\",\"dataFeedName\":\"js-test-appInsightsFeed-163407956949509570\",\"metrics\":[{\"metricId\":\"f9503a78-1a49-41b6-aa14-ea04a9920a82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff846520-c02e-4bec-b0e2-b21d7c2cd7dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"07d27695-7c0f-4771-9685-71b8ddd65774\",\"dataFeedName\":\"js-test-postgreSqlFeed-163399280662707867\",\"metrics\":[{\"metricId\":\"552f724d-bbc1-411b-85d1-6a9e5ec60e4c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"616edecd-3175-478b-94f0-f7e5c1222723\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cfd4ef44-72de-4870-a4d9-9c0e4061bd93\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163399280662707978\",\"metrics\":[{\"metricId\":\"73d97afe-e535-4814-8f76-ae946afc48f2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0630e869-44a6-4590-9cc0-eeb73537ce7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e26bbf4-f940-4b7c-bf24-b84d397f1999\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163399280662705386\",\"metrics\":[{\"metricId\":\"dae7c2de-ccf6-467c-8756-f32c2eeb9b6e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"60606158-081b-4220-b340-dcd21c0180a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e04301e-ac1c-433b-91ab-def250902e09\",\"dataFeedName\":\"js-test-mySqlFeed-163399280662709186\",\"metrics\":[{\"metricId\":\"56f68e39-e544-4376-b11f-3eb141f01e2e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d184cac-a032-4ab8-bcad-23f4c7009258\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"99a94fc0-159b-44f9-a46b-6636ee76628d\",\"dataFeedName\":\"js-test-mongoDbFeed-163399280662700535\",\"metrics\":[{\"metricId\":\"482df33d-c32d-4f54-a318-845e796d4fd6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea92ed9c-cee2-475c-a695-a620bd21b045\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff034aa3-f03a-4d57-be0a-3ff4a406421c\",\"dataFeedName\":\"js-test-influxdbFeed-163399280662701108\",\"metrics\":[{\"metricId\":\"dbec1abb-3d05-4d9c-8984-c9fab02debea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a5c9f3e-a160-49a7-b028-332888057b5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8aecc17c-3f0b-4546-88dd-0fdb3691f4a3\",\"dataFeedName\":\"js-test-tableFeed-163399280662703929\",\"metrics\":[{\"metricId\":\"09333e5b-9ad2-4ca4-a203-0109ceae6a41\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0f5e207-fabf-4615-bb7a-46c6b236d622\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0c69e54-cce1-4b7e-8126-7761d91b6f1b\",\"dataFeedName\":\"js-test-dataExplorerFeed-163399280662708753\",\"metrics\":[{\"metricId\":\"6336c919-06d3-4bd2-8cbd-3d48e6e2653c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4ea06722-e3a1-4ce5-8aee-ef119db8be37\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f9cbe412-3c4d-4ec7-b62a-29ea7f5a8d8e\",\"dataFeedName\":\"js-test-cosmosFeed-163399280662709609\",\"metrics\":[{\"metricId\":\"f2b94d8e-d819-48e2-a876-5707328589d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"24bc5c7d-fc54-4701-ae4a-276829eed7aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c111be50-a305-4864-8b21-fc29570fc044\",\"dataFeedName\":\"js-test-sqlServerFeed-163399280662702061\",\"metrics\":[{\"metricId\":\"c511a252-9378-4f90-86f5-b6de90364347\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d4be9ba-ff43-4949-be9f-23d1e53cad49\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"14e6256b-0795-44af-953f-61f35be51547\",\"dataFeedName\":\"js-test-appInsightsFeed-163399280662704194\",\"metrics\":[{\"metricId\":\"31174c1b-1ccb-4ba2-842f-2df0293ba966\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3eaa7d9b-4fd7-4c9e-97eb-666e40dc6db0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2952571-7d9a-49b9-876a-513a5a9a6237\",\"dataFeedName\":\"js-test-postgreSqlFeed-163373361110602347\",\"metrics\":[{\"metricId\":\"45d24204-3dda-4dcd-a176-0a8d8444e78e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f9f8860-523a-4616-afb8-2b72d59147e1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6b38250-9033-4021-9945-c8411c6520d9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163373361110605004\",\"metrics\":[{\"metricId\":\"6a85b973-eaa0-4c66-8c61-219244665db4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4383df27-a33b-4ee2-9ee8-d5b7ce544927\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"450e0e05-769e-4b60-93f1-6ed23fd9573c\",\"dataFeedName\":\"js-test-mySqlFeed-163373361110605569\",\"metrics\":[{\"metricId\":\"c4684207-6df4-416a-865d-65f45e096460\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2531f73-ab81-41ee-9d68-7e6c9a83aece\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bd0320a4-15f4-47e4-9b92-91b2480f1715\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163373361110601677\",\"metrics\":[{\"metricId\":\"c8e0dd3a-4d55-4060-b185-d2f82c7710bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6db0d007-0574-446f-a2bf-811b11ece6f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cb08d532-8be3-450c-9562-becea8f94f42\",\"dataFeedName\":\"js-test-mongoDbFeed-163373361110601970\",\"metrics\":[{\"metricId\":\"fb38cd98-9871-426b-9092-364b7b3cf7ee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6539bf76-9b84-46ca-ba41-bb2fe5ce8ac7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59f7ff96-55ba-4bd3-8b12-667147df36b1\",\"dataFeedName\":\"js-test-tableFeed-163373361110609604\",\"metrics\":[{\"metricId\":\"89ec0c77-06da-4dda-a3be-567382bc6326\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"646583df-e6bf-42da-a581-c336e46baea1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fcf7909e-47fb-4bcf-b194-ed85c135c664" - }, - "Response" : { - "x-request-id" : "b11dc66d-6e46-4427-b3ed-58469e8e15af", - "content-length" : "26556", - "x-envoy-upstream-service-time" : "217", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b11dc66d-6e46-4427-b3ed-58469e8e15af", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a6c15cca-c02a-4ccc-b5ae-b631749ed1db\",\"dataFeedName\":\"js-test-sqlServerFeed-163373361110600523\",\"metrics\":[{\"metricId\":\"b2d3c45d-11f5-4fcd-a893-2a1b16c8713e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32c0ae30-1217-4105-b518-7233d04dff8e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0dc2b89c-177b-422f-8dbf-42290a56ec7a\",\"dataFeedName\":\"js-test-appInsightsFeed-163373361110609911\",\"metrics\":[{\"metricId\":\"d3c844d9-3457-4248-abca-70a9350f79b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"68a82856-561e-4d31-aef3-e1cb6c2aad53\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d5d1c2bc-d5c6-4cea-8473-3bfbde123092\",\"dataFeedName\":\"js-test-postgreSqlFeed-163364745750608742\",\"metrics\":[{\"metricId\":\"e53312f0-59a7-4fce-bd02-3ab68af31dc0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"caa31f64-3a6d-4187-b49c-ac273bef35df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"151c4512-f739-43bd-bc00-9601d906e134\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163364745750608769\",\"metrics\":[{\"metricId\":\"b839a1e3-b416-4426-b792-bdc30fb1b541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b3b398fc-e74b-42cf-8558-1667d6cdf9be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae547aff-5069-48e9-a4c7-09b4c999e8ae\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163364745750606894\",\"metrics\":[{\"metricId\":\"c0c01b47-b8a4-471a-ab37-4943db041a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d01cbe8-7d8a-454a-9569-10d96eb7e86f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e642e562-be4c-498d-ab86-427acee1ead8\",\"dataFeedName\":\"js-test-mySqlFeed-163364745750608285\",\"metrics\":[{\"metricId\":\"0507e6e4-5e7e-44e0-a9f7-eec7b9a1c7ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d7ea05d5-2c47-443a-95e3-47846391eb21\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f4ef121-4432-48cd-9c90-e351b6301e3f\",\"dataFeedName\":\"js-test-mongoDbFeed-163364745750604681\",\"metrics\":[{\"metricId\":\"4a27c7ee-a821-451f-815f-86830c565337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cee858a-9677-4c36-8068-32603e636bbc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9d02f95-c613-42f9-8240-f2d1789a56a5\",\"dataFeedName\":\"js-test-influxdbFeed-163364745750602380\",\"metrics\":[{\"metricId\":\"ae077b81-10da-400a-8930-185a68610a1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1647df18-46c5-474e-bbe1-05a6b5501727\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b88c4925-df83-4a56-b9c1-495bfa1e4f70\",\"dataFeedName\":\"js-test-tableFeed-163364745750608689\",\"metrics\":[{\"metricId\":\"c23a17e3-f400-48d3-b640-80d6667c1e67\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5624e3ca-d3fa-4419-a433-eaf7bc83a7be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8f1b9cbd-3cb7-4721-af99-f94403be25c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163364745750608621\",\"metrics\":[{\"metricId\":\"87cc7324-f2e0-4068-9633-9a01ee059d92\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b5e2659-97cc-4d6c-a939-7a859dc1db32\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"5b5eb11e-c18b-45cf-887d-fa0d1c60c364\",\"dataFeedName\":\"js-test-cosmosFeed-163364745750609141\",\"metrics\":[{\"metricId\":\"bb903a81-cbbc-45ff-979a-6ac46dc850f4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d9e2339b-4d88-4dfc-96fc-26e6724b06aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a2626344-6eba-4824-86ce-37325ea544d0\",\"dataFeedName\":\"js-test-sqlServerFeed-163364745750604914\",\"metrics\":[{\"metricId\":\"9905e49d-bb9c-4689-9cd2-818b32a6f598\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"43a7acbc-0a8b-4241-88fa-e335020a3b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76b054a1-4602-42c5-915b-33b45783d6d3\",\"dataFeedName\":\"js-test-appInsightsFeed-163364745750604468\",\"metrics\":[{\"metricId\":\"99ce3cb9-026b-4f97-b91c-36680c7b2bb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32397263-0b09-4e39-8d88-63bd726900d9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2b5f342-2677-4681-81ec-c411b8828507\",\"dataFeedName\":\"js-test-postgreSqlFeed-163356099797004726\",\"metrics\":[{\"metricId\":\"595f17dd-73de-4e06-962f-b4792a36553d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"520b7462-75fa-4ae7-b0ea-d17f459e1e5b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"461e9ea0-421f-4404-886b-733f32ac3977\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163356099797005686\",\"metrics\":[{\"metricId\":\"80cd02e0-0b34-4495-ae90-23c828ada3ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1e5a46a-26e0-4eee-ba25-dad842fd0294\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b482adb-152e-489e-a721-617d8d690d6f\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163356099797004380\",\"metrics\":[{\"metricId\":\"a622a807-d0ac-4f36-96b4-3a012546fc2c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7a363150-d78d-4c6d-bc87-9848ffbe62c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8b9965a7-77bd-4063-981f-3e41fbafc57c\",\"dataFeedName\":\"js-test-mySqlFeed-163356099797005438\",\"metrics\":[{\"metricId\":\"5c82d2da-9886-4bbf-b3ed-0949e383d5ca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2d10dd3-9c99-438e-bce5-415874cadf2f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a721f89-a957-48c0-a47c-f02c6ccc858c\",\"dataFeedName\":\"js-test-mongoDbFeed-163356099797000564\",\"metrics\":[{\"metricId\":\"872ccbc8-09f7-46b7-971c-53545d0cd191\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f1ef6f7-0b5e-44a7-9d8a-adeff3eb477f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a48ac44a-520a-493e-8013-35d225f4a645" - }, - "Response" : { - "x-request-id" : "ae3a9777-9752-4da8-81b2-ee7b7b457ed1", - "content-length" : "26541", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ae3a9777-9752-4da8-81b2-ee7b7b457ed1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"f425cbef-9e06-45f0-b041-c60e5720775d\",\"dataFeedName\":\"js-test-influxdbFeed-163356099797009186\",\"metrics\":[{\"metricId\":\"b71ca02a-09ec-4ed5-b2da-41217e85491f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3bccf739-e576-4b4d-adc7-c998fa8a9ce7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"27d8de1b-c4fb-4922-9bc0-aed34e00fa11\",\"dataFeedName\":\"js-test-tableFeed-163356099797006938\",\"metrics\":[{\"metricId\":\"8017b783-a12e-48c0-8cdf-50493ed9c720\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d8801159-4c73-4ae6-849d-b9213fdca5f4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a96a7882-404e-491b-a3a6-45789bbfab5a\",\"dataFeedName\":\"js-test-dataExplorerFeed-163356099797005029\",\"metrics\":[{\"metricId\":\"a400b067-b321-42a6-9cf6-f90b2248375d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"02410349-01df-4c4a-b174-589756d6b1e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"2f66eda1-79ff-4db2-95b1-379d743f969c\",\"dataFeedName\":\"js-test-cosmosFeed-163356099797009443\",\"metrics\":[{\"metricId\":\"17c51a7b-3ecc-40ba-8e52-7b559b40b54e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"533938f3-2be4-4aac-8d12-45a64d14c133\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34d422b5-deaa-420b-be18-d05ac636edd6\",\"dataFeedName\":\"js-test-sqlServerFeed-163356099797000510\",\"metrics\":[{\"metricId\":\"36c5a2e4-f874-42e1-badd-df6d5669af6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ace84552-8c15-4b5d-b6f5-10a73c49a7c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05d01cca-26c6-4857-ba5d-bc09bef8b9b1\",\"dataFeedName\":\"js-test-appInsightsFeed-163356099797000138\",\"metrics\":[{\"metricId\":\"79b5c438-46e2-4a72-992a-c158bad649ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"64ad65c1-8a52-4571-addc-d3df48d3bcae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"386ac2ff-df82-4993-8b91-05e169ab16c5\",\"dataFeedName\":\"js-test-postgreSqlFeed-163347460219301896\",\"metrics\":[{\"metricId\":\"bb7fe4e3-67e3-4302-b262-3ebf5b566245\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d180046e-9855-4546-b20a-a4495c0feda5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2fc2fdd2-6c76-44d3-8c26-99eae8b20124\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163347460219308619\",\"metrics\":[{\"metricId\":\"5e8ae7d1-36eb-4048-a828-85d075bfb705\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"00909ae9-8fff-4f37-a996-3ca6c948816f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f925fe2b-32eb-43ef-b748-4d2cc64fc611\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163347460219307690\",\"metrics\":[{\"metricId\":\"acbc430b-5440-4b95-a2de-071c14d12fb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1a9a1dc-2fe6-4351-b76f-3967a019c031\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7e2c7d8c-8fd5-4ab0-b831-f88981ab459b\",\"dataFeedName\":\"js-test-mySqlFeed-163347460219304278\",\"metrics\":[{\"metricId\":\"dec4718b-51a3-4b38-9d66-78f57118887e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7329beab-1b48-4e77-84e8-88880b99512e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bcd412d1-8097-4a63-8af9-ea8014bd24e5\",\"dataFeedName\":\"js-test-mongoDbFeed-163347460219301593\",\"metrics\":[{\"metricId\":\"752db659-a090-43b2-b7ad-646018a0566c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8af77e14-5645-4c78-9a1e-e34f0ab6fe60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d4843d8-3464-4f12-abbf-7b666530b170\",\"dataFeedName\":\"js-test-influxdbFeed-163347460219303248\",\"metrics\":[{\"metricId\":\"40d80fbe-3520-4068-96ac-c3deaecdf43c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e282e21-dc3f-459d-b60d-2f0ab6fc7b69\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"241560f0-d51e-4854-8674-fa80c7ad163f\",\"dataFeedName\":\"js-test-tableFeed-163347460219301786\",\"metrics\":[{\"metricId\":\"45fa5e3e-8eef-4bb8-8e2b-d3ad4bc089ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0ae3be92-32fa-4324-a7ac-efbf48efab5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc7cbfc6-ca32-4fb1-94f8-564bcc16ec4e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163347460219309573\",\"metrics\":[{\"metricId\":\"c9dd00db-366c-4cb4-9fed-b997a87103bb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0121f29f-e62a-4601-ab6c-dfa7e4c3c74f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"96129eec-466f-497c-a8f8-83566d23ca7d\",\"dataFeedName\":\"js-test-cosmosFeed-163347460219304530\",\"metrics\":[{\"metricId\":\"1d780232-d204-4a0f-919f-fe2b895f9553\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2700d78-d4e4-4a04-9c14-07ffe64d3595\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b313675e-e728-432d-b973-3e32b43f9334\",\"dataFeedName\":\"js-test-sqlServerFeed-163347460219304622\",\"metrics\":[{\"metricId\":\"8dac805a-8094-4089-a551-d9da39627b27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cd02751-5852-4b52-9cd1-e46a630d930f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b87f889-18c9-4361-9529-e92c41288e73\",\"dataFeedName\":\"js-test-appInsightsFeed-163347460219307862\",\"metrics\":[{\"metricId\":\"09d1b797-8b73-46b1-b37e-8c04717a06bc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c59314d-e2df-4c8d-a7ae-d0be69e5cb5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d0648e92-492b-44cb-8327-4c9b861aad73\",\"dataFeedName\":\"js-test-postgreSqlFeed-163338814690007155\",\"metrics\":[{\"metricId\":\"ab4c635d-423e-4b61-af47-0f196214c1e8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff4a7986-61d2-4c95-88d5-0ea21e79287d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6d934193-d9d0-47b9-bc0b-63361d64b6e7" - }, - "Response" : { - "x-request-id" : "0d02b689-4b09-449e-a78b-1bbc316c4675", - "content-length" : "26264", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0d02b689-4b09-449e-a78b-1bbc316c4675", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d0648e92-492b-44cb-8327-4c9b861aad73\",\"dataFeedName\":\"js-test-postgreSqlFeed-163338814690007155\",\"metrics\":[{\"metricId\":\"ab4c635d-423e-4b61-af47-0f196214c1e8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff4a7986-61d2-4c95-88d5-0ea21e79287d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"574f75c3-58c2-4b1e-bab6-47fcf39b7bd3\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163338814690004828\",\"metrics\":[{\"metricId\":\"93eac5d9-fc51-443e-8604-0822fbffefac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"92512efa-f325-4f62-833c-93907185f3f5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"11d8cf94-c6b0-476d-8d04-81f8328dcf27\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163338814690000658\",\"metrics\":[{\"metricId\":\"329a97ef-c46b-4f96-9220-d98e5f5fbd1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ef65dcb2-a3f6-49c8-8909-4cdf1d6843ce\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"91b43fad-5cc5-4d89-b687-9be9ce875ac4\",\"dataFeedName\":\"js-test-mySqlFeed-163338814690005430\",\"metrics\":[{\"metricId\":\"d55210ee-919c-407d-9626-df8b55306bcf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"decd446f-2c42-4a35-928f-671f192de097\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b298e0c1-7e98-47ad-8e00-282a458d61ef\",\"dataFeedName\":\"js-test-mongoDbFeed-163338814690003885\",\"metrics\":[{\"metricId\":\"d3c61ebf-486a-4e78-81fc-6b57c96e44c8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5ea0850-73cb-4c84-873a-d7e2b0a56ca2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"97307f09-8842-4409-af8b-7d27cf5645de\",\"dataFeedName\":\"js-test-influxdbFeed-163338814690004992\",\"metrics\":[{\"metricId\":\"ad7ea7e6-1b91-41ba-9d13-64d8a8cd8b65\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8153f2d3-c392-4acf-912b-f1d3cd04dcac\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a0a1e8f9-35e1-4747-afdb-547c608e8649\",\"dataFeedName\":\"js-test-tableFeed-163338814690006976\",\"metrics\":[{\"metricId\":\"bdf77fd4-4e83-4d3c-98ab-9cdcded4d283\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d31df08b-977d-455f-a6b2-0e82089c9c7f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4bb5c73d-133f-4fb6-824e-7c92c5dd85fd\",\"dataFeedName\":\"js-test-dataExplorerFeed-163338814690004329\",\"metrics\":[{\"metricId\":\"e65b5f10-514e-4ad1-be20-04ef99f8e337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d88ef76d-c0e2-490d-b51f-6a1ccbc81adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"999e7511-927f-4f04-9b8c-7bca56a91ce2\",\"dataFeedName\":\"js-test-cosmosFeed-163338814690003601\",\"metrics\":[{\"metricId\":\"c51b1ccc-3451-48d0-8998-cdef1d94e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d69b4da-0cf4-4d10-90ce-f3460927b6a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e67887d9-1000-458e-a899-33781621647e\",\"dataFeedName\":\"js-test-sqlServerFeed-163338814690009483\",\"metrics\":[{\"metricId\":\"367454c6-9fb3-43ce-89b4-f2facdfc7163\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"15596c3a-60a8-41de-84ed-49729028f7e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4280cf0e-e12a-4135-a5cb-fbcb2a225fa2\",\"dataFeedName\":\"js-test-appInsightsFeed-163338814690003701\",\"metrics\":[{\"metricId\":\"187c0044-dfc1-4adc-8ca8-2709fba1d8ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d650b34c-e00a-4356-af47-654499fc8b78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3d16da20-1e50-4b6c-b12e-a0258062a5c2\",\"dataFeedName\":\"js-test-postgreSqlFeed-163312892993307149\",\"metrics\":[{\"metricId\":\"56263637-f807-4a69-95c9-8a54d3a815cf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6be3ec57-b12a-4a1a-a941-a4f7373d01ff\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7881d71e-ca2a-491d-979c-beeb9d35407b\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163312892993303403\",\"metrics\":[{\"metricId\":\"becf965b-2a14-4d23-bbb5-15058c3c088d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"69ffa8a5-23a0-4c61-8851-7783b6de6445\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae39d1fd-419d-42b1-9fd3-6843b85e70f8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163312892993309712\",\"metrics\":[{\"metricId\":\"87bd7641-f35a-4324-9538-afaa203dee9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"94210e48-a5bf-4bb6-80a1-e999c9717072\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d64d4795-84ac-4afa-9c35-5d71d3fa421c\",\"dataFeedName\":\"js-test-mySqlFeed-163312892993303355\",\"metrics\":[{\"metricId\":\"a29f1e97-057b-4c2a-8ef0-cec9bb8f9d82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8f5c35f7-3d2f-4ed7-804f-9530d413dff6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0fcbb92e-61f6-42f2-9008-d5ebab00bb15\",\"dataFeedName\":\"js-test-mongoDbFeed-163312892993303542\",\"metrics\":[{\"metricId\":\"c016e503-0378-493b-b2f2-59d46299bce4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c214b47a-6b69-4807-869d-2443ca37211c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6dd57159-5101-4048-8ea1-94f48e3c752c\",\"dataFeedName\":\"js-test-influxdbFeed-163312892993305001\",\"metrics\":[{\"metricId\":\"c82a369a-a2db-44ce-b666-7ee585f96dca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"efffe1ff-df05-426f-bbaa-3332e1926b98\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"53427ba6-7d70-4d02-bc84-6918f270aab1\",\"dataFeedName\":\"js-test-tableFeed-163312892993204266\",\"metrics\":[{\"metricId\":\"b2c5085f-5bad-4a3a-bdaa-03c9f0f40151\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f64e311-9b15-4d10-8a0f-5fb553bfae90\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "53cf50e8-55a2-4dc9-b67a-f16b8238c22c" - }, - "Response" : { - "x-request-id" : "a981c57b-11e6-44aa-bbe6-415718c03986", - "content-length" : "26488", - "x-envoy-upstream-service-time" : "147", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a981c57b-11e6-44aa-bbe6-415718c03986", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6bc6cbb4-320c-45dc-92e0-a5011a011d72\",\"dataFeedName\":\"js-test-dataExplorerFeed-163312892993205417\",\"metrics\":[{\"metricId\":\"6e474f1d-c800-4750-9a88-1b84ed5f37b5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d6acb55b-57f6-4339-9f56-bf3814eea8dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"c62d2468-0dd4-4524-94a4-6f6dfe4117b8\",\"dataFeedName\":\"js-test-cosmosFeed-163312892993205225\",\"metrics\":[{\"metricId\":\"6a80f493-6a9c-4da4-af5c-9175710460f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b74fb702-ac65-475a-925e-53d85166030f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"068a182a-b028-4628-9ae2-943cc599bb82\",\"dataFeedName\":\"js-test-sqlServerFeed-163312892993203881\",\"metrics\":[{\"metricId\":\"a87a360c-4e2f-471e-9150-a5c90b46e9c0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"421ec078-9ed8-43be-ad98-9fd0ad5ea9e6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f487100-6eaf-4170-92ab-923e09199ec1\",\"dataFeedName\":\"js-test-appInsightsFeed-163312892993209249\",\"metrics\":[{\"metricId\":\"4eed8fde-6784-408b-8383-0db3cadc172c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6bef3b5e-8992-4354-aacd-e40a52e51adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3bfdad0-f82d-428a-a024-4e694f48db55\",\"dataFeedName\":\"js-test-postgreSqlFeed-163304256469805732\",\"metrics\":[{\"metricId\":\"bff1aad1-77f5-474f-8ef9-119f027019cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b29a243a-c140-4dad-a963-6c9b912fbe97\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ab1ae0ee-9843-468c-a70a-681d3f5d8f07\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163304256469802028\",\"metrics\":[{\"metricId\":\"e4d49823-08f3-4c82-8f8e-13f52f7ce1a9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0271adcc-153d-4127-845a-31faa3872336\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"71fe4975-7e5e-4621-89d5-1ba7c765251c\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163304256469808385\",\"metrics\":[{\"metricId\":\"74d0e299-7b9f-44f0-b8e2-9e456c18a18b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e211f231-c89c-4bff-8409-519a442d43e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2cabfce0-7b8e-48fd-8b7b-edd609e853ce\",\"dataFeedName\":\"js-test-mySqlFeed-163304256469807300\",\"metrics\":[{\"metricId\":\"18f00f58-b870-4b59-b6d8-7d6d59ba7b7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0eba33c6-11a0-4a68-b236-ecd643e00a7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5233196e-6560-499f-94ce-401c184131df\",\"dataFeedName\":\"js-test-mongoDbFeed-163304256469809271\",\"metrics\":[{\"metricId\":\"89c077eb-9fb8-4806-b430-6e1995c4c222\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b7b70d8-6678-47af-bb5f-d77b8411f8d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d108bbef-dfec-441c-9743-945ffeab5ccc\",\"dataFeedName\":\"js-test-influxdbFeed-163304256469808844\",\"metrics\":[{\"metricId\":\"0537fe98-7b8d-4beb-8046-57261e416958\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"385385cb-c375-4e20-a7c7-5588365dca2e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5d17aa73-b1fa-4809-97a6-bc7f889ff258\",\"dataFeedName\":\"js-test-tableFeed-163304256469801899\",\"metrics\":[{\"metricId\":\"666c598c-9f9b-4b7a-9165-559e090015d6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1aab75d3-5784-4163-a5e2-ddb2112fe0a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b0e4d6a-5b18-44b3-821d-8816c66462ec\",\"dataFeedName\":\"js-test-dataExplorerFeed-163304256469808043\",\"metrics\":[{\"metricId\":\"ed3e2907-78b1-4cf6-b8a3-0ac4fc6d397c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63ec4eb2-e818-4342-bfb8-75ca0907497d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"7d52bf31-0b33-4766-b3a2-a3a5270f283b\",\"dataFeedName\":\"js-test-cosmosFeed-163304256469808350\",\"metrics\":[{\"metricId\":\"d1bcd94c-f02f-4ad9-9f5e-5e4e0538d411\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d773287-fa4b-4a2f-ac6d-89e606b694d1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff199288-5ade-439d-9539-2d9802271db6\",\"dataFeedName\":\"js-test-sqlServerFeed-163304256469803616\",\"metrics\":[{\"metricId\":\"013fd7ae-624c-4684-aa5a-271cc8c3533e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0724e3e4-bc5c-4db9-8385-df0cc4e31e5d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e0cd8cbc-7f4c-488f-9b71-0beab9078907\",\"dataFeedName\":\"js-test-appInsightsFeed-163304256469801704\",\"metrics\":[{\"metricId\":\"5af886f9-772e-4e76-8990-9550ee5011bf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2b615f81-7f65-40ba-9382-d2b56154206a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"44f094bd-4788-4f09-9554-53631657a350\",\"dataFeedName\":\"js-test-postgreSqlFeed-163295624935402170\",\"metrics\":[{\"metricId\":\"790a94e8-b539-418a-a106-aa1cea62a7ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3a2af827-dd0f-4b4e-844a-51b57ab17639\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:58:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26df3035-bea5-4b72-813c-1cb5969bc284\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163295624935409797\",\"metrics\":[{\"metricId\":\"ffe6583e-baf1-439f-b9b8-27c84bc9594c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81da74d2-0a0a-49a4-a4d8-cd3057e1405f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d11fd1a0-8c4b-4e1b-9d73-943191713c17" - }, - "Response" : { - "x-request-id" : "093167a2-5fca-4ee2-abe1-e87f1d5cace2", - "content-length" : "22765", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "093167a2-5fca-4ee2-abe1-e87f1d5cace2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"38019854-46cd-4780-8c96-15ec2b9ce1c2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163295624935404941\",\"metrics\":[{\"metricId\":\"14badd91-5ecb-489e-bc1e-736badbc5937\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"df88f3a9-f118-475f-91f7-5a10e6d478d5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2211978f-a41e-4dd7-9031-a85e21f97d38\",\"dataFeedName\":\"js-test-mySqlFeed-163295624935400134\",\"metrics\":[{\"metricId\":\"5a46e457-5f7d-42ed-9bcd-7419b816a869\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d2caecd-85a5-4111-8fc8-75c1b59242f7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5fa02b12-55be-4fbe-82e1-084c46339ca7\",\"dataFeedName\":\"js-test-mongoDbFeed-163295624935403794\",\"metrics\":[{\"metricId\":\"b316978e-ec05-4e32-885b-dcde1809c727\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7ced785-d743-459b-a25d-d5e16b365f87\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a703d4f-0ac7-4805-b98c-c98eda530f7c\",\"dataFeedName\":\"js-test-influxdbFeed-163295624935408979\",\"metrics\":[{\"metricId\":\"8b8e7c56-305e-403f-8530-d365ad8c3b1c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01524fd3-deaf-4bc3-9ffa-0489b41a89fc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d25002e-09c6-4098-ab8f-e1813aeb022c\",\"dataFeedName\":\"js-test-tableFeed-163295624935405050\",\"metrics\":[{\"metricId\":\"966751b9-1083-47c0-93a4-51a4bf42a123\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"598fec46-8467-47e3-b926-c7f82f4f3fb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"04c0ccd1-6962-40cc-9f7c-a8a3887466c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163295624935403812\",\"metrics\":[{\"metricId\":\"1b3f350c-ce64-4e6d-8a59-82f8eff13da7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63139d12-50b1-4081-b43b-a23b46c3aeaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"ece68b7c-e355-441a-af06-6f501067728a\",\"dataFeedName\":\"js-test-cosmosFeed-163295624935405186\",\"metrics\":[{\"metricId\":\"dbe1d78b-bf8a-412e-917c-4df8d492213d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7441a55e-f491-47a5-8125-c2039999c888\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"66eb4ecc-8755-48f4-bef0-881d75866a09\",\"dataFeedName\":\"js-test-sqlServerFeed-163295624935406441\",\"metrics\":[{\"metricId\":\"b193aa44-184d-48ea-9dfc-fd0843c9c8d2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8fb3821e-1ca6-45af-a22e-575a098a3cb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"921ffe1e-d306-42ae-9642-44d30862e8a2\",\"dataFeedName\":\"js-test-appInsightsFeed-163295624935409579\",\"metrics\":[{\"metricId\":\"f602f759-87c5-4b2f-8000-04f606a1725e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b2f13819-9089-4b56-9c0f-b74ae92251c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"271707ea-a3be-48d6-8655-ec9191334389\",\"dataFeedName\":\"js-test-dataExplorerFeed-163286993752000772\",\"metrics\":[{\"metricId\":\"6168bbd6-ca75-43ed-ab28-aa8fa907613c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63460bbd-89c2-4050-a14d-589207c7e6c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"6a441f0b-9482-418d-9ec2-a486a14339ba\",\"dataFeedName\":\"js-test-cosmosFeed-163286993752000665\",\"metrics\":[{\"metricId\":\"4155cf5b-4064-4ade-9a4c-aa5aa226b807\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"824843f4-04b7-40ba-a508-98169eb5a91b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"64478672-2d07-43cb-a09d-e594465ae919\",\"dataFeedName\":\"js-test-sqlServerFeed-163286993752001601\",\"metrics\":[{\"metricId\":\"ded5b762-0b93-49f2-b984-4765697cc124\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2a63b29-5197-4fbe-9936-35151617e937\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0643ccac-5f48-4bb8-92a3-d5971745aa93\",\"dataFeedName\":\"js-test-appInsightsFeed-163286993752003102\",\"metrics\":[{\"metricId\":\"493917c1-40b2-4518-8308-9eaca74e5b73\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4bf5db06-0093-43c3-a2bf-7c628b62fc9c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", + "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"yutongzhai@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"camaiaor@microsoft.com\",\"kaghiya@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"yumeng@microsoft.com\",\"chriss@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5599bb15-cf0d-47dc-bca4-ef1a532689ed\",\"dataFeedName\":\"sample_datafeed\",\"metrics\":[{\"metricId\":\"00989743-bffa-4e6b-b90b-b41c13e27636\",\"metricName\":\"cost\",\"metricDisplayName\":\"Cost\",\"metricDescription\":\"\"},{\"metricId\":\"54535a9d-2790-44a6-93f7-4171b72276d7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"Revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"Category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-01-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-11-15T22:00:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"9388a986-5430-4666-a758-7461c2a48774\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", + "Date" : "Wed, 12 Apr 2023 22:04:06 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index 04022cf5eb76a..01723ac39b8f1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -4,271 +4,20 @@ "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", "Headers" : { "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d5f79e2b-32c0-4396-a528-0ef282b0bf2b" + "x-ms-client-request-id" : "d000d053-6fad-40e4-bd67-ba051e5f8336" }, "Response" : { - "x-request-id" : "49ddd2d3-f7e8-4e57-989b-22316df0a65f", - "content-length" : "26280", - "x-envoy-upstream-service-time" : "146", + "x-request-id" : "1292d0ae-3f30-4358-8f9b-a191feb05e65", + "x-ms-region" : "West US 2", + "x-envoy-upstream-service-time" : "270", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", "x-content-type-options" : "nosniff", - "apim-request-id" : "49ddd2d3-f7e8-4e57-989b-22316df0a65f", + "apim-request-id" : "1292d0ae-3f30-4358-8f9b-a191feb05e65", "retry-after" : "0", + "Content-Length" : "4378", "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4099bf20-906d-4add-b101-53e59f5dc1f0" - }, - "Response" : { - "x-request-id" : "780941e7-5519-45e0-a43a-62445cf4d4f9", - "content-length" : "26569", - "x-envoy-upstream-service-time" : "149", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "780941e7-5519-45e0-a43a-62445cf4d4f9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "02f6a4ac-787f-4091-89f3-4e5cf3b51394" - }, - "Response" : { - "x-request-id" : "19b66867-5286-469f-a846-1b6d4c2fdbcd", - "content-length" : "26357", - "x-envoy-upstream-service-time" : "332", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "19b66867-5286-469f-a846-1b6d4c2fdbcd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8916523d-a094-4e16-ab90-2ffa5893de4a" - }, - "Response" : { - "x-request-id" : "3db5760b-0ae3-4f12-9e68-196275b74d53", - "content-length" : "26555", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3db5760b-0ae3-4f12-9e68-196275b74d53", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8038d74-173d-4202-93c1-c84458695b74" - }, - "Response" : { - "x-request-id" : "0968570e-20a8-4625-8151-ef65ce91017a", - "content-length" : "26541", - "x-envoy-upstream-service-time" : "157", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0968570e-20a8-4625-8151-ef65ce91017a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7782cc33-bb9a-4cfc-ba00-48348a22d0e4\",\"dataFeedName\":\"js-test-appInsightsFeed-163459779906406741\",\"metrics\":[{\"metricId\":\"35a57c39-2068-4bbb-900a-38a4741b6a27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a10526c1-4cec-4fa2-969a-3a52afbf39af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22692c13-d12c-450a-a082-726d26bbc2e8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163433850942002901\",\"metrics\":[{\"metricId\":\"8ebac36d-a3a3-465a-94dc-a70e7e92b945\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"356fd0e3-7586-4f6c-8b43-a74d9df1e2a1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "67387d91-6f6e-4d4e-8bd5-c8b088e46912" - }, - "Response" : { - "x-request-id" : "6a06a55f-267f-485f-8db0-27c3616093f7", - "content-length" : "26319", - "x-envoy-upstream-service-time" : "173", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6a06a55f-267f-485f-8db0-27c3616093f7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"bc76a95e-645d-4b83-8c77-71faac9d3669\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163433850942000615\",\"metrics\":[{\"metricId\":\"61ea573b-a444-49e6-b804-cb2b2eac0518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"40ed0586-9c6f-4f0d-9e4e-9a3aafe53554\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42312f0-7272-434e-98c9-f87de9571265\",\"dataFeedName\":\"js-test-mySqlFeed-163433850942009324\",\"metrics\":[{\"metricId\":\"a46a2716-7613-4d1f-ad0f-a68bd2a5336c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c5a83e72-2d48-4dab-af41-9175a15253f6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f337ee7d-cb3a-4c84-8aef-087867fef781\",\"dataFeedName\":\"js-test-mongoDbFeed-163433850942006486\",\"metrics\":[{\"metricId\":\"8d69fe2e-cf9f-4163-931b-d40bd8b7a800\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"052428d4-5831-4957-b961-dd5fe634067e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"df64d783-cbeb-4f59-913f-1b7b7f8a5d78\",\"dataFeedName\":\"js-test-influxdbFeed-163433850942002966\",\"metrics\":[{\"metricId\":\"80e2c19b-bb1a-4388-9cc6-33f22a9d524f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2edf4b3f-5603-4228-8718-3386db7cc9db\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"15fac2c4-9b96-4029-9bd6-b8187c6a8027\",\"dataFeedName\":\"js-test-tableFeed-163433850942003172\",\"metrics\":[{\"metricId\":\"9f48c5b8-fa50-4c01-8e19-3f0af7ca667f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8b14d6fa-9589-47a3-80f4-2428eea1281b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4324bb8-3383-4caf-8a1f-6188c3b06f56\",\"dataFeedName\":\"js-test-dataExplorerFeed-163433850942006585\",\"metrics\":[{\"metricId\":\"ff677574-7597-4236-a280-ece802441f89\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcfe74c1-a212-4a2e-b7ae-86d69d6191c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"106784c1-8835-4f4b-ad71-f0978fae7837\",\"dataFeedName\":\"js-test-cosmosFeed-163433850942008143\",\"metrics\":[{\"metricId\":\"0da56162-f2e7-443d-9cee-6ad9d0c47dfe\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8de5feb6-26f5-4add-85d0-f99ee837453f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f2a7474-51de-44ac-92a0-912e039efd35\",\"dataFeedName\":\"js-test-sqlServerFeed-163433850942004244\",\"metrics\":[{\"metricId\":\"d1de3841-15b3-4bdc-8437-f50787962b3c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dce159ff-b8d3-4932-89ba-5a72cf9123e0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"83bb685e-3c33-4742-8188-50f22915295e\",\"dataFeedName\":\"js-test-appInsightsFeed-163433850942005474\",\"metrics\":[{\"metricId\":\"b8a339a6-62ce-4d00-ad52-2213800eceba\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7141608-2242-4377-8f49-46c8e46dfa12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"57acead6-3bee-46e9-a05b-226626bfc824\",\"dataFeedName\":\"js-test-postgreSqlFeed-163425217090408737\",\"metrics\":[{\"metricId\":\"539b7713-4289-4d1d-9628-5c86a86051a7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2a8a29b1-5285-4a94-bed7-2146b20291b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4ac1273-9249-4bfa-83db-f907178157df\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163425217090404735\",\"metrics\":[{\"metricId\":\"0bb40ff8-1fe6-4045-ae87-7df0956c8a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1345f27f-facf-4baa-ba88-1069141b8733\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"93016b8a-5db1-489e-a15d-bf89944e2732\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163425217090403154\",\"metrics\":[{\"metricId\":\"a30713a3-c9f2-4c08-8ca8-6f2b667738b3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5f59e56-f0a3-40d5-a9dd-c535a2411b04\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f817aa1-c49f-424f-84a8-744cde3802e8\",\"dataFeedName\":\"js-test-mySqlFeed-163425217090403483\",\"metrics\":[{\"metricId\":\"713abf2e-3351-491b-bedb-53f0c6354c4d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cd9dcd8e-b661-443d-9194-4b001abbe18a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bacb9a83-6d9e-4868-b22e-d3d35c17133c\",\"dataFeedName\":\"js-test-mongoDbFeed-163425217090401041\",\"metrics\":[{\"metricId\":\"d1b1ad45-1aa1-4d96-b134-7f039bf628f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1888a766-f6da-498a-a62f-a098be6ac72f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:08Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26ef2841-4afa-4109-a99a-87283cd1b3bc\",\"dataFeedName\":\"js-test-influxdbFeed-163425217090400404\",\"metrics\":[{\"metricId\":\"0abf9946-a4b3-45cc-aa77-3840ddd50993\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"af614b1d-799b-49d9-949e-87dcf2bda2ab\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2f4140f4-1909-42a8-aff0-b99def9deffb\",\"dataFeedName\":\"js-test-tableFeed-163425217090408777\",\"metrics\":[{\"metricId\":\"5bbadc9e-47d1-47fd-af15-2b4c0315a508\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7f3b580c-28bf-4217-8148-459fc9280cbd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b6c4066-cfca-4fdb-a1d2-2eb5542f79e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163425217090406927\",\"metrics\":[{\"metricId\":\"1623ced7-5372-4ddf-ace0-98484c420957\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fd2a820a-2622-422c-9a3b-d00e0ae5b0c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"65c33d7d-9c0b-4039-94da-9007dbe241e5\",\"dataFeedName\":\"js-test-cosmosFeed-163425217090407342\",\"metrics\":[{\"metricId\":\"933b5b13-d2fe-4132-9413-034dd1a1e569\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b48f9fdc-309e-479d-8830-1459085b92f3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ea05aed5-aa00-4465-8f9e-6cbf6e14aff3\",\"dataFeedName\":\"js-test-sqlServerFeed-163425217090404114\",\"metrics\":[{\"metricId\":\"317f97ff-9808-4ed3-8712-c92659a3b25e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea6da990-b74f-4999-b5c4-bd749d113bb4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "494150a8-ad2a-4afc-9af9-4568bed60e62" - }, - "Response" : { - "x-request-id" : "6f5009a3-b449-48f8-9693-120a7caa381f", - "content-length" : "26821", - "x-envoy-upstream-service-time" : "188", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f5009a3-b449-48f8-9693-120a7caa381f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"fdc1c582-bba0-468c-ab58-e85bf0fb7201\",\"dataFeedName\":\"js-test-appInsightsFeed-163425217090405709\",\"metrics\":[{\"metricId\":\"3906e586-05a2-41ce-a89d-58c0ef88fff6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"660a265f-da62-41ca-a448-e80afe023e39\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d17f93b6-0852-4da8-aec0-d5f00673f68e\",\"dataFeedName\":\"js-test-postgreSqlFeed-163416596428201839\",\"metrics\":[{\"metricId\":\"c86cc6cd-ee66-436c-9c77-a26b0785cd85\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"713b5b85-f8c3-4cde-8014-64fd3c0c638f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6a98b7ad-ffc8-456c-8939-7314ce99b0be\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163416596428206823\",\"metrics\":[{\"metricId\":\"22acd26a-8b3a-4e35-be23-7faaecd4ad34\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51340ea1-f6f2-4191-8009-11ef089fa68d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4129aa5b-f664-48f9-b7c6-7ab0a00e3173\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163416596428205979\",\"metrics\":[{\"metricId\":\"570a2f41-1d4f-46bb-82ac-11b46c3f85e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cc72378-6a9c-4db9-ae17-494c69ec3382\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"47fa40a6-1ffa-425f-9348-06eddbfcec21\",\"dataFeedName\":\"js-test-mySqlFeed-163416596428204189\",\"metrics\":[{\"metricId\":\"bc5c0828-4d2e-4f1e-bef3-16f9d8dd9e9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ee2de793-3cb6-4ea2-8f75-a15a8f507f3c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6bc26334-3d4a-4c6e-9b9f-bc64648df3b3\",\"dataFeedName\":\"js-test-mongoDbFeed-163416596428203057\",\"metrics\":[{\"metricId\":\"415387ca-61f4-4424-a270-5fc07de3cda4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e6e8d45-66ce-42ac-b2ec-bc587c29c221\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22880bf7-fe5a-429a-b940-fe1e7bcdc1d6\",\"dataFeedName\":\"js-test-influxdbFeed-163416596428205352\",\"metrics\":[{\"metricId\":\"266a7b9e-b0d4-4e58-8249-a323b3eed704\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a199c341-2c6c-4d65-8b24-bef478bf058f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4061e534-3c2a-44b9-88ce-3fe7a6b2b317\",\"dataFeedName\":\"js-test-tableFeed-163416596428209518\",\"metrics\":[{\"metricId\":\"7b6d4b44-cdc5-409c-8a65-806f514e136c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d519c9c4-299a-4c35-9d04-6b03014f3712\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9aba55b0-2226-4170-b0f1-5f5c281b2ab3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163416596428209351\",\"metrics\":[{\"metricId\":\"1638e7fe-e1a1-4549-918b-a95557722533\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1fcd05f9-7364-4c9a-b134-125e08c227a8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d54ca735-c5ed-4aee-81ea-7b09f32d0dc4\",\"dataFeedName\":\"js-test-cosmosFeed-163416596428209934\",\"metrics\":[{\"metricId\":\"9fc9ba13-4e33-4879-b037-95bf7e703eb5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8714548c-cce1-49b3-b1bd-1eaf2b27dbf9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9a7458ec-34f1-47a3-ab16-38f8a1cdff4e\",\"dataFeedName\":\"js-test-sqlServerFeed-163416596428209579\",\"metrics\":[{\"metricId\":\"7c7f75fa-036b-4d6c-9a88-829e3bcd00a4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c9b483d-c2bb-45bd-a5d1-13c2bdbd3c25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"16de3de9-3282-4faa-8438-db96b781dfd3\",\"dataFeedName\":\"js-test-appInsightsFeed-163416596428205623\",\"metrics\":[{\"metricId\":\"803dbf64-08c1-4369-9a81-b3e6024b75df\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c173bd7-c4e9-4bf6-ac9f-40d21dba3e7a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ecf7fb2b-665f-4478-93e2-5486307ca8cb\",\"dataFeedName\":\"js-test-cosmosFeed-163407956949508845\",\"metrics\":[{\"metricId\":\"0c282973-acd4-46f0-9ccd-48e47f082fa5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e06bba51-8b02-4f56-9518-e7e8ff96ace1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T23:00:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6c3903c-d940-4511-a443-d96aeda61a3d\",\"dataFeedName\":\"js-test-sqlServerFeed-163407956949506495\",\"metrics\":[{\"metricId\":\"79781ed2-6259-4221-ab95-d25aea5747ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"10713176-5d8b-4590-9981-041aaacfe985\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3934c532-5be6-464d-b4af-3eb246f3ca40\",\"dataFeedName\":\"js-test-appInsightsFeed-163407956949509570\",\"metrics\":[{\"metricId\":\"f9503a78-1a49-41b6-aa14-ea04a9920a82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff846520-c02e-4bec-b0e2-b21d7c2cd7dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"07d27695-7c0f-4771-9685-71b8ddd65774\",\"dataFeedName\":\"js-test-postgreSqlFeed-163399280662707867\",\"metrics\":[{\"metricId\":\"552f724d-bbc1-411b-85d1-6a9e5ec60e4c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"616edecd-3175-478b-94f0-f7e5c1222723\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cfd4ef44-72de-4870-a4d9-9c0e4061bd93\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163399280662707978\",\"metrics\":[{\"metricId\":\"73d97afe-e535-4814-8f76-ae946afc48f2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0630e869-44a6-4590-9cc0-eeb73537ce7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1cb938c1-46cd-4798-a614-7f5103e71c5a" - }, - "Response" : { - "x-request-id" : "c267c04b-602b-4ddc-bec7-69556fa9a099", - "content-length" : "26358", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c267c04b-602b-4ddc-bec7-69556fa9a099", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"cfd4ef44-72de-4870-a4d9-9c0e4061bd93\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163399280662707978\",\"metrics\":[{\"metricId\":\"73d97afe-e535-4814-8f76-ae946afc48f2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0630e869-44a6-4590-9cc0-eeb73537ce7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e26bbf4-f940-4b7c-bf24-b84d397f1999\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163399280662705386\",\"metrics\":[{\"metricId\":\"dae7c2de-ccf6-467c-8756-f32c2eeb9b6e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"60606158-081b-4220-b340-dcd21c0180a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e04301e-ac1c-433b-91ab-def250902e09\",\"dataFeedName\":\"js-test-mySqlFeed-163399280662709186\",\"metrics\":[{\"metricId\":\"56f68e39-e544-4376-b11f-3eb141f01e2e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d184cac-a032-4ab8-bcad-23f4c7009258\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"99a94fc0-159b-44f9-a46b-6636ee76628d\",\"dataFeedName\":\"js-test-mongoDbFeed-163399280662700535\",\"metrics\":[{\"metricId\":\"482df33d-c32d-4f54-a318-845e796d4fd6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea92ed9c-cee2-475c-a695-a620bd21b045\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff034aa3-f03a-4d57-be0a-3ff4a406421c\",\"dataFeedName\":\"js-test-influxdbFeed-163399280662701108\",\"metrics\":[{\"metricId\":\"dbec1abb-3d05-4d9c-8984-c9fab02debea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a5c9f3e-a160-49a7-b028-332888057b5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8aecc17c-3f0b-4546-88dd-0fdb3691f4a3\",\"dataFeedName\":\"js-test-tableFeed-163399280662703929\",\"metrics\":[{\"metricId\":\"09333e5b-9ad2-4ca4-a203-0109ceae6a41\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0f5e207-fabf-4615-bb7a-46c6b236d622\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0c69e54-cce1-4b7e-8126-7761d91b6f1b\",\"dataFeedName\":\"js-test-dataExplorerFeed-163399280662708753\",\"metrics\":[{\"metricId\":\"6336c919-06d3-4bd2-8cbd-3d48e6e2653c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4ea06722-e3a1-4ce5-8aee-ef119db8be37\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f9cbe412-3c4d-4ec7-b62a-29ea7f5a8d8e\",\"dataFeedName\":\"js-test-cosmosFeed-163399280662709609\",\"metrics\":[{\"metricId\":\"f2b94d8e-d819-48e2-a876-5707328589d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"24bc5c7d-fc54-4701-ae4a-276829eed7aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c111be50-a305-4864-8b21-fc29570fc044\",\"dataFeedName\":\"js-test-sqlServerFeed-163399280662702061\",\"metrics\":[{\"metricId\":\"c511a252-9378-4f90-86f5-b6de90364347\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d4be9ba-ff43-4949-be9f-23d1e53cad49\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"14e6256b-0795-44af-953f-61f35be51547\",\"dataFeedName\":\"js-test-appInsightsFeed-163399280662704194\",\"metrics\":[{\"metricId\":\"31174c1b-1ccb-4ba2-842f-2df0293ba966\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3eaa7d9b-4fd7-4c9e-97eb-666e40dc6db0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2952571-7d9a-49b9-876a-513a5a9a6237\",\"dataFeedName\":\"js-test-postgreSqlFeed-163373361110602347\",\"metrics\":[{\"metricId\":\"45d24204-3dda-4dcd-a176-0a8d8444e78e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f9f8860-523a-4616-afb8-2b72d59147e1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6b38250-9033-4021-9945-c8411c6520d9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163373361110605004\",\"metrics\":[{\"metricId\":\"6a85b973-eaa0-4c66-8c61-219244665db4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4383df27-a33b-4ee2-9ee8-d5b7ce544927\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"450e0e05-769e-4b60-93f1-6ed23fd9573c\",\"dataFeedName\":\"js-test-mySqlFeed-163373361110605569\",\"metrics\":[{\"metricId\":\"c4684207-6df4-416a-865d-65f45e096460\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2531f73-ab81-41ee-9d68-7e6c9a83aece\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bd0320a4-15f4-47e4-9b92-91b2480f1715\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163373361110601677\",\"metrics\":[{\"metricId\":\"c8e0dd3a-4d55-4060-b185-d2f82c7710bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6db0d007-0574-446f-a2bf-811b11ece6f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cb08d532-8be3-450c-9562-becea8f94f42\",\"dataFeedName\":\"js-test-mongoDbFeed-163373361110601970\",\"metrics\":[{\"metricId\":\"fb38cd98-9871-426b-9092-364b7b3cf7ee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6539bf76-9b84-46ca-ba41-bb2fe5ce8ac7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"95924e75-8eb4-495d-9c88-5f270b788008\",\"dataFeedName\":\"js-test-influxdbFeed-163373361110601851\",\"metrics\":[{\"metricId\":\"a5472966-a6a3-443d-8472-c2ffbda37784\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53a6e061-a671-41dc-af48-901c0c3de1bf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59f7ff96-55ba-4bd3-8b12-667147df36b1\",\"dataFeedName\":\"js-test-tableFeed-163373361110609604\",\"metrics\":[{\"metricId\":\"89ec0c77-06da-4dda-a3be-567382bc6326\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"646583df-e6bf-42da-a581-c336e46baea1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3508e655-2fae-45d1-89a5-d63b7c7de9ca\",\"dataFeedName\":\"js-test-dataExplorerFeed-163373361110607870\",\"metrics\":[{\"metricId\":\"87c7055c-1ee2-4ca1-9d0d-de6a0c2b794e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5d103c50-2c12-4250-bb5f-ed55e2fb8c1d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"3cfbfe03-724d-4e5e-8708-a23aec71b016\",\"dataFeedName\":\"js-test-cosmosFeed-163373361110602125\",\"metrics\":[{\"metricId\":\"94abfba0-7886-49df-8670-06df71361ead\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"093d3b0a-3bc6-4408-9232-47d3d447ca09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ff7f6b01-9619-493e-8f32-5aaac106f093" - }, - "Response" : { - "x-request-id" : "d77a173f-3735-446f-baba-a5bc057cfe8c", - "content-length" : "26575", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d77a173f-3735-446f-baba-a5bc057cfe8c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"3cfbfe03-724d-4e5e-8708-a23aec71b016\",\"dataFeedName\":\"js-test-cosmosFeed-163373361110602125\",\"metrics\":[{\"metricId\":\"94abfba0-7886-49df-8670-06df71361ead\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"093d3b0a-3bc6-4408-9232-47d3d447ca09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a6c15cca-c02a-4ccc-b5ae-b631749ed1db\",\"dataFeedName\":\"js-test-sqlServerFeed-163373361110600523\",\"metrics\":[{\"metricId\":\"b2d3c45d-11f5-4fcd-a893-2a1b16c8713e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32c0ae30-1217-4105-b518-7233d04dff8e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0dc2b89c-177b-422f-8dbf-42290a56ec7a\",\"dataFeedName\":\"js-test-appInsightsFeed-163373361110609911\",\"metrics\":[{\"metricId\":\"d3c844d9-3457-4248-abca-70a9350f79b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"68a82856-561e-4d31-aef3-e1cb6c2aad53\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d5d1c2bc-d5c6-4cea-8473-3bfbde123092\",\"dataFeedName\":\"js-test-postgreSqlFeed-163364745750608742\",\"metrics\":[{\"metricId\":\"e53312f0-59a7-4fce-bd02-3ab68af31dc0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"caa31f64-3a6d-4187-b49c-ac273bef35df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"151c4512-f739-43bd-bc00-9601d906e134\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163364745750608769\",\"metrics\":[{\"metricId\":\"b839a1e3-b416-4426-b792-bdc30fb1b541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b3b398fc-e74b-42cf-8558-1667d6cdf9be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae547aff-5069-48e9-a4c7-09b4c999e8ae\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163364745750606894\",\"metrics\":[{\"metricId\":\"c0c01b47-b8a4-471a-ab37-4943db041a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d01cbe8-7d8a-454a-9569-10d96eb7e86f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e642e562-be4c-498d-ab86-427acee1ead8\",\"dataFeedName\":\"js-test-mySqlFeed-163364745750608285\",\"metrics\":[{\"metricId\":\"0507e6e4-5e7e-44e0-a9f7-eec7b9a1c7ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d7ea05d5-2c47-443a-95e3-47846391eb21\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f4ef121-4432-48cd-9c90-e351b6301e3f\",\"dataFeedName\":\"js-test-mongoDbFeed-163364745750604681\",\"metrics\":[{\"metricId\":\"4a27c7ee-a821-451f-815f-86830c565337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cee858a-9677-4c36-8068-32603e636bbc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9d02f95-c613-42f9-8240-f2d1789a56a5\",\"dataFeedName\":\"js-test-influxdbFeed-163364745750602380\",\"metrics\":[{\"metricId\":\"ae077b81-10da-400a-8930-185a68610a1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1647df18-46c5-474e-bbe1-05a6b5501727\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b88c4925-df83-4a56-b9c1-495bfa1e4f70\",\"dataFeedName\":\"js-test-tableFeed-163364745750608689\",\"metrics\":[{\"metricId\":\"c23a17e3-f400-48d3-b640-80d6667c1e67\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5624e3ca-d3fa-4419-a433-eaf7bc83a7be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8f1b9cbd-3cb7-4721-af99-f94403be25c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163364745750608621\",\"metrics\":[{\"metricId\":\"87cc7324-f2e0-4068-9633-9a01ee059d92\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b5e2659-97cc-4d6c-a939-7a859dc1db32\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"5b5eb11e-c18b-45cf-887d-fa0d1c60c364\",\"dataFeedName\":\"js-test-cosmosFeed-163364745750609141\",\"metrics\":[{\"metricId\":\"bb903a81-cbbc-45ff-979a-6ac46dc850f4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d9e2339b-4d88-4dfc-96fc-26e6724b06aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a2626344-6eba-4824-86ce-37325ea544d0\",\"dataFeedName\":\"js-test-sqlServerFeed-163364745750604914\",\"metrics\":[{\"metricId\":\"9905e49d-bb9c-4689-9cd2-818b32a6f598\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"43a7acbc-0a8b-4241-88fa-e335020a3b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76b054a1-4602-42c5-915b-33b45783d6d3\",\"dataFeedName\":\"js-test-appInsightsFeed-163364745750604468\",\"metrics\":[{\"metricId\":\"99ce3cb9-026b-4f97-b91c-36680c7b2bb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32397263-0b09-4e39-8d88-63bd726900d9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2b5f342-2677-4681-81ec-c411b8828507\",\"dataFeedName\":\"js-test-postgreSqlFeed-163356099797004726\",\"metrics\":[{\"metricId\":\"595f17dd-73de-4e06-962f-b4792a36553d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"520b7462-75fa-4ae7-b0ea-d17f459e1e5b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"461e9ea0-421f-4404-886b-733f32ac3977\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163356099797005686\",\"metrics\":[{\"metricId\":\"80cd02e0-0b34-4495-ae90-23c828ada3ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1e5a46a-26e0-4eee-ba25-dad842fd0294\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b482adb-152e-489e-a721-617d8d690d6f\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163356099797004380\",\"metrics\":[{\"metricId\":\"a622a807-d0ac-4f36-96b4-3a012546fc2c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7a363150-d78d-4c6d-bc87-9848ffbe62c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8b9965a7-77bd-4063-981f-3e41fbafc57c\",\"dataFeedName\":\"js-test-mySqlFeed-163356099797005438\",\"metrics\":[{\"metricId\":\"5c82d2da-9886-4bbf-b3ed-0949e383d5ca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2d10dd3-9c99-438e-bce5-415874cadf2f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e042c9c-1e2b-4c93-8dcf-f7a8fa53f2b5" - }, - "Response" : { - "x-request-id" : "c9449558-07d8-47b8-9867-20b720d6e9c4", - "content-length" : "26565", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c9449558-07d8-47b8-9867-20b720d6e9c4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"4a721f89-a957-48c0-a47c-f02c6ccc858c\",\"dataFeedName\":\"js-test-mongoDbFeed-163356099797000564\",\"metrics\":[{\"metricId\":\"872ccbc8-09f7-46b7-971c-53545d0cd191\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f1ef6f7-0b5e-44a7-9d8a-adeff3eb477f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f425cbef-9e06-45f0-b041-c60e5720775d\",\"dataFeedName\":\"js-test-influxdbFeed-163356099797009186\",\"metrics\":[{\"metricId\":\"b71ca02a-09ec-4ed5-b2da-41217e85491f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3bccf739-e576-4b4d-adc7-c998fa8a9ce7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"27d8de1b-c4fb-4922-9bc0-aed34e00fa11\",\"dataFeedName\":\"js-test-tableFeed-163356099797006938\",\"metrics\":[{\"metricId\":\"8017b783-a12e-48c0-8cdf-50493ed9c720\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d8801159-4c73-4ae6-849d-b9213fdca5f4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a96a7882-404e-491b-a3a6-45789bbfab5a\",\"dataFeedName\":\"js-test-dataExplorerFeed-163356099797005029\",\"metrics\":[{\"metricId\":\"a400b067-b321-42a6-9cf6-f90b2248375d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"02410349-01df-4c4a-b174-589756d6b1e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"2f66eda1-79ff-4db2-95b1-379d743f969c\",\"dataFeedName\":\"js-test-cosmosFeed-163356099797009443\",\"metrics\":[{\"metricId\":\"17c51a7b-3ecc-40ba-8e52-7b559b40b54e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"533938f3-2be4-4aac-8d12-45a64d14c133\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34d422b5-deaa-420b-be18-d05ac636edd6\",\"dataFeedName\":\"js-test-sqlServerFeed-163356099797000510\",\"metrics\":[{\"metricId\":\"36c5a2e4-f874-42e1-badd-df6d5669af6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ace84552-8c15-4b5d-b6f5-10a73c49a7c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05d01cca-26c6-4857-ba5d-bc09bef8b9b1\",\"dataFeedName\":\"js-test-appInsightsFeed-163356099797000138\",\"metrics\":[{\"metricId\":\"79b5c438-46e2-4a72-992a-c158bad649ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"64ad65c1-8a52-4571-addc-d3df48d3bcae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"386ac2ff-df82-4993-8b91-05e169ab16c5\",\"dataFeedName\":\"js-test-postgreSqlFeed-163347460219301896\",\"metrics\":[{\"metricId\":\"bb7fe4e3-67e3-4302-b262-3ebf5b566245\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d180046e-9855-4546-b20a-a4495c0feda5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2fc2fdd2-6c76-44d3-8c26-99eae8b20124\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163347460219308619\",\"metrics\":[{\"metricId\":\"5e8ae7d1-36eb-4048-a828-85d075bfb705\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"00909ae9-8fff-4f37-a996-3ca6c948816f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f925fe2b-32eb-43ef-b748-4d2cc64fc611\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163347460219307690\",\"metrics\":[{\"metricId\":\"acbc430b-5440-4b95-a2de-071c14d12fb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1a9a1dc-2fe6-4351-b76f-3967a019c031\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7e2c7d8c-8fd5-4ab0-b831-f88981ab459b\",\"dataFeedName\":\"js-test-mySqlFeed-163347460219304278\",\"metrics\":[{\"metricId\":\"dec4718b-51a3-4b38-9d66-78f57118887e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7329beab-1b48-4e77-84e8-88880b99512e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bcd412d1-8097-4a63-8af9-ea8014bd24e5\",\"dataFeedName\":\"js-test-mongoDbFeed-163347460219301593\",\"metrics\":[{\"metricId\":\"752db659-a090-43b2-b7ad-646018a0566c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8af77e14-5645-4c78-9a1e-e34f0ab6fe60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d4843d8-3464-4f12-abbf-7b666530b170\",\"dataFeedName\":\"js-test-influxdbFeed-163347460219303248\",\"metrics\":[{\"metricId\":\"40d80fbe-3520-4068-96ac-c3deaecdf43c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e282e21-dc3f-459d-b60d-2f0ab6fc7b69\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"241560f0-d51e-4854-8674-fa80c7ad163f\",\"dataFeedName\":\"js-test-tableFeed-163347460219301786\",\"metrics\":[{\"metricId\":\"45fa5e3e-8eef-4bb8-8e2b-d3ad4bc089ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0ae3be92-32fa-4324-a7ac-efbf48efab5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc7cbfc6-ca32-4fb1-94f8-564bcc16ec4e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163347460219309573\",\"metrics\":[{\"metricId\":\"c9dd00db-366c-4cb4-9fed-b997a87103bb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0121f29f-e62a-4601-ab6c-dfa7e4c3c74f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"96129eec-466f-497c-a8f8-83566d23ca7d\",\"dataFeedName\":\"js-test-cosmosFeed-163347460219304530\",\"metrics\":[{\"metricId\":\"1d780232-d204-4a0f-919f-fe2b895f9553\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2700d78-d4e4-4a04-9c14-07ffe64d3595\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b313675e-e728-432d-b973-3e32b43f9334\",\"dataFeedName\":\"js-test-sqlServerFeed-163347460219304622\",\"metrics\":[{\"metricId\":\"8dac805a-8094-4089-a551-d9da39627b27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cd02751-5852-4b52-9cd1-e46a630d930f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b87f889-18c9-4361-9529-e92c41288e73\",\"dataFeedName\":\"js-test-appInsightsFeed-163347460219307862\",\"metrics\":[{\"metricId\":\"09d1b797-8b73-46b1-b37e-8c04717a06bc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c59314d-e2df-4c8d-a7ae-d0be69e5cb5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3020579c-e23c-458b-aee1-4f7ed5fb3005" - }, - "Response" : { - "x-request-id" : "83497c6a-e92c-41f2-a661-dce0a824e8ed", - "content-length" : "26264", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83497c6a-e92c-41f2-a661-dce0a824e8ed", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d0648e92-492b-44cb-8327-4c9b861aad73\",\"dataFeedName\":\"js-test-postgreSqlFeed-163338814690007155\",\"metrics\":[{\"metricId\":\"ab4c635d-423e-4b61-af47-0f196214c1e8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff4a7986-61d2-4c95-88d5-0ea21e79287d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"574f75c3-58c2-4b1e-bab6-47fcf39b7bd3\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163338814690004828\",\"metrics\":[{\"metricId\":\"93eac5d9-fc51-443e-8604-0822fbffefac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"92512efa-f325-4f62-833c-93907185f3f5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"11d8cf94-c6b0-476d-8d04-81f8328dcf27\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163338814690000658\",\"metrics\":[{\"metricId\":\"329a97ef-c46b-4f96-9220-d98e5f5fbd1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ef65dcb2-a3f6-49c8-8909-4cdf1d6843ce\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"91b43fad-5cc5-4d89-b687-9be9ce875ac4\",\"dataFeedName\":\"js-test-mySqlFeed-163338814690005430\",\"metrics\":[{\"metricId\":\"d55210ee-919c-407d-9626-df8b55306bcf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"decd446f-2c42-4a35-928f-671f192de097\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b298e0c1-7e98-47ad-8e00-282a458d61ef\",\"dataFeedName\":\"js-test-mongoDbFeed-163338814690003885\",\"metrics\":[{\"metricId\":\"d3c61ebf-486a-4e78-81fc-6b57c96e44c8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5ea0850-73cb-4c84-873a-d7e2b0a56ca2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"97307f09-8842-4409-af8b-7d27cf5645de\",\"dataFeedName\":\"js-test-influxdbFeed-163338814690004992\",\"metrics\":[{\"metricId\":\"ad7ea7e6-1b91-41ba-9d13-64d8a8cd8b65\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8153f2d3-c392-4acf-912b-f1d3cd04dcac\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a0a1e8f9-35e1-4747-afdb-547c608e8649\",\"dataFeedName\":\"js-test-tableFeed-163338814690006976\",\"metrics\":[{\"metricId\":\"bdf77fd4-4e83-4d3c-98ab-9cdcded4d283\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d31df08b-977d-455f-a6b2-0e82089c9c7f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4bb5c73d-133f-4fb6-824e-7c92c5dd85fd\",\"dataFeedName\":\"js-test-dataExplorerFeed-163338814690004329\",\"metrics\":[{\"metricId\":\"e65b5f10-514e-4ad1-be20-04ef99f8e337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d88ef76d-c0e2-490d-b51f-6a1ccbc81adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"999e7511-927f-4f04-9b8c-7bca56a91ce2\",\"dataFeedName\":\"js-test-cosmosFeed-163338814690003601\",\"metrics\":[{\"metricId\":\"c51b1ccc-3451-48d0-8998-cdef1d94e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d69b4da-0cf4-4d10-90ce-f3460927b6a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e67887d9-1000-458e-a899-33781621647e\",\"dataFeedName\":\"js-test-sqlServerFeed-163338814690009483\",\"metrics\":[{\"metricId\":\"367454c6-9fb3-43ce-89b4-f2facdfc7163\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"15596c3a-60a8-41de-84ed-49729028f7e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4280cf0e-e12a-4135-a5cb-fbcb2a225fa2\",\"dataFeedName\":\"js-test-appInsightsFeed-163338814690003701\",\"metrics\":[{\"metricId\":\"187c0044-dfc1-4adc-8ca8-2709fba1d8ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d650b34c-e00a-4356-af47-654499fc8b78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3d16da20-1e50-4b6c-b12e-a0258062a5c2\",\"dataFeedName\":\"js-test-postgreSqlFeed-163312892993307149\",\"metrics\":[{\"metricId\":\"56263637-f807-4a69-95c9-8a54d3a815cf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6be3ec57-b12a-4a1a-a941-a4f7373d01ff\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7881d71e-ca2a-491d-979c-beeb9d35407b\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163312892993303403\",\"metrics\":[{\"metricId\":\"becf965b-2a14-4d23-bbb5-15058c3c088d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"69ffa8a5-23a0-4c61-8851-7783b6de6445\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae39d1fd-419d-42b1-9fd3-6843b85e70f8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163312892993309712\",\"metrics\":[{\"metricId\":\"87bd7641-f35a-4324-9538-afaa203dee9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"94210e48-a5bf-4bb6-80a1-e999c9717072\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d64d4795-84ac-4afa-9c35-5d71d3fa421c\",\"dataFeedName\":\"js-test-mySqlFeed-163312892993303355\",\"metrics\":[{\"metricId\":\"a29f1e97-057b-4c2a-8ef0-cec9bb8f9d82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8f5c35f7-3d2f-4ed7-804f-9530d413dff6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0fcbb92e-61f6-42f2-9008-d5ebab00bb15\",\"dataFeedName\":\"js-test-mongoDbFeed-163312892993303542\",\"metrics\":[{\"metricId\":\"c016e503-0378-493b-b2f2-59d46299bce4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c214b47a-6b69-4807-869d-2443ca37211c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6dd57159-5101-4048-8ea1-94f48e3c752c\",\"dataFeedName\":\"js-test-influxdbFeed-163312892993305001\",\"metrics\":[{\"metricId\":\"c82a369a-a2db-44ce-b666-7ee585f96dca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"efffe1ff-df05-426f-bbaa-3332e1926b98\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"53427ba6-7d70-4d02-bc84-6918f270aab1\",\"dataFeedName\":\"js-test-tableFeed-163312892993204266\",\"metrics\":[{\"metricId\":\"b2c5085f-5bad-4a3a-bdaa-03c9f0f40151\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f64e311-9b15-4d10-8a0f-5fb553bfae90\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ebb3f661-fadf-48d5-bdbe-e1a9b574bbcb" - }, - "Response" : { - "x-request-id" : "450c755e-4a2a-4684-b734-1e8758b9130b", - "content-length" : "26488", - "x-envoy-upstream-service-time" : "158", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "450c755e-4a2a-4684-b734-1e8758b9130b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6bc6cbb4-320c-45dc-92e0-a5011a011d72\",\"dataFeedName\":\"js-test-dataExplorerFeed-163312892993205417\",\"metrics\":[{\"metricId\":\"6e474f1d-c800-4750-9a88-1b84ed5f37b5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d6acb55b-57f6-4339-9f56-bf3814eea8dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"c62d2468-0dd4-4524-94a4-6f6dfe4117b8\",\"dataFeedName\":\"js-test-cosmosFeed-163312892993205225\",\"metrics\":[{\"metricId\":\"6a80f493-6a9c-4da4-af5c-9175710460f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b74fb702-ac65-475a-925e-53d85166030f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"068a182a-b028-4628-9ae2-943cc599bb82\",\"dataFeedName\":\"js-test-sqlServerFeed-163312892993203881\",\"metrics\":[{\"metricId\":\"a87a360c-4e2f-471e-9150-a5c90b46e9c0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"421ec078-9ed8-43be-ad98-9fd0ad5ea9e6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f487100-6eaf-4170-92ab-923e09199ec1\",\"dataFeedName\":\"js-test-appInsightsFeed-163312892993209249\",\"metrics\":[{\"metricId\":\"4eed8fde-6784-408b-8383-0db3cadc172c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6bef3b5e-8992-4354-aacd-e40a52e51adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3bfdad0-f82d-428a-a024-4e694f48db55\",\"dataFeedName\":\"js-test-postgreSqlFeed-163304256469805732\",\"metrics\":[{\"metricId\":\"bff1aad1-77f5-474f-8ef9-119f027019cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b29a243a-c140-4dad-a963-6c9b912fbe97\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ab1ae0ee-9843-468c-a70a-681d3f5d8f07\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163304256469802028\",\"metrics\":[{\"metricId\":\"e4d49823-08f3-4c82-8f8e-13f52f7ce1a9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0271adcc-153d-4127-845a-31faa3872336\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"71fe4975-7e5e-4621-89d5-1ba7c765251c\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163304256469808385\",\"metrics\":[{\"metricId\":\"74d0e299-7b9f-44f0-b8e2-9e456c18a18b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e211f231-c89c-4bff-8409-519a442d43e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2cabfce0-7b8e-48fd-8b7b-edd609e853ce\",\"dataFeedName\":\"js-test-mySqlFeed-163304256469807300\",\"metrics\":[{\"metricId\":\"18f00f58-b870-4b59-b6d8-7d6d59ba7b7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0eba33c6-11a0-4a68-b236-ecd643e00a7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5233196e-6560-499f-94ce-401c184131df\",\"dataFeedName\":\"js-test-mongoDbFeed-163304256469809271\",\"metrics\":[{\"metricId\":\"89c077eb-9fb8-4806-b430-6e1995c4c222\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b7b70d8-6678-47af-bb5f-d77b8411f8d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d108bbef-dfec-441c-9743-945ffeab5ccc\",\"dataFeedName\":\"js-test-influxdbFeed-163304256469808844\",\"metrics\":[{\"metricId\":\"0537fe98-7b8d-4beb-8046-57261e416958\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"385385cb-c375-4e20-a7c7-5588365dca2e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5d17aa73-b1fa-4809-97a6-bc7f889ff258\",\"dataFeedName\":\"js-test-tableFeed-163304256469801899\",\"metrics\":[{\"metricId\":\"666c598c-9f9b-4b7a-9165-559e090015d6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1aab75d3-5784-4163-a5e2-ddb2112fe0a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b0e4d6a-5b18-44b3-821d-8816c66462ec\",\"dataFeedName\":\"js-test-dataExplorerFeed-163304256469808043\",\"metrics\":[{\"metricId\":\"ed3e2907-78b1-4cf6-b8a3-0ac4fc6d397c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63ec4eb2-e818-4342-bfb8-75ca0907497d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"7d52bf31-0b33-4766-b3a2-a3a5270f283b\",\"dataFeedName\":\"js-test-cosmosFeed-163304256469808350\",\"metrics\":[{\"metricId\":\"d1bcd94c-f02f-4ad9-9f5e-5e4e0538d411\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d773287-fa4b-4a2f-ac6d-89e606b694d1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff199288-5ade-439d-9539-2d9802271db6\",\"dataFeedName\":\"js-test-sqlServerFeed-163304256469803616\",\"metrics\":[{\"metricId\":\"013fd7ae-624c-4684-aa5a-271cc8c3533e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0724e3e4-bc5c-4db9-8385-df0cc4e31e5d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e0cd8cbc-7f4c-488f-9b71-0beab9078907\",\"dataFeedName\":\"js-test-appInsightsFeed-163304256469801704\",\"metrics\":[{\"metricId\":\"5af886f9-772e-4e76-8990-9550ee5011bf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2b615f81-7f65-40ba-9382-d2b56154206a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"44f094bd-4788-4f09-9554-53631657a350\",\"dataFeedName\":\"js-test-postgreSqlFeed-163295624935402170\",\"metrics\":[{\"metricId\":\"790a94e8-b539-418a-a106-aa1cea62a7ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3a2af827-dd0f-4b4e-844a-51b57ab17639\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:58:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26df3035-bea5-4b72-813c-1cb5969bc284\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163295624935409797\",\"metrics\":[{\"metricId\":\"ffe6583e-baf1-439f-b9b8-27c84bc9594c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81da74d2-0a0a-49a4-a4d8-cd3057e1405f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3abafaef-202d-4a99-a586-8c9588634d53" - }, - "Response" : { - "x-request-id" : "464c0db4-0689-4435-917d-11a795efb9bd", - "content-length" : "22765", - "x-envoy-upstream-service-time" : "147", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "464c0db4-0689-4435-917d-11a795efb9bd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"38019854-46cd-4780-8c96-15ec2b9ce1c2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163295624935404941\",\"metrics\":[{\"metricId\":\"14badd91-5ecb-489e-bc1e-736badbc5937\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"df88f3a9-f118-475f-91f7-5a10e6d478d5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2211978f-a41e-4dd7-9031-a85e21f97d38\",\"dataFeedName\":\"js-test-mySqlFeed-163295624935400134\",\"metrics\":[{\"metricId\":\"5a46e457-5f7d-42ed-9bcd-7419b816a869\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d2caecd-85a5-4111-8fc8-75c1b59242f7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5fa02b12-55be-4fbe-82e1-084c46339ca7\",\"dataFeedName\":\"js-test-mongoDbFeed-163295624935403794\",\"metrics\":[{\"metricId\":\"b316978e-ec05-4e32-885b-dcde1809c727\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7ced785-d743-459b-a25d-d5e16b365f87\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a703d4f-0ac7-4805-b98c-c98eda530f7c\",\"dataFeedName\":\"js-test-influxdbFeed-163295624935408979\",\"metrics\":[{\"metricId\":\"8b8e7c56-305e-403f-8530-d365ad8c3b1c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01524fd3-deaf-4bc3-9ffa-0489b41a89fc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d25002e-09c6-4098-ab8f-e1813aeb022c\",\"dataFeedName\":\"js-test-tableFeed-163295624935405050\",\"metrics\":[{\"metricId\":\"966751b9-1083-47c0-93a4-51a4bf42a123\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"598fec46-8467-47e3-b926-c7f82f4f3fb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"04c0ccd1-6962-40cc-9f7c-a8a3887466c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163295624935403812\",\"metrics\":[{\"metricId\":\"1b3f350c-ce64-4e6d-8a59-82f8eff13da7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63139d12-50b1-4081-b43b-a23b46c3aeaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"ece68b7c-e355-441a-af06-6f501067728a\",\"dataFeedName\":\"js-test-cosmosFeed-163295624935405186\",\"metrics\":[{\"metricId\":\"dbe1d78b-bf8a-412e-917c-4df8d492213d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7441a55e-f491-47a5-8125-c2039999c888\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"66eb4ecc-8755-48f4-bef0-881d75866a09\",\"dataFeedName\":\"js-test-sqlServerFeed-163295624935406441\",\"metrics\":[{\"metricId\":\"b193aa44-184d-48ea-9dfc-fd0843c9c8d2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8fb3821e-1ca6-45af-a22e-575a098a3cb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"921ffe1e-d306-42ae-9642-44d30862e8a2\",\"dataFeedName\":\"js-test-appInsightsFeed-163295624935409579\",\"metrics\":[{\"metricId\":\"f602f759-87c5-4b2f-8000-04f606a1725e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b2f13819-9089-4b56-9c0f-b74ae92251c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"271707ea-a3be-48d6-8655-ec9191334389\",\"dataFeedName\":\"js-test-dataExplorerFeed-163286993752000772\",\"metrics\":[{\"metricId\":\"6168bbd6-ca75-43ed-ab28-aa8fa907613c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63460bbd-89c2-4050-a14d-589207c7e6c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"6a441f0b-9482-418d-9ec2-a486a14339ba\",\"dataFeedName\":\"js-test-cosmosFeed-163286993752000665\",\"metrics\":[{\"metricId\":\"4155cf5b-4064-4ade-9a4c-aa5aa226b807\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"824843f4-04b7-40ba-a508-98169eb5a91b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"64478672-2d07-43cb-a09d-e594465ae919\",\"dataFeedName\":\"js-test-sqlServerFeed-163286993752001601\",\"metrics\":[{\"metricId\":\"ded5b762-0b93-49f2-b984-4765697cc124\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2a63b29-5197-4fbe-9936-35151617e937\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0643ccac-5f48-4bb8-92a3-d5971745aa93\",\"dataFeedName\":\"js-test-appInsightsFeed-163286993752003102\",\"metrics\":[{\"metricId\":\"493917c1-40b2-4518-8308-9eaca74e5b73\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4bf5db06-0093-43c3-a2bf-7c628b62fc9c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", + "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"yutongzhai@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"camaiaor@microsoft.com\",\"kaghiya@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"yumeng@microsoft.com\",\"chriss@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5599bb15-cf0d-47dc-bca4-ef1a532689ed\",\"dataFeedName\":\"sample_datafeed\",\"metrics\":[{\"metricId\":\"00989743-bffa-4e6b-b90b-b41c13e27636\",\"metricName\":\"cost\",\"metricDisplayName\":\"Cost\",\"metricDescription\":\"\"},{\"metricId\":\"54535a9d-2790-44a6-93f7-4171b72276d7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"Revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"Category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-01-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-11-15T22:00:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"9388a986-5430-4666-a758-7461c2a48774\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", + "Date" : "Wed, 12 Apr 2023 22:04:05 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index 916a489595235..d461006e2de1e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -4,20 +4,21 @@ "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", "Headers" : { "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "44a813f5-4b71-4bfd-8302-307869e784f6", + "x-ms-client-request-id" : "5431b6eb-b1f6-45e4-be94-441422ba976d", "Content-Type" : "application/json" }, "Response" : { - "x-request-id" : "4845a8d1-81ae-48f5-a730-5e05034d16da", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "163", + "x-request-id" : "d19c7bf8-dd45-4b51-9b1a-05ae4ffd66cd", + "x-ms-region" : "West US 2", + "x-envoy-upstream-service-time" : "173", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", "x-content-type-options" : "nosniff", - "apim-request-id" : "4845a8d1-81ae-48f5-a730-5e05034d16da", + "apim-request-id" : "d19c7bf8-dd45-4b51-9b1a-05ae4ffd66cd", "retry-after" : "0", + "Content-Length" : "3663", "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", + "Body" : "{\"value\":[{\"feedbackId\":\"2e157fbc-34ab-422e-aa8e-3133323a4c61\",\"createdTime\":\"2023-03-08T23:53:53.675Z\",\"userPrincipal\":\"xiangyan@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-09-09T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"e4a4c55e-486d-46dc-a857-75bbb9c30c3c\",\"createdTime\":\"2022-11-17T08:28:26.451Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"68e2b300-d70c-4994-b565-4cc155b277b3\",\"createdTime\":\"2022-11-17T08:28:25.817Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"2eb51c14-af15-4b9e-9410-6927db36d501\",\"createdTime\":\"2022-11-17T08:28:25.188Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"6499b105-3d22-4bd4-98ec-8527ffd144af\",\"createdTime\":\"2022-11-17T08:28:24.161Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f7537f4-555a-449f-b661-09c20ca56739\",\"createdTime\":\"2022-11-17T08:28:17.646Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"371ebae3-fb38-4833-b786-09d310e79c03\",\"createdTime\":\"2022-11-17T08:28:16.894Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"40e31831-31a0-4da1-9c45-544a01085442\",\"createdTime\":\"2022-11-17T08:28:15.998Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"20923f71-36c5-4785-b743-e811927c2643\",\"createdTime\":\"2022-11-17T08:28:16.046Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"411a192d-a69c-40e8-93ba-4e7ffa901fbe\",\"createdTime\":\"2022-11-17T08:28:15.39Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", + "Date" : "Wed, 12 Apr 2023 22:03:20 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -26,196 +27,21 @@ "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", "Headers" : { "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "38a50297-7be7-4ad4-b512-286c05455955", + "x-ms-client-request-id" : "b86b416a-f231-4be1-a82d-64704397ab74", "Content-Type" : "application/json" }, "Response" : { - "x-request-id" : "3f9d7925-ee0a-4fd2-8f89-815cb4673cfb", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "107", + "x-request-id" : "912fe00e-495f-4435-8555-542adb016d7f", + "x-ms-region" : "West US 2", + "x-envoy-upstream-service-time" : "317", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", "x-content-type-options" : "nosniff", - "apim-request-id" : "3f9d7925-ee0a-4fd2-8f89-815cb4673cfb", + "apim-request-id" : "912fe00e-495f-4435-8555-542adb016d7f", "retry-after" : "0", + "Content-Length" : "3712", "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "50065a05-dcc5-4eea-ad01-f0359039fc8c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f27abf44-4961-4754-81bf-f04a411717bd", - "content-length" : "3871", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f27abf44-4961-4754-81bf-f04a411717bd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0eb85799-a2ee-4786-a7b6-60271b942856", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2649960b-4846-4638-9ec7-9abf514103bf", - "content-length" : "3873", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2649960b-4846-4638-9ec7-9abf514103bf", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "99ef1067-96f3-4ff4-96f1-5cc8f56c099b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "365adea0-e5ab-476e-8eec-a7d134b155ce", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "120", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "365adea0-e5ab-476e-8eec-a7d134b155ce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bf904c5-227e-42b6-ac86-e8d6087743db", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "684dc03f-972a-4ab6-ad4d-da3b954f52f8", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "99", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "684dc03f-972a-4ab6-ad4d-da3b954f52f8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "04bc684c-430b-4fc3-82b2-bf9e3f69c426", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "7378b084-2093-44fb-b8bd-3051810ad1b5", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "162", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7378b084-2093-44fb-b8bd-3051810ad1b5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bd3046d-e241-4ba5-a542-7749c761dde7", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "ec9ddc72-6bf9-4d8f-87f0-e0263097e6b7", - "content-length" : "3939", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ec9ddc72-6bf9-4d8f-87f0-e0263097e6b7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b2185901-8d43-4700-a0d0-f6010f902827", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5764a04a-1d8a-41d9-8a77-694853ff4093", - "content-length" : "3815", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5764a04a-1d8a-41d9-8a77-694853ff4093", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "562dfd82-e8da-4c83-abbc-f136ee4a2731", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "daf277fe-68b3-479d-8159-3a1de7cd0944", - "content-length" : "3882", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "daf277fe-68b3-479d-8159-3a1de7cd0944", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"77affbd3-e0e1-4746-b3b3-affef608357f\",\"createdTime\":\"2022-04-06T02:28:57.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dfe47f73-e91d-46d1-a5a6-abd53210da01\",\"createdTime\":\"2022-04-06T02:28:56.106Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"441e8afd-43d3-4065-81f6-cc1b7a582cb6\",\"createdTime\":\"2022-04-06T02:28:55.786Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"8db09894-03e4-49d3-b2f7-17c55752eee1\",\"createdTime\":\"2022-04-06T02:28:55.54Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d054434f-b53f-478d-89f5-92c9287fceb3\",\"createdTime\":\"2022-04-06T02:28:55.117Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"dccc35c4-3935-4990-b47a-d7ad3625be2e\",\"createdTime\":\"2022-04-06T02:28:53.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"0732d268-644d-4362-88d5-08848773f247\",\"createdTime\":\"2022-04-06T02:28:53.801Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", + "Body" : "{\"value\":[{\"feedbackId\":\"7e44f1f2-73e5-4da4-b6e3-6a232a1c341c\",\"createdTime\":\"2022-11-17T08:28:14.714Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e586b348-5711-4a75-bf7b-1557bce2897f\",\"createdTime\":\"2022-11-17T08:28:14.641Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"42c85de4-7b27-42ca-8185-a29d5525c45a\",\"createdTime\":\"2022-11-17T08:28:13.473Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a6e7e725-7ed7-42f6-a6fe-badec96e46bb\",\"createdTime\":\"2022-11-16T08:38:58.346Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"f9c117b2-ce5e-461e-b17b-041683206c2a\",\"createdTime\":\"2022-11-16T08:38:57.54Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"32ae7475-7d35-4bb8-8672-8f225babd142\",\"createdTime\":\"2022-11-16T08:38:56.901Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"f5edbc48-f95e-43a6-81a1-829b38a51200\",\"createdTime\":\"2022-11-16T08:38:56.029Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"323dd22a-2488-4963-84cd-b59c5721404d\",\"createdTime\":\"2022-11-16T08:34:45.575Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"653386ef-b866-4cf4-9307-9de4e85a391b\",\"createdTime\":\"2022-11-16T08:34:44.768Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"b5894399-94ae-4210-9c03-a5d557de1534\",\"createdTime\":\"2022-11-16T08:34:44.121Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", + "Date" : "Wed, 12 Apr 2023 22:03:21 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index 9e21da9a573ab..ace313afd76b3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -4,20 +4,21 @@ "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", "Headers" : { "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "caa13e0e-17e3-4231-b0cc-3f2b73789b65", + "x-ms-client-request-id" : "322537e0-e6e2-48b3-9b7c-86191de3ac59", "Content-Type" : "application/json" }, "Response" : { - "x-request-id" : "15a6fafd-24b1-4208-afe9-e4f54c1f63cf", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "212", + "x-request-id" : "9e0ba121-51f9-4dc5-a2a5-591531bff704", + "x-ms-region" : "West US 2", + "x-envoy-upstream-service-time" : "185", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", "x-content-type-options" : "nosniff", - "apim-request-id" : "15a6fafd-24b1-4208-afe9-e4f54c1f63cf", + "apim-request-id" : "9e0ba121-51f9-4dc5-a2a5-591531bff704", "retry-after" : "0", + "Content-Length" : "3663", "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", + "Body" : "{\"value\":[{\"feedbackId\":\"2e157fbc-34ab-422e-aa8e-3133323a4c61\",\"createdTime\":\"2023-03-08T23:53:53.675Z\",\"userPrincipal\":\"xiangyan@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-09-09T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"e4a4c55e-486d-46dc-a857-75bbb9c30c3c\",\"createdTime\":\"2022-11-17T08:28:26.451Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"68e2b300-d70c-4994-b565-4cc155b277b3\",\"createdTime\":\"2022-11-17T08:28:25.817Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"2eb51c14-af15-4b9e-9410-6927db36d501\",\"createdTime\":\"2022-11-17T08:28:25.188Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"6499b105-3d22-4bd4-98ec-8527ffd144af\",\"createdTime\":\"2022-11-17T08:28:24.161Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f7537f4-555a-449f-b661-09c20ca56739\",\"createdTime\":\"2022-11-17T08:28:17.646Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"371ebae3-fb38-4833-b786-09d310e79c03\",\"createdTime\":\"2022-11-17T08:28:16.894Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"40e31831-31a0-4da1-9c45-544a01085442\",\"createdTime\":\"2022-11-17T08:28:15.998Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"20923f71-36c5-4785-b743-e811927c2643\",\"createdTime\":\"2022-11-17T08:28:16.046Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"411a192d-a69c-40e8-93ba-4e7ffa901fbe\",\"createdTime\":\"2022-11-17T08:28:15.39Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", + "Date" : "Wed, 12 Apr 2023 22:01:20 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -26,196 +27,21 @@ "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", "Headers" : { "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9463851c-e632-4a12-ba7c-1b42f050fe22", + "x-ms-client-request-id" : "5f593a4f-6b2b-42e9-a556-5ed7482640ff", "Content-Type" : "application/json" }, "Response" : { - "x-request-id" : "2b2a91d7-e86e-4dd1-a1ab-74161cd2b506", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "264", + "x-request-id" : "9a79f4a7-1741-4d32-8099-4dbc03c2324c", + "x-ms-region" : "West US 2", + "x-envoy-upstream-service-time" : "125", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", "x-content-type-options" : "nosniff", - "apim-request-id" : "2b2a91d7-e86e-4dd1-a1ab-74161cd2b506", + "apim-request-id" : "9a79f4a7-1741-4d32-8099-4dbc03c2324c", "retry-after" : "0", + "Content-Length" : "3712", "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "af3934cd-3029-4b71-b7a8-b8d7ebcdf361", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d7255863-f5da-4b17-a505-90ae90205a6d", - "content-length" : "3871", - "x-envoy-upstream-service-time" : "260", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d7255863-f5da-4b17-a505-90ae90205a6d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "61bec237-2545-41f3-ab46-27b590455b52", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1ef4512e-7e46-4c9f-b083-eeb0a88adf67", - "content-length" : "3873", - "x-envoy-upstream-service-time" : "175", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1ef4512e-7e46-4c9f-b083-eeb0a88adf67", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eeeabddf-c446-469a-904a-07154d9b8361", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2991d238-3755-44ff-95fb-519f8f4483db", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2991d238-3755-44ff-95fb-519f8f4483db", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a17e5e9a-e834-4ace-b662-b823722dc6df", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "51d92522-f969-4e29-a1ce-f24174a96bd2", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "135", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "51d92522-f969-4e29-a1ce-f24174a96bd2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b14606a-f5c1-4b1e-8260-2626f9e38bcb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "fb2eb112-edb6-4a9a-8f4b-a7ecb303e572", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fb2eb112-edb6-4a9a-8f4b-a7ecb303e572", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "29ee479e-1cef-4b74-8be4-e8176f253241", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "7e9a2580-089e-4985-a68f-33cba5780b6a", - "content-length" : "3939", - "x-envoy-upstream-service-time" : "150", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7e9a2580-089e-4985-a68f-33cba5780b6a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8f1c859c-eff0-4991-b10d-69c58e3c8966", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1aa7daeb-319e-42d0-9ba6-cf95db13de02", - "content-length" : "3815", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1aa7daeb-319e-42d0-9ba6-cf95db13de02", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd35cbb1-c2c2-46ef-8592-a110f67a8327", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6cd933ee-4712-4e0f-9ec5-9e45118c9550", - "content-length" : "3882", - "x-envoy-upstream-service-time" : "168", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6cd933ee-4712-4e0f-9ec5-9e45118c9550", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"77affbd3-e0e1-4746-b3b3-affef608357f\",\"createdTime\":\"2022-04-06T02:28:57.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dfe47f73-e91d-46d1-a5a6-abd53210da01\",\"createdTime\":\"2022-04-06T02:28:56.106Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"441e8afd-43d3-4065-81f6-cc1b7a582cb6\",\"createdTime\":\"2022-04-06T02:28:55.786Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"8db09894-03e4-49d3-b2f7-17c55752eee1\",\"createdTime\":\"2022-04-06T02:28:55.54Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d054434f-b53f-478d-89f5-92c9287fceb3\",\"createdTime\":\"2022-04-06T02:28:55.117Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"dccc35c4-3935-4990-b47a-d7ad3625be2e\",\"createdTime\":\"2022-04-06T02:28:53.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"0732d268-644d-4362-88d5-08848773f247\",\"createdTime\":\"2022-04-06T02:28:53.801Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", + "Body" : "{\"value\":[{\"feedbackId\":\"7e44f1f2-73e5-4da4-b6e3-6a232a1c341c\",\"createdTime\":\"2022-11-17T08:28:14.714Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e586b348-5711-4a75-bf7b-1557bce2897f\",\"createdTime\":\"2022-11-17T08:28:14.641Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"42c85de4-7b27-42ca-8185-a29d5525c45a\",\"createdTime\":\"2022-11-17T08:28:13.473Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a6e7e725-7ed7-42f6-a6fe-badec96e46bb\",\"createdTime\":\"2022-11-16T08:38:58.346Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"f9c117b2-ce5e-461e-b17b-041683206c2a\",\"createdTime\":\"2022-11-16T08:38:57.54Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"32ae7475-7d35-4bb8-8672-8f225babd142\",\"createdTime\":\"2022-11-16T08:38:56.901Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"f5edbc48-f95e-43a6-81a1-829b38a51200\",\"createdTime\":\"2022-11-16T08:38:56.029Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"323dd22a-2488-4963-84cd-b59c5721404d\",\"createdTime\":\"2022-11-16T08:34:45.575Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"653386ef-b866-4cf4-9307-9de4e85a391b\",\"createdTime\":\"2022-11-16T08:34:44.768Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"b5894399-94ae-4210-9c03-a5d557de1534\",\"createdTime\":\"2022-11-16T08:34:44.121Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", + "Date" : "Wed, 12 Apr 2023 22:01:20 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json index 2dc55fe80d72d..335d0f3e852d3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json @@ -1,26 +1,42 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7b358df-eacb-4ff3-98ac-302485209b9e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "98218441-d3d1-443e-ba2c-d5e473f173be", - "content-length" : "33", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "98218441-d3d1-443e-ba2c-d5e473f173be", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\",\"USD\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "24", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b9dbdfae-5394-4ce6-b4da-18d619bde228", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "17dfbf6b-85c8-42b8-ab34-b324e0a46621", + "Content-Length": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "212", + "x-ms-region": "West US 2", + "X-Request-ID": "17dfbf6b-85c8-42b8-ab34-b324e0a46621" + }, + "ResponseBody": { + "value": [ + "JPN", + "__SUM__", + "USD" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json index a758d0f0ba872..3b41d74c78728 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json @@ -1,26 +1,40 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d90e47b4-b303-45c1-a9e1-059a2b7324b9", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5b293539-57c5-48ed-9f3e-ace59cd73f18", - "content-length" : "29", - "x-envoy-upstream-service-time" : "343", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5b293539-57c5-48ed-9f3e-ace59cd73f18", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[],\"@nextLink\":null}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "8b99b6c9-cbcf-489e-aec3-aa3a0c1a4f9e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2021-10-01T00:00:00Z", + "endTime": "2021-10-30T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aa87d4ea-c493-4150-a719-9dbd2718fde0", + "Content-Length": "29", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "270", + "x-ms-region": "West US 2", + "X-Request-ID": "aa87d4ea-c493-4150-a719-9dbd2718fde0" + }, + "ResponseBody": { + "value": [], + "@nextLink": null + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json index dd75734b614f0..95b7ba472d803 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json @@ -1,26 +1,57 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "95d03d42-0277-4da0-91dc-abe09d6c0a65", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f3d157fa-9f80-41c9-b69f-ca69a1419623", - "content-length" : "143", - "x-envoy-upstream-service-time" : "365", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3d157fa-9f80-41c9-b69f-ca69a1419623", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"timestampList\":[],\"valueList\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "107", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "957eff95-3922-4e8f-bbb0-d3de9a2d8eac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-01-01T00:00:00Z", + "series": [ + { + "Dim1": "JPN", + "Dim2": "JP" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8e08c8b6-6eee-42ce-a167-ec41e328a3dc", + "Content-Length": "143", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "389", + "x-ms-region": "West US 2", + "X-Request-ID": "8e08c8b6-6eee-42ce-a167-ec41e328a3dc" + }, + "ResponseBody": { + "value": [ + { + "id": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "timestampList": [], + "valueList": [] + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json index 19fff01982e6a..b807dbb7cbfbe 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json @@ -1,26 +1,58 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a90aa7e8-a259-48fd-923d-15c81e32f66f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "3fc54b3f-5a76-4e01-9a0d-44a4dbb9a62e", - "content-length" : "198", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3fc54b3f-5a76-4e01-9a0d-44a4dbb9a62e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "73", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5221bfbe-e3ff-4d0d-8a12-233bb44ad1ed", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z", + "dimensionFilter": { + "Dim1": [ + "JPN" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "22b78072-34a3-4e2b-bf29-29505d661c46", + "Content-Length": "198", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "274", + "x-ms-region": "West US 2", + "X-Request-ID": "22b78072-34a3-4e2b-bf29-29505d661c46" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json index a3b72717d1118..be93915087611 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json @@ -1,26 +1,88 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f5d0aee-f953-4a19-ae7d-3a0a91af6dca", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "fd4de017-8e45-4aa6-bc5e-54969d6b0370", - "content-length" : "675", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fd4de017-8e45-4aa6-bc5e-54969d6b0370", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "38", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "cd1f6d4c-1e65-4a25-943c-7afab3db51a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1e4d0f72-5832-4e98-ac8d-ea65938be25b", + "Content-Length": "675", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "194", + "x-ms-region": "West US 2", + "X-Request-ID": "1e4d0f72-5832-4e98-ac8d-ea65938be25b" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json index 43e84cd92e5ed..ff8701375eae6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json @@ -1,26 +1,42 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ebef4c69-b905-45a7-847f-68fd3164405f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2e3108e5-2cc8-4a59-bfbf-d960d44585a1", - "content-length" : "33", - "x-envoy-upstream-service-time" : "103", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2e3108e5-2cc8-4a59-bfbf-d960d44585a1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\",\"USD\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "24", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "6aa8478a-8eb4-4bbd-bad1-f84923adbe4a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "150c6d79-aab9-462e-8184-e240ee1dc533", + "Content-Length": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "101", + "x-ms-region": "West US 2", + "X-Request-ID": "150c6d79-aab9-462e-8184-e240ee1dc533" + }, + "ResponseBody": { + "value": [ + "JPN", + "__SUM__", + "USD" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json index 51156edff485d..00dcdf6bc038d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json @@ -1,26 +1,40 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eb7c207a-7a69-4180-83e2-85e57b17e7d8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c52b6eb1-0b58-4f54-9afe-2159c0791231", - "content-length" : "29", - "x-envoy-upstream-service-time" : "277", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c52b6eb1-0b58-4f54-9afe-2159c0791231", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[],\"@nextLink\":null}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2260a46d-5006-46ac-9dce-0fb13b5c5990", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2021-10-01T00:00:00Z", + "endTime": "2021-10-30T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7515447d-accb-4be2-87c4-2f0a0ff61ab6", + "Content-Length": "29", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "411", + "x-ms-region": "West US 2", + "X-Request-ID": "7515447d-accb-4be2-87c4-2f0a0ff61ab6" + }, + "ResponseBody": { + "value": [], + "@nextLink": null + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json index d601fdb304103..6007d512d56e9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json @@ -1,26 +1,57 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "17c504c8-2235-4dcd-a194-4bfb9cb53ad8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b3dcbcd4-4ded-468c-81b4-785b7da0a668", - "content-length" : "143", - "x-envoy-upstream-service-time" : "384", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b3dcbcd4-4ded-468c-81b4-785b7da0a668", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"timestampList\":[],\"valueList\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "107", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "27ff0aff-65b3-4901-9a21-26bb7881a3fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-01-01T00:00:00Z", + "series": [ + { + "Dim1": "JPN", + "Dim2": "JP" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "795c8be8-f788-46a4-9a6a-813896c290bb", + "Content-Length": "143", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "345", + "x-ms-region": "West US 2", + "X-Request-ID": "795c8be8-f788-46a4-9a6a-813896c290bb" + }, + "ResponseBody": { + "value": [ + { + "id": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "timestampList": [], + "valueList": [] + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json index ecab87380a054..33acff0e511d7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json @@ -1,26 +1,58 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6984f83a-fa2c-4c4a-b57d-60223badcd93", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d13c126e-14d2-4555-9d23-941503471dbe", - "content-length" : "198", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d13c126e-14d2-4555-9d23-941503471dbe", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "73", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "cffe3d24-7fd5-47c0-921d-0f8355467c9f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z", + "dimensionFilter": { + "Dim1": [ + "JPN" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "851a3c5f-f73f-4b25-b42e-41e83b695886", + "Content-Length": "198", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "187", + "x-ms-region": "West US 2", + "X-Request-ID": "851a3c5f-f73f-4b25-b42e-41e83b695886" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json index 8289022e56d39..26c4529376864 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json @@ -1,26 +1,88 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "772aaceb-348d-448a-bd04-499bebceec3c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "48ee8b21-3bd2-4c3f-89b9-8cff6b4459ff", - "content-length" : "675", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "48ee8b21-3bd2-4c3f-89b9-8cff6b4459ff", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "38", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "f8ccb89a-2159-4f7e-b645-0cd4c7d19f50", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d69bc35b-d640-4b85-a396-3ec9c4401c53", + "Content-Length": "675", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "164", + "x-ms-region": "West US 2", + "X-Request-ID": "d69bc35b-d640-4b85-a396-3ec9c4401c53" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createEmailHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createEmailHook[1].json deleted file mode 100644 index 76c0e90508386..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createEmailHook[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "917d65b5-3c6e-4f1b-a0d0-3c19923f5235", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c0977e0b-31cb-4870-9ad3-1aa41e10ff61", - "content-length" : "0", - "x-envoy-upstream-service-time" : "350", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c0977e0b-31cb-4870-9ad3-1aa41e10ff61", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/27dba44e-f623-49c8-8ccb-8db03cef8c85" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/27dba44e-f623-49c8-8ccb-8db03cef8c85", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c43714f7-9b36-4320-8889-b73e29ffd563" - }, - "Response" : { - "x-request-id" : "a4aa454b-3755-4095-b4b3-4296b671540d", - "content-length" : "326", - "x-envoy-upstream-service-time" : "169", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a4aa454b-3755-4095-b4b3-4296b671540d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"27dba44e-f623-49c8-8ccb-8db03cef8c85\",\"hookName\":\"9c1104fe-3389-4e27-81f0-94c983958c1a\",\"hookType\":\"Email\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\",\"simpleuser1@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/27dba44e-f623-49c8-8ccb-8db03cef8c85", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fbe30aaf-8220-41b6-8f66-468d33c7d7ea" - }, - "Response" : { - "x-request-id" : "eefab7d9-5adb-4c34-8d5b-d0852fa27c0b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "eefab7d9-5adb-4c34-8d5b-d0852fa27c0b", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json index 36766c0bf9a7c..3376d99596de5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json @@ -1,65 +1,121 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3350d3d0-7020-4262-990b-f2a8dc665908", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "324", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d8492c9c-6c94-41fe-bb5b-3766e2b214cb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "hookType": "Webhook", + "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "description": "alert_us!", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "cb2a13e2-cafd-4487-90e2-8d35c0edd828", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/a055a5d7-8c67-44c8-860a-710bef58718d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "863", + "x-ms-region": "West US 2", + "X-Request-ID": "cb2a13e2-cafd-4487-90e2-8d35c0edd828" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "fd132ffc-7dab-491f-a7a3-3b2137a52868", - "content-length" : "0", - "x-envoy-upstream-service-time" : "887", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fd132ffc-7dab-491f-a7a3-3b2137a52868", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fe0776b8-532a-4220-b26e-6c1354bab15b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a055a5d7-8c67-44c8-860a-710bef58718d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "af32c400-4ca2-4d25-9955-b58e71f13d67", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "72ccb66b-7596-4d3c-b72b-dcfa1bc48633", + "Content-Length": "408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "220", + "x-ms-region": "West US 2", + "X-Request-ID": "72ccb66b-7596-4d3c-b72b-dcfa1bc48633" + }, + "ResponseBody": { + "hookId": "a055a5d7-8c67-44c8-860a-710bef58718d", + "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "hookType": "Webhook", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "description": "alert_us!", + "admins": [ + "xiangyan@microsoft.com" + ], + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fe0776b8-532a-4220-b26e-6c1354bab15b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0e52826-8edc-4f27-9076-5f372cac5dc5" - }, - "Response" : { - "x-request-id" : "130849a4-2fc4-405d-9f76-c82d62568db4", - "content-length" : "405", - "x-envoy-upstream-service-time" : "168", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "130849a4-2fc4-405d-9f76-c82d62568db4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"fe0776b8-532a-4220-b26e-6c1354bab15b\",\"hookName\":\"ce92db43-40af-4843-90ba-a3f4a6340ed3\",\"hookType\":\"Webhook\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\",\"username\":\"REDACTED\",\"password\":\"REDACTEDpwd!@#\",\"headers\":{\"x-contoso-id\":\"123\",\"x-contoso-name\":\"contoso\"}}}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fe0776b8-532a-4220-b26e-6c1354bab15b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d3ffb342-434c-444a-b305-04cb989831e2" - }, - "Response" : { - "x-request-id" : "a03b87cf-7d0b-441a-8bc9-14098317e27b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "214", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a03b87cf-7d0b-441a-8bc9-14098317e27b", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a055a5d7-8c67-44c8-860a-710bef58718d", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "1085c699-7159-41d5-a275-2dd3b0aacaa7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b9471997-b099-4493-a4b3-13d4b0672bc2", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "283", + "x-ms-region": "West US 2", + "X-Request-ID": "b9471997-b099-4493-a4b3-13d4b0672bc2" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.testListHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.testListHook[1].json deleted file mode 100644 index 56fd1766818af..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.testListHook[1].json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "70509024-bcfe-4954-8023-627a0854aae3", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2709285d-971e-47d1-be95-c263d3aebc96", - "content-length" : "0", - "x-envoy-upstream-service-time" : "689", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2709285d-971e-47d1-be95-c263d3aebc96", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/32674020-0fe9-47a0-a80b-c4bce13f8e2f" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/32674020-0fe9-47a0-a80b-c4bce13f8e2f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7734f5d-bd96-4abe-a7bd-3776723631a3" - }, - "Response" : { - "x-request-id" : "df8c13a5-f091-4ab1-9ba9-b2381ebb2741", - "content-length" : "253", - "x-envoy-upstream-service-time" : "188", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "df8c13a5-f091-4ab1-9ba9-b2381ebb2741", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"32674020-0fe9-47a0-a80b-c4bce13f8e2f\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "66cafa39-67a5-403c-962b-2d267833a605", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "130fb870-bb14-49a6-b668-e8f2c48463a5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "892", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "130fb870-bb14-49a6-b668-e8f2c48463a5", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/41b12022-af05-4e43-9a4f-95a884a53433" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/41b12022-af05-4e43-9a4f-95a884a53433", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "61afe13d-49e0-4132-9997-409db0355a18" - }, - "Response" : { - "x-request-id" : "7d9a6283-1983-4faf-84de-50f94995d8a5", - "content-length" : "256", - "x-envoy-upstream-service-time" : "187", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7d9a6283-1983-4faf-84de-50f94995d8a5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"41b12022-af05-4e43-9a4f-95a884a53433\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1fa1cb5d-6726-456f-bdf6-9da1c3115edd" - }, - "Response" : { - "x-request-id" : "53600615-e0e8-4cd3-8655-7cb0d25cb748", - "content-length" : "522", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "53600615-e0e8-4cd3-8655-7cb0d25cb748", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"32674020-0fe9-47a0-a80b-c4bce13f8e2f\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}},{\"hookId\":\"41b12022-af05-4e43-9a4f-95a884a53433\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "be39e8a5-a6f1-43bd-bff1-d169c091020a" - }, - "Response" : { - "x-request-id" : "c888a3f5-a41b-4fd2-ae03-4fc2156b2efb", - "content-length" : "406", - "x-envoy-upstream-service-time" : "134", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c888a3f5-a41b-4fd2-ae03-4fc2156b2efb", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"32674020-0fe9-47a0-a80b-c4bce13f8e2f\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3dfbb918-5ce2-4595-8cd5-9eaa8d6b495a" - }, - "Response" : { - "x-request-id" : "4e07a477-0967-41ea-9ef3-b0a0bd52b6e8", - "content-length" : "409", - "x-envoy-upstream-service-time" : "135", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4e07a477-0967-41ea-9ef3-b0a0bd52b6e8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"41b12022-af05-4e43-9a4f-95a884a53433\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d3844cda-ceb5-44c4-b1b1-cab28e48a89e" - }, - "Response" : { - "x-request-id" : "438386aa-c0d0-459b-b480-4064544bb25f", - "content-length" : "12", - "x-envoy-upstream-service-time" : "137", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "438386aa-c0d0-459b-b480-4064544bb25f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/32674020-0fe9-47a0-a80b-c4bce13f8e2f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ca59e825-980a-4680-8bc6-548955934d56" - }, - "Response" : { - "x-request-id" : "f7ce2cc5-243d-480d-acdd-698e7ea26728", - "content-length" : "0", - "x-envoy-upstream-service-time" : "216", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f7ce2cc5-243d-480d-acdd-698e7ea26728", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/41b12022-af05-4e43-9a4f-95a884a53433", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "33f810a3-afb2-4e6a-a83b-4abc0aa7cb5b" - }, - "Response" : { - "x-request-id" : "5c9c88fc-6ca1-48fb-a31b-14289d1dcde9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "225", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5c9c88fc-6ca1-48fb-a31b-14289d1dcde9", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createEmailHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createEmailHook[1].json deleted file mode 100644 index 98214e4612fa1..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createEmailHook[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "168f4160-ca85-4a77-8381-46595be0523a", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6f8d64b1-b167-4fb8-a4b7-9d4e429157f2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "199", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f8d64b1-b167-4fb8-a4b7-9d4e429157f2", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e0b80ef3-4445-4018-a916-f8a5a16a4da1" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e0b80ef3-4445-4018-a916-f8a5a16a4da1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d39753f8-881d-401d-8136-e6bc20e80330" - }, - "Response" : { - "x-request-id" : "e81642ed-0638-4796-a1a0-146fa6b99169", - "content-length" : "326", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e81642ed-0638-4796-a1a0-146fa6b99169", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"e0b80ef3-4445-4018-a916-f8a5a16a4da1\",\"hookName\":\"9c1104fe-3389-4e27-81f0-94c983958c1a\",\"hookType\":\"Email\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\",\"simpleuser1@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e0b80ef3-4445-4018-a916-f8a5a16a4da1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "409597fd-b847-4a42-91a7-20b40b811c49" - }, - "Response" : { - "x-request-id" : "79aa16e1-eb94-463a-a5cd-4a1ef96ce04f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79aa16e1-eb94-463a-a5cd-4a1ef96ce04f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json index 495e967cb25e7..c2003f567fda1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json @@ -1,65 +1,121 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a9762a54-8b94-4254-8213-459911f6d09d", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "324", + "Content-Type": "application/json", + "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "df27ee58-3843-47c7-856f-7a91b376116b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "hookType": "Webhook", + "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "description": "alert_us!", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "811ef35a-6c60-4121-b5fa-3e86648fae08", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/ba01a97b-2a88-487f-a53e-9a3350c59988", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "536", + "x-ms-region": "West US 2", + "X-Request-ID": "811ef35a-6c60-4121-b5fa-3e86648fae08" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d16bb6f4-f190-4bc4-b7b0-e5a32d79d098", - "content-length" : "0", - "x-envoy-upstream-service-time" : "902", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d16bb6f4-f190-4bc4-b7b0-e5a32d79d098", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/52142a8a-f815-44cd-a3b8-a2f3872fbd24" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/ba01a97b-2a88-487f-a53e-9a3350c59988", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "7996f970-5b56-4b01-adfb-f0758282f4a1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "66f8401f-e51d-421f-8d7b-44f7dc299720", + "Content-Length": "408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "186", + "x-ms-region": "West US 2", + "X-Request-ID": "66f8401f-e51d-421f-8d7b-44f7dc299720" + }, + "ResponseBody": { + "hookId": "ba01a97b-2a88-487f-a53e-9a3350c59988", + "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "hookType": "Webhook", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "description": "alert_us!", + "admins": [ + "xiangyan@microsoft.com" + ], + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/52142a8a-f815-44cd-a3b8-a2f3872fbd24", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dda3d3fe-81a5-4e4f-8476-5cf9d836735d" - }, - "Response" : { - "x-request-id" : "e55618aa-fb9a-4d33-b5a4-1273a1948f66", - "content-length" : "405", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e55618aa-fb9a-4d33-b5a4-1273a1948f66", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"52142a8a-f815-44cd-a3b8-a2f3872fbd24\",\"hookName\":\"ce92db43-40af-4843-90ba-a3f4a6340ed3\",\"hookType\":\"Webhook\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\",\"username\":\"REDACTED\",\"password\":\"REDACTEDpwd!@#\",\"headers\":{\"x-contoso-id\":\"123\",\"x-contoso-name\":\"contoso\"}}}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/52142a8a-f815-44cd-a3b8-a2f3872fbd24", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e1699fd-c659-48a5-bb45-542df3650a16" - }, - "Response" : { - "x-request-id" : "d6fc6772-3d4c-4eeb-9612-adb5b5aa433d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "207", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d6fc6772-3d4c-4eeb-9612-adb5b5aa433d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/ba01a97b-2a88-487f-a53e-9a3350c59988", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d6911bd9-8de1-4a52-8225-1b09f5b263aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "2a6afe03-eddf-4442-acd3-1ffa2eb2fb11", + "Content-Length": "0", + "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "274", + "x-ms-region": "West US 2", + "X-Request-ID": "2a6afe03-eddf-4442-acd3-1ffa2eb2fb11" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.testListHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.testListHook[1].json deleted file mode 100644 index c165e03fd10ef..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.testListHook[1].json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2cc091d9-1c27-436a-bb86-84d2b20af9cd", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "86ed382d-b3cb-49eb-b8ba-ae50c43faba9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "200", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "86ed382d-b3cb-49eb-b8ba-ae50c43faba9", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/85aac020-6f4c-4dab-8ff2-4a7d01f01cba" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/85aac020-6f4c-4dab-8ff2-4a7d01f01cba", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f3877aa-1fac-4a73-b3cd-26327ca8d849" - }, - "Response" : { - "x-request-id" : "91efce36-548b-49e3-9bff-29e4b7850712", - "content-length" : "253", - "x-envoy-upstream-service-time" : "211", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "91efce36-548b-49e3-9bff-29e4b7850712", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"85aac020-6f4c-4dab-8ff2-4a7d01f01cba\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "517c8f82-8983-407d-9fff-45acf951bb92", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "efd54a0a-5750-4fb6-b529-8b34b496a3e9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "287", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "efd54a0a-5750-4fb6-b529-8b34b496a3e9", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/d3457bd2-6064-4267-a162-2f34a9a1b388" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/d3457bd2-6064-4267-a162-2f34a9a1b388", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c0f98235-1ca8-4efb-8114-c8620faf4d68" - }, - "Response" : { - "x-request-id" : "85acce46-5c70-4df9-8f89-e4e9656f8209", - "content-length" : "256", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "85acce46-5c70-4df9-8f89-e4e9656f8209", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"d3457bd2-6064-4267-a162-2f34a9a1b388\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "bedc33cb-814d-4bcd-ae72-79cd813466f5" - }, - "Response" : { - "x-request-id" : "657d47ab-78a9-4936-b11f-cdba6918b6d4", - "content-length" : "522", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "657d47ab-78a9-4936-b11f-cdba6918b6d4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"85aac020-6f4c-4dab-8ff2-4a7d01f01cba\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}},{\"hookId\":\"d3457bd2-6064-4267-a162-2f34a9a1b388\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "82eabacc-b1c3-4ea7-b4ee-624a8aff6112" - }, - "Response" : { - "x-request-id" : "7ebc7cae-d6a3-4237-aeed-37065f0755c2", - "content-length" : "406", - "x-envoy-upstream-service-time" : "131", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7ebc7cae-d6a3-4237-aeed-37065f0755c2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"85aac020-6f4c-4dab-8ff2-4a7d01f01cba\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7360ed4d-a0aa-4c54-9316-472e1b5c335c" - }, - "Response" : { - "x-request-id" : "69c498e2-f257-4772-9194-eedd99689ba2", - "content-length" : "409", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "69c498e2-f257-4772-9194-eedd99689ba2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"d3457bd2-6064-4267-a162-2f34a9a1b388\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e6354626-49af-41fa-95f4-f609cb0d07d7" - }, - "Response" : { - "x-request-id" : "98bb9895-28b4-4b66-a3d0-4133beeb3c17", - "content-length" : "12", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "98bb9895-28b4-4b66-a3d0-4133beeb3c17", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/85aac020-6f4c-4dab-8ff2-4a7d01f01cba", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b4353d8-af53-4fdc-9efa-552078df59c0" - }, - "Response" : { - "x-request-id" : "c0511be4-459b-4206-bf49-d735d9da2a97", - "content-length" : "0", - "x-envoy-upstream-service-time" : "271", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c0511be4-459b-4206-bf49-d735d9da2a97", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/d3457bd2-6064-4267-a162-2f34a9a1b388", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0e466bf0-d847-44d2-a19f-0bfda257f0aa" - }, - "Response" : { - "x-request-id" : "3dba7f2c-d3ed-46b2-b3b1-b617b9d8f9c3", - "content-length" : "0", - "x-envoy-upstream-service-time" : "211", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3dba7f2c-d3ed-46b2-b3b1-b617b9d8f9c3", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file From f9624e6557ffddbdfcfabfbbf06c64f6a743215f Mon Sep 17 00:00:00 2001 From: samvaity Date: Wed, 12 Apr 2023 18:24:11 -0700 Subject: [PATCH 2/6] add matchers --- .../MetricsAdvisorAdministrationClientTestBase.java | 6 ++++++ .../ai/metricsadvisor/MetricsAdvisorClientTestBase.java | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java index ad906025c6813..b79e544b7e1b7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java @@ -13,11 +13,14 @@ import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.http.AssertingHttpClientBuilder; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import reactor.core.publisher.Mono; import java.time.OffsetDateTime; +import java.util.Arrays; import static com.azure.ai.metricsadvisor.MetricsAdvisorClientBuilderTest.PLAYBACK_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; @@ -69,6 +72,8 @@ MetricsAdvisorAdministrationClientBuilder getMetricsAdvisorAdministrationBuilder if (useKeyCredential) { if (interceptorManager.isPlaybackMode()) { builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + // setting bodiless matcher to "exclude" matching request bodies with UUID's + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher(), new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); } else if (interceptorManager.isRecordMode()) { builder .credential(new MetricsAdvisorKeyCredential( @@ -84,6 +89,7 @@ public Mono getToken(TokenRequestContext tokenRequestContext) { return Mono.just(new AccessToken("mockToken", OffsetDateTime.now().plusHours(2))); } }); + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher())); } else if (interceptorManager.isRecordMode()) { builder .credential(new DefaultAzureCredentialBuilder().build()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java index 066745d640f35..0ba61a6440b8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java @@ -12,11 +12,14 @@ import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.http.AssertingHttpClientBuilder; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import reactor.core.publisher.Mono; import java.time.OffsetDateTime; +import java.util.Arrays; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; @@ -61,6 +64,8 @@ MetricsAdvisorClientBuilder getMetricsAdvisorBuilderInternal(HttpClient httpClie if (useKeyCredential) { if (interceptorManager.isPlaybackMode()) { builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + // setting bodiless matcher to "exclude" matching request bodies with UUID's + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher(), new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); } else if (interceptorManager.isRecordMode()) { builder .credential(new MetricsAdvisorKeyCredential( @@ -76,6 +81,8 @@ public Mono getToken(TokenRequestContext tokenRequestContext) { return Mono.just(new AccessToken("mockToken", OffsetDateTime.now().plusHours(2))); } }); + // setting bodiless matcher to "exclude" matching request bodies with UUID's + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher())); } else if (interceptorManager.isRecordMode()) { builder .credential(new DefaultAzureCredentialBuilder().build()) From cd3d692ff43705a20eb510420b06b78415477c41 Mon Sep 17 00:00:00 2001 From: samvaity Date: Thu, 13 Apr 2023 11:24:21 -0700 Subject: [PATCH 3/6] corect client builder errors --- .../azure-ai-metricsadvisor/src/main/java/module-info.java | 1 - .../metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java | 4 ++-- .../ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java index 244dba9b346eb..1c53ff113d938 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java @@ -13,5 +13,4 @@ opens com.azure.ai.metricsadvisor.administration.models to com.fasterxml.jackson.databind; opens com.azure.ai.metricsadvisor.models to com.fasterxml.jackson.databind; opens com.azure.ai.metricsadvisor.implementation.models to com.fasterxml.jackson.databind, com.azure.core; - exports com.azure.ai.metricsadvisor.implementation.models; } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java index 253494b2ad69f..fbf098d20f518 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java @@ -12,7 +12,7 @@ import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.RetryOptions; import com.azure.core.http.policy.RetryPolicy; -import com.azure.core.test.TestBase; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.annotation.DoNotRecord; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -35,7 +35,7 @@ /** * Tests for Metrics Advisor Administration client builder */ -public class MetricsAdvisorAdminClientBuilderTest extends TestBase { +public class MetricsAdvisorAdminClientBuilderTest extends TestProxyTestBase { /** * Test client builder with invalid API key */ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java index d0aceca71b8aa..a6f2f1f21c79d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java @@ -12,7 +12,7 @@ import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.RetryOptions; import com.azure.core.http.policy.RetryPolicy; -import com.azure.core.test.TestBase; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.annotation.DoNotRecord; import com.azure.core.util.Configuration; import com.azure.core.util.Context; @@ -35,7 +35,7 @@ /** * Tests for Metrics Advisor client builder */ -public class MetricsAdvisorClientBuilderTest extends TestBase { +public class MetricsAdvisorClientBuilderTest extends TestProxyTestBase { private static final String METRIC_ID = "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066"; private static final int PAGE_SIZE = 10; private static final int LISTING_LIMIT = 100; From e5dd5512d0716fcd18c2cfda9bae43a606a2259c Mon Sep 17 00:00:00 2001 From: samvaity Date: Thu, 13 Apr 2023 14:31:23 -0700 Subject: [PATCH 4/6] update missing --- .../MetricsAdvisorAdminClientBuilderTest.java | 4 + .../MetricsAdvisorClientBuilderTest.java | 5 +- ...t.clientBuilderWithDefaultPipeline[1].json | 252 +++++++++- ...lientBuilderWithNullServiceVersion[1].json | 252 +++++++++- ...t.clientBuilderWithDefaultPipeline[1].json | 457 ++++++++++++++++-- ...lientBuilderWithNullServiceVersion[1].json | 457 ++++++++++++++++-- 6 files changed, 1280 insertions(+), 147 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java index fbf098d20f518..d75f0ff9e1942 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java @@ -14,6 +14,7 @@ import com.azure.core.http.policy.RetryPolicy; import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.annotation.DoNotRecord; +import com.azure.core.test.models.CustomMatcher; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import org.junit.jupiter.api.Disabled; @@ -22,6 +23,7 @@ import org.junit.jupiter.params.provider.MethodSource; import java.time.Duration; +import java.util.Arrays; import java.util.function.Consumer; import static com.azure.ai.metricsadvisor.MetricsAdvisorClientBuilderTest.PLAYBACK_ENDPOINT; @@ -175,6 +177,8 @@ private MetricsAdvisorAdministrationClientBuilder createClientBuilder(HttpClient if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); + } else if (interceptorManager.isPlaybackMode()) { + interceptorManager.addMatchers(Arrays.asList(new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); } return clientBuilder; diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java index a6f2f1f21c79d..1019f100b4a58 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java @@ -14,6 +14,7 @@ import com.azure.core.http.policy.RetryPolicy; import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.annotation.DoNotRecord; +import com.azure.core.test.models.CustomMatcher; import com.azure.core.util.Configuration; import com.azure.core.util.Context; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -23,6 +24,7 @@ import org.junit.jupiter.params.provider.MethodSource; import java.time.Duration; +import java.util.Arrays; import java.util.function.Consumer; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; @@ -190,8 +192,9 @@ private MetricsAdvisorClientBuilder createClientBuilder(HttpClient httpClient, M if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); + } else if (interceptorManager.isPlaybackMode()) { + interceptorManager.addMatchers(Arrays.asList(new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); } - return clientBuilder; } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index 6e4407191efae..eb9ba2a34b931 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -1,26 +1,228 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "827cddf8-92ce-4a5c-9584-ddd570eba14e" - }, - "Response" : { - "x-request-id" : "e692301d-b6fa-458f-bd50-9c65f60adf45", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "276", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e692301d-b6fa-458f-bd50-9c65f60adf45", - "retry-after" : "0", - "Content-Length" : "4378", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"yutongzhai@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"camaiaor@microsoft.com\",\"kaghiya@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"yumeng@microsoft.com\",\"chriss@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5599bb15-cf0d-47dc-bca4-ef1a532689ed\",\"dataFeedName\":\"sample_datafeed\",\"metrics\":[{\"metricId\":\"00989743-bffa-4e6b-b90b-b41c13e27636\",\"metricName\":\"cost\",\"metricDisplayName\":\"Cost\",\"metricDescription\":\"\"},{\"metricId\":\"54535a9d-2790-44a6-93f7-4171b72276d7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"Revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"Category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-01-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-11-15T22:00:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"9388a986-5430-4666-a758-7461c2a48774\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Wed, 12 Apr 2023 22:04:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Thu, 13 Apr 2023 21:30:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "b72a92df-f618-4ca5-9167-badad58e3f2d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "37ca97e6-aff1-4767-ae71-ef41ebfebec3", + "Content-Length": "4366", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 Apr 2023 21:30:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "343", + "x-ms-region": "West US 2", + "X-Request-ID": "37ca97e6-aff1-4767-ae71-ef41ebfebec3" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "yutongzhai@microsoft.com", + "chriss@microsoft.com", + "yumeng@microsoft.com", + "savaity@microsoft.com", + "anuchan@microsoft.com", + "elraikhm@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "xiangyan@microsoft.com", + "camaiaor@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "chriss@microsoft.com", + "yumeng@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "kaghiya@microsoft.com", + "camaiaor@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index 01723ac39b8f1..d581627270650 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -1,26 +1,228 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d000d053-6fad-40e4-bd67-ba051e5f8336" - }, - "Response" : { - "x-request-id" : "1292d0ae-3f30-4358-8f9b-a191feb05e65", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "270", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1292d0ae-3f30-4358-8f9b-a191feb05e65", - "retry-after" : "0", - "Content-Length" : "4378", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"yutongzhai@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"camaiaor@microsoft.com\",\"kaghiya@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"yumeng@microsoft.com\",\"chriss@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5599bb15-cf0d-47dc-bca4-ef1a532689ed\",\"dataFeedName\":\"sample_datafeed\",\"metrics\":[{\"metricId\":\"00989743-bffa-4e6b-b90b-b41c13e27636\",\"metricName\":\"cost\",\"metricDisplayName\":\"Cost\",\"metricDescription\":\"\"},{\"metricId\":\"54535a9d-2790-44a6-93f7-4171b72276d7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"Revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"Category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-01-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-11-15T22:00:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"9388a986-5430-4666-a758-7461c2a48774\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Wed, 12 Apr 2023 22:04:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Thu, 13 Apr 2023 21:30:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "2dbcf9a4-4c86-4bfc-a140-688d41740e29", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7027384c-39e1-4b75-ad82-0079bcb0337d", + "Content-Length": "4366", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 Apr 2023 21:30:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "214", + "x-ms-region": "West US 2", + "X-Request-ID": "7027384c-39e1-4b75-ad82-0079bcb0337d" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "yutongzhai@microsoft.com", + "chriss@microsoft.com", + "yumeng@microsoft.com", + "savaity@microsoft.com", + "anuchan@microsoft.com", + "elraikhm@microsoft.com", + "kaghiya@microsoft.com", + "krpratic@microsoft.com", + "xiangyan@microsoft.com", + "camaiaor@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "xiangyan@microsoft.com" + ], + "viewers": [], + "creator": "xiangyan@microsoft.com", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "chriss@microsoft.com", + "yumeng@microsoft.com", + "xiangyan@microsoft.com", + "elraikhm@microsoft.com", + "kaghiya@microsoft.com", + "camaiaor@microsoft.com", + "krpratic@microsoft.com", + "anuchan@microsoft.com", + "savaity@microsoft.com" + ], + "viewers": [], + "creator": "savaity@microsoft.com", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index d461006e2de1e..33bb20a376a2a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -1,50 +1,411 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5431b6eb-b1f6-45e4-be94-441422ba976d", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "d6403820-424a-4ccb-8838-5aab88bc3fb2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9944e961-9320-4fc7-96c4-a949dcdec857", + "Content-Length": "3663", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 Apr 2023 21:24:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "241", + "x-ms-region": "West US 2", + "X-Request-ID": "9944e961-9320-4fc7-96c4-a949dcdec857" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "2e157fbc-34ab-422e-aa8e-3133323a4c61", + "createdTime": "2023-03-08T23:53:53.675Z", + "userPrincipal": "xiangyan@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2020-01-01T00:00:00Z", + "endTime": "2020-09-09T00:00:00Z", + "value": { + "changePointValue": "AutoDetect" + } + }, + { + "feedbackId": "e4a4c55e-486d-46dc-a857-75bbb9c30c3c", + "createdTime": "2022-11-17T08:28:26.451Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "68e2b300-d70c-4994-b565-4cc155b277b3", + "createdTime": "2022-11-17T08:28:25.817Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "2eb51c14-af15-4b9e-9410-6927db36d501", + "createdTime": "2022-11-17T08:28:25.188Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", + "createdTime": "2022-11-17T08:28:24.161Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8f7537f4-555a-449f-b661-09c20ca56739", + "createdTime": "2022-11-17T08:28:17.646Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "371ebae3-fb38-4833-b786-09d310e79c03", + "createdTime": "2022-11-17T08:28:16.894Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "40e31831-31a0-4da1-9c45-544a01085442", + "createdTime": "2022-11-17T08:28:15.998Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "20923f71-36c5-4785-b743-e811927c2643", + "createdTime": "2022-11-17T08:28:16.046Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "411a192d-a69c-40e8-93ba-4e7ffa901fbe", + "createdTime": "2022-11-17T08:28:15.39Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10" + } }, - "Response" : { - "x-request-id" : "d19c7bf8-dd45-4b51-9b1a-05ae4ffd66cd", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "173", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d19c7bf8-dd45-4b51-9b1a-05ae4ffd66cd", - "retry-after" : "0", - "Content-Length" : "3663", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"2e157fbc-34ab-422e-aa8e-3133323a4c61\",\"createdTime\":\"2023-03-08T23:53:53.675Z\",\"userPrincipal\":\"xiangyan@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-09-09T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"e4a4c55e-486d-46dc-a857-75bbb9c30c3c\",\"createdTime\":\"2022-11-17T08:28:26.451Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"68e2b300-d70c-4994-b565-4cc155b277b3\",\"createdTime\":\"2022-11-17T08:28:25.817Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"2eb51c14-af15-4b9e-9410-6927db36d501\",\"createdTime\":\"2022-11-17T08:28:25.188Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"6499b105-3d22-4bd4-98ec-8527ffd144af\",\"createdTime\":\"2022-11-17T08:28:24.161Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f7537f4-555a-449f-b661-09c20ca56739\",\"createdTime\":\"2022-11-17T08:28:17.646Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"371ebae3-fb38-4833-b786-09d310e79c03\",\"createdTime\":\"2022-11-17T08:28:16.894Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"40e31831-31a0-4da1-9c45-544a01085442\",\"createdTime\":\"2022-11-17T08:28:15.998Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"20923f71-36c5-4785-b743-e811927c2643\",\"createdTime\":\"2022-11-17T08:28:16.046Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"411a192d-a69c-40e8-93ba-4e7ffa901fbe\",\"createdTime\":\"2022-11-17T08:28:15.39Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Wed, 12 Apr 2023 22:03:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b86b416a-f231-4be1-a82d-64704397ab74", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "912fe00e-495f-4435-8555-542adb016d7f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "317", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "912fe00e-495f-4435-8555-542adb016d7f", - "retry-after" : "0", - "Content-Length" : "3712", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"7e44f1f2-73e5-4da4-b6e3-6a232a1c341c\",\"createdTime\":\"2022-11-17T08:28:14.714Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e586b348-5711-4a75-bf7b-1557bce2897f\",\"createdTime\":\"2022-11-17T08:28:14.641Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"42c85de4-7b27-42ca-8185-a29d5525c45a\",\"createdTime\":\"2022-11-17T08:28:13.473Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a6e7e725-7ed7-42f6-a6fe-badec96e46bb\",\"createdTime\":\"2022-11-16T08:38:58.346Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"f9c117b2-ce5e-461e-b17b-041683206c2a\",\"createdTime\":\"2022-11-16T08:38:57.54Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"32ae7475-7d35-4bb8-8672-8f225babd142\",\"createdTime\":\"2022-11-16T08:38:56.901Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"f5edbc48-f95e-43a6-81a1-829b38a51200\",\"createdTime\":\"2022-11-16T08:38:56.029Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"323dd22a-2488-4963-84cd-b59c5721404d\",\"createdTime\":\"2022-11-16T08:34:45.575Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"653386ef-b866-4cf4-9307-9de4e85a391b\",\"createdTime\":\"2022-11-16T08:34:44.768Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"b5894399-94ae-4210-9c03-a5d557de1534\",\"createdTime\":\"2022-11-16T08:34:44.121Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Wed, 12 Apr 2023 22:03:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Thu, 13 Apr 2023 21:24:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "5aafdf9c-fa07-45e4-b8c3-3c4b7e073e41", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d0cd9a3-7036-41cc-88b3-d0b3640d50ee", + "Content-Length": "3712", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "417", + "x-ms-region": "West US 2", + "X-Request-ID": "7d0cd9a3-7036-41cc-88b3-d0b3640d50ee" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", + "createdTime": "2022-11-17T08:28:14.714Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e586b348-5711-4a75-bf7b-1557bce2897f", + "createdTime": "2022-11-17T08:28:14.641Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", + "createdTime": "2022-11-17T08:28:13.473Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a6e7e725-7ed7-42f6-a6fe-badec96e46bb", + "createdTime": "2022-11-16T08:38:58.346Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "f9c117b2-ce5e-461e-b17b-041683206c2a", + "createdTime": "2022-11-16T08:38:57.54Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "32ae7475-7d35-4bb8-8672-8f225babd142", + "createdTime": "2022-11-16T08:38:56.901Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", + "createdTime": "2022-11-16T08:38:56.029Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "323dd22a-2488-4963-84cd-b59c5721404d", + "createdTime": "2022-11-16T08:34:45.575Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "653386ef-b866-4cf4-9307-9de4e85a391b", + "createdTime": "2022-11-16T08:34:44.768Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "b5894399-94ae-4210-9c03-a5d557de1534", + "createdTime": "2022-11-16T08:34:44.121Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=20" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index ace313afd76b3..eee5bccdb6173 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -1,50 +1,411 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "322537e0-e6e2-48b3-9b7c-86191de3ac59", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "283f77c5-03e5-4a26-9ece-a7ea58bba95b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ec6ed6d7-6587-4614-b028-0621dbe7fa08", + "Content-Length": "3663", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 Apr 2023 21:24:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "222", + "x-ms-region": "West US 2", + "X-Request-ID": "ec6ed6d7-6587-4614-b028-0621dbe7fa08" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "2e157fbc-34ab-422e-aa8e-3133323a4c61", + "createdTime": "2023-03-08T23:53:53.675Z", + "userPrincipal": "xiangyan@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2020-01-01T00:00:00Z", + "endTime": "2020-09-09T00:00:00Z", + "value": { + "changePointValue": "AutoDetect" + } + }, + { + "feedbackId": "e4a4c55e-486d-46dc-a857-75bbb9c30c3c", + "createdTime": "2022-11-17T08:28:26.451Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "68e2b300-d70c-4994-b565-4cc155b277b3", + "createdTime": "2022-11-17T08:28:25.817Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "2eb51c14-af15-4b9e-9410-6927db36d501", + "createdTime": "2022-11-17T08:28:25.188Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", + "createdTime": "2022-11-17T08:28:24.161Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8f7537f4-555a-449f-b661-09c20ca56739", + "createdTime": "2022-11-17T08:28:17.646Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "371ebae3-fb38-4833-b786-09d310e79c03", + "createdTime": "2022-11-17T08:28:16.894Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "40e31831-31a0-4da1-9c45-544a01085442", + "createdTime": "2022-11-17T08:28:15.998Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "20923f71-36c5-4785-b743-e811927c2643", + "createdTime": "2022-11-17T08:28:16.046Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "411a192d-a69c-40e8-93ba-4e7ffa901fbe", + "createdTime": "2022-11-17T08:28:15.39Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10" + } }, - "Response" : { - "x-request-id" : "9e0ba121-51f9-4dc5-a2a5-591531bff704", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "185", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9e0ba121-51f9-4dc5-a2a5-591531bff704", - "retry-after" : "0", - "Content-Length" : "3663", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"2e157fbc-34ab-422e-aa8e-3133323a4c61\",\"createdTime\":\"2023-03-08T23:53:53.675Z\",\"userPrincipal\":\"xiangyan@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-09-09T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"e4a4c55e-486d-46dc-a857-75bbb9c30c3c\",\"createdTime\":\"2022-11-17T08:28:26.451Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"68e2b300-d70c-4994-b565-4cc155b277b3\",\"createdTime\":\"2022-11-17T08:28:25.817Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"2eb51c14-af15-4b9e-9410-6927db36d501\",\"createdTime\":\"2022-11-17T08:28:25.188Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"6499b105-3d22-4bd4-98ec-8527ffd144af\",\"createdTime\":\"2022-11-17T08:28:24.161Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f7537f4-555a-449f-b661-09c20ca56739\",\"createdTime\":\"2022-11-17T08:28:17.646Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"371ebae3-fb38-4833-b786-09d310e79c03\",\"createdTime\":\"2022-11-17T08:28:16.894Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"40e31831-31a0-4da1-9c45-544a01085442\",\"createdTime\":\"2022-11-17T08:28:15.998Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"20923f71-36c5-4785-b743-e811927c2643\",\"createdTime\":\"2022-11-17T08:28:16.046Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"411a192d-a69c-40e8-93ba-4e7ffa901fbe\",\"createdTime\":\"2022-11-17T08:28:15.39Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Wed, 12 Apr 2023 22:01:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5f593a4f-6b2b-42e9-a556-5ed7482640ff", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "9a79f4a7-1741-4d32-8099-4dbc03c2324c", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9a79f4a7-1741-4d32-8099-4dbc03c2324c", - "retry-after" : "0", - "Content-Length" : "3712", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"7e44f1f2-73e5-4da4-b6e3-6a232a1c341c\",\"createdTime\":\"2022-11-17T08:28:14.714Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e586b348-5711-4a75-bf7b-1557bce2897f\",\"createdTime\":\"2022-11-17T08:28:14.641Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"42c85de4-7b27-42ca-8185-a29d5525c45a\",\"createdTime\":\"2022-11-17T08:28:13.473Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a6e7e725-7ed7-42f6-a6fe-badec96e46bb\",\"createdTime\":\"2022-11-16T08:38:58.346Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"f9c117b2-ce5e-461e-b17b-041683206c2a\",\"createdTime\":\"2022-11-16T08:38:57.54Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"32ae7475-7d35-4bb8-8672-8f225babd142\",\"createdTime\":\"2022-11-16T08:38:56.901Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}},{\"feedbackId\":\"f5edbc48-f95e-43a6-81a1-829b38a51200\",\"createdTime\":\"2022-11-16T08:38:56.029Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"323dd22a-2488-4963-84cd-b59c5721404d\",\"createdTime\":\"2022-11-16T08:34:45.575Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AssignValue\",\"periodValue\":2}},{\"feedbackId\":\"653386ef-b866-4cf4-9307-9de4e85a391b\",\"createdTime\":\"2022-11-16T08:34:44.768Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"commentValue\":\"comment\"}},{\"feedbackId\":\"b5894399-94ae-4210-9c03-a5d557de1534\",\"createdTime\":\"2022-11-16T08:34:44.121Z\",\"userPrincipal\":\"krpratic@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"USD\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2022-03-01T00:00:00Z\",\"endTime\":\"2022-09-29T00:00:00Z\",\"value\":{\"changePointValue\":\"NotChangePoint\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Wed, 12 Apr 2023 22:01:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Thu, 13 Apr 2023 21:24:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", + "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", + "x-ms-client-request-id": "fa3aaa20-f1c0-49a8-815c-fa5553e93961", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7fd4f950-6337-498f-b05a-25a301431c4e", + "Content-Length": "3712", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "398", + "x-ms-region": "West US 2", + "X-Request-ID": "7fd4f950-6337-498f-b05a-25a301431c4e" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", + "createdTime": "2022-11-17T08:28:14.714Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e586b348-5711-4a75-bf7b-1557bce2897f", + "createdTime": "2022-11-17T08:28:14.641Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", + "createdTime": "2022-11-17T08:28:13.473Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a6e7e725-7ed7-42f6-a6fe-badec96e46bb", + "createdTime": "2022-11-16T08:38:58.346Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "f9c117b2-ce5e-461e-b17b-041683206c2a", + "createdTime": "2022-11-16T08:38:57.54Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "32ae7475-7d35-4bb8-8672-8f225babd142", + "createdTime": "2022-11-16T08:38:56.901Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", + "createdTime": "2022-11-16T08:38:56.029Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "323dd22a-2488-4963-84cd-b59c5721404d", + "createdTime": "2022-11-16T08:34:45.575Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "653386ef-b866-4cf4-9307-9de4e85a391b", + "createdTime": "2022-11-16T08:34:44.768Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "b5894399-94ae-4210-9c03-a5d557de1534", + "createdTime": "2022-11-16T08:34:44.121Z", + "userPrincipal": "krpratic@microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=20" + } + } + ], + "Variables": {} +} From 258efa4d135eaabb89dccdd45425b8715aff5226 Mon Sep 17 00:00:00 2001 From: samvaity Date: Sat, 15 Apr 2023 14:40:58 -0700 Subject: [PATCH 5/6] take latest dep --- .../MetricsAdvisorAdministrationClientTestBase.java | 13 ++----------- .../MetricsAdvisorClientTestBase.java | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java index b79e544b7e1b7..1f515b9c89e00 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java @@ -5,9 +5,6 @@ import com.azure.ai.metricsadvisor.administration.MetricsAdvisorAdministrationClientBuilder; import com.azure.ai.metricsadvisor.models.MetricsAdvisorKeyCredential; -import com.azure.core.credential.AccessToken; -import com.azure.core.credential.TokenCredential; -import com.azure.core.credential.TokenRequestContext; import com.azure.core.http.HttpClient; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; @@ -15,11 +12,10 @@ import com.azure.core.test.http.AssertingHttpClientBuilder; import com.azure.core.test.models.BodilessMatcher; import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -import reactor.core.publisher.Mono; -import java.time.OffsetDateTime; import java.util.Arrays; import static com.azure.ai.metricsadvisor.MetricsAdvisorClientBuilderTest.PLAYBACK_ENDPOINT; @@ -83,12 +79,7 @@ MetricsAdvisorAdministrationClientBuilder getMetricsAdvisorAdministrationBuilder } } else { if (interceptorManager.isPlaybackMode()) { - builder.credential(new TokenCredential() { - @Override - public Mono getToken(TokenRequestContext tokenRequestContext) { - return Mono.just(new AccessToken("mockToken", OffsetDateTime.now().plusHours(2))); - } - }); + builder.credential(new MockTokenCredential()); interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher())); } else if (interceptorManager.isRecordMode()) { builder diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java index 0ba61a6440b8a..3533cdcf19d5b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java @@ -4,9 +4,6 @@ package com.azure.ai.metricsadvisor; import com.azure.ai.metricsadvisor.models.MetricsAdvisorKeyCredential; -import com.azure.core.credential.AccessToken; -import com.azure.core.credential.TokenCredential; -import com.azure.core.credential.TokenRequestContext; import com.azure.core.http.HttpClient; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; @@ -14,11 +11,10 @@ import com.azure.core.test.http.AssertingHttpClientBuilder; import com.azure.core.test.models.BodilessMatcher; import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -import reactor.core.publisher.Mono; -import java.time.OffsetDateTime; import java.util.Arrays; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; @@ -75,12 +71,7 @@ MetricsAdvisorClientBuilder getMetricsAdvisorBuilderInternal(HttpClient httpClie } } else { if (interceptorManager.isPlaybackMode()) { - builder.credential(new TokenCredential() { - @Override - public Mono getToken(TokenRequestContext tokenRequestContext) { - return Mono.just(new AccessToken("mockToken", OffsetDateTime.now().plusHours(2))); - } - }); + builder.credential(new MockTokenCredential()); // setting bodiless matcher to "exclude" matching request bodies with UUID's interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher())); } else if (interceptorManager.isRecordMode()) { From a3f201ec336b94ead921d3a2e62d9544c30fb82c Mon Sep 17 00:00:00 2001 From: samvaity Date: Mon, 17 Apr 2023 15:00:35 -0700 Subject: [PATCH 6/6] add sanitizers --- .../MetricsAdvisorAdminClientBuilderTest.java | 4 +- ...csAdvisorAdministrationClientTestBase.java | 2 + .../MetricsAdvisorClientBuilderTest.java | 2 + .../MetricsAdvisorClientTestBase.java | 2 + .../azure/ai/metricsadvisor/TestUtils.java | 10 + ...yncTest.listAnomalyDimensionValues[1].json | 16 +- ...uesTest.listAnomalyDimensionValues[1].json | 16 +- ...tedAsyncTest.listIncidentsDetected[1].json | 16 +- ...DetectedTest.listIncidentsDetected[1].json | 16 +- ...seAsyncTest.listIncidentRootCauses[1].json | 16 +- ...otCauseTest.listIncidentRootCauses[1].json | 16 +- ...ientTest.createAppInsightsDataFeed[1].json | 72 +-- ...lientTest.createAzureTableDataFeed[1].json | 72 +-- ...AsyncClientTest.createBlobDataFeed[1].json | 72 +-- ...yncClientTest.createCosmosDataFeed[1].json | 72 +-- ...Test.createDataLakeStorageDataFeed[1].json | 72 +-- ...cClientTest.createExplorerDataFeed[1].json | 72 +-- ...yncClientTest.createInfluxDataFeed[1].json | 72 +-- ...entTest.createLogAnalyticsDataFeed[1].json | 72 +-- ...syncClientTest.createMYSQLDataFeed[1].json | 72 +-- ...ncClientTest.createMongoDBDataFeed[1].json | 72 +-- ...lientTest.createPostgreSQLDataFeed[1].json | 72 +-- ...ClientTest.createSQLServerDataFeed[1].json | 72 +-- ...tTest.deleteDataFeedIdWithResponse[1].json | 90 +-- ...AsyncClientTest.getDataFeedValidId[1].json | 72 +-- ...st.testListDataFeedFilterByCreator[1].json | 159 ++--- ...istDataFeedFilterByGranularityType[1].json | 184 ++++-- ...tTest.testListDataFeedFilterByName[1].json | 98 +-- ...testListDataFeedFilterBySourceType[1].json | 40 +- ...est.testListDataFeedFilterByStatus[1].json | 96 +-- ...yncClientTest.testListDataFeedTop3[1].json | 271 +++++---- ...edAsyncClientTest.testListDataFeed[1].json | 301 ++++++---- ...ClientTest.updateDataFeedHappyPath[1].json | 138 ++--- ...ientTest.createAppInsightsDataFeed[1].json | 72 +-- ...lientTest.createAzureTableDataFeed[1].json | 72 +-- ...aFeedClientTest.createBlobDataFeed[1].json | 72 +-- ...eedClientTest.createCosmosDataFeed[1].json | 72 +-- ....createDataFeedDuplicateMetricName[1].json | 18 +- ...Test.createDataLakeStorageDataFeed[1].json | 72 +-- ...dClientTest.createExplorerDataFeed[1].json | 72 +-- ...eedClientTest.createInfluxDataFeed[1].json | 72 +-- ...entTest.createLogAnalyticsDataFeed[1].json | 72 +-- ...FeedClientTest.createMYSQLDataFeed[1].json | 72 +-- ...edClientTest.createMongoDBDataFeed[1].json | 72 +-- ...lientTest.createPostgreSQLDataFeed[1].json | 72 +-- ...ClientTest.createSQLServerDataFeed[1].json | 72 +-- ...tTest.deleteDataFeedIdWithResponse[1].json | 90 +-- ...aFeedClientTest.getDataFeedValidId[1].json | 106 ++-- ...st.testListDataFeedFilterByCreator[1].json | 156 ++--- ...istDataFeedFilterByGranularityType[1].json | 178 ++---- ...testListDataFeedFilterBySourceType[1].json | 211 ++++++- ...est.testListDataFeedFilterByStatus[1].json | 132 ++-- ...eedClientTest.testListDataFeedTop3[1].json | 322 ++++------ ...ataFeedClientTest.testListDataFeed[1].json | 190 +++--- ...tionAsyncTest.getIngestionProgress[1].json | 20 +- ...ationAsyncTest.listIngestionStatus[1].json | 16 +- ...perationAsyncTest.refreshIngestion[1].json | 16 +- ...OperationTest.getIngestionProgress[1].json | 20 +- ...nOperationTest.listIngestionStatus[1].json | 16 +- ...tionOperationTest.refreshIngestion[1].json | 16 +- ...edentialsAsyncTest.testBlobStorage[1].json | 144 ++--- ...dentialsAsyncTest.testDataExplorer[1].json | 424 ++++++------- ...dentialsAsyncTest.testDataLakeGen2[1].json | 490 +++++++-------- ...CredentialsAsyncTest.testSqlServer[1].json | 562 +++++++++--------- ...ithCredentialsTest.testBlobStorage[1].json | 144 ++--- ...thCredentialsTest.testDataExplorer[1].json | 424 ++++++------- ...thCredentialsTest.testDataLakeGen2[1].json | 490 +++++++-------- ...dWithCredentialsTest.testSqlServer[1].json | 562 +++++++++--------- ...ncTest.createDataLakeGen2SharedKey[1].json | 60 +- ...yncTest.createServicePrincipalInKV[1].json | 64 +- ...alAsyncTest.createServicePrincipal[1].json | 60 +- ...syncTest.createSqlConnectionString[1].json | 60 +- ...Test.testListDataSourceCredentials[1].json | 152 ++--- ...alTest.createDataLakeGen2SharedKey[1].json | 60 +- ...dentialTest.createServicePrincipal[1].json | 60 +- ...tialTest.createSqlConnectionString[1].json | 60 +- ...Test.testListDataSourceCredentials[1].json | 150 ++--- ...igurationForMultipleSeriesAndGroup[1].json | 196 +++--- ...tionConfigurationForSeriesAndGroup[1].json | 136 ++--- ...tectionConfigurationForWholeSeries[1].json | 136 ++--- ...cTest.updateDetectionConfiguration[1].json | 186 +++--- ...igurationForMultipleSeriesAndGroup[1].json | 164 ++--- ...tionConfigurationForSeriesAndGroup[1].json | 136 ++--- ...tectionConfigurationForWholeSeries[1].json | 136 ++--- ...nTest.updateDetectionConfiguration[1].json | 186 +++--- ...MetricFeedbackFilterByFeedbackType[1].json | 416 ++++++------- ...t.clientBuilderWithDefaultPipeline[1].json | 235 +++++++- ...lientBuilderWithNullServiceVersion[1].json | 120 +++- ...t.clientBuilderWithDefaultPipeline[1].json | 72 +-- ...lientBuilderWithNullServiceVersion[1].json | 72 +-- ...syncTest.listMetricDimensionValues[1].json | 16 +- ...yncTest.listMetricEnrichmentStatus[1].json | 16 +- ...riesAsyncTest.listMetricSeriesData[1].json | 14 +- ...icSeriesDefinitionsDimensionFilter[1].json | 16 +- ...ncTest.listMetricSeriesDefinitions[1].json | 16 +- ...riesTest.listMetricDimensionValues[1].json | 16 +- ...iesTest.listMetricEnrichmentStatus[1].json | 16 +- ...icsSeriesTest.listMetricSeriesData[1].json | 16 +- ...icSeriesDefinitionsDimensionFilter[1].json | 16 +- ...esTest.listMetricSeriesDefinitions[1].json | 16 +- ...icationHookAsyncTest.createWebHook[1].json | 62 +- ...NotificationHookTest.createWebHook[1].json | 62 +- 102 files changed, 5775 insertions(+), 5464 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java index d75f0ff9e1942..7a0c28fdc17df 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java @@ -30,6 +30,7 @@ import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; import static com.azure.ai.metricsadvisor.TestUtils.INVALID_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -145,6 +146,7 @@ private void clientBuilderWithTokenCredentialRunner(HttpClient httpClient, Metri .configuration(Configuration.getGlobalConfiguration()) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)); + interceptorManager.addSanitizers(getEmailSanitizers()); if (interceptorManager.isPlaybackMode()) { clientBuilder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); } else { @@ -174,7 +176,7 @@ private MetricsAdvisorAdministrationClientBuilder createClientBuilder(HttpClient .endpoint(endpoint) .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .serviceVersion(serviceVersion); - + interceptorManager.addSanitizers(getEmailSanitizers()); if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); } else if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java index 1f515b9c89e00..7950e954df881 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java @@ -20,6 +20,7 @@ import static com.azure.ai.metricsadvisor.MetricsAdvisorClientBuilderTest.PLAYBACK_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; public abstract class MetricsAdvisorAdministrationClientTestBase extends TestProxyTestBase { @@ -64,6 +65,7 @@ MetricsAdvisorAdministrationClientBuilder getMetricsAdvisorAdministrationBuilder .httpClient(httpClient) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) .serviceVersion(serviceVersion); + interceptorManager.addSanitizers(getEmailSanitizers()); if (useKeyCredential) { if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java index 1019f100b4a58..84186ab6a77cc 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java @@ -30,6 +30,7 @@ import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; import static com.azure.ai.metricsadvisor.TestUtils.INVALID_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -190,6 +191,7 @@ private MetricsAdvisorClientBuilder createClientBuilder(HttpClient httpClient, M .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .serviceVersion(serviceVersion); + interceptorManager.addSanitizers(getEmailSanitizers()); if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); } else if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java index 3533cdcf19d5b..b1d395c46c469 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java @@ -18,6 +18,7 @@ import java.util.Arrays; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; public abstract class MetricsAdvisorClientTestBase extends TestProxyTestBase { @@ -57,6 +58,7 @@ MetricsAdvisorClientBuilder getMetricsAdvisorBuilderInternal(HttpClient httpClie .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) .serviceVersion(serviceVersion); + interceptorManager.addSanitizers(getEmailSanitizers()); if (useKeyCredential) { if (interceptorManager.isPlaybackMode()) { builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java index 04f54550467ee..2af5ff0c546cf 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java @@ -13,6 +13,7 @@ import com.azure.ai.metricsadvisor.administration.models.DataFeedSchema; import com.azure.ai.metricsadvisor.administration.models.SqlServerDataFeedSource; import com.azure.core.http.HttpClient; +import com.azure.core.test.models.TestProxySanitizer; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; import org.junit.jupiter.params.provider.Arguments; @@ -26,6 +27,7 @@ import static com.azure.core.test.TestBase.AZURE_TEST_SERVICE_VERSIONS_VALUE_ALL; import static com.azure.core.test.TestBase.getHttpClients; +import static com.azure.core.test.models.TestProxySanitizerType.BODY_KEY; /** * Utility class for common methods and constants used in test classes. @@ -178,6 +180,14 @@ static Stream getTestParameters() { return argumentsList.stream(); } + static List getEmailSanitizers() { + return Arrays.asList( + // TODO (savaity) https://github.com/Azure/azure-sdk-for-java/issues/34506 + new TestProxySanitizer("admins", "^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@", "REDACTED.", + BODY_KEY), + new TestProxySanitizer("$..userPrincipal", "^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@", "REDACTED.", BODY_KEY)); + } + /** * Returns whether the given service version match the rules of test framework. * diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json index 473c53bce17f2..2e875f0d7b84a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "92", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cf1f5b3c-ece7-4aca-8644-f965f013a6ef", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1af1afd3-f4d5-44ec-8c9c-dd81b216c781", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,15 +21,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "79f77dd7-dd9b-4541-9974-ac890d81489a", + "apim-request-id": "02986c18-b366-4cd4-9b13-5d4971882aae", "Content-Length": "27", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "354", + "x-envoy-upstream-service-time": "207", "x-ms-region": "West US 2", - "X-Request-ID": "79f77dd7-dd9b-4541-9974-ac890d81489a" + "X-Request-ID": "02986c18-b366-4cd4-9b13-5d4971882aae" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json index 43cd631107c78..4d96beeaecde9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "92", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a1d216c6-7ad6-4e66-a12f-186355a2700b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b3018dc2-04ef-488a-bd57-b411529c1489", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -21,15 +21,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fe03ce25-c98e-4aa9-8625-44c1cd1f14e5", + "apim-request-id": "3ed5693e-db96-490f-8048-b0f30a2c3e78", "Content-Length": "27", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "203", + "x-envoy-upstream-service-time": "228", "x-ms-region": "West US 2", - "X-Request-ID": "fe03ce25-c98e-4aa9-8625-44c1cd1f14e5" + "X-Request-ID": "3ed5693e-db96-490f-8048-b0f30a2c3e78" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json index ac90db2f891a7..8bd5b1812acab 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "eb550037-da0e-4ff0-b9d9-2eae844f79e2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7b9101c9-967a-44f1-aaf0-5d57f5441df9", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,15 +20,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c53b6712-85c0-4183-85c1-be6eeed1d3cf", + "apim-request-id": "235b5523-d92a-493f-b2ca-04782ccce0b0", "Content-Length": "1472", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "337", + "x-envoy-upstream-service-time": "541", "x-ms-region": "West US 2", - "X-Request-ID": "c53b6712-85c0-4183-85c1-be6eeed1d3cf" + "X-Request-ID": "235b5523-d92a-493f-b2ca-04782ccce0b0" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json index dd2641ec518b0..e137f6e4a5882 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8491df25-0c7e-49cf-9c85-6c5b29d94128", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "977746e6-9603-4097-a886-a25cffc30e7c", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,15 +20,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cb1b5a36-645f-47fd-b69c-5bfbe4350798", + "apim-request-id": "c6cde041-88be-41f6-9f4e-ef5d06422ef0", "Content-Length": "1472", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "484", + "x-envoy-upstream-service-time": "393", "x-ms-region": "West US 2", - "X-Request-ID": "cb1b5a36-645f-47fd-b69c-5bfbe4350798" + "X-Request-ID": "c6cde041-88be-41f6-9f4e-ef5d06422ef0" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json index 3bd899b535ffb..dafc5602b6069 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json @@ -6,25 +6,25 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4ee027a4-93c0-4e02-a016-a9d7f8854f86", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f6d4a172-6b73-4ab4-8b45-e71f0f0ea458", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "576b0ea9-a905-437e-b926-62926fb91a49", + "apim-request-id": "063f5cf5-3a7e-4da6-b569-6bed35d732ed", "Content-Length": "209", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "219", + "x-envoy-upstream-service-time": "269", "x-ms-region": "West US 2", - "X-Request-ID": "576b0ea9-a905-437e-b926-62926fb91a49" + "X-Request-ID": "063f5cf5-3a7e-4da6-b569-6bed35d732ed" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json index 0539518c548ee..d71a7bb47450a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json @@ -6,25 +6,25 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "70a649bd-1881-4b47-a356-eb07c61fc697", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "73427c86-01f9-48ac-a356-041a2bd962de", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7d77ea74-7037-4cc7-a1b5-660e3971e6d9", + "apim-request-id": "5fd5cf80-60ea-485f-8398-c6fc6ad055ee", "Content-Length": "209", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "463", + "x-envoy-upstream-service-time": "320", "x-ms-region": "West US 2", - "X-Request-ID": "7d77ea74-7037-4cc7-a1b5-660e3971e6d9" + "X-Request-ID": "5fd5cf80-60ea-485f-8398-c6fc6ad055ee" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json index 55359a3751542..ec5c32e23317f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "882", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "45390797-4461-4e79-936b-379e0508a2ce", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5d8bb0dc-a127-4cbd-9c38-174b1a85e94d", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureApplicationInsights", - "dataFeedName": "java_create_data_feed_test_samplef57e05d9-2eed-411c-9947-f146515b6ac2", + "dataFeedName": "java_create_data_feed_test_samplee9378ea6-09a6-4790-988b-57790b4db330", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "b9acab35-c8c4-48f2-8f83-4fac1878b3fc", + "apim-request-id": "cc4ff49e-8027-4ace-9ff2-f18bcc9be60b", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5906d94d-378f-4816-9166-7f28f495f2b1", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "938", + "x-envoy-upstream-service-time": "2168", "x-ms-region": "West US 2", - "X-Request-ID": "b9acab35-c8c4-48f2-8f83-4fac1878b3fc" + "X-Request-ID": "cc4ff49e-8027-4ace-9ff2-f18bcc9be60b" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5906d94d-378f-4816-9166-7f28f495f2b1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "60551ab4-ee92-4c1c-9158-effd2d13414d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "57f35134-02b4-407b-8595-700b93aa5577", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "763e2950-05eb-4c33-b692-eb870ffa0e85", - "Content-Length": "1557", + "apim-request-id": "748b21d1-a269-4e5c-9c48-94e5c06390ff", + "Content-Length": "1543", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "165", + "x-envoy-upstream-service-time": "226", "x-ms-region": "West US 2", - "X-Request-ID": "763e2950-05eb-4c33-b692-eb870ffa0e85" + "X-Request-ID": "748b21d1-a269-4e5c-9c48-94e5c06390ff" }, "ResponseBody": { - "dataFeedId": "5906d94d-378f-4816-9166-7f28f495f2b1", - "dataFeedName": "java_create_data_feed_test_samplef57e05d9-2eed-411c-9947-f146515b6ac2", + "dataFeedId": "bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", + "dataFeedName": "java_create_data_feed_test_samplee9378ea6-09a6-4790-988b-57790b4db330", "metrics": [ { - "metricId": "9c3b61d0-071f-4367-8f5b-688266fc3c06", + "metricId": "d499972d-fc82-411f-aa00-bbef07e5ba30", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "b2ac8aaf-5be7-4d07-8ec9-5ae2195733ae", + "metricId": "74b5421b-f891-4599-b305-5ad0d51e623e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:50Z", + "createdTime": "2023-04-17T23:00:25Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -147,29 +147,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5906d94d-378f-4816-9166-7f28f495f2b1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8602f762-d57b-4be2-a15c-4ccfdc28a758", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3cf62c54-d13e-445f-91da-53c9d676b9ac", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "ab006690-519f-4a06-b6d6-9eba609396fc", + "apim-request-id": "d8fe6524-2426-4df5-ab11-172cd31b33e6", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "338", + "x-envoy-upstream-service-time": "852", "x-ms-region": "West US 2", - "X-Request-ID": "ab006690-519f-4a06-b6d6-9eba609396fc" + "X-Request-ID": "d8fe6524-2426-4df5-ab11-172cd31b33e6" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json index 56b61500c3571..1b73a529ba9de 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "597", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "388e83be-8874-4720-bcc1-f4b520ec790f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c38338c1-fc63-4c1e-870c-03b720126ec4", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureTable", - "dataFeedName": "java_create_data_feed_test_sample06022027-fe57-4b28-a788-ca644948a749", + "dataFeedName": "java_create_data_feed_test_sample1b16aa8a-18d3-4fa0-b321-196c567149c0", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "46d71dc9-41c1-4890-9b0c-ffffb58d39d1", + "apim-request-id": "58103eb9-97c3-4b0c-a958-875cd7e24474", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cb9b4a97-a8ea-417a-9553-ac514e65b9bf", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/15534ec4-82da-44d6-86d6-53cd720a3236", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "625", + "x-envoy-upstream-service-time": "820", "x-ms-region": "West US 2", - "X-Request-ID": "46d71dc9-41c1-4890-9b0c-ffffb58d39d1" + "X-Request-ID": "58103eb9-97c3-4b0c-a958-875cd7e24474" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb9b4a97-a8ea-417a-9553-ac514e65b9bf", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/15534ec4-82da-44d6-86d6-53cd720a3236", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0ef30c1f-5925-4620-8e24-1047332f3d02", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e9904d12-b1be-4f25-a43e-b91cd3710ec9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "73fdd2bc-0fc6-45fb-b7fa-63d8c17d2004", - "Content-Length": "1262", + "apim-request-id": "095d5203-6b7c-4e0e-8730-f86538c2d145", + "Content-Length": "1248", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "144", + "x-envoy-upstream-service-time": "147", "x-ms-region": "West US 2", - "X-Request-ID": "73fdd2bc-0fc6-45fb-b7fa-63d8c17d2004" + "X-Request-ID": "095d5203-6b7c-4e0e-8730-f86538c2d145" }, "ResponseBody": { - "dataFeedId": "cb9b4a97-a8ea-417a-9553-ac514e65b9bf", - "dataFeedName": "java_create_data_feed_test_sample06022027-fe57-4b28-a788-ca644948a749", + "dataFeedId": "15534ec4-82da-44d6-86d6-53cd720a3236", + "dataFeedName": "java_create_data_feed_test_sample1b16aa8a-18d3-4fa0-b321-196c567149c0", "metrics": [ { - "metricId": "6609eac8-dceb-4826-a098-35d225711f7e", + "metricId": "644890ee-e7dc-4c7c-80a2-ded2a3d54f8b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3042149f-683b-45f4-83e1-5afe2bde072c", + "metricId": "d9bf45ad-33a3-4156-b7ef-c8a5592ca563", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:38Z", + "createdTime": "2023-04-17T23:00:17Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -145,29 +145,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb9b4a97-a8ea-417a-9553-ac514e65b9bf", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/15534ec4-82da-44d6-86d6-53cd720a3236", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "56af02d7-582f-46e6-9f61-dec3e7222b18", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "83717548-6506-435c-a2ed-a1eabf28f776", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "42924d91-9693-42a3-b9bd-31d536558d4e", + "apim-request-id": "fa16e499-3e45-4eb6-a9ab-b5c8a17ae3ee", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "280", + "x-envoy-upstream-service-time": "334", "x-ms-region": "West US 2", - "X-Request-ID": "42924d91-9693-42a3-b9bd-31d536558d4e" + "X-Request-ID": "fa16e499-3e45-4eb6-a9ab-b5c8a17ae3ee" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json index bda50b78b6190..df43b38197219 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "606", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "beeff97f-f7d6-463c-89bc-066601c517bd", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f601ff53-28e0-4d3d-9f9b-3e0abad381d8", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_create_data_feed_test_sample50bb0877-d5d2-444b-a2e6-16b4dfe995ed", + "dataFeedName": "java_create_data_feed_test_sample4eb64c5d-af68-4dfc-9bef-9a8a27775f13", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "d1298405-21ec-429c-931e-69d153b42b19", + "apim-request-id": "6ea12f3f-fda8-4cb7-8da2-45dcd90d4c96", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cd7995ed-c4a4-4e7a-893f-ee72aa3be867", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/56717a8c-5d71-415e-a2a6-de05c153ae4b", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "773", + "x-envoy-upstream-service-time": "1421", "x-ms-region": "West US 2", - "X-Request-ID": "d1298405-21ec-429c-931e-69d153b42b19" + "X-Request-ID": "6ea12f3f-fda8-4cb7-8da2-45dcd90d4c96" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cd7995ed-c4a4-4e7a-893f-ee72aa3be867", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/56717a8c-5d71-415e-a2a6-de05c153ae4b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c2f43f9c-682c-4d92-9f8a-31411a8a7948", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5520e1a4-4ec6-4f85-99a8-f0c21f95a7bf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fe28b44e-6bed-41f0-ae68-3dff4044ed2b", - "Content-Length": "1242", + "apim-request-id": "9a5b79ea-2ab7-4d40-881f-bb0a06a1c15b", + "Content-Length": "1228", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "185", + "x-envoy-upstream-service-time": "155", "x-ms-region": "West US 2", - "X-Request-ID": "fe28b44e-6bed-41f0-ae68-3dff4044ed2b" + "X-Request-ID": "9a5b79ea-2ab7-4d40-881f-bb0a06a1c15b" }, "ResponseBody": { - "dataFeedId": "cd7995ed-c4a4-4e7a-893f-ee72aa3be867", - "dataFeedName": "java_create_data_feed_test_sample50bb0877-d5d2-444b-a2e6-16b4dfe995ed", + "dataFeedId": "56717a8c-5d71-415e-a2a6-de05c153ae4b", + "dataFeedName": "java_create_data_feed_test_sample4eb64c5d-af68-4dfc-9bef-9a8a27775f13", "metrics": [ { - "metricId": "4d6fe466-a24c-45d5-a7f4-338b203730dd", + "metricId": "eebe4a88-f783-4f4a-bfe3-b401b60e22cc", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "80a79cbc-bb7f-495d-820a-56220e25bd81", + "metricId": "3dbc8cb7-108c-4ade-beb2-1d9950e759d2", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:28Z", + "createdTime": "2023-04-17T23:00:05Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -146,29 +146,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cd7995ed-c4a4-4e7a-893f-ee72aa3be867", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/56717a8c-5d71-415e-a2a6-de05c153ae4b", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "189e5cc5-7bac-49f9-8ea4-16286e0af6ea", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4afd03cd-1928-4bc7-87f6-0eebf6a7874a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "73616c93-b4e5-408b-9104-cc5b9c7d510a", + "apim-request-id": "4600357f-9f78-48f0-9b65-f6e188f59831", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "314", + "x-envoy-upstream-service-time": "452", "x-ms-region": "West US 2", - "X-Request-ID": "73616c93-b4e5-408b-9104-cc5b9c7d510a" + "X-Request-ID": "4600357f-9f78-48f0-9b65-f6e188f59831" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json index baa7b17518e72..fbe2c91eee558 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "625", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6f70137f-7363-4aa2-856c-3bc455634721", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "95e2bdfc-e9ea-4fc5-8baa-755db6f58473", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureCosmosDB", - "dataFeedName": "java_create_data_feed_test_sample2e98b41f-1808-4f99-8e15-6ff6785a3b91", + "dataFeedName": "java_create_data_feed_test_sample7cfcea8e-79f1-48f2-a88e-56b391b921b1", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "f5a805ca-ae43-42f0-bd26-3df5f476f83a", + "apim-request-id": "e9cb77f9-3545-457c-9b46-8836c953032e", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2382c25a-9e30-4b08-8df4-7b69a9453580", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "605", + "x-envoy-upstream-service-time": "1477", "x-ms-region": "West US 2", - "X-Request-ID": "f5a805ca-ae43-42f0-bd26-3df5f476f83a" + "X-Request-ID": "e9cb77f9-3545-457c-9b46-8836c953032e" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2382c25a-9e30-4b08-8df4-7b69a9453580", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d84db63a-6f1c-4189-99bb-288ac1f31358", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cbcf13a9-d46d-4e3b-ad2a-c232f2a860c4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "25fbfc17-13f7-4834-87c0-15ff14f08bf8", - "Content-Length": "1290", + "apim-request-id": "23626266-11a6-400c-9bf9-acd878486f67", + "Content-Length": "1276", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "192", + "x-envoy-upstream-service-time": "128", "x-ms-region": "West US 2", - "X-Request-ID": "25fbfc17-13f7-4834-87c0-15ff14f08bf8" + "X-Request-ID": "23626266-11a6-400c-9bf9-acd878486f67" }, "ResponseBody": { - "dataFeedId": "2382c25a-9e30-4b08-8df4-7b69a9453580", - "dataFeedName": "java_create_data_feed_test_sample2e98b41f-1808-4f99-8e15-6ff6785a3b91", + "dataFeedId": "dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", + "dataFeedName": "java_create_data_feed_test_sample7cfcea8e-79f1-48f2-a88e-56b391b921b1", "metrics": [ { - "metricId": "e8df8991-6f08-4d84-b15a-e0b3a29390d9", + "metricId": "90b25907-6c82-4b19-a707-570c9d1a423b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "702d7e70-7289-499d-a5e4-734a4a7f9c7c", + "metricId": "47589b87-2e00-4d1a-8a0c-495c7b46db02", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:31Z", + "createdTime": "2023-04-17T23:00:09Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -147,29 +147,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2382c25a-9e30-4b08-8df4-7b69a9453580", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ef84a817-8b9b-4cb2-a765-6e73619973f8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b0ab3d83-5e81-4a56-929e-9430b5f4d3bb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "25dfb96f-ed06-41ac-8d91-efbe20d4f920", + "apim-request-id": "61348eb5-c1d7-4102-90d6-c15df22aa8c9", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "338", + "x-envoy-upstream-service-time": "344", "x-ms-region": "West US 2", - "X-Request-ID": "25dfb96f-ed06-41ac-8d91-efbe20d4f920" + "X-Request-ID": "61348eb5-c1d7-4102-90d6-c15df22aa8c9" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json index f3dab31a79081..1ed0b65ceace5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "660", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4bd64cf6-7feb-49d3-9da0-96a6e2b757b6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f5cfd90d-c384-42ec-b2b2-a44cf8946b3b", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_samplea2c4fcc1-e310-4499-988c-9074f6188f94", + "dataFeedName": "java_create_data_feed_test_samplec7f531a8-7371-4de3-a57e-8f6ab8efe98c", "granularityName": "Daily", "metrics": [ { @@ -51,56 +51,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "3b3393e3-0f33-4921-abc7-7770cf32f1af", + "apim-request-id": "9c5c8b43-ea16-471d-8fbd-12ac8831e153", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d34ed205-758f-4a1b-a141-3f943856de2a", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a79126e4-dafa-4c21-ad05-2ab51f93b7a9", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1138", + "x-envoy-upstream-service-time": "1184", "x-ms-region": "West US 2", - "X-Request-ID": "3b3393e3-0f33-4921-abc7-7770cf32f1af" + "X-Request-ID": "9c5c8b43-ea16-471d-8fbd-12ac8831e153" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d34ed205-758f-4a1b-a141-3f943856de2a", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a79126e4-dafa-4c21-ad05-2ab51f93b7a9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f1a397fa-1004-4e08-8952-c0d28f9168ed", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ee77a539-b56a-4788-8521-07379aebf0a7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "70398e73-f7d2-4835-8bf1-922c2817a366", - "Content-Length": "1302", + "apim-request-id": "9746cca5-31cd-4ec6-b278-b721a003f85f", + "Content-Length": "1288", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "193", + "x-envoy-upstream-service-time": "160", "x-ms-region": "West US 2", - "X-Request-ID": "70398e73-f7d2-4835-8bf1-922c2817a366" + "X-Request-ID": "9746cca5-31cd-4ec6-b278-b721a003f85f" }, "ResponseBody": { - "dataFeedId": "d34ed205-758f-4a1b-a141-3f943856de2a", - "dataFeedName": "java_create_data_feed_test_samplea2c4fcc1-e310-4499-988c-9074f6188f94", + "dataFeedId": "a79126e4-dafa-4c21-ad05-2ab51f93b7a9", + "dataFeedName": "java_create_data_feed_test_samplec7f531a8-7371-4de3-a57e-8f6ab8efe98c", "metrics": [ { - "metricId": "2fd7fb85-3faa-4452-b6c8-ed6c3e3820d3", + "metricId": "ee36b3e2-af3d-491b-a028-f45a9f4d98b3", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "8a9c11e1-6299-4da6-9591-12b869157505", + "metricId": "495db388-6798-469e-a1cd-7dd62480ada0", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -132,12 +132,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:35Z", + "createdTime": "2023-04-17T23:00:14Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,29 +150,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d34ed205-758f-4a1b-a141-3f943856de2a", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a79126e4-dafa-4c21-ad05-2ab51f93b7a9", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5fe87037-20f7-4fb5-980b-80ad14c7049b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "efc2966e-84a1-42a9-83e7-ee7bbac20818", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "2e7e73ac-5213-4b36-8c6c-b7d3afa00ea0", + "apim-request-id": "5741ee64-38d9-459e-9d28-e60902b4e1be", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "293", + "x-envoy-upstream-service-time": "401", "x-ms-region": "West US 2", - "X-Request-ID": "2e7e73ac-5213-4b36-8c6c-b7d3afa00ea0" + "X-Request-ID": "5741ee64-38d9-459e-9d28-e60902b4e1be" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json index e6c267f9138df..00810c13b81a4 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "703", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "82528238-a2d9-4b99-a5d9-803ea0dfb66f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "80bd12f6-bfd1-4ff9-a607-223c671652a6", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_sampled7e771f1-9589-406c-abf2-aff8f0361f33", + "dataFeedName": "java_create_data_feed_test_sample37a7d464-8094-4307-b066-68afe0565d41", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "ad9200c1-46e2-4834-858f-72df923e87ff", + "apim-request-id": "4e4360e0-1fcd-4788-a6de-f1ac22e97433", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/eb106151-1bac-43c3-822a-a9c2346c2c4c", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/caea4f2d-9795-4208-87a0-d383dd22ac0a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "797", + "x-envoy-upstream-service-time": "2264", "x-ms-region": "West US 2", - "X-Request-ID": "ad9200c1-46e2-4834-858f-72df923e87ff" + "X-Request-ID": "4e4360e0-1fcd-4788-a6de-f1ac22e97433" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/eb106151-1bac-43c3-822a-a9c2346c2c4c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/caea4f2d-9795-4208-87a0-d383dd22ac0a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f89463eb-9ffc-4add-916c-52402e18d8c5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2acd87e6-1153-4ab4-a2f4-0ad74f2917a8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8c613cef-ce7b-4957-b79f-08fa7d72df8b", - "Content-Length": "1339", + "apim-request-id": "1c463b05-9871-4da5-89e0-6f039211fe66", + "Content-Length": "1325", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "148", + "x-envoy-upstream-service-time": "207", "x-ms-region": "West US 2", - "X-Request-ID": "8c613cef-ce7b-4957-b79f-08fa7d72df8b" + "X-Request-ID": "1c463b05-9871-4da5-89e0-6f039211fe66" }, "ResponseBody": { - "dataFeedId": "eb106151-1bac-43c3-822a-a9c2346c2c4c", - "dataFeedName": "java_create_data_feed_test_sampled7e771f1-9589-406c-abf2-aff8f0361f33", + "dataFeedId": "caea4f2d-9795-4208-87a0-d383dd22ac0a", + "dataFeedName": "java_create_data_feed_test_sample37a7d464-8094-4307-b066-68afe0565d41", "metrics": [ { - "metricId": "ede4b842-9af3-4148-bce2-99f4c1dafc46", + "metricId": "9053f71b-6956-4101-b780-577f37aeb710", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "6e8bb64c-00e7-430a-a77a-2944f86bc6b3", + "metricId": "5416bbef-6021-4260-be1e-cdf67655b99e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:51Z", + "createdTime": "2023-04-17T23:00:25Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,29 +144,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/eb106151-1bac-43c3-822a-a9c2346c2c4c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/caea4f2d-9795-4208-87a0-d383dd22ac0a", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a83f7001-7b81-4eac-ad56-d5dfbcb95e0a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ec037bc2-3120-4114-8c28-4f10e9c87d45", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "11c0ee5f-3915-49fe-bdaa-bebdb236394e", + "apim-request-id": "2d3e63cd-d510-4ebf-9ecc-ffadc5a80417", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "284", + "x-envoy-upstream-service-time": "947", "x-ms-region": "West US 2", - "X-Request-ID": "11c0ee5f-3915-49fe-bdaa-bebdb236394e" + "X-Request-ID": "2d3e63cd-d510-4ebf-9ecc-ffadc5a80417" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json index e635889a5bd9a..bf72de1d3997b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "635", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e431d4fc-fda4-4e47-8fe8-710725e8e9cb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bf81733b-158e-4b05-8dcf-af0c0698ae6a", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "InfluxDB", - "dataFeedName": "java_create_data_feed_test_sample5c8aa0aa-a467-4b77-b466-44588a3ced2e", + "dataFeedName": "java_create_data_feed_test_sample6915c2da-d9b6-4c18-83d1-0208799c97af", "granularityName": "Daily", "metrics": [ { @@ -50,56 +50,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "35b1b981-5f8c-4d15-a8ae-b725180588c5", + "apim-request-id": "09a52097-cc20-4a4b-9988-dc7e844964c2", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d35b2594-a536-4a49-a320-e3d6e5739b25", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/796a2324-7514-4144-b871-7ffb69acbaea", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "774", + "x-envoy-upstream-service-time": "852", "x-ms-region": "West US 2", - "X-Request-ID": "35b1b981-5f8c-4d15-a8ae-b725180588c5" + "X-Request-ID": "09a52097-cc20-4a4b-9988-dc7e844964c2" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d35b2594-a536-4a49-a320-e3d6e5739b25", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/796a2324-7514-4144-b871-7ffb69acbaea", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e51b04d2-3d23-4698-8843-3c8be2a4bec5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2e3d7f2b-9b70-48b5-bf6e-45c429b6e0e8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a0fff9f8-d93a-4979-8027-6f768d408a4a", - "Content-Length": "1308", + "apim-request-id": "e7b080bb-2554-4f84-b762-1bafdeeabc9b", + "Content-Length": "1294", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "179", + "x-envoy-upstream-service-time": "147", "x-ms-region": "West US 2", - "X-Request-ID": "a0fff9f8-d93a-4979-8027-6f768d408a4a" + "X-Request-ID": "e7b080bb-2554-4f84-b762-1bafdeeabc9b" }, "ResponseBody": { - "dataFeedId": "d35b2594-a536-4a49-a320-e3d6e5739b25", - "dataFeedName": "java_create_data_feed_test_sample5c8aa0aa-a467-4b77-b466-44588a3ced2e", + "dataFeedId": "796a2324-7514-4144-b871-7ffb69acbaea", + "dataFeedName": "java_create_data_feed_test_sample6915c2da-d9b6-4c18-83d1-0208799c97af", "metrics": [ { - "metricId": "b3288160-5e41-46f4-8f3f-31ba0c5646b1", + "metricId": "8508739e-c238-4ecf-8412-144402df99ce", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "2f7fd8fd-08a2-4b5d-ae00-0718863b9912", + "metricId": "7d43f0fd-04ea-46fe-aa87-670ffe06f0e1", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -131,12 +131,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:29Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -149,29 +149,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d35b2594-a536-4a49-a320-e3d6e5739b25", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/796a2324-7514-4144-b871-7ffb69acbaea", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "156dec28-febe-44f0-a1fe-521dd01a26de", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d317a095-41d9-432f-89b8-45ba320af921", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "09c938bd-5386-4f84-b153-c71b1ac5e2a3", + "apim-request-id": "ec8b5908-4b03-434b-92b0-0f4c97ed61cc", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "287", + "x-envoy-upstream-service-time": "352", "x-ms-region": "West US 2", - "X-Request-ID": "09c938bd-5386-4f84-b153-c71b1ac5e2a3" + "X-Request-ID": "ec8b5908-4b03-434b-92b0-0f4c97ed61cc" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json index 67a8f269100c5..fa9f7bdad0102 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "777", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e9896554-911e-4d82-8e87-c998e920f8ae", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b9784777-a2e0-49f8-9ade-77848960616c", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureLogAnalytics", - "dataFeedName": "java_create_data_feed_test_sample4ddbfc04-1cf2-418d-bf40-d79ae41112da", + "dataFeedName": "java_create_data_feed_test_sample17e062f7-0785-4656-972d-4bcd6eb266f0", "granularityName": "Daily", "metrics": [ { @@ -51,56 +51,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "4881c695-2254-489d-b608-48af0afddc12", + "apim-request-id": "02e24c21-2264-4e59-ac39-cd97801eeccd", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/8fffa738-4a48-4781-a45a-b5ac3f51058b", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea5ae133-e79c-41fc-bcd5-e5c3ed0bf1cc", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "820", + "x-envoy-upstream-service-time": "1192", "x-ms-region": "West US 2", - "X-Request-ID": "4881c695-2254-489d-b608-48af0afddc12" + "X-Request-ID": "02e24c21-2264-4e59-ac39-cd97801eeccd" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8fffa738-4a48-4781-a45a-b5ac3f51058b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea5ae133-e79c-41fc-bcd5-e5c3ed0bf1cc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "80156255-ea24-4ed4-8688-a3e49f9bec94", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "890fe2c1-a3d0-48c6-abd5-f4c0dcca8526", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "55ff8823-4ea8-4db1-ab1a-002b6d997367", - "Content-Length": "1411", + "apim-request-id": "f9dabb74-0c29-4232-ace1-735fe0564a4f", + "Content-Length": "1397", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "169", + "x-envoy-upstream-service-time": "144", "x-ms-region": "West US 2", - "X-Request-ID": "55ff8823-4ea8-4db1-ab1a-002b6d997367" + "X-Request-ID": "f9dabb74-0c29-4232-ace1-735fe0564a4f" }, "ResponseBody": { - "dataFeedId": "8fffa738-4a48-4781-a45a-b5ac3f51058b", - "dataFeedName": "java_create_data_feed_test_sample4ddbfc04-1cf2-418d-bf40-d79ae41112da", + "dataFeedId": "ea5ae133-e79c-41fc-bcd5-e5c3ed0bf1cc", + "dataFeedName": "java_create_data_feed_test_sample17e062f7-0785-4656-972d-4bcd6eb266f0", "metrics": [ { - "metricId": "deeb6da0-5ac6-4f37-912e-f2bfdeba4a5b", + "metricId": "ae7298cd-5ecb-4e4e-a216-3bf35f46b689", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "18fec49c-5328-45be-9e04-6efd7252a710", + "metricId": "9f9d7afc-d8bb-4f8c-a6db-94933c2e86c6", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -132,12 +132,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:49Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,29 +150,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8fffa738-4a48-4781-a45a-b5ac3f51058b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea5ae133-e79c-41fc-bcd5-e5c3ed0bf1cc", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "219ec39e-b89c-4351-b74c-8e5f41624c38", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bcbd8299-f625-45d8-864a-bacd08679986", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "08f57071-c0ea-4746-a0b7-a24c937f4c16", + "apim-request-id": "5347ffed-ff52-428e-9880-680c04df29f9", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "400", + "x-envoy-upstream-service-time": "271", "x-ms-region": "West US 2", - "X-Request-ID": "08f57071-c0ea-4746-a0b7-a24c937f4c16" + "X-Request-ID": "5347ffed-ff52-428e-9880-680c04df29f9" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMYSQLDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMYSQLDataFeed[1].json index 08a37f3f5c165..0d0f67268c8e9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMYSQLDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMYSQLDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "566", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "50ff0089-d70c-4687-8bc0-d6eb57ec799a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bcbebda0-8d32-4ae3-8171-d4628a1c9314", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "MySql", - "dataFeedName": "java_create_data_feed_test_sampleb42f7bcf-7868-4a9a-81c8-ce43b9ef554d", + "dataFeedName": "java_create_data_feed_test_sample2a5527b6-3dcd-4611-9c33-092d6a9c023d", "granularityName": "Daily", "metrics": [ { @@ -47,56 +47,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "6e1eeb6c-da52-404b-8135-77178e907188", + "apim-request-id": "ed8acdc2-55a2-4017-8e70-ca7c91be829d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/de96f3d5-c917-4da0-a217-3843231b6f59", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5b4bd61a-f71d-4a4f-86b8-4fd023c41060", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1200", + "x-envoy-upstream-service-time": "1147", "x-ms-region": "West US 2", - "X-Request-ID": "6e1eeb6c-da52-404b-8135-77178e907188" + "X-Request-ID": "ed8acdc2-55a2-4017-8e70-ca7c91be829d" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/de96f3d5-c917-4da0-a217-3843231b6f59", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5b4bd61a-f71d-4a4f-86b8-4fd023c41060", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "36d68d3e-99d3-4103-b9bd-ddd694aeb220", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "30613326-c961-4437-9fca-60042c98c056", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5730b38c-9f07-4a35-a719-61c493791748", - "Content-Length": "1231", + "apim-request-id": "bb7ad166-939c-4040-93dc-e9dc24a7ed3c", + "Content-Length": "1217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "159", + "x-envoy-upstream-service-time": "332", "x-ms-region": "West US 2", - "X-Request-ID": "5730b38c-9f07-4a35-a719-61c493791748" + "X-Request-ID": "bb7ad166-939c-4040-93dc-e9dc24a7ed3c" }, "ResponseBody": { - "dataFeedId": "de96f3d5-c917-4da0-a217-3843231b6f59", - "dataFeedName": "java_create_data_feed_test_sampleb42f7bcf-7868-4a9a-81c8-ce43b9ef554d", + "dataFeedId": "5b4bd61a-f71d-4a4f-86b8-4fd023c41060", + "dataFeedName": "java_create_data_feed_test_sample2a5527b6-3dcd-4611-9c33-092d6a9c023d", "metrics": [ { - "metricId": "c7985c7f-f384-454c-a228-4ce4388f167d", + "metricId": "1aa959f3-a641-4e42-b363-c74db5d082eb", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "887aa05a-bea4-4072-9017-eb722b29ae6e", + "metricId": "25bff8f9-7e28-495d-8321-549678c19e2e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -128,12 +128,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:51Z", + "createdTime": "2023-04-17T23:00:23Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -143,29 +143,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/de96f3d5-c917-4da0-a217-3843231b6f59", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5b4bd61a-f71d-4a4f-86b8-4fd023c41060", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "bba3d6f2-6dd1-4ea1-a411-511c00f3bdb9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4aa1e002-c11f-45fd-b398-15fd8e7e2782", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "06d11fb0-d1d3-442f-bcda-ecef8a2016eb", + "apim-request-id": "b4a4f0d1-d674-4881-9551-e4d34cd8d387", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "254", + "x-envoy-upstream-service-time": "674", "x-ms-region": "West US 2", - "X-Request-ID": "06d11fb0-d1d3-442f-bcda-ecef8a2016eb" + "X-Request-ID": "b4a4f0d1-d674-4881-9551-e4d34cd8d387" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMongoDBDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMongoDBDataFeed[1].json index b03232b7a06d2..0959d005d933e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMongoDBDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createMongoDBDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "630", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f263355a-3b29-4108-9d7c-87679a4d394f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6e3d29cd-1c79-4bd5-9094-60d60e1b55b4", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "MongoDB", - "dataFeedName": "java_create_data_feed_test_sample8090e51e-c7b3-4381-8ef6-e89506ba85e4", + "dataFeedName": "java_create_data_feed_test_sample0fd161de-3691-4f50-8507-13e0867560ab", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "d6f3e3ad-14b6-469e-a662-35a892bd0cb9", + "apim-request-id": "7228e1c2-e6d8-44b8-a55d-c23aecd5802c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0d2d41db-a94a-4eaf-a154-1d230d9569ab", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/60a60fbd-a3f8-4e54-a6e8-63d2486cf6b7", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "705", + "x-envoy-upstream-service-time": "2083", "x-ms-region": "West US 2", - "X-Request-ID": "d6f3e3ad-14b6-469e-a662-35a892bd0cb9" + "X-Request-ID": "7228e1c2-e6d8-44b8-a55d-c23aecd5802c" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0d2d41db-a94a-4eaf-a154-1d230d9569ab", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/60a60fbd-a3f8-4e54-a6e8-63d2486cf6b7", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c4dd5cd1-4b02-4c6d-881a-b67af916fd4b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "62bf7a2b-6649-4a27-bf1b-42c4c460b3e6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8d218f2b-0047-4915-bb05-20d256529d82", - "Content-Length": "1295", + "apim-request-id": "de3e4d3d-8c9b-4045-9bfa-54c8ed60de7e", + "Content-Length": "1281", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "161", + "x-envoy-upstream-service-time": "233", "x-ms-region": "West US 2", - "X-Request-ID": "8d218f2b-0047-4915-bb05-20d256529d82" + "X-Request-ID": "de3e4d3d-8c9b-4045-9bfa-54c8ed60de7e" }, "ResponseBody": { - "dataFeedId": "0d2d41db-a94a-4eaf-a154-1d230d9569ab", - "dataFeedName": "java_create_data_feed_test_sample8090e51e-c7b3-4381-8ef6-e89506ba85e4", + "dataFeedId": "60a60fbd-a3f8-4e54-a6e8-63d2486cf6b7", + "dataFeedName": "java_create_data_feed_test_sample0fd161de-3691-4f50-8507-13e0867560ab", "metrics": [ { - "metricId": "6aee66e5-73c1-40cf-85ef-b258895ac011", + "metricId": "4b649824-d2e3-42a8-a9f2-ebc2911b2e28", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "e4b348f7-aebc-43ef-b125-18467c3ec069", + "metricId": "6c28e86d-2f22-4107-8145-42ff87178642", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:44Z", + "createdTime": "2023-04-17T23:00:27Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -145,29 +145,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0d2d41db-a94a-4eaf-a154-1d230d9569ab", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/60a60fbd-a3f8-4e54-a6e8-63d2486cf6b7", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9ae7d564-02b1-4bbe-bccd-311ec449f02f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7c14a491-6eb1-47b5-8b69-f3c598e6999c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "1ea79414-e6cc-431d-817e-42e06b112e5e", + "apim-request-id": "b5c4f82c-51f9-4ac6-a42d-5e1ddbfe750c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "282", + "x-envoy-upstream-service-time": "490", "x-ms-region": "West US 2", - "X-Request-ID": "1ea79414-e6cc-431d-817e-42e06b112e5e" + "X-Request-ID": "b5c4f82c-51f9-4ac6-a42d-5e1ddbfe750c" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createPostgreSQLDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createPostgreSQLDataFeed[1].json index c7f034c269c48..234e0fd841298 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createPostgreSQLDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createPostgreSQLDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "571", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1bcbad6a-43bf-4fcd-9daa-8a72efa23093", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c7d5139d-0527-4c4f-90d8-81f45dfb0f69", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "PostgreSql", - "dataFeedName": "java_create_data_feed_test_sample090fd1cf-8c97-4d85-86e0-b2c9d9ded6e6", + "dataFeedName": "java_create_data_feed_test_samplef92d1e46-bab7-4a85-bf6a-c231c376e032", "granularityName": "Daily", "metrics": [ { @@ -47,56 +47,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "da87183b-1e01-42b0-a6e2-7d0ec3f3b737", + "apim-request-id": "c3aa9d51-4cfc-4c0a-8fbe-2fbba9afb547", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/aeee7b9d-4c54-4a5a-b85d-98eb23a22a5e", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9324b9dd-4006-41ee-897e-3395ca7f6451", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "798", + "x-envoy-upstream-service-time": "1086", "x-ms-region": "West US 2", - "X-Request-ID": "da87183b-1e01-42b0-a6e2-7d0ec3f3b737" + "X-Request-ID": "c3aa9d51-4cfc-4c0a-8fbe-2fbba9afb547" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/aeee7b9d-4c54-4a5a-b85d-98eb23a22a5e", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9324b9dd-4006-41ee-897e-3395ca7f6451", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3c1a3902-8afe-4d7e-a7cc-4839327d3f68", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b90c76d0-f95d-45e4-8eb2-44707b729a93", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2c00ab70-939c-48c3-a7ca-bf901f2d65c0", - "Content-Length": "1236", + "apim-request-id": "0389cf8c-fdad-4344-83d8-0cea20ffeb1f", + "Content-Length": "1222", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "162", + "x-envoy-upstream-service-time": "179", "x-ms-region": "West US 2", - "X-Request-ID": "2c00ab70-939c-48c3-a7ca-bf901f2d65c0" + "X-Request-ID": "0389cf8c-fdad-4344-83d8-0cea20ffeb1f" }, "ResponseBody": { - "dataFeedId": "aeee7b9d-4c54-4a5a-b85d-98eb23a22a5e", - "dataFeedName": "java_create_data_feed_test_sample090fd1cf-8c97-4d85-86e0-b2c9d9ded6e6", + "dataFeedId": "9324b9dd-4006-41ee-897e-3395ca7f6451", + "dataFeedName": "java_create_data_feed_test_samplef92d1e46-bab7-4a85-bf6a-c231c376e032", "metrics": [ { - "metricId": "4577e27a-81e1-45c8-8b2f-26c369d020d6", + "metricId": "2e918a23-7940-4b61-9798-a1d049d42af3", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "6960b5b2-a3dd-4246-b526-eae002944935", + "metricId": "4c344ea1-8fc4-4d6e-bda0-5b56fc80e24a", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -128,12 +128,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:40Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -143,29 +143,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/aeee7b9d-4c54-4a5a-b85d-98eb23a22a5e", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9324b9dd-4006-41ee-897e-3395ca7f6451", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "99a3f206-29ac-46da-b8f4-046595554fe1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3099eedf-ebf7-4896-89c1-f194035ff7a8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "fb394ab9-61d9-4022-82f7-9313403e78d8", + "apim-request-id": "b32489f2-08f1-4489-88a3-caa67cecfb24", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "311", + "x-envoy-upstream-service-time": "341", "x-ms-region": "West US 2", - "X-Request-ID": "fb394ab9-61d9-4022-82f7-9313403e78d8" + "X-Request-ID": "b32489f2-08f1-4489-88a3-caa67cecfb24" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createSQLServerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createSQLServerDataFeed[1].json index ecfbf80ff8d54..af9726cb36dce 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createSQLServerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createSQLServerDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "daec322f-203e-4b20-a501-f1c6949c79c4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d413d371-0973-4166-8b48-c9d21997bda8", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_sample0557f7c5-7f14-45f0-b671-594dd7da24aa", + "dataFeedName": "java_create_data_feed_test_sample275d2830-4136-4126-97d5-439cf367f164", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "474588db-3460-49a9-bc3b-c7a5ef461e7f", + "apim-request-id": "04816bd5-19ef-476d-831b-4bdd1d0511b1", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6448846b-3c68-4649-a9b5-a25b204b97f5", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/635470de-235f-4c1b-812a-61ab98247af7", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "692", + "x-envoy-upstream-service-time": "1233", "x-ms-region": "West US 2", - "X-Request-ID": "474588db-3460-49a9-bc3b-c7a5ef461e7f" + "X-Request-ID": "04816bd5-19ef-476d-831b-4bdd1d0511b1" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6448846b-3c68-4649-a9b5-a25b204b97f5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/635470de-235f-4c1b-812a-61ab98247af7", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "eb6f8a41-a4b5-453e-a048-ac6131479945", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3d6d98a5-5d4a-46fc-9537-474c6f7570d5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e7e9ffd4-4d3a-4873-81f0-69b7212b8604", - "Content-Length": "1235", + "apim-request-id": "ddad2ab0-7d09-462d-91bd-17e29aa7ebd8", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "223", + "x-envoy-upstream-service-time": "159", "x-ms-region": "West US 2", - "X-Request-ID": "e7e9ffd4-4d3a-4873-81f0-69b7212b8604" + "X-Request-ID": "ddad2ab0-7d09-462d-91bd-17e29aa7ebd8" }, "ResponseBody": { - "dataFeedId": "6448846b-3c68-4649-a9b5-a25b204b97f5", - "dataFeedName": "java_create_data_feed_test_sample0557f7c5-7f14-45f0-b671-594dd7da24aa", + "dataFeedId": "635470de-235f-4c1b-812a-61ab98247af7", + "dataFeedName": "java_create_data_feed_test_sample275d2830-4136-4126-97d5-439cf367f164", "metrics": [ { - "metricId": "ad573ee5-cbe3-48b0-8e0e-f367a6da24f2", + "metricId": "a854649f-d3c6-4f17-8819-dca6f11d4190", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "d4c09184-035e-4c4f-9be6-046905d52315", + "metricId": "60bbe264-3ebf-475f-9fd5-9c4893be4979", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:47Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,29 +144,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6448846b-3c68-4649-a9b5-a25b204b97f5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/635470de-235f-4c1b-812a-61ab98247af7", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2c8dc93a-6bab-4408-8d78-059e38c2e65e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2abb8afa-a147-4622-8218-afe49993e962", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "f16a0eaf-848e-4733-af2b-ba5732378593", + "apim-request-id": "43de14ec-e606-487e-a1b7-4d6e04ff4c0c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "420", + "x-envoy-upstream-service-time": "253", "x-ms-region": "West US 2", - "X-Request-ID": "f16a0eaf-848e-4733-af2b-ba5732378593" + "X-Request-ID": "43de14ec-e606-487e-a1b7-4d6e04ff4c0c" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.deleteDataFeedIdWithResponse[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.deleteDataFeedIdWithResponse[1].json index 4fed7bffad68f..39e428bee74d8 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.deleteDataFeedIdWithResponse[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.deleteDataFeedIdWithResponse[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "70c8d11a-1328-43b5-b198-bc1772d2ea73", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b0e760c0-3cf5-4e06-8c52-65c3fdd98eec", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_sampled57ded87-362f-42a5-9824-2c66323bc421", + "dataFeedName": "java_create_data_feed_test_sample7b164472-5a4c-45b3-9fd0-e7f373ccb407", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "52dc9561-841d-456c-838e-7c4c2290785c", + "apim-request-id": "7bceaaf9-b35a-4b5c-a81c-c62968dd8cb1", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9e2be175-368a-4026-b556-2587321de7e9", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/98491287-4a77-4490-bab5-5538e0bdf1b0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1098", + "x-envoy-upstream-service-time": "963", "x-ms-region": "West US 2", - "X-Request-ID": "52dc9561-841d-456c-838e-7c4c2290785c" + "X-Request-ID": "7bceaaf9-b35a-4b5c-a81c-c62968dd8cb1" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9e2be175-368a-4026-b556-2587321de7e9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/98491287-4a77-4490-bab5-5538e0bdf1b0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9a103e00-7e07-4bf9-8545-a50dba587045", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0e96ac49-5466-4f3e-b3cf-7a8b12bbd675", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "bdc2a63c-2525-43c0-9853-81d19ccd227d", - "Content-Length": "1235", + "apim-request-id": "29af3f19-2041-41e4-bb1a-3fafe1571f82", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "196", + "x-envoy-upstream-service-time": "152", "x-ms-region": "West US 2", - "X-Request-ID": "bdc2a63c-2525-43c0-9853-81d19ccd227d" + "X-Request-ID": "29af3f19-2041-41e4-bb1a-3fafe1571f82" }, "ResponseBody": { - "dataFeedId": "9e2be175-368a-4026-b556-2587321de7e9", - "dataFeedName": "java_create_data_feed_test_sampled57ded87-362f-42a5-9824-2c66323bc421", + "dataFeedId": "98491287-4a77-4490-bab5-5538e0bdf1b0", + "dataFeedName": "java_create_data_feed_test_sample7b164472-5a4c-45b3-9fd0-e7f373ccb407", "metrics": [ { - "metricId": "74e9ce7d-58e3-458c-88cb-6b82158ee13a", + "metricId": "c29617c0-a041-435d-a0bd-e6a314c5b21c", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "88031e3d-a94f-4508-aa71-f2447d97cf07", + "metricId": "303896cf-4fb8-49c1-8ba5-08a09eaaf121", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:33Z", + "createdTime": "2023-04-17T23:00:11Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,57 +144,57 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9e2be175-368a-4026-b556-2587321de7e9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/98491287-4a77-4490-bab5-5538e0bdf1b0", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ada8d7a8-8d9f-47c5-9a6f-2e8bffc9e350", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "64d9595b-f2e2-407c-9f81-dee7943ae907", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "cc7e788e-45cf-46be-bb0c-2caa647da798", + "apim-request-id": "8c5c3990-3808-401f-880c-638e49087bcd", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "487", + "x-envoy-upstream-service-time": "540", "x-ms-region": "West US 2", - "X-Request-ID": "cc7e788e-45cf-46be-bb0c-2caa647da798" + "X-Request-ID": "8c5c3990-3808-401f-880c-638e49087bcd" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9e2be175-368a-4026-b556-2587321de7e9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/98491287-4a77-4490-bab5-5538e0bdf1b0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "384d2203-ee20-4856-bfc3-e24b28c12641", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "feefa6d8-5b8b-4b60-ba3d-85b19f827946", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { - "apim-request-id": "7fd3f27f-55c8-431d-9d96-2ed0819ac36b", + "apim-request-id": "ad339ca6-23a4-4d82-91eb-755d8831000f", "Content-Length": "59", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156", + "x-envoy-upstream-service-time": "109", "x-ms-region": "West US 2", - "X-Request-ID": "7fd3f27f-55c8-431d-9d96-2ed0819ac36b" + "X-Request-ID": "ad339ca6-23a4-4d82-91eb-755d8831000f" }, "ResponseBody": { "code": "404 NOT_FOUND", diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.getDataFeedValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.getDataFeedValidId[1].json index b53f10e3c6922..740c79507a8dd 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.getDataFeedValidId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.getDataFeedValidId[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1c1b4183-3b28-42e0-b31d-8f2bf0c97b76", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ea07bb04-9e3f-45fc-aa3d-7ccf4267008d", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_sample29af117f-fe93-4ce5-9071-6a750de00c52", + "dataFeedName": "java_create_data_feed_test_samplea8817525-3cb0-4f0a-9e13-70441294683e", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "0afdf499-e0bd-4b4a-bc00-d78f90743302", + "apim-request-id": "2f75794d-1ff3-480e-873e-4f7f6c8bf00f", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61e05efc-1be7-44a5-a669-aea2f938ad88", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6a818a08-a1d8-44ba-9e60-614fcd1706ea", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "684", + "x-envoy-upstream-service-time": "592", "x-ms-region": "West US 2", - "X-Request-ID": "0afdf499-e0bd-4b4a-bc00-d78f90743302" + "X-Request-ID": "2f75794d-1ff3-480e-873e-4f7f6c8bf00f" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/61e05efc-1be7-44a5-a669-aea2f938ad88", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6a818a08-a1d8-44ba-9e60-614fcd1706ea", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6dc79dcc-a74d-403f-afd7-4c42fe47a164", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cee1e366-8fbb-4f4f-a791-debfcb775650", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "37224808-7260-4579-9ada-eb742cbe4a8e", - "Content-Length": "1235", + "apim-request-id": "062e9982-2906-4f59-8346-e5b879aff086", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "148", + "x-envoy-upstream-service-time": "146", "x-ms-region": "West US 2", - "X-Request-ID": "37224808-7260-4579-9ada-eb742cbe4a8e" + "X-Request-ID": "062e9982-2906-4f59-8346-e5b879aff086" }, "ResponseBody": { - "dataFeedId": "61e05efc-1be7-44a5-a669-aea2f938ad88", - "dataFeedName": "java_create_data_feed_test_sample29af117f-fe93-4ce5-9071-6a750de00c52", + "dataFeedId": "6a818a08-a1d8-44ba-9e60-614fcd1706ea", + "dataFeedName": "java_create_data_feed_test_samplea8817525-3cb0-4f0a-9e13-70441294683e", "metrics": [ { - "metricId": "26414f41-7506-4286-824b-885c665753a3", + "metricId": "1f883ce9-da08-4689-88a1-481df027e473", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "9438d5d8-d19d-4565-bf11-ff6d9eb2a769", + "metricId": "cb161048-1732-48aa-8d18-bb9a4655b656", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:37Z", + "createdTime": "2023-04-17T23:00:16Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,29 +144,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/61e05efc-1be7-44a5-a669-aea2f938ad88", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6a818a08-a1d8-44ba-9e60-614fcd1706ea", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "73e3975a-f070-46f4-9163-0fa1f56b1a4b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "037ff298-e388-4ed7-9609-098a7945b363", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "09fc28e4-73fa-43fe-ac4e-d9a424133cc7", + "apim-request-id": "4a332ca7-cfd8-4c60-a80e-c45c14c564a7", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "306", + "x-envoy-upstream-service-time": "265", "x-ms-region": "West US 2", - "X-Request-ID": "09fc28e4-73fa-43fe-ac4e-d9a424133cc7" + "X-Request-ID": "4a332ca7-cfd8-4c60-a80e-c45c14c564a7" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByCreator[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByCreator[1].json index 7aa29b940fdff..1a51b0dfd469a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByCreator[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByCreator[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "571", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:23:44 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "27efbbe1-2525-40ff-8c4b-dec6b2450640", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d8d19f1a-4de0-4317-9cc0-49c5b1001779", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "PostgreSql", - "dataFeedName": "java_create_data_feed_test_sample301789d2-ca8d-474e-b1f1-26d59e5982cb", + "dataFeedName": "java_create_data_feed_test_sample861e9a6a-ffe7-425f-a746-b15135afb068", "granularityName": "Daily", "metrics": [ { @@ -47,56 +47,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "ed60f59a-2e57-4d13-bcc8-9bff282bf5af", + "apim-request-id": "9b063eaf-b7ff-4363-aa5a-82bbebe0e6ec", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/76ff5a03-0964-41eb-9275-b0e7369d919a", + "Date": "Mon, 17 Apr 2023 23:23:45 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d922e19c-7ace-44d7-9ec7-317cf0cc6f55", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "647", + "x-envoy-upstream-service-time": "812", "x-ms-region": "West US 2", - "X-Request-ID": "ed60f59a-2e57-4d13-bcc8-9bff282bf5af" + "X-Request-ID": "9b063eaf-b7ff-4363-aa5a-82bbebe0e6ec" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/76ff5a03-0964-41eb-9275-b0e7369d919a", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d922e19c-7ace-44d7-9ec7-317cf0cc6f55", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:23:46 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c5a838cd-6ad2-4cfc-88cd-61a74d1f8989", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5bce89ad-e24e-4273-b5dc-639b87062623", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9657cdf6-122c-438e-a56f-933cf1f1af44", + "apim-request-id": "0428155b-db6d-4920-923d-8effd13e27b5", "Content-Length": "1236", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:23:46 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "157", + "x-envoy-upstream-service-time": "188", "x-ms-region": "West US 2", - "X-Request-ID": "9657cdf6-122c-438e-a56f-933cf1f1af44" + "X-Request-ID": "0428155b-db6d-4920-923d-8effd13e27b5" }, "ResponseBody": { - "dataFeedId": "76ff5a03-0964-41eb-9275-b0e7369d919a", - "dataFeedName": "java_create_data_feed_test_sample301789d2-ca8d-474e-b1f1-26d59e5982cb", + "dataFeedId": "d922e19c-7ace-44d7-9ec7-317cf0cc6f55", + "dataFeedName": "java_create_data_feed_test_sample861e9a6a-ffe7-425f-a746-b15135afb068", "metrics": [ { - "metricId": "5ef7082f-ce6f-4512-ab57-5a57df8781c1", + "metricId": "8901ba3d-a690-450c-b6f5-a76bb68d13db", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "4a0ed493-ffad-425e-868a-da4be58dc26b", + "metricId": "c8f5d65c-3b0d-417a-bf70-1aaa355bda43", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -128,12 +128,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "creator": "xiangyan@microsoft.com", "status": "Active", - "createdTime": "2023-04-12T22:01:26Z", + "createdTime": "2023-04-17T23:23:45Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -148,40 +148,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:23:46 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "19568607-2287-4508-8c17-f519b3ece7f8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5d514630-a579-4e86-ba7b-3c2fdcad0b36", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "939af027-77a3-49b9-a5ca-80dd6841ec2b", - "Content-Length": "3862", + "apim-request-id": "6be1a692-4faf-46a1-ac65-740dab925da5", + "Content-Length": "2559", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:23:46 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "185", + "x-envoy-upstream-service-time": "199", "x-ms-region": "West US 2", - "X-Request-ID": "939af027-77a3-49b9-a5ca-80dd6841ec2b" + "X-Request-ID": "6be1a692-4faf-46a1-ac65-740dab925da5" }, "ResponseBody": { "value": [ { - "dataFeedId": "76ff5a03-0964-41eb-9275-b0e7369d919a", - "dataFeedName": "java_create_data_feed_test_sample301789d2-ca8d-474e-b1f1-26d59e5982cb", + "dataFeedId": "d922e19c-7ace-44d7-9ec7-317cf0cc6f55", + "dataFeedName": "java_create_data_feed_test_sample861e9a6a-ffe7-425f-a746-b15135afb068", "metrics": [ { - "metricId": "5ef7082f-ce6f-4512-ab57-5a57df8781c1", + "metricId": "8901ba3d-a690-450c-b6f5-a76bb68d13db", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "4a0ed493-ffad-425e-868a-da4be58dc26b", + "metricId": "c8f5d65c-3b0d-417a-bf70-1aaa355bda43", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -213,12 +213,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "creator": "xiangyan@microsoft.com", "status": "Active", - "createdTime": "2023-04-12T22:01:26Z", + "createdTime": "2023-04-17T23:23:45Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -226,65 +226,6 @@ }, "authenticationType": "Basic" }, - { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", - "metrics": [ - { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", - "metricName": "cost", - "metricDisplayName": "cost", - "metricDescription": "" - }, - { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", - "metricName": "revenue", - "metricDisplayName": "revenue", - "metricDescription": "" - } - ], - "dimension": [ - { - "dimensionName": "category", - "dimensionDisplayName": "category" - }, - { - "dimensionName": "region", - "dimensionDisplayName": "region" - } - ], - "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataLakeStorageGen2", - "timestampColumn": "", - "startOffsetInSeconds": 0, - "maxQueryPerMinute": 30.0, - "granularityName": "Daily", - "needRollup": "NoRollup", - "fillMissingPointType": "PreviousValue", - "fillMissingPointValue": 0.0, - "rollUpMethod": "None", - "dataFeedDescription": "", - "stopRetryAfterInSeconds": -1, - "minRetryIntervalInSeconds": -1, - "maxConcurrency": 0, - "viewMode": "Private", - "admins": [ - "xiangyan@microsoft.com" - ], - "viewers": [], - "creator": "xiangyan@microsoft.com", - "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", - "isAdmin": true, - "actionLinkTemplate": "", - "dataSourceParameter": { - "fileTemplate": "adsample.json", - "accountName": "REDACTED", - "directoryTemplate": "%Y/%m/%d", - "fileSystemName": "adsample" - }, - "authenticationType": "Basic" - }, { "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", "dataFeedName": "sample_datafeed", @@ -328,7 +269,7 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "creator": "xiangyan@microsoft.com", @@ -349,29 +290,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/76ff5a03-0964-41eb-9275-b0e7369d919a", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d922e19c-7ace-44d7-9ec7-317cf0cc6f55", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:23:47 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ba1ce45c-d86b-48ea-8b2b-4bc329e5ac19", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e7d0885e-433d-4135-9a2d-c07a98339314", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "6c1f96f3-3970-4c98-a37d-447ec8c1a3f4", + "apim-request-id": "0145193b-db87-4454-9db6-5031b3889cf2", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:23:47 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "349", + "x-envoy-upstream-service-time": "378", "x-ms-region": "West US 2", - "X-Request-ID": "6c1f96f3-3970-4c98-a37d-447ec8c1a3f4" + "X-Request-ID": "0145193b-db87-4454-9db6-5031b3889cf2" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json index 261d26356008e..37c1ab9a86215 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json @@ -6,40 +6,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "62f3c443-c2a0-4661-9874-fa200aeb6999", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d12e3aaf-41a1-4f13-9994-895548b2d5ae", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "78fe7185-b149-4ac9-82c4-e9c1b12a8559", - "Content-Length": "8485", + "apim-request-id": "b36fda09-cff9-4545-9e64-789ff3dacc15", + "Content-Length": "9467", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "161", + "x-envoy-upstream-service-time": "176", "x-ms-region": "West US 2", - "X-Request-ID": "78fe7185-b149-4ac9-82c4-e9c1b12a8559" + "X-Request-ID": "b36fda09-cff9-4545-9e64-789ff3dacc15" }, "ResponseBody": { "value": [ { - "dataFeedId": "5906d94d-378f-4816-9166-7f28f495f2b1", - "dataFeedName": "java_create_data_feed_test_samplef57e05d9-2eed-411c-9947-f146515b6ac2", + "dataFeedId": "a2e6e630-1894-4236-b8fb-5604b710fd0b", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", "metrics": [ { - "metricId": "9c3b61d0-071f-4367-8f5b-688266fc3c06", + "metricId": "a1674f0f-64d4-4588-9e33-8a8aaf8d6ed6", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "b2ac8aaf-5be7-4d07-8ec9-5ae2195733ae", + "metricId": "ddb52e1e-62b4-4e36-a4dd-1a89fa4a0a9a", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -56,7 +56,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureApplicationInsights", + "dataSourceType": "SqlServer", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -71,33 +71,31 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:50Z", + "createdTime": "2023-04-17T23:00:22Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode", - "azureCloud": "Azure Global", - "applicationId": "REDACTED" + "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "Basic" }, { - "dataFeedId": "c52c93e7-6823-41ef-a44f-f5c489d34393", - "dataFeedName": "java_create_data_feed_test_sample2397debb-5734-4ca6-b7b1-c770a43c9d0b", + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", "metrics": [ { - "metricId": "26e9522f-f47f-4238-a941-302f4dae3177", + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "14ec52de-82e1-4024-88ec-6730a92b892d", + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -114,7 +112,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "PostgreSql", + "dataSourceType": "AzureBlob", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -128,28 +126,33 @@ "minRetryIntervalInSeconds": -1, "maxConcurrency": 0, "viewMode": "Private", - "admins": [], + "admins": [ + "REDACTED.microsoft.com" + ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:49Z", - "isAdmin": false, + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, "actionLinkTemplate": "", - "dataSourceParameter": {}, + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, "authenticationType": "Basic" }, { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -181,19 +184,76 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, - "authenticationType": "ServicePrincipalInKV", - "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30" + "authenticationType": "ServicePrincipal", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" + }, + { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", @@ -239,19 +299,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "yutongzhai@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "camaiaor@microsoft.com", - "kaghiya@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "yumeng@microsoft.com", - "chriss@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, @@ -305,10 +365,10 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-11-15T22:00:37Z", "isAdmin": true, @@ -366,18 +426,18 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "chriss@microsoft.com", - "yumeng@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "kaghiya@microsoft.com", - "camaiaor@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-09-02T22:04:59Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json index e3d08e243f035..d3986ef5ab5aa 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "549", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "19732b0c-4c60-4831-bf5f-ca66424aa983", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cf292e22-0b49-4dbe-b2ba-5fba658c6c89", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "7a229b9c-0c5e-4e0d-879d-ca3657a698ee", + "apim-request-id": "98e55df4-fc64-4976-9c54-f8df64acca0d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e3d023b0-46a4-4973-8484-48450638d701", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/db426d46-c42e-4c1b-908a-fa08717f9b1a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "809", + "x-envoy-upstream-service-time": "2162", "x-ms-region": "West US 2", - "X-Request-ID": "7a229b9c-0c5e-4e0d-879d-ca3657a698ee" + "X-Request-ID": "98e55df4-fc64-4976-9c54-f8df64acca0d" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e3d023b0-46a4-4973-8484-48450638d701", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/db426d46-c42e-4c1b-908a-fa08717f9b1a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "dc83c37f-6b9f-483a-84dc-3af1ba39ae02", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "034d3243-9f8b-4c3c-9a7a-38fb8ef43bc4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "201337bd-83bb-414f-8882-c900e7824f68", - "Content-Length": "1185", + "apim-request-id": "6c1cbcc0-79c0-4b44-8920-fc988ef30f9b", + "Content-Length": "1171", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "226", + "x-envoy-upstream-service-time": "215", "x-ms-region": "West US 2", - "X-Request-ID": "201337bd-83bb-414f-8882-c900e7824f68" + "X-Request-ID": "6c1cbcc0-79c0-4b44-8920-fc988ef30f9b" }, "ResponseBody": { - "dataFeedId": "e3d023b0-46a4-4973-8484-48450638d701", + "dataFeedId": "db426d46-c42e-4c1b-908a-fa08717f9b1a", "dataFeedName": "test_filter_by_name", "metrics": [ { - "metricId": "f495d45d-ca69-4e10-8491-770c51a60ab0", + "metricId": "462a3257-8351-4f6a-9f58-0057d6f7928d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ab15bcb9-0249-41e9-95e5-51a274aca379", + "metricId": "8bd5aa7f-ed68-4727-b1e6-6b5099cfabfd", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:48Z", + "createdTime": "2023-04-17T23:00:26Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -149,40 +149,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "330f589a-e743-4db5-a6f9-3826fad80568", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44ad776b-c6c6-4b7f-93f0-3bbe350495a5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2952895b-a505-4d4f-b60e-ffd06cf7a79d", - "Content-Length": "1197", + "apim-request-id": "ce423e4f-cb7f-412a-9e31-61a8be14ec7b", + "Content-Length": "1183", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "169", + "x-envoy-upstream-service-time": "200", "x-ms-region": "West US 2", - "X-Request-ID": "2952895b-a505-4d4f-b60e-ffd06cf7a79d" + "X-Request-ID": "ce423e4f-cb7f-412a-9e31-61a8be14ec7b" }, "ResponseBody": { "value": [ { - "dataFeedId": "e3d023b0-46a4-4973-8484-48450638d701", + "dataFeedId": "db426d46-c42e-4c1b-908a-fa08717f9b1a", "dataFeedName": "test_filter_by_name", "metrics": [ { - "metricId": "f495d45d-ca69-4e10-8491-770c51a60ab0", + "metricId": "462a3257-8351-4f6a-9f58-0057d6f7928d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ab15bcb9-0249-41e9-95e5-51a274aca379", + "metricId": "8bd5aa7f-ed68-4727-b1e6-6b5099cfabfd", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -214,12 +214,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:48Z", + "createdTime": "2023-04-17T23:00:26Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -231,29 +231,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e3d023b0-46a4-4973-8484-48450638d701", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/db426d46-c42e-4c1b-908a-fa08717f9b1a", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ce1be60c-a211-4ff6-aa3a-709578d1e8b8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b3d661c9-f409-447e-9eb0-16d9f58ca493", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "ca679db8-7bcf-407d-a407-7835e7111a45", + "apim-request-id": "ab3a1cf2-95b0-484e-88e9-a350bcb1e1c8", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "337", + "x-envoy-upstream-service-time": "507", "x-ms-region": "West US 2", - "X-Request-ID": "ca679db8-7bcf-407d-a407-7835e7111a45" + "X-Request-ID": "ab3a1cf2-95b0-484e-88e9-a350bcb1e1c8" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json index 4c54c317d0a7c..9796ba0e53bae 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json @@ -6,25 +6,25 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "43df8b19-0487-490d-b561-eb6f8148f332", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c281d013-300b-47e8-a463-8a13f7653c08", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "91544509-d785-4d94-b200-0dbbbc7f6462", - "Content-Length": "1499", + "apim-request-id": "bc4f4346-0f07-4da8-b062-b1fe3438594b", + "Content-Length": "1486", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "140", + "x-envoy-upstream-service-time": "135", "x-ms-region": "West US 2", - "X-Request-ID": "91544509-d785-4d94-b200-0dbbbc7f6462" + "X-Request-ID": "bc4f4346-0f07-4da8-b062-b1fe3438594b" }, "ResponseBody": { "value": [ @@ -72,19 +72,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com", - "savaity@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "yumeng@microsoft.com", - "camaiaor@microsoft.com", - "chriss@microsoft.com", - "elraikhm@microsoft.com", - "yutongzhai@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json index 25b60b6c7139d..e81391c77955c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json @@ -6,84 +6,28 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4473c3c0-e96a-4f77-9336-f0352a6f2ee7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8db7e968-e919-40b6-b548-d1109d5e0b0d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c4f7c9bb-95ae-4c9d-9b96-b85e08174d69", - "Content-Length": "2730", + "apim-request-id": "e80028a0-6eeb-4373-a311-4fd41eb22cf7", + "Content-Length": "1486", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "184", + "x-envoy-upstream-service-time": "139", "x-ms-region": "West US 2", - "X-Request-ID": "c4f7c9bb-95ae-4c9d-9b96-b85e08174d69" + "X-Request-ID": "e80028a0-6eeb-4373-a311-4fd41eb22cf7" }, "ResponseBody": { "value": [ - { - "dataFeedId": "93e86e5c-46f9-4f54-b267-29ca1070256f", - "dataFeedName": "java_data_feed_for_detectiond9f1615d-4fa7-492e-8e23-163158be28f6", - "metrics": [ - { - "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", - "metricName": "cost", - "metricDisplayName": "cost", - "metricDescription": "" - }, - { - "metricId": "f5778b7e-a32d-4041-9a06-22c985af026e", - "metricName": "revenue", - "metricDisplayName": "revenue", - "metricDescription": "" - } - ], - "dimension": [ - { - "dimensionName": "category", - "dimensionDisplayName": "category" - }, - { - "dimensionName": "region", - "dimensionDisplayName": "region" - } - ], - "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "SqlServer", - "timestampColumn": "", - "startOffsetInSeconds": 0, - "maxQueryPerMinute": 30.0, - "granularityName": "Daily", - "needRollup": "NoRollup", - "fillMissingPointType": "PreviousValue", - "fillMissingPointValue": 0.0, - "rollUpMethod": "None", - "dataFeedDescription": "", - "stopRetryAfterInSeconds": -1, - "minRetryIntervalInSeconds": -1, - "maxConcurrency": 0, - "viewMode": "Private", - "admins": [ - "xiangyan@microsoft.com" - ], - "viewers": [], - "creator": "xiangyan@microsoft.com", - "status": "Active", - "createdTime": "2023-04-12T22:01:23Z", - "isAdmin": true, - "actionLinkTemplate": "", - "dataSourceParameter": { - "query": "select * from adsample2 where Timestamp = @StartTime" - }, - "authenticationType": "Basic" - }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", "dataFeedName": "azBlobDataFeed", @@ -128,19 +72,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com", - "savaity@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "yumeng@microsoft.com", - "camaiaor@microsoft.com", - "chriss@microsoft.com", - "elraikhm@microsoft.com", - "yutongzhai@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json index b2da267e1db7b..1830721759177 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json @@ -6,40 +6,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "83422d25-6754-47b2-aa1a-bfe82d6a70cf", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "943fef6c-bfc6-4e65-85b3-12b3dc2d451b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "17333654-f994-44f3-ac4b-1f464776c5af", - "Content-Length": "4294", + "apim-request-id": "d09c745a-89f6-4ee2-8b37-c6b501f63305", + "Content-Length": "3844", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "201", + "x-envoy-upstream-service-time": "123", "x-ms-region": "West US 2", - "X-Request-ID": "17333654-f994-44f3-ac4b-1f464776c5af" + "X-Request-ID": "d09c745a-89f6-4ee2-8b37-c6b501f63305" }, "ResponseBody": { "value": [ { - "dataFeedId": "8fffa738-4a48-4781-a45a-b5ac3f51058b", - "dataFeedName": "java_create_data_feed_test_sample4ddbfc04-1cf2-418d-bf40-d79ae41112da", + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", "metrics": [ { - "metricId": "deeb6da0-5ac6-4f37-912e-f2bfdeba4a5b", + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "18fec49c-5328-45be-9e04-6efd7252a710", + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -56,7 +56,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureLogAnalytics", + "dataSourceType": "AzureBlob", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -71,34 +71,32 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:49Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "clientId": "azClientId", - "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", - "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", - "workspaceId": "azWorkspaceId" + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" }, - "authenticationType": "Basic" + "authenticationType": "ManagedIdentity" }, { - "dataFeedId": "264609a4-f639-4f1e-ae59-c23e9bcdc98b", - "dataFeedName": "java_create_data_feed_test_samplee7286ab8-3772-4c0d-9f46-8e866e5d4f6c", + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", "metrics": [ { - "metricId": "44fee7d3-a730-48c2-8df3-3c7222ebe4c6", + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "23573fd4-509f-4989-b0ff-0a6c2d14a00d", + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -115,7 +113,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataExplorer", + "dataSourceType": "AzureBlob", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -130,31 +128,32 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:49Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" }, "authenticationType": "Basic" }, { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -171,7 +170,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataExplorer", + "dataSourceType": "AzureBlob", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -186,19 +185,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:20Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" }, - "authenticationType": "ServicePrincipal", - "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" + "authenticationType": "ManagedIdentity" } ], "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3" @@ -210,28 +209,85 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "eb9d5210-4f49-4076-b57c-88ff6912530f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "df85e307-6c23-407e-be5c-f12519e84029", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b36618e2-0643-4313-9c88-017a8b316076", - "Content-Length": "4492", + "apim-request-id": "0514329f-7e56-48e1-9fdd-ca9cfe939bf7", + "Content-Length": "4204", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "174", + "x-envoy-upstream-service-time": "123", "x-ms-region": "West US 2", - "X-Request-ID": "b36618e2-0643-4313-9c88-017a8b316076" + "X-Request-ID": "0514329f-7e56-48e1-9fdd-ca9cfe939bf7" }, "ResponseBody": { "value": [ + { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" + }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", "dataFeedName": "azBlobDataFeed", @@ -276,19 +332,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "yutongzhai@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "camaiaor@microsoft.com", - "kaghiya@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "yumeng@microsoft.com", - "chriss@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, @@ -342,10 +398,10 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-11-15T22:00:37Z", "isAdmin": true, @@ -358,7 +414,39 @@ }, "authenticationType": "ServicePrincipal", "credentialId": "9388a986-5430-4666-a758-7461c2a48774" - }, + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" + } + }, + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c44b3737-f654-4047-bfba-9de5f096a9fa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3233134f-d46e-4613-a888-9063156b7739", + "Content-Length": "1554", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "154", + "x-ms-region": "West US 2", + "X-Request-ID": "3233134f-d46e-4613-a888-9063156b7739" + }, + "ResponseBody": { + "value": [ { "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", "dataFeedName": "azsqlDatafeed", @@ -403,18 +491,18 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "chriss@microsoft.com", - "yumeng@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "kaghiya@microsoft.com", - "camaiaor@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-09-02T22:04:59Z", "isAdmin": true, @@ -424,38 +512,7 @@ }, "authenticationType": "Basic" } - ], - "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" - } - }, - { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", - "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "79429991-9753-492b-88dd-72fed0c87979", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c93b4b1f-f47a-44fc-b142-6ef5490cdfc8", - "Content-Length": "12", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129", - "x-ms-region": "West US 2", - "X-Request-ID": "c93b4b1f-f47a-44fc-b142-6ef5490cdfc8" - }, - "ResponseBody": { - "value": [] + ] } } ], diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json index 885733f4e4d27..1bb200c81dbd2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "483", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d40d23ec-ccc5-4672-aa92-18c88df28dd6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ad369c6b-032d-437c-85cc-99449cfd3103", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_BLOB_create_data_feed_test_sample6a082f9b-88b1-40ca-9745-c26bdf69a3a5", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", "granularityName": "Daily", "metrics": [ { @@ -45,56 +45,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "d5a98586-1fdc-4029-a24c-004d3637cf60", + "apim-request-id": "a0234351-7e58-4b5f-aa6d-608d700157b4", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/011c6c49-414c-4c23-8619-076adacdfe0b", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0f7e172b-d0f7-4c99-accb-066b5b5a40af", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "602", + "x-envoy-upstream-service-time": "1298", "x-ms-region": "West US 2", - "X-Request-ID": "d5a98586-1fdc-4029-a24c-004d3637cf60" + "X-Request-ID": "a0234351-7e58-4b5f-aa6d-608d700157b4" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/011c6c49-414c-4c23-8619-076adacdfe0b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0f7e172b-d0f7-4c99-accb-066b5b5a40af", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6f9893bf-a013-482f-a90e-2ae692347097", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9ba0d44e-4faf-4c38-920e-372dd87166b8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cef91058-11b1-457c-8908-320946549fee", - "Content-Length": "1242", + "apim-request-id": "14a6d222-2b46-4040-8325-c640d1fd9d43", + "Content-Length": "1228", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "149", + "x-envoy-upstream-service-time": "132", "x-ms-region": "West US 2", - "X-Request-ID": "cef91058-11b1-457c-8908-320946549fee" + "X-Request-ID": "14a6d222-2b46-4040-8325-c640d1fd9d43" }, "ResponseBody": { - "dataFeedId": "011c6c49-414c-4c23-8619-076adacdfe0b", - "dataFeedName": "java_BLOB_create_data_feed_test_sample6a082f9b-88b1-40ca-9745-c26bdf69a3a5", + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", "metrics": [ { - "metricId": "69f3f750-fbb5-4512-a074-2153a11c5c2d", + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "8bf6208a-ae6d-4b9a-8369-93cbabe617ff", + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -126,12 +126,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -148,16 +148,16 @@ "Accept": "application/json", "Content-Length": "480", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a2031ebe-0352-4deb-9421-73a0830d3676", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d3dfae32-5ea1-42df-9786-2cd49b464f06", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_SQL_create_data_feed_test_sampleba9d518e-62c4-4c2a-a258-b32ba87eb25e", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", "granularityName": "Daily", "metrics": [ { @@ -185,56 +185,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "749d9c67-4d1b-4db4-8572-e08376923ff1", + "apim-request-id": "68c9434a-e7b2-4792-b6f1-8aa9092bc19a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a2e6e630-1894-4236-b8fb-5604b710fd0b", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "921", + "x-envoy-upstream-service-time": "847", "x-ms-region": "West US 2", - "X-Request-ID": "749d9c67-4d1b-4db4-8572-e08376923ff1" + "X-Request-ID": "68c9434a-e7b2-4792-b6f1-8aa9092bc19a" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a2e6e630-1894-4236-b8fb-5604b710fd0b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f3fb2545-6f6a-4d39-b303-0ebd174e7b9f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0ea99c2c-f94c-41c4-9b31-10505a0ef862", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "13b496ba-6e76-44da-959d-7dddd770cc6d", - "Content-Length": "1239", + "apim-request-id": "6e47156e-7c19-4b47-aa8b-cfb947b4f21f", + "Content-Length": "1225", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "200", + "x-envoy-upstream-service-time": "186", "x-ms-region": "West US 2", - "X-Request-ID": "13b496ba-6e76-44da-959d-7dddd770cc6d" + "X-Request-ID": "6e47156e-7c19-4b47-aa8b-cfb947b4f21f" }, "ResponseBody": { - "dataFeedId": "2c7afcb6-c5ff-4025-b276-1fe824c082c5", - "dataFeedName": "java_SQL_create_data_feed_test_sampleba9d518e-62c4-4c2a-a258-b32ba87eb25e", + "dataFeedId": "a2e6e630-1894-4236-b8fb-5604b710fd0b", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", "metrics": [ { - "metricId": "ae50408d-f3c8-45e9-9087-02f0d4d7cc27", + "metricId": "a1674f0f-64d4-4588-9e33-8a8aaf8d6ed6", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61d2e307-55e6-4fee-a9db-3c6049a7aefa", + "metricId": "ddb52e1e-62b4-4e36-a4dd-1a89fa4a0a9a", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -266,12 +266,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:42Z", + "createdTime": "2023-04-17T23:00:22Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -286,40 +286,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1ca3da21-dab4-43ce-816b-6cf6a134163d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6df9fad7-ef95-4f95-92e2-0db605dd2217", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b4e7d9b2-4355-4e35-9d12-e117ab1bec59", - "Content-Length": "5103", + "apim-request-id": "d1beda3b-3b81-4997-a35f-cd59ffaf14e8", + "Content-Length": "6441", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "188", + "x-envoy-upstream-service-time": "204", "x-ms-region": "West US 2", - "X-Request-ID": "b4e7d9b2-4355-4e35-9d12-e117ab1bec59" + "X-Request-ID": "d1beda3b-3b81-4997-a35f-cd59ffaf14e8" }, "ResponseBody": { "value": [ { - "dataFeedId": "2c7afcb6-c5ff-4025-b276-1fe824c082c5", - "dataFeedName": "java_SQL_create_data_feed_test_sampleba9d518e-62c4-4c2a-a258-b32ba87eb25e", + "dataFeedId": "54d2f127-3b8d-4ae1-824a-86dc56034b75", + "dataFeedName": "java_create_data_feed_test_sample61382665-934b-4f9e-8de4-4a278627e7a1", "metrics": [ { - "metricId": "ae50408d-f3c8-45e9-9087-02f0d4d7cc27", + "metricId": "587234b2-f5ef-4775-b67b-ef8228f9ec17", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61d2e307-55e6-4fee-a9db-3c6049a7aefa", + "metricId": "6d98ed84-3abf-43e0-bb08-dd4212aea816", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -336,7 +336,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "SqlServer", + "dataSourceType": "AzureDataLakeStorageGen2", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -351,31 +351,34 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:42Z", + "createdTime": "2023-04-17T23:00:23Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "select * from adsample2 where Timestamp = @StartTime" + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" }, "authenticationType": "Basic" }, { - "dataFeedId": "54930ef8-b9f9-4827-bc6c-a00ba33bfff3", - "dataFeedName": "java_create_data_feed_test_sample2041eb53-ecb3-4869-97fd-eb567ba5e079", + "dataFeedId": "a2e6e630-1894-4236-b8fb-5604b710fd0b", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", "metrics": [ { - "metricId": "a5fad3e1-b217-48d7-bcaf-b087c8e171ba", + "metricId": "a1674f0f-64d4-4588-9e33-8a8aaf8d6ed6", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "accd3f2e-055d-4c44-a2ba-aefce536a035", + "metricId": "ddb52e1e-62b4-4e36-a4dd-1a89fa4a0a9a", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -407,12 +410,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:42Z", + "createdTime": "2023-04-17T23:00:22Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -421,17 +424,17 @@ "authenticationType": "Basic" }, { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -448,7 +451,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataLakeStorageGen2", + "dataSourceType": "AzureBlob", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -463,35 +466,32 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "fileTemplate": "adsample.json", - "accountName": "REDACTED", - "directoryTemplate": "%Y/%m/%d", - "fileSystemName": "adsample" + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" }, - "authenticationType": "DataLakeGen2SharedKey", - "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78" + "authenticationType": "Basic" }, { - "dataFeedId": "011c6c49-414c-4c23-8619-076adacdfe0b", - "dataFeedName": "java_BLOB_create_data_feed_test_sample6a082f9b-88b1-40ca-9745-c26bdf69a3a5", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "69f3f750-fbb5-4512-a074-2153a11c5c2d", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "8bf6208a-ae6d-4b9a-8369-93cbabe617ff", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -508,7 +508,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureBlob", + "dataSourceType": "AzureDataExplorer", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -523,74 +523,131 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "container": "BLOB_CONTAINER", - "blobTemplate": "BLOB_TEMPLATE_NAME" + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, - "authenticationType": "Basic" + "authenticationType": "ServicePrincipal", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" + }, + { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" } ] } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/011c6c49-414c-4c23-8619-076adacdfe0b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0f7e172b-d0f7-4c99-accb-066b5b5a40af", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "202287dc-a889-4aa6-9fe7-9dd5c7d33a73", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ccc711d8-d862-496d-b901-0d4fa1cd582e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "09ff4ae0-200d-4887-a221-b5042bd0837d", + "apim-request-id": "ae1c66fc-069f-4c3c-966f-328ebdaa356f", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "273", + "x-envoy-upstream-service-time": "1038", "x-ms-region": "West US 2", - "X-Request-ID": "09ff4ae0-200d-4887-a221-b5042bd0837d" + "X-Request-ID": "ae1c66fc-069f-4c3c-966f-328ebdaa356f" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2c7afcb6-c5ff-4025-b276-1fe824c082c5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a2e6e630-1894-4236-b8fb-5604b710fd0b", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8d1995c9-74d4-436c-a15a-ad7040f60743", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e33ba077-cf44-4632-955a-5a85cbe2aca3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "c9a683b1-fef2-40ed-83c1-55ca1ad50837", + "apim-request-id": "bd6d1e46-946f-40f8-a5ea-32b957648b8e", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "257", + "x-envoy-upstream-service-time": "708", "x-ms-region": "West US 2", - "X-Request-ID": "c9a683b1-fef2-40ed-83c1-55ca1ad50837" + "X-Request-ID": "bd6d1e46-946f-40f8-a5ea-32b957648b8e" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json index abd06ed67c282..8fdf1ecf292fe 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "09939c5d-8502-40cd-9247-6dd9e0848d16", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ac027661-5b57-4d55-b476-8a87164f600e", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_sample3d3f2ea4-b96f-4418-912c-6f9b634417d3", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "96bc491c-4f3f-4fec-af58-23187206bbe3", + "apim-request-id": "75e8824b-b13b-405c-b5d1-7e8ce45d297a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "763", + "x-envoy-upstream-service-time": "1671", "x-ms-region": "West US 2", - "X-Request-ID": "96bc491c-4f3f-4fec-af58-23187206bbe3" + "X-Request-ID": "75e8824b-b13b-405c-b5d1-7e8ce45d297a" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "77dc3344-33ef-44ff-852a-bac4dd032490", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "efbe353a-66d9-46be-9dd9-23bc91403920", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6d1bb4ef-7ded-4067-9832-0a2247108df9", - "Content-Length": "1235", + "apim-request-id": "63df310d-893f-42fd-8d25-0e1e1ae50255", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "147", + "x-envoy-upstream-service-time": "151", "x-ms-region": "West US 2", - "X-Request-ID": "6d1bb4ef-7ded-4067-9832-0a2247108df9" + "X-Request-ID": "63df310d-893f-42fd-8d25-0e1e1ae50255" }, "ResponseBody": { - "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", - "dataFeedName": "java_create_data_feed_test_sample3d3f2ea4-b96f-4418-912c-6f9b634417d3", + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", "metrics": [ { - "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,17 +144,17 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "576", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "88ad51b4-9833-42e6-a0c9-f60de29fec71", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c0326a0f-38ac-4d94-a617-d84bcc49a034", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -172,7 +172,7 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", @@ -184,28 +184,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b2ce3cce-4cbe-4ec5-9932-7c96653a7914", - "Content-Length": "1192", + "apim-request-id": "8fb47455-c8b4-4e0b-a059-378a2ca2afce", + "Content-Length": "1178", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "616", + "x-envoy-upstream-service-time": "851", "x-ms-region": "West US 2", - "X-Request-ID": "b2ce3cce-4cbe-4ec5-9932-7c96653a7914" + "X-Request-ID": "8fb47455-c8b4-4e0b-a059-378a2ca2afce" }, "ResponseBody": { - "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", "dataFeedName": "test_updated_dataFeed_name", "metrics": [ { - "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -237,12 +237,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -252,43 +252,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "818a600f-4490-4ef8-bf5f-321c17a01ce9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2ea05326-8d70-4382-8ade-42ae05c54864", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0b0640e9-ea71-4948-9f86-09cc6352202d", - "Content-Length": "1192", + "apim-request-id": "987b77d1-b972-4aa9-aad2-2ac8e58aa587", + "Content-Length": "1178", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "189", + "x-envoy-upstream-service-time": "211", "x-ms-region": "West US 2", - "X-Request-ID": "0b0640e9-ea71-4948-9f86-09cc6352202d" + "X-Request-ID": "987b77d1-b972-4aa9-aad2-2ac8e58aa587" }, "ResponseBody": { - "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", "dataFeedName": "test_updated_dataFeed_name", "metrics": [ { - "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -320,12 +320,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -335,29 +335,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ed4067cb-4f6c-489e-963a-767f1053d174", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0d30784a-2421-4313-9f73-b41028311a41", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4c76ed05-ee32-4a8b-bf26-9996c91a2011", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "8fba69d7-d145-4a34-a29a-0d9ae4104b17", + "apim-request-id": "b2ad14ba-4649-4ccb-8e0f-3f41971fe970", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "405", + "x-envoy-upstream-service-time": "784", "x-ms-region": "West US 2", - "X-Request-ID": "8fba69d7-d145-4a34-a29a-0d9ae4104b17" + "X-Request-ID": "b2ad14ba-4649-4ccb-8e0f-3f41971fe970" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json index 06f9ba5c9841b..1d8a7b2790fc1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "882", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "87240a01-3633-4214-bde9-8c124a895021", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "50f1b4f0-a397-4e37-8c21-c470fbbb1b8b", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureApplicationInsights", - "dataFeedName": "java_create_data_feed_test_sample23977af7-2acf-4a60-b749-c14637f3211c", + "dataFeedName": "java_create_data_feed_test_sample9b428b0d-cdaa-4ee2-bfd8-6fe3c26adb00", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "3ee991d6-822d-4b3e-965f-637039b59b31", + "apim-request-id": "f52565ce-4495-4a65-84b4-0ff5a01bf027", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/092329c4-654f-4dba-8bb1-ba34e3ffb3c2", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8a90a537-a8dc-43ae-9b36-926743c6844a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1057", + "x-envoy-upstream-service-time": "1829", "x-ms-region": "West US 2", - "X-Request-ID": "3ee991d6-822d-4b3e-965f-637039b59b31" + "X-Request-ID": "f52565ce-4495-4a65-84b4-0ff5a01bf027" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/092329c4-654f-4dba-8bb1-ba34e3ffb3c2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8a90a537-a8dc-43ae-9b36-926743c6844a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "aba0955e-6411-4417-8774-8830d033b32e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f2dd7755-5583-4c54-8673-bf20d2620ae4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "14f608e8-a092-4648-a903-135d64b67724", - "Content-Length": "1557", + "apim-request-id": "6b5cc4d5-2bac-40cd-981e-9ec8463c4a32", + "Content-Length": "1543", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "190", + "x-envoy-upstream-service-time": "145", "x-ms-region": "West US 2", - "X-Request-ID": "14f608e8-a092-4648-a903-135d64b67724" + "X-Request-ID": "6b5cc4d5-2bac-40cd-981e-9ec8463c4a32" }, "ResponseBody": { - "dataFeedId": "092329c4-654f-4dba-8bb1-ba34e3ffb3c2", - "dataFeedName": "java_create_data_feed_test_sample23977af7-2acf-4a60-b749-c14637f3211c", + "dataFeedId": "8a90a537-a8dc-43ae-9b36-926743c6844a", + "dataFeedName": "java_create_data_feed_test_sample9b428b0d-cdaa-4ee2-bfd8-6fe3c26adb00", "metrics": [ { - "metricId": "e38cb155-12b1-457e-b3bf-2becac255280", + "metricId": "64eb2529-b367-47b5-b700-4f129bfbfd73", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "5486f5f8-3d83-4ff9-8263-45ab0d636453", + "metricId": "b9e687ec-e532-4da0-90f2-ddb0def3cd3b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:51Z", + "createdTime": "2023-04-17T23:00:30Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -147,29 +147,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/092329c4-654f-4dba-8bb1-ba34e3ffb3c2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8a90a537-a8dc-43ae-9b36-926743c6844a", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9669ed07-ddff-43ca-934b-089fdee4ad6a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c9a23b16-b3ee-4f28-8ff4-e84d9939099f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "be86c17a-fc46-44c6-ac51-1a8062f9ecfc", + "apim-request-id": "a1046011-b175-44f6-b76f-f31f10c052d5", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "249", + "x-envoy-upstream-service-time": "480", "x-ms-region": "West US 2", - "X-Request-ID": "be86c17a-fc46-44c6-ac51-1a8062f9ecfc" + "X-Request-ID": "a1046011-b175-44f6-b76f-f31f10c052d5" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json index aafe498448957..443c687c3223c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "597", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "da3f200e-3a56-4200-a2cf-a00257b0a5f2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5d0c2647-c5f4-4bc2-9b84-9cd9fad57845", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureTable", - "dataFeedName": "java_create_data_feed_test_sample5e20ab32-6a55-4df6-9271-a1b5f23f3a2d", + "dataFeedName": "java_create_data_feed_test_sample6ef282d6-c66e-4c49-9f6c-2e4a97321c20", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "be68ca1b-8cec-40f0-845f-331e26274adb", + "apim-request-id": "a7a778cd-35f3-49fd-bd03-616b87e8225d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/701b5e31-27ea-43e5-8f38-fea7e626ce97", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/231d3d83-cc29-452c-92ff-d99fdd3c3e3e", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "904", + "x-envoy-upstream-service-time": "1287", "x-ms-region": "West US 2", - "X-Request-ID": "be68ca1b-8cec-40f0-845f-331e26274adb" + "X-Request-ID": "a7a778cd-35f3-49fd-bd03-616b87e8225d" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/701b5e31-27ea-43e5-8f38-fea7e626ce97", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/231d3d83-cc29-452c-92ff-d99fdd3c3e3e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a2ba216f-2216-4908-9c2a-ce87e5a4a4b4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c3630026-1765-4b75-92e0-d32b119b34f3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4dc34012-6c2d-47d9-b0da-8b63eaaa4d66", - "Content-Length": "1262", + "apim-request-id": "014dc663-06c8-4ad0-8654-2e6d0b2b9459", + "Content-Length": "1248", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "162", + "x-envoy-upstream-service-time": "257", "x-ms-region": "West US 2", - "X-Request-ID": "4dc34012-6c2d-47d9-b0da-8b63eaaa4d66" + "X-Request-ID": "014dc663-06c8-4ad0-8654-2e6d0b2b9459" }, "ResponseBody": { - "dataFeedId": "701b5e31-27ea-43e5-8f38-fea7e626ce97", - "dataFeedName": "java_create_data_feed_test_sample5e20ab32-6a55-4df6-9271-a1b5f23f3a2d", + "dataFeedId": "231d3d83-cc29-452c-92ff-d99fdd3c3e3e", + "dataFeedName": "java_create_data_feed_test_sample6ef282d6-c66e-4c49-9f6c-2e4a97321c20", "metrics": [ { - "metricId": "d6af6fdb-9a37-4ca5-b614-28bee27457a4", + "metricId": "b688fac4-5102-49e1-a972-81c256482e35", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "b83ac042-552e-492f-b072-5d37fb5e7200", + "metricId": "d4b8360f-7a33-4408-bcca-527687850539", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:48Z", + "createdTime": "2023-04-17T23:00:29Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -145,29 +145,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/701b5e31-27ea-43e5-8f38-fea7e626ce97", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/231d3d83-cc29-452c-92ff-d99fdd3c3e3e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "25295ec9-7181-465c-b43a-4e917b851705", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3a95f3e0-08f0-49bb-8283-d29be3c5ffc3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "1b749062-4714-4af2-a052-1136fa330354", + "apim-request-id": "33369509-bca8-4454-8aba-35f7ecda6cab", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "571", + "x-envoy-upstream-service-time": "562", "x-ms-region": "West US 2", - "X-Request-ID": "1b749062-4714-4af2-a052-1136fa330354" + "X-Request-ID": "33369509-bca8-4454-8aba-35f7ecda6cab" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json index 59d2a24e92107..18cfa9d98455a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "606", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "933b5f0c-1939-4543-ba60-9c0eb06c1573", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "81c73ba1-3248-4e2c-bed6-50e0c7c64bde", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_create_data_feed_test_sample52a5b8e4-4822-49a5-986a-e7972241134b", + "dataFeedName": "java_create_data_feed_test_samplee7dfecc1-c477-4151-9c5a-b1c72568fafe", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "59afc441-f3b3-425a-a387-6046006a0e92", + "apim-request-id": "3aa3b424-0fdd-4ff1-ba87-53e2f2f1aa09", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/60162fe4-a88d-4db7-845d-7e6f1a80ff01", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b710136a-e5da-4090-9737-2f892d0cb830", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "634", + "x-envoy-upstream-service-time": "1362", "x-ms-region": "West US 2", - "X-Request-ID": "59afc441-f3b3-425a-a387-6046006a0e92" + "X-Request-ID": "3aa3b424-0fdd-4ff1-ba87-53e2f2f1aa09" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/60162fe4-a88d-4db7-845d-7e6f1a80ff01", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b710136a-e5da-4090-9737-2f892d0cb830", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6dd0cec0-f32d-4f24-8320-3ee8d91cd024", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b128b469-c5d2-48ff-b967-4812c7dcbfed", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b9e696c2-eb37-47cc-aa2e-e5fa2d70843d", - "Content-Length": "1242", + "apim-request-id": "aa4f1c93-183f-4a89-87c2-7947c93ae1d0", + "Content-Length": "1228", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156", + "x-envoy-upstream-service-time": "159", "x-ms-region": "West US 2", - "X-Request-ID": "b9e696c2-eb37-47cc-aa2e-e5fa2d70843d" + "X-Request-ID": "aa4f1c93-183f-4a89-87c2-7947c93ae1d0" }, "ResponseBody": { - "dataFeedId": "60162fe4-a88d-4db7-845d-7e6f1a80ff01", - "dataFeedName": "java_create_data_feed_test_sample52a5b8e4-4822-49a5-986a-e7972241134b", + "dataFeedId": "b710136a-e5da-4090-9737-2f892d0cb830", + "dataFeedName": "java_create_data_feed_test_samplee7dfecc1-c477-4151-9c5a-b1c72568fafe", "metrics": [ { - "metricId": "26078835-b9c9-496a-a4be-3b0fd45e47c0", + "metricId": "8a034a3f-f3be-42dc-9521-cc538bf041a9", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "257fbfcf-3467-469b-861a-e7660984bede", + "metricId": "b689bb34-0a75-4d88-8756-f67053e950bf", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:37Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -146,29 +146,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/60162fe4-a88d-4db7-845d-7e6f1a80ff01", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b710136a-e5da-4090-9737-2f892d0cb830", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "812238e8-a8f4-4db6-85ff-dcf8f0b919b5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "eb98875e-280c-4419-85e3-5a1ff3b1efc2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "0bd5c474-ff3b-4869-ac83-8e8fa2dd9b25", + "apim-request-id": "35db92b3-527c-4f64-8b78-a25bc8f076f3", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "269", + "x-envoy-upstream-service-time": "244", "x-ms-region": "West US 2", - "X-Request-ID": "0bd5c474-ff3b-4869-ac83-8e8fa2dd9b25" + "X-Request-ID": "35db92b3-527c-4f64-8b78-a25bc8f076f3" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json index 624a144a3842f..6a0a5729b8334 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "625", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "90650b32-c23d-43c8-bb39-fd90e68bcff4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "63ef833c-0fdf-405d-8888-5bbebec5480b", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureCosmosDB", - "dataFeedName": "java_create_data_feed_test_sample2aa859a2-e0e6-4f73-ab83-f4ee79ad4051", + "dataFeedName": "java_create_data_feed_test_sample0916fb9d-6f61-4df7-9243-d33411167edf", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "c6c48562-c157-4918-9a8c-4288458df63b", + "apim-request-id": "4c3047f0-f8f9-4497-872b-dff0215ab4c1", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cf0a33d7-701e-463b-8b1d-bbd6de78066d", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/95a519de-a624-4ca0-a137-7b6112995783", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "650", + "x-envoy-upstream-service-time": "1083", "x-ms-region": "West US 2", - "X-Request-ID": "c6c48562-c157-4918-9a8c-4288458df63b" + "X-Request-ID": "4c3047f0-f8f9-4497-872b-dff0215ab4c1" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cf0a33d7-701e-463b-8b1d-bbd6de78066d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/95a519de-a624-4ca0-a137-7b6112995783", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "dba6372f-c769-4fb4-8bc0-561976919f71", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2350e92c-f068-423f-b85a-693a8117883d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "99d14226-b226-4de5-9af7-6172ae6442e4", - "Content-Length": "1290", + "apim-request-id": "d573302c-0c49-4190-bb89-8c9472e66493", + "Content-Length": "1276", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163", + "x-envoy-upstream-service-time": "141", "x-ms-region": "West US 2", - "X-Request-ID": "99d14226-b226-4de5-9af7-6172ae6442e4" + "X-Request-ID": "d573302c-0c49-4190-bb89-8c9472e66493" }, "ResponseBody": { - "dataFeedId": "cf0a33d7-701e-463b-8b1d-bbd6de78066d", - "dataFeedName": "java_create_data_feed_test_sample2aa859a2-e0e6-4f73-ab83-f4ee79ad4051", + "dataFeedId": "95a519de-a624-4ca0-a137-7b6112995783", + "dataFeedName": "java_create_data_feed_test_sample0916fb9d-6f61-4df7-9243-d33411167edf", "metrics": [ { - "metricId": "d04c6a44-c632-46a6-8b0c-2c8da38de526", + "metricId": "93b8517f-4e43-4477-96d2-c54d407e620a", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "315d3e65-57be-447e-b23b-0c2ed0f8a64b", + "metricId": "3265685d-b009-4646-8684-4b55393b06dd", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -147,29 +147,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cf0a33d7-701e-463b-8b1d-bbd6de78066d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/95a519de-a624-4ca0-a137-7b6112995783", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "537f7cc0-a753-4092-85be-71f9851f57a8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5aadf3c8-0844-4cfc-810e-f10fbcbe9e45", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "3462c6a4-15f4-4643-ac25-2cd63d8fa655", + "apim-request-id": "0cde5c0e-cd29-4f04-acb7-acbb3472998c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "265", + "x-envoy-upstream-service-time": "486", "x-ms-region": "West US 2", - "X-Request-ID": "3462c6a4-15f4-4643-ac25-2cd63d8fa655" + "X-Request-ID": "0cde5c0e-cd29-4f04-acb7-acbb3472998c" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json index 227bf3ff89f54..52903401ae56f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "403", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4081ddf3-d55d-4a45-b55d-5dbc051a4717", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d8dbd7c1-a85c-436d-97b4-981ececeab13", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplefc6ee70a-ee2c-4832-92fe-1bcd024d541f", + "dataFeedName": "java_create_data_feed_test_sample82411933-7ae3-4fa4-8f3b-f71db4cf4610", "granularityName": "Daily", "metrics": [ { @@ -36,15 +36,15 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "9e91b209-8305-45c0-9d0c-14ba1bc0ce34", + "apim-request-id": "8e2c836f-3a6f-4de4-a84a-795b91646e5f", "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129", + "x-envoy-upstream-service-time": "137", "x-ms-region": "West US 2", - "X-Request-ID": "9e91b209-8305-45c0-9d0c-14ba1bc0ce34" + "X-Request-ID": "8e2c836f-3a6f-4de4-a84a-795b91646e5f" }, "ResponseBody": { "code": "ERROR_DUP_NAME", diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json index 788dbf091cd10..f90085ade1052 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "660", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "24235950-e953-46bc-9573-504e66a2195a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "036873ce-825c-43a1-8069-f58efa208fcd", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sample5f618684-fd69-4eac-8a00-fac961ffcae4", + "dataFeedName": "java_create_data_feed_test_sample61382665-934b-4f9e-8de4-4a278627e7a1", "granularityName": "Daily", "metrics": [ { @@ -51,56 +51,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "cf08fe89-aa39-45d5-8a23-3a98b277895d", + "apim-request-id": "2cf784c3-9133-4b64-8b43-6d30fcec30ed", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a440d215-3122-462d-aa55-84cf5a59fa4b", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54d2f127-3b8d-4ae1-824a-86dc56034b75", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "773", + "x-envoy-upstream-service-time": "856", "x-ms-region": "West US 2", - "X-Request-ID": "cf08fe89-aa39-45d5-8a23-3a98b277895d" + "X-Request-ID": "2cf784c3-9133-4b64-8b43-6d30fcec30ed" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a440d215-3122-462d-aa55-84cf5a59fa4b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54d2f127-3b8d-4ae1-824a-86dc56034b75", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f1f5c59f-8e40-4df2-ae3e-dbb45e2f5f22", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "db6707b5-e290-443e-8389-89c2307778ca", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "137d7322-b0f4-4595-849a-8514e604e1d4", - "Content-Length": "1302", + "apim-request-id": "47f3d80f-07f5-4ec6-8b09-aa7ece9e21d1", + "Content-Length": "1288", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "137", + "x-envoy-upstream-service-time": "178", "x-ms-region": "West US 2", - "X-Request-ID": "137d7322-b0f4-4595-849a-8514e604e1d4" + "X-Request-ID": "47f3d80f-07f5-4ec6-8b09-aa7ece9e21d1" }, "ResponseBody": { - "dataFeedId": "a440d215-3122-462d-aa55-84cf5a59fa4b", - "dataFeedName": "java_create_data_feed_test_sample5f618684-fd69-4eac-8a00-fac961ffcae4", + "dataFeedId": "54d2f127-3b8d-4ae1-824a-86dc56034b75", + "dataFeedName": "java_create_data_feed_test_sample61382665-934b-4f9e-8de4-4a278627e7a1", "metrics": [ { - "metricId": "3c08848c-2566-4212-a0c3-a457b384635d", + "metricId": "587234b2-f5ef-4775-b67b-ef8228f9ec17", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "820b494f-fde8-49fe-bc1b-c6c58bbb675b", + "metricId": "6d98ed84-3abf-43e0-bb08-dd4212aea816", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -132,12 +132,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:45Z", + "createdTime": "2023-04-17T23:00:23Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,29 +150,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a440d215-3122-462d-aa55-84cf5a59fa4b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54d2f127-3b8d-4ae1-824a-86dc56034b75", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fccf23a1-d144-456b-b232-34106ab90bbc", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "50af7e11-a521-491a-9208-5ae2a9ce4c54", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "c82cf171-c773-4459-b2c3-5843b98b471c", + "apim-request-id": "969722f2-9434-4674-a764-4c7b2f7b4c67", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "245", + "x-envoy-upstream-service-time": "842", "x-ms-region": "West US 2", - "X-Request-ID": "c82cf171-c773-4459-b2c3-5843b98b471c" + "X-Request-ID": "969722f2-9434-4674-a764-4c7b2f7b4c67" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json index db5da0ad1f565..d76fb62b72f8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "703", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "78027dca-a5e4-40c0-a973-1ef6d79ad3dc", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "04aee430-5b57-464d-9c95-3c0e6e7ade71", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_samplee7286ab8-3772-4c0d-9f46-8e866e5d4f6c", + "dataFeedName": "java_create_data_feed_test_samplef5163d0f-a11f-402a-965b-618f27700e6a", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "de8cea99-1ed6-49c5-bd5e-856166c8bff6", + "apim-request-id": "db839826-3529-4ef8-b786-02b3b913d572", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea99fab2-bd1c-4ba3-9f84-a630634fb546", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "883", + "x-envoy-upstream-service-time": "1258", "x-ms-region": "West US 2", - "X-Request-ID": "de8cea99-1ed6-49c5-bd5e-856166c8bff6" + "X-Request-ID": "db839826-3529-4ef8-b786-02b3b913d572" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea99fab2-bd1c-4ba3-9f84-a630634fb546", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5a5cbf04-0c9d-47c7-a509-9e94540d685b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "302366c8-6ffa-4dde-b856-bad8d49bdd30", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "84fa981a-c277-4b41-a35b-672afd4acfab", - "Content-Length": "1339", + "apim-request-id": "81ec5948-0b08-4e4c-8c33-3212087189de", + "Content-Length": "1325", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "191", + "x-envoy-upstream-service-time": "310", "x-ms-region": "West US 2", - "X-Request-ID": "84fa981a-c277-4b41-a35b-672afd4acfab" + "X-Request-ID": "81ec5948-0b08-4e4c-8c33-3212087189de" }, "ResponseBody": { - "dataFeedId": "264609a4-f639-4f1e-ae59-c23e9bcdc98b", - "dataFeedName": "java_create_data_feed_test_samplee7286ab8-3772-4c0d-9f46-8e866e5d4f6c", + "dataFeedId": "ea99fab2-bd1c-4ba3-9f84-a630634fb546", + "dataFeedName": "java_create_data_feed_test_samplef5163d0f-a11f-402a-965b-618f27700e6a", "metrics": [ { - "metricId": "44fee7d3-a730-48c2-8df3-3c7222ebe4c6", + "metricId": "53a6ecf7-c308-4e9f-9fa7-dcc6d4bb3d94", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "23573fd4-509f-4989-b0ff-0a6c2d14a00d", + "metricId": "98821587-fd2b-41ca-aecc-96ada5caef74", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:49Z", + "createdTime": "2023-04-17T23:00:29Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,29 +144,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/264609a4-f639-4f1e-ae59-c23e9bcdc98b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea99fab2-bd1c-4ba3-9f84-a630634fb546", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "91951ecf-f663-4641-a21d-615edea62909", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "23e32bc9-99d2-4b53-a30d-75ec6397bce0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "ac19b1c2-6f5b-4b8a-99af-ee4572cf126d", + "apim-request-id": "b3bdafc3-fb27-431c-92af-5160e811785a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "413", + "x-envoy-upstream-service-time": "484", "x-ms-region": "West US 2", - "X-Request-ID": "ac19b1c2-6f5b-4b8a-99af-ee4572cf126d" + "X-Request-ID": "b3bdafc3-fb27-431c-92af-5160e811785a" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json index 5a816a4f7491f..e8254367ed26b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "635", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5358f9f0-5a24-41b6-b765-1687d7111b8f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "77628da0-10ac-4970-9dc0-b432c9d8dd7b", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "InfluxDB", - "dataFeedName": "java_create_data_feed_test_sample89168859-3521-4a8f-ba90-4acc421880ba", + "dataFeedName": "java_create_data_feed_test_sample786701d5-248d-4ab8-8afd-8abee94a2290", "granularityName": "Daily", "metrics": [ { @@ -50,56 +50,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "683e19ff-ea1f-4522-9d14-eaabb919482c", + "apim-request-id": "3fe6e071-09c7-4a7b-b16a-c7d9221e1d22", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5addbf96-4db8-4f9e-ae75-f081995488e0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2beed8dc-7bd8-428d-aa70-863834f314b3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "695", + "x-envoy-upstream-service-time": "726", "x-ms-region": "West US 2", - "X-Request-ID": "683e19ff-ea1f-4522-9d14-eaabb919482c" + "X-Request-ID": "3fe6e071-09c7-4a7b-b16a-c7d9221e1d22" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5addbf96-4db8-4f9e-ae75-f081995488e0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2beed8dc-7bd8-428d-aa70-863834f314b3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9621259a-c5e9-401a-8c24-bc0c9c5ee8f7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be01d9ec-b586-4cf7-947a-599d02111621", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cead4fe6-7f57-4e68-a1c7-5669cbc2edc1", - "Content-Length": "1308", + "apim-request-id": "b08c88b7-d0a6-4cc8-992c-53c25e553011", + "Content-Length": "1294", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "196", + "x-envoy-upstream-service-time": "135", "x-ms-region": "West US 2", - "X-Request-ID": "cead4fe6-7f57-4e68-a1c7-5669cbc2edc1" + "X-Request-ID": "b08c88b7-d0a6-4cc8-992c-53c25e553011" }, "ResponseBody": { - "dataFeedId": "5addbf96-4db8-4f9e-ae75-f081995488e0", - "dataFeedName": "java_create_data_feed_test_sample89168859-3521-4a8f-ba90-4acc421880ba", + "dataFeedId": "2beed8dc-7bd8-428d-aa70-863834f314b3", + "dataFeedName": "java_create_data_feed_test_sample786701d5-248d-4ab8-8afd-8abee94a2290", "metrics": [ { - "metricId": "d2f7800d-60bc-4ef2-b5a0-16dcaaa265e6", + "metricId": "01ce3951-c1e3-4260-9fbc-e880b84db860", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a2945411-2f41-4edc-ae07-6716d2869c72", + "metricId": "4852184b-087c-465b-8906-5af6044ff0cf", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -131,12 +131,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:39Z", + "createdTime": "2023-04-17T23:00:17Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -149,29 +149,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5addbf96-4db8-4f9e-ae75-f081995488e0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2beed8dc-7bd8-428d-aa70-863834f314b3", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "928c4171-0fe0-44af-bdcf-f0f1e18d78bb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be82ca47-2025-4c41-8006-fe28a62426d3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "bba93230-1922-4bc3-a405-4a28b185d431", + "apim-request-id": "d763fba6-7996-44cb-a594-e05b4c5dc361", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "321", + "x-envoy-upstream-service-time": "302", "x-ms-region": "West US 2", - "X-Request-ID": "bba93230-1922-4bc3-a405-4a28b185d431" + "X-Request-ID": "d763fba6-7996-44cb-a594-e05b4c5dc361" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json index bd283790124d6..c181e03b6b5cc 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "777", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "677e804e-6044-4398-810f-32fe02a75488", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bcfea5bf-ef60-497d-9eab-5b2c4f429899", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureLogAnalytics", - "dataFeedName": "java_create_data_feed_test_sample4086ead4-9025-428f-aa77-2407700310e2", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", "granularityName": "Daily", "metrics": [ { @@ -51,56 +51,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "4503e7be-adab-47ff-93ec-e95464288f34", + "apim-request-id": "171d6706-1745-4047-8d75-4718617247ed", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/607c5991-274f-434a-9d23-e0b9a5be067b", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d2b62817-ec37-4f26-9690-a7d1189e15e5", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "698", + "x-envoy-upstream-service-time": "1473", "x-ms-region": "West US 2", - "X-Request-ID": "4503e7be-adab-47ff-93ec-e95464288f34" + "X-Request-ID": "171d6706-1745-4047-8d75-4718617247ed" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/607c5991-274f-434a-9d23-e0b9a5be067b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d2b62817-ec37-4f26-9690-a7d1189e15e5", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2d6487f2-8781-4f28-b55b-3af813152ac5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c398566e-baee-450f-b327-2acedaac5679", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a6ffaea6-cb10-4727-8a14-140ebcb67d49", - "Content-Length": "1411", + "apim-request-id": "58f9074c-d848-4d74-ae0c-7ee45ca36216", + "Content-Length": "1397", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "210", + "x-envoy-upstream-service-time": "158", "x-ms-region": "West US 2", - "X-Request-ID": "a6ffaea6-cb10-4727-8a14-140ebcb67d49" + "X-Request-ID": "58f9074c-d848-4d74-ae0c-7ee45ca36216" }, "ResponseBody": { - "dataFeedId": "607c5991-274f-434a-9d23-e0b9a5be067b", - "dataFeedName": "java_create_data_feed_test_sample4086ead4-9025-428f-aa77-2407700310e2", + "dataFeedId": "d2b62817-ec37-4f26-9690-a7d1189e15e5", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", "metrics": [ { - "metricId": "db3556b1-0bd4-4fc6-aa04-20104cf2ade1", + "metricId": "2b264b33-e8b1-4380-9628-813041b87371", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "4f367ee5-e29a-48f8-94b9-bb440b8c441e", + "metricId": "d31779a5-b369-4afd-80a5-e81385e4b9bf", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -132,12 +132,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:47Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,29 +150,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/607c5991-274f-434a-9d23-e0b9a5be067b", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d2b62817-ec37-4f26-9690-a7d1189e15e5", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8a48025a-b01a-4c09-93c2-c33e42e83d8e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "64de8f58-bbd4-44a7-b6dd-7a05553d4e38", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "f0ecb5de-5d35-4375-83d9-fa148224d133", + "apim-request-id": "05587849-9883-4b45-b6ff-bfb491bf23e4", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "421", + "x-envoy-upstream-service-time": "570", "x-ms-region": "West US 2", - "X-Request-ID": "f0ecb5de-5d35-4375-83d9-fa148224d133" + "X-Request-ID": "05587849-9883-4b45-b6ff-bfb491bf23e4" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMYSQLDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMYSQLDataFeed[1].json index e7480fe095dce..fbdf95d0bfc6a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMYSQLDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMYSQLDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "566", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "82de0abb-4b32-45ba-8fe9-007ca380e0bd", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4b52df7b-7780-4267-ad97-44c33ba24c9f", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "MySql", - "dataFeedName": "java_create_data_feed_test_sampleb628cba4-365b-4622-8829-b6550a0ae70b", + "dataFeedName": "java_create_data_feed_test_sample35c84f64-2af1-496e-81cb-20a5b7abb3f0", "granularityName": "Daily", "metrics": [ { @@ -47,56 +47,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "c5e2092c-fc6f-45e8-b577-1b332179465e", + "apim-request-id": "c7b229c6-07d1-45f1-b3a6-9972766515a7", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/debf3966-48ef-44e3-8209-adfa25f7e6f3", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cc16ad29-9625-48dd-b5f7-79b696147ecd", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "975", + "x-envoy-upstream-service-time": "1162", "x-ms-region": "West US 2", - "X-Request-ID": "c5e2092c-fc6f-45e8-b577-1b332179465e" + "X-Request-ID": "c7b229c6-07d1-45f1-b3a6-9972766515a7" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/debf3966-48ef-44e3-8209-adfa25f7e6f3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cc16ad29-9625-48dd-b5f7-79b696147ecd", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cd62ecb2-f182-403c-952f-360565af754e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ce650899-551d-4c5b-9e44-589f53fa9831", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d5ef8477-0970-472b-a31e-9d26abf33986", - "Content-Length": "1231", + "apim-request-id": "21020208-1b86-491f-8a54-65104ac0141b", + "Content-Length": "1217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "200", + "x-envoy-upstream-service-time": "269", "x-ms-region": "West US 2", - "X-Request-ID": "d5ef8477-0970-472b-a31e-9d26abf33986" + "X-Request-ID": "21020208-1b86-491f-8a54-65104ac0141b" }, "ResponseBody": { - "dataFeedId": "debf3966-48ef-44e3-8209-adfa25f7e6f3", - "dataFeedName": "java_create_data_feed_test_sampleb628cba4-365b-4622-8829-b6550a0ae70b", + "dataFeedId": "cc16ad29-9625-48dd-b5f7-79b696147ecd", + "dataFeedName": "java_create_data_feed_test_sample35c84f64-2af1-496e-81cb-20a5b7abb3f0", "metrics": [ { - "metricId": "e2982ab1-550b-44a0-bc80-f5e3f028eb70", + "metricId": "4aefbb35-a09e-4055-8d40-4145f4695bfe", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "7d0b93c3-b8a7-4747-871b-3a9bab4d0017", + "metricId": "d8ceac85-2256-439d-8ca7-9d3653f48bf2", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -128,12 +128,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:48Z", + "createdTime": "2023-04-17T23:00:29Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -143,29 +143,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/debf3966-48ef-44e3-8209-adfa25f7e6f3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cc16ad29-9625-48dd-b5f7-79b696147ecd", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "42ddbaff-a562-4850-a943-437061d43ec6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "57203a83-e66e-40f8-ae0b-a2c7987a69b5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "61e7cb74-528c-4a4e-87f5-f65f35fe1488", + "apim-request-id": "a8b499bf-eb9d-4858-bb7b-3cec3be25c5b", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "363", + "x-envoy-upstream-service-time": "762", "x-ms-region": "West US 2", - "X-Request-ID": "61e7cb74-528c-4a4e-87f5-f65f35fe1488" + "X-Request-ID": "a8b499bf-eb9d-4858-bb7b-3cec3be25c5b" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMongoDBDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMongoDBDataFeed[1].json index 113f44286cf4b..d39053e5ceb40 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMongoDBDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createMongoDBDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "630", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f55bd6e2-630c-4ef6-9b70-58deb6546c29", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c3870cd0-938c-4298-94f9-7295a51b2838", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "MongoDB", - "dataFeedName": "java_create_data_feed_test_sample7dfcd818-7ec5-4849-b51e-8d4925ce6416", + "dataFeedName": "java_create_data_feed_test_samplea5b64018-4bc8-4d55-8b8e-16929ef9cc12", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "e819222c-c342-414c-9638-cb67d8c82ffd", + "apim-request-id": "e858a41c-b125-43ba-9661-a1b55d4c7613", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/97f3c9c7-1c46-4df8-90d1-548cc5c444e3", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/c9331dcb-967f-4588-9cac-e3248bf14efd", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1012", + "x-envoy-upstream-service-time": "2301", "x-ms-region": "West US 2", - "X-Request-ID": "e819222c-c342-414c-9638-cb67d8c82ffd" + "X-Request-ID": "e858a41c-b125-43ba-9661-a1b55d4c7613" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/97f3c9c7-1c46-4df8-90d1-548cc5c444e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/c9331dcb-967f-4588-9cac-e3248bf14efd", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4f30ce0a-7935-4988-8d1e-ba6fd0674ff9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "15b6714f-6828-4f9d-888d-6f52ef99cd56", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5fcbe70d-27b4-4392-9f5c-4fdd4cad2d72", - "Content-Length": "1295", + "apim-request-id": "312471ca-a37b-42eb-86b8-6d1ca53b5643", + "Content-Length": "1281", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "151", + "x-envoy-upstream-service-time": "141", "x-ms-region": "West US 2", - "X-Request-ID": "5fcbe70d-27b4-4392-9f5c-4fdd4cad2d72" + "X-Request-ID": "312471ca-a37b-42eb-86b8-6d1ca53b5643" }, "ResponseBody": { - "dataFeedId": "97f3c9c7-1c46-4df8-90d1-548cc5c444e3", - "dataFeedName": "java_create_data_feed_test_sample7dfcd818-7ec5-4849-b51e-8d4925ce6416", + "dataFeedId": "c9331dcb-967f-4588-9cac-e3248bf14efd", + "dataFeedName": "java_create_data_feed_test_samplea5b64018-4bc8-4d55-8b8e-16929ef9cc12", "metrics": [ { - "metricId": "9fdeab8e-2861-4307-a0f7-806076d82e20", + "metricId": "2ed4218e-016e-484e-b42a-e432732ee416", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "9a83cb0e-6dda-42a4-8b42-d44eb77aaed3", + "metricId": "559fefe2-d839-4fc9-a329-0ef49f474546", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:51Z", + "createdTime": "2023-04-17T23:00:31Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -145,29 +145,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/97f3c9c7-1c46-4df8-90d1-548cc5c444e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/c9331dcb-967f-4588-9cac-e3248bf14efd", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cfb68c4c-c446-4ff9-aac2-e9a16de6568d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ba910f69-7a26-46cb-b3e0-7d0eac68498a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "5dde0591-b985-43e9-8c3a-4b563730a9b3", + "apim-request-id": "40db97ef-b0fb-4a06-8e81-801c877f0d52", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "284", + "x-envoy-upstream-service-time": "435", "x-ms-region": "West US 2", - "X-Request-ID": "5dde0591-b985-43e9-8c3a-4b563730a9b3" + "X-Request-ID": "40db97ef-b0fb-4a06-8e81-801c877f0d52" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createPostgreSQLDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createPostgreSQLDataFeed[1].json index 3dd6661107209..1fc547cc81fb9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createPostgreSQLDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createPostgreSQLDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "571", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c681c827-ac67-454e-a6a0-b80f76b9874a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "29790717-ae1e-402c-ac50-bbcf25e159fa", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "PostgreSql", - "dataFeedName": "java_create_data_feed_test_sample2397debb-5734-4ca6-b7b1-c770a43c9d0b", + "dataFeedName": "java_create_data_feed_test_sample70166ff5-8e3b-4ba1-bb74-688feb94ab2a", "granularityName": "Daily", "metrics": [ { @@ -47,56 +47,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "5184116f-b642-4bdb-8fc4-34964a1037ec", + "apim-request-id": "dd63764b-68fc-4cba-8617-6568ef38eec2", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c52c93e7-6823-41ef-a44f-f5c489d34393", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b7e2e2e3-15e3-4801-8e2e-5fb1069b309f", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "884", + "x-envoy-upstream-service-time": "1353", "x-ms-region": "West US 2", - "X-Request-ID": "5184116f-b642-4bdb-8fc4-34964a1037ec" + "X-Request-ID": "dd63764b-68fc-4cba-8617-6568ef38eec2" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/c52c93e7-6823-41ef-a44f-f5c489d34393", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b7e2e2e3-15e3-4801-8e2e-5fb1069b309f", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "beef00cd-32c0-4c93-be16-a8f46be64c38", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4fb9d492-1f7a-4686-91ce-7cdc8ab1cb5d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3206e094-1558-4d52-8dc7-519397531543", - "Content-Length": "1236", + "apim-request-id": "9a8471b4-a524-4ecc-9097-562e493b01fe", + "Content-Length": "1222", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "165", + "x-envoy-upstream-service-time": "138", "x-ms-region": "West US 2", - "X-Request-ID": "3206e094-1558-4d52-8dc7-519397531543" + "X-Request-ID": "9a8471b4-a524-4ecc-9097-562e493b01fe" }, "ResponseBody": { - "dataFeedId": "c52c93e7-6823-41ef-a44f-f5c489d34393", - "dataFeedName": "java_create_data_feed_test_sample2397debb-5734-4ca6-b7b1-c770a43c9d0b", + "dataFeedId": "b7e2e2e3-15e3-4801-8e2e-5fb1069b309f", + "dataFeedName": "java_create_data_feed_test_sample70166ff5-8e3b-4ba1-bb74-688feb94ab2a", "metrics": [ { - "metricId": "26e9522f-f47f-4238-a941-302f4dae3177", + "metricId": "40042bfd-a897-4ac0-a833-20fed05ee865", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "14ec52de-82e1-4024-88ec-6730a92b892d", + "metricId": "3fc2195d-7ab4-4187-9266-cc053e03aaef", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -128,12 +128,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:49Z", + "createdTime": "2023-04-17T23:00:31Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -143,29 +143,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/c52c93e7-6823-41ef-a44f-f5c489d34393", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b7e2e2e3-15e3-4801-8e2e-5fb1069b309f", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3414d1e2-b897-4248-872e-dd7ced78e1cf", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "322480c3-22e2-4e0c-a582-2d913771a939", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "9d5aa738-af33-41b6-b8fd-43ac55a72d4d", + "apim-request-id": "1cee9b02-850f-4825-9ce1-cef29a686498", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "360", + "x-envoy-upstream-service-time": "471", "x-ms-region": "West US 2", - "X-Request-ID": "9d5aa738-af33-41b6-b8fd-43ac55a72d4d" + "X-Request-ID": "1cee9b02-850f-4825-9ce1-cef29a686498" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createSQLServerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createSQLServerDataFeed[1].json index a5a0599dcfb35..c0c2b3d1ee55a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createSQLServerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createSQLServerDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "701ce4b4-bdc9-4e85-baff-c159a6642283", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c2253570-e214-4554-b07d-78eb36ea2c23", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_sample3ad83f59-885c-49d8-92e2-01bc47f9253b", + "dataFeedName": "java_create_data_feed_test_samplea259c47d-67ea-49b3-aa7a-13d3245bfe44", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "5c05403b-4f2e-4e49-90e4-941f9d6652f4", + "apim-request-id": "678deda5-9e25-4a8c-a8fe-e8aa209c299b", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/efd913b1-1035-42d8-8144-45e4061e312a", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3a085439-9e3c-4f05-970a-ee268f3e260e", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "603", + "x-envoy-upstream-service-time": "1812", "x-ms-region": "West US 2", - "X-Request-ID": "5c05403b-4f2e-4e49-90e4-941f9d6652f4" + "X-Request-ID": "678deda5-9e25-4a8c-a8fe-e8aa209c299b" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/efd913b1-1035-42d8-8144-45e4061e312a", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3a085439-9e3c-4f05-970a-ee268f3e260e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6081ed21-b907-4a69-be0d-30f4c9c4bb5c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6f3b60ba-79c7-418c-8930-7054b0915aa5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "df69f46c-20de-4fad-b80b-8c5e33489ce1", - "Content-Length": "1235", + "apim-request-id": "ef592547-b9e6-41b9-8258-269845e24fa6", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "140", + "x-envoy-upstream-service-time": "185", "x-ms-region": "West US 2", - "X-Request-ID": "df69f46c-20de-4fad-b80b-8c5e33489ce1" + "X-Request-ID": "ef592547-b9e6-41b9-8258-269845e24fa6" }, "ResponseBody": { - "dataFeedId": "efd913b1-1035-42d8-8144-45e4061e312a", - "dataFeedName": "java_create_data_feed_test_sample3ad83f59-885c-49d8-92e2-01bc47f9253b", + "dataFeedId": "3a085439-9e3c-4f05-970a-ee268f3e260e", + "dataFeedName": "java_create_data_feed_test_samplea259c47d-67ea-49b3-aa7a-13d3245bfe44", "metrics": [ { - "metricId": "99505227-21fa-4090-bb5c-35565435d316", + "metricId": "2322c0bf-254c-476e-bce1-da6bf5fb5f30", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "731f40e1-2a2c-45a8-801d-ec45f781d6c7", + "metricId": "86bd8653-628e-49a6-b361-1fa1de34bf9a", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:27Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,29 +144,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/efd913b1-1035-42d8-8144-45e4061e312a", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3a085439-9e3c-4f05-970a-ee268f3e260e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f2e2c1be-55cb-49a9-99d5-0d3c029eee8d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "216fa003-2d7e-4a40-846a-4a0aa4181daf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "d129f732-4455-4b3a-8797-04dc63c7d7db", + "apim-request-id": "38da7b62-6426-404b-99be-528f593ac7dc", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "287", + "x-envoy-upstream-service-time": "471", "x-ms-region": "West US 2", - "X-Request-ID": "d129f732-4455-4b3a-8797-04dc63c7d7db" + "X-Request-ID": "38da7b62-6426-404b-99be-528f593ac7dc" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.deleteDataFeedIdWithResponse[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.deleteDataFeedIdWithResponse[1].json index 84467e924b6a7..f4fd6617a03e3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.deleteDataFeedIdWithResponse[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.deleteDataFeedIdWithResponse[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "576f581f-0624-4440-9318-bab3b838e5b3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3a95ed6e-67b2-4563-9fa4-c5148c3d7a1e", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_sample2041eb53-ecb3-4869-97fd-eb567ba5e079", + "dataFeedName": "java_create_data_feed_test_sample72ab6630-e722-4275-a516-d8a4152159be", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "efb88416-b978-44b4-8fa3-45991813cb94", + "apim-request-id": "67811beb-bbb0-44b9-babe-bfd5580bcf32", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/54930ef8-b9f9-4827-bc6c-a00ba33bfff3", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ef162e1b-599d-4a2f-93fd-6b906fff0ba1", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "928", + "x-envoy-upstream-service-time": "935", "x-ms-region": "West US 2", - "X-Request-ID": "efb88416-b978-44b4-8fa3-45991813cb94" + "X-Request-ID": "67811beb-bbb0-44b9-babe-bfd5580bcf32" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54930ef8-b9f9-4827-bc6c-a00ba33bfff3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ef162e1b-599d-4a2f-93fd-6b906fff0ba1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "21d7a5ad-3e48-43c5-8238-97cd31fbc72d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "71429c14-90f2-47b7-a1e2-6c4ddad0de2a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8438e804-878d-458c-bc83-e255a0b0a0ad", - "Content-Length": "1235", + "apim-request-id": "36ff5d29-50d4-4c92-af9f-3bc7c6add4ed", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "145", + "x-envoy-upstream-service-time": "129", "x-ms-region": "West US 2", - "X-Request-ID": "8438e804-878d-458c-bc83-e255a0b0a0ad" + "X-Request-ID": "36ff5d29-50d4-4c92-af9f-3bc7c6add4ed" }, "ResponseBody": { - "dataFeedId": "54930ef8-b9f9-4827-bc6c-a00ba33bfff3", - "dataFeedName": "java_create_data_feed_test_sample2041eb53-ecb3-4869-97fd-eb567ba5e079", + "dataFeedId": "ef162e1b-599d-4a2f-93fd-6b906fff0ba1", + "dataFeedName": "java_create_data_feed_test_sample72ab6630-e722-4275-a516-d8a4152159be", "metrics": [ { - "metricId": "a5fad3e1-b217-48d7-bcaf-b087c8e171ba", + "metricId": "93659504-b295-4c91-b4a2-8a41afad95f3", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "accd3f2e-055d-4c44-a2ba-aefce536a035", + "metricId": "32ff1b97-50f7-41e2-9ee4-1f20970b6811", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:42Z", + "createdTime": "2023-04-17T23:00:20Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,57 +144,57 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54930ef8-b9f9-4827-bc6c-a00ba33bfff3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ef162e1b-599d-4a2f-93fd-6b906fff0ba1", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8605b72f-5896-4353-a5ed-dbd2097b8242", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "da1b0f78-44fa-4c3d-b8ba-3d4e912b147a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "3e999b67-31c2-4e21-b055-2f64cfa0982f", + "apim-request-id": "df1802a5-d387-485f-8eb8-b309e8e10617", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "263", + "x-envoy-upstream-service-time": "387", "x-ms-region": "West US 2", - "X-Request-ID": "3e999b67-31c2-4e21-b055-2f64cfa0982f" + "X-Request-ID": "df1802a5-d387-485f-8eb8-b309e8e10617" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54930ef8-b9f9-4827-bc6c-a00ba33bfff3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ef162e1b-599d-4a2f-93fd-6b906fff0ba1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "19ce3464-fe40-4e38-b02f-b153ac783a50", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7268b714-7fc0-4976-83dd-ba7008224c23", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { - "apim-request-id": "a4cf21c7-eae3-49c2-b9f0-a1096b1654e7", + "apim-request-id": "98aa7d9b-8804-49b2-b598-b2b1e8028cea", "Content-Length": "59", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81", + "x-envoy-upstream-service-time": "90", "x-ms-region": "West US 2", - "X-Request-ID": "a4cf21c7-eae3-49c2-b9f0-a1096b1654e7" + "X-Request-ID": "98aa7d9b-8804-49b2-b598-b2b1e8028cea" }, "ResponseBody": { "code": "404 NOT_FOUND", diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.getDataFeedValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.getDataFeedValidId[1].json index 808de673047b3..ff017e023902d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.getDataFeedValidId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.getDataFeedValidId[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b3ef0d44-a035-45f7-b1a4-81d73dfe4555", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b88cf0b7-5aa0-4413-ac16-6a6c26562c09", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_sample9e14f896-7e45-4cf1-a906-7177903283f6", + "dataFeedName": "java_create_data_feed_test_samplea5e05d7b-6162-4196-b36f-abbd61fd6108", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "e9770aec-2168-429f-a7b6-281c94325994", + "apim-request-id": "b26cbce8-d129-407c-86aa-f08f03cde8c9", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/05d0d436-788b-4545-bcd0-e3c5ae7c504c", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9a278233-aae5-4660-901b-e3b007a5260c", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "691", + "x-envoy-upstream-service-time": "2331", "x-ms-region": "West US 2", - "X-Request-ID": "e9770aec-2168-429f-a7b6-281c94325994" + "X-Request-ID": "b26cbce8-d129-407c-86aa-f08f03cde8c9" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/05d0d436-788b-4545-bcd0-e3c5ae7c504c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9a278233-aae5-4660-901b-e3b007a5260c", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "00172837-fd6e-4599-a67f-c4b9d216a30a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4144f5da-bef0-4f17-a309-c462a830b0ca", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8bd354e9-bb6d-443b-bf19-8213d36ed1de", - "Content-Length": "1235", + "apim-request-id": "995d99d8-9b98-4c81-af8d-c49a1e13ca52", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135", + "x-envoy-upstream-service-time": "179", "x-ms-region": "West US 2", - "X-Request-ID": "8bd354e9-bb6d-443b-bf19-8213d36ed1de" + "X-Request-ID": "995d99d8-9b98-4c81-af8d-c49a1e13ca52" }, "ResponseBody": { - "dataFeedId": "05d0d436-788b-4545-bcd0-e3c5ae7c504c", - "dataFeedName": "java_create_data_feed_test_sample9e14f896-7e45-4cf1-a906-7177903283f6", + "dataFeedId": "9a278233-aae5-4660-901b-e3b007a5260c", + "dataFeedName": "java_create_data_feed_test_samplea5e05d7b-6162-4196-b36f-abbd61fd6108", "metrics": [ { - "metricId": "611a75cc-a433-4120-9fbc-4e7f885fd2a4", + "metricId": "b80b6ba3-bfa6-4de7-bcb0-30ef797f473f", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a5196765-2f26-441a-a530-b3b938a89221", + "metricId": "1db044a8-0dd8-4d9b-8be7-fd79ef4a8c62", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:26Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,43 +144,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/05d0d436-788b-4545-bcd0-e3c5ae7c504c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9a278233-aae5-4660-901b-e3b007a5260c", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "7a63713a-fcab-4cb4-bad8-f4ff19e05b14", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "61d8d91c-1f68-4310-9d8d-5aa7ed61b696", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b58922ae-4795-4118-8ee9-1a15d545d3bc", - "Content-Length": "1235", + "apim-request-id": "a4eddf12-1ee8-4cb6-a695-9798df56fd5e", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129", + "x-envoy-upstream-service-time": "211", "x-ms-region": "West US 2", - "X-Request-ID": "b58922ae-4795-4118-8ee9-1a15d545d3bc" + "X-Request-ID": "a4eddf12-1ee8-4cb6-a695-9798df56fd5e" }, "ResponseBody": { - "dataFeedId": "05d0d436-788b-4545-bcd0-e3c5ae7c504c", - "dataFeedName": "java_create_data_feed_test_sample9e14f896-7e45-4cf1-a906-7177903283f6", + "dataFeedId": "9a278233-aae5-4660-901b-e3b007a5260c", + "dataFeedName": "java_create_data_feed_test_samplea5e05d7b-6162-4196-b36f-abbd61fd6108", "metrics": [ { - "metricId": "611a75cc-a433-4120-9fbc-4e7f885fd2a4", + "metricId": "b80b6ba3-bfa6-4de7-bcb0-30ef797f473f", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a5196765-2f26-441a-a530-b3b938a89221", + "metricId": "1db044a8-0dd8-4d9b-8be7-fd79ef4a8c62", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -212,12 +212,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:26Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -227,29 +227,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/05d0d436-788b-4545-bcd0-e3c5ae7c504c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9a278233-aae5-4660-901b-e3b007a5260c", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3eb031b1-399f-4adf-a790-80359dcd9539", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ba2e20f0-94ca-4e77-ab05-62db35f30d01", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "0eea856c-8935-4a87-94aa-bdbe3685ce90", + "apim-request-id": "fd5a7b6e-5d64-4c8d-b425-74c879883f1d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "317", + "x-envoy-upstream-service-time": "525", "x-ms-region": "West US 2", - "X-Request-ID": "0eea856c-8935-4a87-94aa-bdbe3685ce90" + "X-Request-ID": "fd5a7b6e-5d64-4c8d-b425-74c879883f1d" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByCreator[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByCreator[1].json index 72d4801fbb0e9..2571510209df3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByCreator[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByCreator[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "571", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:26:42 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f0c5e1e5-6667-4d1e-a026-85f60c76721c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7880617a-566e-4875-9ea5-fdf23c840e10", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "PostgreSql", - "dataFeedName": "java_create_data_feed_test_sample2100724e-0dc0-4bf8-af5a-00c255d0ea04", + "dataFeedName": "java_create_data_feed_test_samplea977ebf6-ce73-45a6-887b-cee13fd95cc9", "granularityName": "Daily", "metrics": [ { @@ -47,56 +47,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "c9ba0018-a418-4183-bde4-45c0afdbcf82", + "apim-request-id": "e5fccf48-eaf4-4e86-aef7-6a210bbeae05", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/8d5ac7ff-f701-4617-87ce-9d19ac5f7a50", + "Date": "Mon, 17 Apr 2023 23:26:42 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/7e673d3a-056f-4764-a311-03eb196021fa", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "739", + "x-envoy-upstream-service-time": "823", "x-ms-region": "West US 2", - "X-Request-ID": "c9ba0018-a418-4183-bde4-45c0afdbcf82" + "X-Request-ID": "e5fccf48-eaf4-4e86-aef7-6a210bbeae05" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8d5ac7ff-f701-4617-87ce-9d19ac5f7a50", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/7e673d3a-056f-4764-a311-03eb196021fa", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:26:43 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "89668e34-c2f1-43c5-aafc-02fb141048a4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7787288c-0d1c-4e42-bcfe-c8a1a5da05bd", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e5e17958-3538-4230-9fc8-6cb8995ecd87", + "apim-request-id": "bb5b9e1d-8d6c-4f2d-aafa-c71ed6b20b93", "Content-Length": "1236", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:26:43 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "164", + "x-envoy-upstream-service-time": "205", "x-ms-region": "West US 2", - "X-Request-ID": "e5e17958-3538-4230-9fc8-6cb8995ecd87" + "X-Request-ID": "bb5b9e1d-8d6c-4f2d-aafa-c71ed6b20b93" }, "ResponseBody": { - "dataFeedId": "8d5ac7ff-f701-4617-87ce-9d19ac5f7a50", - "dataFeedName": "java_create_data_feed_test_sample2100724e-0dc0-4bf8-af5a-00c255d0ea04", + "dataFeedId": "7e673d3a-056f-4764-a311-03eb196021fa", + "dataFeedName": "java_create_data_feed_test_samplea977ebf6-ce73-45a6-887b-cee13fd95cc9", "metrics": [ { - "metricId": "4abd5f19-0488-4e4e-bdc4-89f84f68c5c0", + "metricId": "fd2d2803-27ca-4dd1-abdc-c2bd308aecba", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "1000fad7-8b3f-4e19-a3dd-b7016cbdbf57", + "metricId": "17d02996-d4fd-4786-ac2f-22c30a7cf502", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -128,12 +128,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "creator": "xiangyan@microsoft.com", "status": "Active", - "createdTime": "2023-04-12T22:01:36Z", + "createdTime": "2023-04-17T23:26:43Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -148,40 +148,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:26:44 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8c130d1a-2281-4049-be00-4d2ae45d67ca", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9deb402b-0d52-436d-acc0-37f8d007e798", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5415a637-48e3-48d6-9495-12fd271fe603", - "Content-Length": "3909", + "apim-request-id": "cb59a752-4705-491d-88fe-0320e6ab674f", + "Content-Length": "2559", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:26:43 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "215", + "x-envoy-upstream-service-time": "236", "x-ms-region": "West US 2", - "X-Request-ID": "5415a637-48e3-48d6-9495-12fd271fe603" + "X-Request-ID": "cb59a752-4705-491d-88fe-0320e6ab674f" }, "ResponseBody": { "value": [ { - "dataFeedId": "8d5ac7ff-f701-4617-87ce-9d19ac5f7a50", - "dataFeedName": "java_create_data_feed_test_sample2100724e-0dc0-4bf8-af5a-00c255d0ea04", + "dataFeedId": "7e673d3a-056f-4764-a311-03eb196021fa", + "dataFeedName": "java_create_data_feed_test_samplea977ebf6-ce73-45a6-887b-cee13fd95cc9", "metrics": [ { - "metricId": "4abd5f19-0488-4e4e-bdc4-89f84f68c5c0", + "metricId": "fd2d2803-27ca-4dd1-abdc-c2bd308aecba", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "1000fad7-8b3f-4e19-a3dd-b7016cbdbf57", + "metricId": "17d02996-d4fd-4786-ac2f-22c30a7cf502", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -213,12 +213,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "creator": "xiangyan@microsoft.com", "status": "Active", - "createdTime": "2023-04-12T22:01:36Z", + "createdTime": "2023-04-17T23:26:43Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -226,62 +226,6 @@ }, "authenticationType": "Basic" }, - { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", - "metrics": [ - { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", - "metricName": "cost", - "metricDisplayName": "cost", - "metricDescription": "" - }, - { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", - "metricName": "revenue", - "metricDisplayName": "revenue", - "metricDescription": "" - } - ], - "dimension": [ - { - "dimensionName": "category", - "dimensionDisplayName": "category" - }, - { - "dimensionName": "region", - "dimensionDisplayName": "region" - } - ], - "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataExplorer", - "timestampColumn": "", - "startOffsetInSeconds": 0, - "maxQueryPerMinute": 30.0, - "granularityName": "Daily", - "needRollup": "NoRollup", - "fillMissingPointType": "PreviousValue", - "fillMissingPointValue": 0.0, - "rollUpMethod": "None", - "dataFeedDescription": "", - "stopRetryAfterInSeconds": -1, - "minRetryIntervalInSeconds": -1, - "maxConcurrency": 0, - "viewMode": "Private", - "admins": [ - "xiangyan@microsoft.com" - ], - "viewers": [], - "creator": "xiangyan@microsoft.com", - "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", - "isAdmin": true, - "actionLinkTemplate": "", - "dataSourceParameter": { - "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" - }, - "authenticationType": "ManagedIdentity" - }, { "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", "dataFeedName": "sample_datafeed", @@ -325,7 +269,7 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "creator": "xiangyan@microsoft.com", @@ -346,29 +290,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8d5ac7ff-f701-4617-87ce-9d19ac5f7a50", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/7e673d3a-056f-4764-a311-03eb196021fa", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:26:44 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9679a8aa-d36f-4e6e-b625-f771dce23714", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a303b79c-a546-4786-b8cc-e4a2756e3fbc", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "0545a228-22ad-4c8a-af2c-1e6349830068", + "apim-request-id": "a774e2de-7491-4a49-a5bd-cb3d7ec5ff10", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:26:44 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "290", + "x-envoy-upstream-service-time": "390", "x-ms-region": "West US 2", - "X-Request-ID": "0545a228-22ad-4c8a-af2c-1e6349830068" + "X-Request-ID": "a774e2de-7491-4a49-a5bd-cb3d7ec5ff10" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json index 274b3010a34ad..4c960e8259d04 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json @@ -6,40 +6,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "55c76557-917b-4a87-813d-f06537fa8851", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f6076afd-67ce-44c9-bc16-f073d0d1673b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3471a63b-598f-45b8-82ca-c56edc0c2b0f", - "Content-Length": "9644", + "apim-request-id": "cdee484b-30fe-4ac1-ba37-8fdf33cc4194", + "Content-Length": "8241", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "213", + "x-envoy-upstream-service-time": "166", "x-ms-region": "West US 2", - "X-Request-ID": "3471a63b-598f-45b8-82ca-c56edc0c2b0f" + "X-Request-ID": "cdee484b-30fe-4ac1-ba37-8fdf33cc4194" }, "ResponseBody": { "value": [ { - "dataFeedId": "701b5e31-27ea-43e5-8f38-fea7e626ce97", - "dataFeedName": "java_create_data_feed_test_sample5e20ab32-6a55-4df6-9271-a1b5f23f3a2d", + "dataFeedId": "d2b62817-ec37-4f26-9690-a7d1189e15e5", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", "metrics": [ { - "metricId": "d6af6fdb-9a37-4ca5-b614-28bee27457a4", + "metricId": "2b264b33-e8b1-4380-9628-813041b87371", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "b83ac042-552e-492f-b072-5d37fb5e7200", + "metricId": "d31779a5-b369-4afd-80a5-e81385e4b9bf", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -56,7 +56,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureTable", + "dataSourceType": "AzureLogAnalytics", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -71,89 +71,34 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:48Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027", - "table": "adsample" + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" }, "authenticationType": "Basic" }, { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", - "metricName": "revenue", - "metricDisplayName": "revenue", - "metricDescription": "" - } - ], - "dimension": [ - { - "dimensionName": "category", - "dimensionDisplayName": "category" - }, - { - "dimensionName": "region", - "dimensionDisplayName": "region" - } - ], - "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataExplorer", - "timestampColumn": "", - "startOffsetInSeconds": 0, - "maxQueryPerMinute": 30.0, - "granularityName": "Daily", - "needRollup": "NoRollup", - "fillMissingPointType": "PreviousValue", - "fillMissingPointValue": 0.0, - "rollUpMethod": "None", - "dataFeedDescription": "", - "stopRetryAfterInSeconds": -1, - "minRetryIntervalInSeconds": -1, - "maxConcurrency": 0, - "viewMode": "Private", - "admins": [ - "xiangyan@microsoft.com" - ], - "viewers": [], - "creator": "xiangyan@microsoft.com", - "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", - "isAdmin": true, - "actionLinkTemplate": "", - "dataSourceParameter": { - "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" - }, - "authenticationType": "ServicePrincipal", - "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" - }, - { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", - "metrics": [ - { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", - "metricName": "cost", - "metricDisplayName": "cost", - "metricDescription": "" - }, - { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -185,32 +130,31 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, - "authenticationType": "ServicePrincipalInKV", - "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc" + "authenticationType": "Basic" }, { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -242,19 +186,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, - "authenticationType": "ServicePrincipalInKV", - "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16" + "authenticationType": "AzureSQLConnectionString", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", @@ -300,19 +244,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "yutongzhai@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "camaiaor@microsoft.com", - "kaghiya@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "yumeng@microsoft.com", - "chriss@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, @@ -366,10 +310,10 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-11-15T22:00:37Z", "isAdmin": true, @@ -427,18 +371,18 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "chriss@microsoft.com", - "yumeng@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "kaghiya@microsoft.com", - "camaiaor@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-09-02T22:04:59Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json index 194784adcd636..122e5789f1b8e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json @@ -6,28 +6,199 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "687abb51-ecaa-4eae-a738-7426b35302a0", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "12477645-b747-491d-bcb8-51d625e523d7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3c87d932-9391-4d08-a48d-d12980052741", - "Content-Length": "1499", + "apim-request-id": "146c392e-81d6-466e-ad34-f066a4e7c3d7", + "Content-Length": "5183", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "141", + "x-envoy-upstream-service-time": "115", "x-ms-region": "West US 2", - "X-Request-ID": "3c87d932-9391-4d08-a48d-d12980052741" + "X-Request-ID": "146c392e-81d6-466e-ad34-f066a4e7c3d7" }, "ResponseBody": { "value": [ + { + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", + "metrics": [ + { + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "metrics": [ + { + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "metrics": [ + { + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:20Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", "dataFeedName": "azBlobDataFeed", @@ -72,19 +243,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com", - "savaity@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "yumeng@microsoft.com", - "camaiaor@microsoft.com", - "chriss@microsoft.com", - "elraikhm@microsoft.com", - "yutongzhai@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json index 4fa3e8702d5af..c0c6cb07a19c5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json @@ -6,40 +6,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6dd83c23-0760-4276-9df5-106fb1f1678c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "301765f7-814e-4657-b38a-cc1be7eaa7d2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "37e4a20a-a8c7-4faa-9ba3-73d49ef3dc7b", - "Content-Length": "4070", + "apim-request-id": "8243bf06-bdf7-4e83-8697-4c2d7f989a7b", + "Content-Length": "5274", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "155", + "x-envoy-upstream-service-time": "136", "x-ms-region": "West US 2", - "X-Request-ID": "37e4a20a-a8c7-4faa-9ba3-73d49ef3dc7b" + "X-Request-ID": "8243bf06-bdf7-4e83-8697-4c2d7f989a7b" }, "ResponseBody": { "value": [ { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "ec12ba72-24db-4188-89f2-b4da2b5a20cf", + "dataFeedName": "java_data_feed_for_detectionfedbbd10-7872-412c-9be1-7cdf500b1ba0", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "41b644ce-0ab3-4d6f-8496-01f631882aad", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -56,7 +56,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataExplorer", + "dataSourceType": "SqlServer", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -71,31 +71,31 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:09Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "Basic" }, { - "dataFeedId": "44cd0715-7e6f-41cf-8e69-831a6e1935d0", - "dataFeedName": "java_data_feed_for_detectiona7aa40f2-1714-4535-93f4-409844dfd918", + "dataFeedId": "71983cf3-e968-4ec2-a407-80363cba3647", + "dataFeedName": "java_data_feed_for_detection9c917640-15dc-400d-9d58-5a3b9517ac59", "metrics": [ { - "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "d08b5790-b8db-4613-8829-68f1bfda3bbe", + "metricId": "d1f9232d-a523-41ba-9518-438b7ac58713", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -127,12 +127,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:09Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -140,6 +140,66 @@ }, "authenticationType": "Basic" }, + { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6" + }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", "dataFeedName": "azBlobDataFeed", @@ -184,19 +244,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com", - "savaity@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "yumeng@microsoft.com", - "camaiaor@microsoft.com", - "chriss@microsoft.com", - "elraikhm@microsoft.com", - "yutongzhai@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json index 0bdb86e55a611..f927228c7ffc8 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json @@ -6,40 +6,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "97961a71-7466-4778-8a05-89b69ee1b097", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "77eef490-9b5e-44aa-b542-03d49861394b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "147f948d-003e-4ac8-a50b-4188c98abf45", - "Content-Length": "3981", + "apim-request-id": "65f72955-1d6f-43dc-babf-5735c6da715f", + "Content-Length": "4052", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "150", + "x-envoy-upstream-service-time": "157", "x-ms-region": "West US 2", - "X-Request-ID": "147f948d-003e-4ac8-a50b-4188c98abf45" + "X-Request-ID": "65f72955-1d6f-43dc-babf-5735c6da715f" }, "ResponseBody": { "value": [ { - "dataFeedId": "ed4067cb-4f6c-489e-963a-767f1053d174", - "dataFeedName": "test_updated_dataFeed_name", + "dataFeedId": "d2b62817-ec37-4f26-9690-a7d1189e15e5", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", "metrics": [ { - "metricId": "ea45d844-8d12-4e42-bba5-5538fdff95aa", + "metricId": "2b264b33-e8b1-4380-9628-813041b87371", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "fd6fafa5-86a2-4e07-8cd5-33d25a681fe2", + "metricId": "d31779a5-b369-4afd-80a5-e81385e4b9bf", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -56,7 +56,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "SqlServer", + "dataSourceType": "AzureLogAnalytics", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -71,31 +71,34 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "select * from adsample2 where Timestamp = @StartTime" + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" }, "authenticationType": "Basic" }, { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -112,7 +115,7 @@ } ], "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "AzureDataExplorer", + "dataSourceType": "SqlServer", "timestampColumn": "", "startOffsetInSeconds": 0, "maxQueryPerMinute": 30.0, @@ -127,31 +130,31 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:28Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { - "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + "query": "select * from adsample2 where Timestamp = @StartTime" }, - "authenticationType": "ManagedIdentity" + "authenticationType": "Basic" }, { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -183,19 +186,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, - "authenticationType": "ServicePrincipal", - "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" + "authenticationType": "AzureSQLConnectionString", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" } ], "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3" @@ -207,142 +210,28 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "67d2defc-dda3-4e2b-a6d7-c88ba496da7a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cd495776-f452-475b-ad8f-6d5a0ad0a987", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "67e7b1d4-31b3-4951-aeb9-ba1bfff2d7a9", - "Content-Length": "4227", + "apim-request-id": "72366290-74b7-4f26-bb91-d1b440f9b5bb", + "Content-Length": "4452", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "159", + "x-envoy-upstream-service-time": "151", "x-ms-region": "West US 2", - "X-Request-ID": "67e7b1d4-31b3-4951-aeb9-ba1bfff2d7a9" + "X-Request-ID": "72366290-74b7-4f26-bb91-d1b440f9b5bb" }, "ResponseBody": { "value": [ - { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", - "metrics": [ - { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", - "metricName": "cost", - "metricDisplayName": "cost", - "metricDescription": "" - }, - { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", - "metricName": "revenue", - "metricDisplayName": "revenue", - "metricDescription": "" - } - ], - "dimension": [ - { - "dimensionName": "category", - "dimensionDisplayName": "category" - }, - { - "dimensionName": "region", - "dimensionDisplayName": "region" - } - ], - "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "SqlServer", - "timestampColumn": "", - "startOffsetInSeconds": 0, - "maxQueryPerMinute": 30.0, - "granularityName": "Daily", - "needRollup": "NoRollup", - "fillMissingPointType": "PreviousValue", - "fillMissingPointValue": 0.0, - "rollUpMethod": "None", - "dataFeedDescription": "", - "stopRetryAfterInSeconds": -1, - "minRetryIntervalInSeconds": -1, - "maxConcurrency": 0, - "viewMode": "Private", - "admins": [ - "xiangyan@microsoft.com" - ], - "viewers": [], - "creator": "xiangyan@microsoft.com", - "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", - "isAdmin": true, - "actionLinkTemplate": "", - "dataSourceParameter": { - "query": "select * from adsample2 where Timestamp = @StartTime" - }, - "authenticationType": "ServicePrincipal", - "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" - }, - { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", - "metrics": [ - { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", - "metricName": "cost", - "metricDisplayName": "cost", - "metricDescription": "" - }, - { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", - "metricName": "revenue", - "metricDisplayName": "revenue", - "metricDescription": "" - } - ], - "dimension": [ - { - "dimensionName": "category", - "dimensionDisplayName": "category" - }, - { - "dimensionName": "region", - "dimensionDisplayName": "region" - } - ], - "dataStartFrom": "2019-10-01T00:00:00Z", - "dataSourceType": "SqlServer", - "timestampColumn": "", - "startOffsetInSeconds": 0, - "maxQueryPerMinute": 30.0, - "granularityName": "Daily", - "needRollup": "NoRollup", - "fillMissingPointType": "PreviousValue", - "fillMissingPointValue": 0.0, - "rollUpMethod": "None", - "dataFeedDescription": "", - "stopRetryAfterInSeconds": -1, - "minRetryIntervalInSeconds": -1, - "maxConcurrency": 0, - "viewMode": "Private", - "admins": [ - "xiangyan@microsoft.com" - ], - "viewers": [], - "creator": "xiangyan@microsoft.com", - "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", - "isAdmin": true, - "actionLinkTemplate": "", - "dataSourceParameter": { - "query": "select * from adsample2 where Timestamp = @StartTime" - }, - "authenticationType": "ServicePrincipal", - "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644" - }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", "dataFeedName": "azBlobDataFeed", @@ -387,19 +276,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com", - "savaity@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "yumeng@microsoft.com", - "camaiaor@microsoft.com", - "chriss@microsoft.com", - "elraikhm@microsoft.com", - "yutongzhai@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, @@ -409,39 +298,7 @@ "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" }, "authenticationType": "Basic" - } - ], - "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" - } - }, - { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", - "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6a786bdd-91e2-4acc-8712-2c0591339620", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "aa705590-aa2d-4972-a2ef-a916f3e4ea81", - "Content-Length": "2878", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "157", - "x-ms-region": "West US 2", - "X-Request-ID": "aa705590-aa2d-4972-a2ef-a916f3e4ea81" - }, - "ResponseBody": { - "value": [ + }, { "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", "dataFeedName": "sample_datafeed", @@ -485,10 +342,10 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-11-15T22:00:37Z", "isAdmin": true, @@ -546,18 +403,18 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com", - "savaity@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "yumeng@microsoft.com", - "camaiaor@microsoft.com", - "chriss@microsoft.com", - "elraikhm@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-09-02T22:04:59Z", "isAdmin": true, @@ -567,7 +424,38 @@ }, "authenticationType": "Basic" } - ] + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" + } + }, + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a0ded537-50da-414b-a26d-c2b15a42db4b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ed630dc3-b22c-413a-9ec7-88ab24918896", + "Content-Length": "12", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131", + "x-ms-region": "West US 2", + "X-Request-ID": "ed630dc3-b22c-413a-9ec7-88ab24918896" + }, + "ResponseBody": { + "value": [] } } ], diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json index dc081a9218419..e1ce67399c5b7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "483", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "38f4be84-1b06-4e8c-853b-dc899397bf2f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f8fca1a4-334f-4ac6-8ba9-df718dc4f728", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_BLOB_create_data_feed_test_sample6e785a6f-ebb4-4443-9966-70585570a30d", + "dataFeedName": "java_BLOB_create_data_feed_test_sample5569fc5c-3edd-4730-b0e4-10d257d2b5d6", "granularityName": "Daily", "metrics": [ { @@ -45,56 +45,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "7ce38951-6300-432e-a66a-a2c8fb8a806d", + "apim-request-id": "5a291615-e990-4fea-8d7f-4bec432d72e0", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0fd404a5-b9bf-49b5-abb6-e13d42719103", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "875", + "x-envoy-upstream-service-time": "2000", "x-ms-region": "West US 2", - "X-Request-ID": "7ce38951-6300-432e-a66a-a2c8fb8a806d" + "X-Request-ID": "5a291615-e990-4fea-8d7f-4bec432d72e0" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0fd404a5-b9bf-49b5-abb6-e13d42719103", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "996b45b7-6295-4a3f-815e-669ee73b5d6d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "027c77f8-4fb4-47b3-9f5f-67ab5116cbd8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6b4715d5-fa80-41fd-aff6-245a45466176", - "Content-Length": "1242", + "apim-request-id": "6291305a-b24a-4e54-8232-0112906ae729", + "Content-Length": "1228", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "137", + "x-envoy-upstream-service-time": "155", "x-ms-region": "West US 2", - "X-Request-ID": "6b4715d5-fa80-41fd-aff6-245a45466176" + "X-Request-ID": "6291305a-b24a-4e54-8232-0112906ae729" }, "ResponseBody": { - "dataFeedId": "2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", - "dataFeedName": "java_BLOB_create_data_feed_test_sample6e785a6f-ebb4-4443-9966-70585570a30d", + "dataFeedId": "0fd404a5-b9bf-49b5-abb6-e13d42719103", + "dataFeedName": "java_BLOB_create_data_feed_test_sample5569fc5c-3edd-4730-b0e4-10d257d2b5d6", "metrics": [ { - "metricId": "982cf7f3-0565-4a6b-b52d-ca5ae2fc97e1", + "metricId": "67bfea03-3b96-4135-8f88-b0d8b10d1206", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "447295c5-ef1f-4722-b3b7-2a3714224fd0", + "metricId": "e0804703-2626-4e15-ab0f-425ee44ab753", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -126,12 +126,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:51Z", + "createdTime": "2023-04-17T23:00:31Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -148,16 +148,16 @@ "Accept": "application/json", "Content-Length": "480", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "848a5b08-e5f4-4521-baa9-9f7cdb47d2c7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0f25af6f-8869-4b7d-84b9-40bc38241521", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_SQL_create_data_feed_test_sample8a2fb70b-8757-440b-803d-edad73751ecc", + "dataFeedName": "java_SQL_create_data_feed_test_sampled51efb00-684f-4ddd-be47-cc3ab7540742", "granularityName": "Daily", "metrics": [ { @@ -185,56 +185,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "f21a8ba2-990c-4fb0-af6a-1f707693e6d0", + "apim-request-id": "ac2a7d91-9c70-4135-9a79-46aab26be30a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "535", + "x-envoy-upstream-service-time": "941", "x-ms-region": "West US 2", - "X-Request-ID": "f21a8ba2-990c-4fb0-af6a-1f707693e6d0" + "X-Request-ID": "ac2a7d91-9c70-4135-9a79-46aab26be30a" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "615b138e-6d1e-4521-95d9-bde4c7425fa2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "61880b2b-ee17-4ae0-91c8-880253fe5e95", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c761d111-bab0-4b7c-806d-f32f3c7820d4", - "Content-Length": "1239", + "apim-request-id": "a8697119-09fb-43b3-b8fd-fba3e68150f1", + "Content-Length": "1225", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "165", + "x-envoy-upstream-service-time": "142", "x-ms-region": "West US 2", - "X-Request-ID": "c761d111-bab0-4b7c-806d-f32f3c7820d4" + "X-Request-ID": "a8697119-09fb-43b3-b8fd-fba3e68150f1" }, "ResponseBody": { - "dataFeedId": "915e3101-4ae6-4831-8e53-2f94ca72d6a6", - "dataFeedName": "java_SQL_create_data_feed_test_sample8a2fb70b-8757-440b-803d-edad73751ecc", + "dataFeedId": "0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", + "dataFeedName": "java_SQL_create_data_feed_test_sampled51efb00-684f-4ddd-be47-cc3ab7540742", "metrics": [ { - "metricId": "f8af30b7-d6ee-4344-b417-74e4ed25a685", + "metricId": "a30fbe76-e5c7-4ad9-b5ea-ec06482c4355", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "df2e6580-fa21-426b-a2ce-d197f7e2bf22", + "metricId": "90c0b7f1-b1a7-4f86-9cea-a0cf1cfacd3c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -266,12 +266,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:52Z", + "createdTime": "2023-04-17T23:00:32Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -286,40 +286,40 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fdd6c51a-d496-41d5-84ef-e5cc27b9e549", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fb031452-ffee-4a86-b500-bdd9d5c8483a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e6719bd1-2129-44a0-969b-a9f279940fd9", - "Content-Length": "2494", + "apim-request-id": "7be17387-8496-4d92-aa93-844b0d3e7339", + "Content-Length": "2466", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "164", + "x-envoy-upstream-service-time": "132", "x-ms-region": "West US 2", - "X-Request-ID": "e6719bd1-2129-44a0-969b-a9f279940fd9" + "X-Request-ID": "7be17387-8496-4d92-aa93-844b0d3e7339" }, "ResponseBody": { "value": [ { - "dataFeedId": "915e3101-4ae6-4831-8e53-2f94ca72d6a6", - "dataFeedName": "java_SQL_create_data_feed_test_sample8a2fb70b-8757-440b-803d-edad73751ecc", + "dataFeedId": "0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", + "dataFeedName": "java_SQL_create_data_feed_test_sampled51efb00-684f-4ddd-be47-cc3ab7540742", "metrics": [ { - "metricId": "f8af30b7-d6ee-4344-b417-74e4ed25a685", + "metricId": "a30fbe76-e5c7-4ad9-b5ea-ec06482c4355", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "df2e6580-fa21-426b-a2ce-d197f7e2bf22", + "metricId": "90c0b7f1-b1a7-4f86-9cea-a0cf1cfacd3c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -351,12 +351,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:52Z", + "createdTime": "2023-04-17T23:00:32Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -365,17 +365,17 @@ "authenticationType": "Basic" }, { - "dataFeedId": "2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", - "dataFeedName": "java_BLOB_create_data_feed_test_sample6e785a6f-ebb4-4443-9966-70585570a30d", + "dataFeedId": "0fd404a5-b9bf-49b5-abb6-e13d42719103", + "dataFeedName": "java_BLOB_create_data_feed_test_sample5569fc5c-3edd-4730-b0e4-10d257d2b5d6", "metrics": [ { - "metricId": "982cf7f3-0565-4a6b-b52d-ca5ae2fc97e1", + "metricId": "67bfea03-3b96-4135-8f88-b0d8b10d1206", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "447295c5-ef1f-4722-b3b7-2a3714224fd0", + "metricId": "e0804703-2626-4e15-ab0f-425ee44ab753", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -407,12 +407,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:51Z", + "createdTime": "2023-04-17T23:00:31Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -425,56 +425,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2e3d9dbc-ce8e-467f-a5ca-2e261f9e78ef", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0fd404a5-b9bf-49b5-abb6-e13d42719103", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:53 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e71bcfeb-8e87-4008-90e3-e4c033e5202f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8c0812b5-bbb0-437b-a56a-f3e43f52772b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "6fa85d53-98c8-424d-841f-2e6076e89930", + "apim-request-id": "7cb48b3b-ec58-467a-ad02-765dbf2983dd", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "264", + "x-envoy-upstream-service-time": "367", "x-ms-region": "West US 2", - "X-Request-ID": "6fa85d53-98c8-424d-841f-2e6076e89930" + "X-Request-ID": "7cb48b3b-ec58-467a-ad02-765dbf2983dd" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/915e3101-4ae6-4831-8e53-2f94ca72d6a6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:53 GMT", + "Date": "Mon, 17 Apr 2023 23:00:34 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "06505c4a-5f6c-447c-9a8e-f52bac10d103", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dd172e84-08c2-4115-9cbc-64d7ab357f75", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "397768b1-2d1b-473a-9c46-14ad1a40b9ac", + "apim-request-id": "b07eb901-b334-4d1b-930b-1c6968a56a87", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:52 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "256", + "x-envoy-upstream-service-time": "422", "x-ms-region": "West US 2", - "X-Request-ID": "397768b1-2d1b-473a-9c46-14ad1a40b9ac" + "X-Request-ID": "b07eb901-b334-4d1b-930b-1c6968a56a87" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json index d1a948d9f5298..83e9d14d639f1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json @@ -6,29 +6,29 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ad81bc06-ac77-43d1-a87e-57ac44da42fb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "79e22bc2-bff0-4de8-9c01-26afbb7d9b55", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "30718841-628a-4679-8c43-8cf7feaffc97", + "apim-request-id": "5ac4aa66-da08-43ec-8a3f-480a164dce48", "Content-Length": "96", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "250", + "x-envoy-upstream-service-time": "233", "x-ms-region": "West US 2", - "X-Request-ID": "30718841-628a-4679-8c43-8cf7feaffc97" + "X-Request-ID": "5ac4aa66-da08-43ec-8a3f-480a164dce48" }, "ResponseBody": { - "latestSuccessTimestamp": "2023-04-11T00:00:00Z", - "latestActiveTimestamp": "2023-04-11T00:00:00Z" + "latestSuccessTimestamp": "2023-04-16T00:00:00Z", + "latestActiveTimestamp": "2023-04-16T00:00:00Z" } } ], diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json index 257e05740dae1..92576a259395e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a4fdf88c-6b61-4bc9-b626-9f03ebca7e6e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "362d149a-1b74-428d-af5e-d6557c3fe522", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,15 +20,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3354d9a0-dbf3-41d7-ab2b-eb5b3da42f1e", + "apim-request-id": "95152e8e-d49a-4dc4-9d93-928848c24c0d", "Content-Length": "5697", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "222", + "x-envoy-upstream-service-time": "212", "x-ms-region": "West US 2", - "X-Request-ID": "3354d9a0-dbf3-41d7-ab2b-eb5b3da42f1e" + "X-Request-ID": "95152e8e-d49a-4dc4-9d93-928848c24c0d" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json index cf896e5572a05..8b2343b59b4a7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8fcbf18b-dbc6-46e0-901e-7109c2a7f37a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "089ec4c0-ba70-495c-9074-71be68a7cf66", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,14 +20,14 @@ }, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "0ff5ac3c-aac0-4f80-b965-f8df9401dfe0", + "apim-request-id": "74ebecc4-27f5-4531-9386-691dd063ca99", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "218", + "x-envoy-upstream-service-time": "317", "x-ms-region": "West US 2", - "X-Request-ID": "0ff5ac3c-aac0-4f80-b965-f8df9401dfe0" + "X-Request-ID": "74ebecc4-27f5-4531-9386-691dd063ca99" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json index 4f42884e5079b..ad52143dac38d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json @@ -6,29 +6,29 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6cabbc05-ec46-4fb4-871c-7e16b04002b9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "67391b7c-43a0-4f82-871e-63d07ebdbef8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5b609d4c-ae0d-4424-8b1d-d69f876de104", + "apim-request-id": "387e14cc-cdb3-4cd9-a447-845e88b085f5", "Content-Length": "96", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "224", + "x-envoy-upstream-service-time": "207", "x-ms-region": "West US 2", - "X-Request-ID": "5b609d4c-ae0d-4424-8b1d-d69f876de104" + "X-Request-ID": "387e14cc-cdb3-4cd9-a447-845e88b085f5" }, "ResponseBody": { - "latestSuccessTimestamp": "2023-04-11T00:00:00Z", - "latestActiveTimestamp": "2023-04-11T00:00:00Z" + "latestSuccessTimestamp": "2023-04-16T00:00:00Z", + "latestActiveTimestamp": "2023-04-16T00:00:00Z" } } ], diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json index cd4842ff54b0d..ad32b70d781ff 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a9228e04-b473-42e8-8ef8-51be824f319f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7ac07900-20d3-4973-a978-72ff368c35e1", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,15 +20,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d64ba8dc-3884-459e-adbc-f03f7251bf6c", + "apim-request-id": "b6cd4c00-41b2-4e71-8ee1-409191e91448", "Content-Length": "5691", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "290", + "x-envoy-upstream-service-time": "293", "x-ms-region": "West US 2", - "X-Request-ID": "d64ba8dc-3884-459e-adbc-f03f7251bf6c" + "X-Request-ID": "b6cd4c00-41b2-4e71-8ee1-409191e91448" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json index 7af97fdf34e33..5c0e5a2f2f613 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "43b0e171-5ef1-4801-9e3e-9e52ee79aaca", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a79cc3b5-9820-45cf-b102-3c9e5aa8e6e0", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,14 +20,14 @@ }, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "5e86532f-6488-4bce-9674-f3e6f98bae0f", + "apim-request-id": "1515ec34-8147-4595-8804-21a135944c33", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "286", + "x-envoy-upstream-service-time": "307", "x-ms-region": "West US 2", - "X-Request-ID": "5e86532f-6488-4bce-9674-f3e6f98bae0f" + "X-Request-ID": "1515ec34-8147-4595-8804-21a135944c33" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json index 925bbd5872139..07b184bb4632c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "606", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3719f656-4483-4699-b5f7-e14f61c50b4c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ac0c9a7a-fc2e-4884-9ca8-bffc302af7aa", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "d4f94015-716f-4b5c-b236-1f3ea4510c53", + "apim-request-id": "20290c3b-31db-42fe-8c71-258ecab35a66", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "670", + "x-envoy-upstream-service-time": "1174", "x-ms-region": "West US 2", - "X-Request-ID": "d4f94015-716f-4b5c-b236-1f3ea4510c53" + "X-Request-ID": "20290c3b-31db-42fe-8c71-258ecab35a66" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "51a742cb-f2f3-498d-b9e6-0d3a9258c63e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ef8f2408-528d-4178-bbea-2e6305e8e6b8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "45890cda-6be4-4d09-b2f3-0f424e4e5fa1", - "Content-Length": "1242", + "apim-request-id": "69940149-e77f-48b3-a86a-508938c23a11", + "Content-Length": "1228", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "180", + "x-envoy-upstream-service-time": "210", "x-ms-region": "West US 2", - "X-Request-ID": "45890cda-6be4-4d09-b2f3-0f424e4e5fa1" + "X-Request-ID": "69940149-e77f-48b3-a86a-508938c23a11" }, "ResponseBody": { - "dataFeedId": "ac5525b0-31e0-4d58-ba02-afeb8560bcf6", - "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", "metrics": [ { - "metricId": "836448ee-db2a-40b1-ad49-8373e41d54b4", + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "811b9e11-e89e-46b7-b835-5178016d651b", + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:40Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -146,22 +146,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "666", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b6ec14d6-be90-4329-b6ce-e48f5108ebec", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ecbd8159-4df7-4384-94db-48e60523cb02", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -174,7 +174,7 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", @@ -188,28 +188,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "706390a4-54f4-4cf9-8ac7-a0c8cc6cf5d4", - "Content-Length": "1252", + "apim-request-id": "d4343bec-58e3-4889-a492-ea19921788a1", + "Content-Length": "1238", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "492", + "x-envoy-upstream-service-time": "473", "x-ms-region": "West US 2", - "X-Request-ID": "706390a4-54f4-4cf9-8ac7-a0c8cc6cf5d4" + "X-Request-ID": "d4343bec-58e3-4889-a492-ea19921788a1" }, "ResponseBody": { - "dataFeedId": "ac5525b0-31e0-4d58-ba02-afeb8560bcf6", - "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", "metrics": [ { - "metricId": "836448ee-db2a-40b1-ad49-8373e41d54b4", + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "811b9e11-e89e-46b7-b835-5178016d651b", + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -241,12 +241,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:40Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -257,43 +257,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d600e00b-b4a6-41c0-ac8e-1b4acf600da5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ae53433d-d6e3-4cc1-8efa-2982fa95d983", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "641cf0a6-5df1-45fe-96fa-f5d852529575", - "Content-Length": "1252", + "apim-request-id": "c7e44ef8-31b1-4d35-a5c2-71d068513aa6", + "Content-Length": "1238", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "162", + "x-envoy-upstream-service-time": "144", "x-ms-region": "West US 2", - "X-Request-ID": "641cf0a6-5df1-45fe-96fa-f5d852529575" + "X-Request-ID": "c7e44ef8-31b1-4d35-a5c2-71d068513aa6" }, "ResponseBody": { - "dataFeedId": "ac5525b0-31e0-4d58-ba02-afeb8560bcf6", - "dataFeedName": "java_create_data_feed_test_sample732f0969-783a-458d-af94-85ed31a340a1", + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", "metrics": [ { - "metricId": "836448ee-db2a-40b1-ad49-8373e41d54b4", + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "811b9e11-e89e-46b7-b835-5178016d651b", + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -325,12 +325,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:40Z", + "createdTime": "2023-04-17T23:00:21Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -341,29 +341,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ac5525b0-31e0-4d58-ba02-afeb8560bcf6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "58e5dc70-0ae7-468f-b4e2-7239f6a7d0d8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "172185ea-4beb-4d2b-b9eb-6e0203ee2f6e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "9fc5cafd-5af5-472d-9d33-1b5f306369e7", + "apim-request-id": "c853dd8e-1c81-4046-8a7e-a449db37603f", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "267", + "x-envoy-upstream-service-time": "320", "x-ms-region": "West US 2", - "X-Request-ID": "9fc5cafd-5af5-472d-9d33-1b5f306369e7" + "X-Request-ID": "c853dd8e-1c81-4046-8a7e-a449db37603f" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json index 7957521f2b126..3c08c6f657e99 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "703", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3638103d-eeb0-47aa-a1b3-5a4089b40bab", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "69264c5d-2b16-4c2c-8b48-4477aedb8326", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "d93d764d-face-43c7-b252-57a08f4c3b7d", + "apim-request-id": "4f0cee30-d1ec-4c16-b95c-f5bf26c2666b", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "998", + "x-envoy-upstream-service-time": "1292", "x-ms-region": "West US 2", - "X-Request-ID": "d93d764d-face-43c7-b252-57a08f4c3b7d" + "X-Request-ID": "4f0cee30-d1ec-4c16-b95c-f5bf26c2666b" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d69fd7d1-06b7-4ea7-bb47-fbf9d9f5efb2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f5b26ba9-24a6-4bd6-a5af-a607574a2fd4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6bd0d47c-f6db-42dc-bf78-36744e3f52ef", - "Content-Length": "1339", + "apim-request-id": "445186d8-80ab-4c66-b43a-f6ee9192f807", + "Content-Length": "1325", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "404", + "x-envoy-upstream-service-time": "135", "x-ms-region": "West US 2", - "X-Request-ID": "6bd0d47c-f6db-42dc-bf78-36744e3f52ef" + "X-Request-ID": "445186d8-80ab-4c66-b43a-f6ee9192f807" }, "ResponseBody": { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,22 +144,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "763", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "7d8e84b2-852e-4825-a69c-2e34a5aa1a61", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2a83bd0a-f91c-428e-96d2-42edf7efe412", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -172,7 +172,7 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", @@ -185,28 +185,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b1195afc-3e46-4243-a5a9-6876665c1d42", - "Content-Length": "1349", + "apim-request-id": "f34f2e41-2639-4895-99c7-39e38b56fdea", + "Content-Length": "1335", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "708", + "x-envoy-upstream-service-time": "492", "x-ms-region": "West US 2", - "X-Request-ID": "b1195afc-3e46-4243-a5a9-6876665c1d42" + "X-Request-ID": "f34f2e41-2639-4895-99c7-39e38b56fdea" }, "ResponseBody": { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -238,12 +238,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -253,43 +253,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "83993b0f-c686-4ff5-b3d6-2d80202c8fb2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "388daecd-f1b9-4852-925f-98aa96977c73", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c8677269-cf9f-40d7-831e-56c59e1ee468", - "Content-Length": "1349", + "apim-request-id": "04709691-fc56-4689-a11a-dbee047989fb", + "Content-Length": "1335", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "281", + "x-envoy-upstream-service-time": "131", "x-ms-region": "West US 2", - "X-Request-ID": "c8677269-cf9f-40d7-831e-56c59e1ee468" + "X-Request-ID": "04709691-fc56-4689-a11a-dbee047989fb" }, "ResponseBody": { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -321,12 +321,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -342,16 +342,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "479529f1-6ec8-407e-9743-b99a87601cc1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f589c822-e5e3-4eb7-8f3c-11b5ee1d26e6", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_spb28677ce-1f3c-4a76-b8e5-a1562ac94221", + "dataSourceCredentialName": "java_create_data_source_cred_spc2b5855c-8bf4-4e3b-b517-976dd8a04884", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -360,47 +360,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "34db4b0c-7ea6-4f7c-a487-c89c17a926bf", + "apim-request-id": "e4f2366e-8ae0-4780-b5ae-517dd415241d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/ab77702e-8c09-48cb-9a92-bb5360deb883", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/cbb99367-ffe0-4f5d-ba4c-805466bb13a7", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "289", + "x-envoy-upstream-service-time": "308", "x-ms-region": "West US 2", - "X-Request-ID": "34db4b0c-7ea6-4f7c-a487-c89c17a926bf" + "X-Request-ID": "e4f2366e-8ae0-4780-b5ae-517dd415241d" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ab77702e-8c09-48cb-9a92-bb5360deb883", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/cbb99367-ffe0-4f5d-ba4c-805466bb13a7", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "273773e3-3359-4909-bcc0-2e16f58d22c7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8cdb77b2-81b4-41ea-88e8-e327e469ea65", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "23dc1fb5-e6e9-414e-866c-9f6a467261db", + "apim-request-id": "9fd476ad-2d2b-439c-8abb-51f13fb6807a", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "107", + "x-envoy-upstream-service-time": "102", "x-ms-region": "West US 2", - "X-Request-ID": "23dc1fb5-e6e9-414e-866c-9f6a467261db" + "X-Request-ID": "9fd476ad-2d2b-439c-8abb-51f13fb6807a" }, "ResponseBody": { - "dataSourceCredentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883", - "dataSourceCredentialName": "java_create_data_source_cred_spb28677ce-1f3c-4a76-b8e5-a1562ac94221", + "dataSourceCredentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7", + "dataSourceCredentialName": "java_create_data_source_cred_spc2b5855c-8bf4-4e3b-b517-976dd8a04884", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -410,22 +410,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "818", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e7d6fcb0-8d98-47a9-abe4-7b716a8a6bff", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3e7feee2-127e-4e80-90f3-0a2abb823ae5", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -438,13 +438,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipal", - "credentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883", + "credentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7", "dataSourceParameter": { "connectionString": "REDACTED", "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" @@ -452,28 +452,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c6a0ab19-1a5d-43d1-80db-f9fb2161e473", - "Content-Length": "1404", + "apim-request-id": "79614271-3747-41be-b840-b95b88d3fafa", + "Content-Length": "1390", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "617", + "x-envoy-upstream-service-time": "578", "x-ms-region": "West US 2", - "X-Request-ID": "c6a0ab19-1a5d-43d1-80db-f9fb2161e473" + "X-Request-ID": "79614271-3747-41be-b840-b95b88d3fafa" }, "ResponseBody": { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -505,59 +505,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883" + "credentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "91c954cc-56a2-4e09-bb29-037bc7b9adfb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f9a1605e-d625-4848-92ac-eb1796b617a0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7d9e4fcb-1beb-4334-a941-8c9559907393", - "Content-Length": "1404", + "apim-request-id": "33aec752-562d-4764-8d41-37206bfe60ea", + "Content-Length": "1390", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "139", + "x-envoy-upstream-service-time": "152", "x-ms-region": "West US 2", - "X-Request-ID": "7d9e4fcb-1beb-4334-a941-8c9559907393" + "X-Request-ID": "33aec752-562d-4764-8d41-37206bfe60ea" }, "ResponseBody": { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -589,19 +589,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "ab77702e-8c09-48cb-9a92-bb5360deb883" + "credentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7" } }, { @@ -611,18 +611,18 @@ "Accept": "application/json", "Content-Length": "510", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ab4c7ae2-6591-4aae-8fe8-2c5891f507ca", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f6a05453-caa4-4177-9d87-1d7b82ab5910", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipalInKV", - "dataSourceCredentialName": "java_create_data_source_cred_spkva22c135b-d7b2-4649-b7c3-8f28e0566894", + "dataSourceCredentialName": "java_create_data_source_cred_spkv96cd17ce-5020-430d-8115-0b198aaa08a2", "parameters": { - "keyVaultEndpoint": "https://2dd2544d-efad-4de0-a604-0d72b8c8d642.vault.azure.net", + "keyVaultEndpoint": "https://b1a9c603-8521-4fa7-add1-dbe53901faf4.vault.azure.net", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", "servicePrincipalIdNameInKV": "DSClientID_1", @@ -632,47 +632,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "7a521104-e759-4f85-a53a-df27238ed2eb", + "apim-request-id": "ea2880dd-7d9b-4ee5-9d9d-ef18f00b0d03", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/37567453-849e-4144-a4bc-3a0dbd2eedbf", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/20e081f0-b1c9-4086-b67a-a96100987f9f", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "280", + "x-envoy-upstream-service-time": "326", "x-ms-region": "West US 2", - "X-Request-ID": "7a521104-e759-4f85-a53a-df27238ed2eb" + "X-Request-ID": "ea2880dd-7d9b-4ee5-9d9d-ef18f00b0d03" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/37567453-849e-4144-a4bc-3a0dbd2eedbf", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/20e081f0-b1c9-4086-b67a-a96100987f9f", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b39239be-b8ea-490f-8654-df55f2e4392f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fd49988f-e81f-41e0-8a88-930615ccd10c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ea685741-00c4-4f92-8fd0-d3ac58c91a13", + "apim-request-id": "10e63d53-f86a-44ee-81ea-9904f3488216", "Content-Length": "549", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "116", + "x-envoy-upstream-service-time": "144", "x-ms-region": "West US 2", - "X-Request-ID": "ea685741-00c4-4f92-8fd0-d3ac58c91a13" + "X-Request-ID": "10e63d53-f86a-44ee-81ea-9904f3488216" }, "ResponseBody": { - "dataSourceCredentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf", - "dataSourceCredentialName": "java_create_data_source_cred_spkva22c135b-d7b2-4649-b7c3-8f28e0566894", + "dataSourceCredentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f", + "dataSourceCredentialName": "java_create_data_source_cred_spkv96cd17ce-5020-430d-8115-0b198aaa08a2", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipalInKV", "parameters": { @@ -680,27 +680,27 @@ "servicePrincipalIdNameInKV": "DSClientID_1", "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", - "keyVaultEndpoint": "https://2dd2544d-efad-4de0-a604-0d72b8c8d642.vault.azure.net" + "keyVaultEndpoint": "https://b1a9c603-8521-4fa7-add1-dbe53901faf4.vault.azure.net" } } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "822", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0d931aaa-3f53-4e3b-910a-1c1ad906d656", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e8bb820b-41b6-466e-8f5d-b6fa7b020406", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -713,13 +713,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipalInKV", - "credentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf", + "credentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f", "dataSourceParameter": { "connectionString": "REDACTED", "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" @@ -727,28 +727,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6161bcc0-a8b5-4ef6-b908-abc4d317edbf", - "Content-Length": "1408", + "apim-request-id": "a491cca6-4ea0-4d37-8dd5-9a371fb827fb", + "Content-Length": "1394", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "516", + "x-envoy-upstream-service-time": "683", "x-ms-region": "West US 2", - "X-Request-ID": "6161bcc0-a8b5-4ef6-b908-abc4d317edbf" + "X-Request-ID": "a491cca6-4ea0-4d37-8dd5-9a371fb827fb" }, "ResponseBody": { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -780,59 +780,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf" + "credentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ad9d2bc3-78e3-4ff5-a98a-0ae26567daa5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "33236bf3-66c6-404c-96a1-19865d1d88c0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "653de3d5-b6b3-469e-954a-2cb1cc49e399", - "Content-Length": "1408", + "apim-request-id": "d658ea3a-4200-47db-8c64-3bf431e2f6ff", + "Content-Length": "1394", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "144", + "x-envoy-upstream-service-time": "199", "x-ms-region": "West US 2", - "X-Request-ID": "653de3d5-b6b3-469e-954a-2cb1cc49e399" + "X-Request-ID": "d658ea3a-4200-47db-8c64-3bf431e2f6ff" }, "ResponseBody": { - "dataFeedId": "580d2651-4c62-4263-9377-68c6c6d6e91f", - "dataFeedName": "java_create_data_feed_test_sample04dec666-a4bc-40c2-8c1f-a5c882d991cd", + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", "metrics": [ { - "metricId": "663934b1-ddef-4dc1-9166-2f5cabb7e4f6", + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "dddd9bfd-00ef-46e0-a62f-0a40022f7f76", + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -864,99 +864,99 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:15Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "37567453-849e-4144-a4bc-3a0dbd2eedbf" + "credentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/580d2651-4c62-4263-9377-68c6c6d6e91f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "803a0e39-f1b1-4738-998e-c3b47392b344", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "708b6893-57ad-4cf5-b17e-6ecb90779a22", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "85d51067-dc1e-4a5e-8207-b797561d5a10", + "apim-request-id": "5501717e-7fce-4315-b4f0-9124ed3af5a2", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "242", + "x-envoy-upstream-service-time": "357", "x-ms-region": "West US 2", - "X-Request-ID": "85d51067-dc1e-4a5e-8207-b797561d5a10" + "X-Request-ID": "5501717e-7fce-4315-b4f0-9124ed3af5a2" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ab77702e-8c09-48cb-9a92-bb5360deb883", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/cbb99367-ffe0-4f5d-ba4c-805466bb13a7", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "915d71a4-1880-4224-8f3f-1d40bd0c4534", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6e1b6a61-b5ca-4c2d-b106-c0f1ffc5427f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "5620c16e-6eaf-494f-9354-a213a5344a1b", + "apim-request-id": "6533cce4-2554-497e-adbf-8181ece0c438", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "108", + "x-envoy-upstream-service-time": "147", "x-ms-region": "West US 2", - "X-Request-ID": "5620c16e-6eaf-494f-9354-a213a5344a1b" + "X-Request-ID": "6533cce4-2554-497e-adbf-8181ece0c438" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/37567453-849e-4144-a4bc-3a0dbd2eedbf", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/20e081f0-b1c9-4086-b67a-a96100987f9f", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d08c5981-66fc-4276-ae06-053e01eb9f0a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e6a40430-ebf5-4276-9bef-12632a854c4e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "67328657-94e5-4b9a-9cfb-40e1cfff87d7", + "apim-request-id": "a1777142-14b4-4882-9eda-6fbb71cd9087", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111", + "x-envoy-upstream-service-time": "114", "x-ms-region": "West US 2", - "X-Request-ID": "67328657-94e5-4b9a-9cfb-40e1cfff87d7" + "X-Request-ID": "a1777142-14b4-4882-9eda-6fbb71cd9087" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json index f9110b8b8500a..1946319be1372 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "660", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f3819a3b-829c-478e-90b1-acf87e8eabb4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d6cb8073-4fb9-4878-bd10-fa5498960e67", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "granularityName": "Daily", "metrics": [ { @@ -51,56 +51,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "123aa251-62d3-4129-b7fd-08037094d214", + "apim-request-id": "275064dc-765f-4203-be6d-63c4b61ff2a4", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "685", + "x-envoy-upstream-service-time": "881", "x-ms-region": "West US 2", - "X-Request-ID": "123aa251-62d3-4129-b7fd-08037094d214" + "X-Request-ID": "275064dc-765f-4203-be6d-63c4b61ff2a4" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b29166e1-9922-46da-855c-a76f4eade406", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e946e124-2093-41ec-b404-51523ec816d8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "89b53ed6-78da-4d9a-8f86-ad3487d1e22c", - "Content-Length": "1302", + "apim-request-id": "30c247f7-7e98-4534-a8c6-66b15997906b", + "Content-Length": "1288", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "162", + "x-envoy-upstream-service-time": "175", "x-ms-region": "West US 2", - "X-Request-ID": "89b53ed6-78da-4d9a-8f86-ad3487d1e22c" + "X-Request-ID": "30c247f7-7e98-4534-a8c6-66b15997906b" }, "ResponseBody": { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "metrics": [ { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -132,12 +132,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -156,85 +156,85 @@ "Accept": "application/json", "Content-Length": "195", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "20597510-420f-41f9-8079-8cdffc75d9aa", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "debffffc-b8be-4210-b73d-f2612a516f23", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "DataLakeGen2SharedKey", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen38aab27d-88d9-4f15-b82e-caf42f719578", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3937a40f-c3e4-4dc8-971c-e883e934a449", "parameters": { "accountKey": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "d7dcc7f7-53e6-433e-81b4-84163c917f64", + "apim-request-id": "bbc00897-35a7-4236-854b-a9b8adf976a5", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/773bc94c-5636-4327-89e4-18cb21628ad2", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/307262ea-1be6-4b60-b079-a4f06c174664", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "286", + "x-envoy-upstream-service-time": "341", "x-ms-region": "West US 2", - "X-Request-ID": "d7dcc7f7-53e6-433e-81b4-84163c917f64" + "X-Request-ID": "bbc00897-35a7-4236-854b-a9b8adf976a5" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/773bc94c-5636-4327-89e4-18cb21628ad2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/307262ea-1be6-4b60-b079-a4f06c174664", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "497a4e8f-cf04-4cf0-bdd6-e371429758ac", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "33260bc2-e3be-4e3e-b186-b2e4034ccee8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "dede4379-c09d-40cb-9d38-dc76c192f2d1", + "apim-request-id": "8ecadca5-c27e-4155-b61a-83bfe128983c", "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "112", + "x-envoy-upstream-service-time": "128", "x-ms-region": "West US 2", - "X-Request-ID": "dede4379-c09d-40cb-9d38-dc76c192f2d1" + "X-Request-ID": "8ecadca5-c27e-4155-b61a-83bfe128983c" }, "ResponseBody": { - "dataSourceCredentialId": "773bc94c-5636-4327-89e4-18cb21628ad2", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen38aab27d-88d9-4f15-b82e-caf42f719578", + "dataSourceCredentialId": "307262ea-1be6-4b60-b079-a4f06c174664", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3937a40f-c3e4-4dc8-971c-e883e934a449", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "756", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1071f380-2718-4833-8dc0-8605c689b25c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a82af0bf-3206-4c48-9432-6891eee79a85", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -247,13 +247,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "DataLakeGen2SharedKey", - "credentialId": "773bc94c-5636-4327-89e4-18cb21628ad2", + "credentialId": "307262ea-1be6-4b60-b079-a4f06c174664", "dataSourceParameter": { "accountName": "REDACTED", "fileSystemName": "adsample", @@ -263,28 +263,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "57b8c6d6-8775-48db-ba05-841318c7da60", - "Content-Length": "1372", + "apim-request-id": "cab11b8f-e0b8-4466-8a97-58a0b6744499", + "Content-Length": "1358", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "841", + "x-envoy-upstream-service-time": "891", "x-ms-region": "West US 2", - "X-Request-ID": "57b8c6d6-8775-48db-ba05-841318c7da60" + "X-Request-ID": "cab11b8f-e0b8-4466-8a97-58a0b6744499" }, "ResponseBody": { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "metrics": [ { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -316,12 +316,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -331,47 +331,47 @@ "fileSystemName": "adsample" }, "authenticationType": "DataLakeGen2SharedKey", - "credentialId": "773bc94c-5636-4327-89e4-18cb21628ad2" + "credentialId": "307262ea-1be6-4b60-b079-a4f06c174664" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ad4f2dec-4570-40d4-919e-7cd2573a3490", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "80d360b6-3a01-4eb6-bc87-b51e782e42c1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "211e49f4-cc3f-4be6-9783-d05f3cd6b77b", - "Content-Length": "1372", + "apim-request-id": "5d48839f-f9ff-4ebc-9527-fb6571d5ac7c", + "Content-Length": "1358", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "191", + "x-envoy-upstream-service-time": "163", "x-ms-region": "West US 2", - "X-Request-ID": "211e49f4-cc3f-4be6-9783-d05f3cd6b77b" + "X-Request-ID": "5d48839f-f9ff-4ebc-9527-fb6571d5ac7c" }, "ResponseBody": { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "metrics": [ { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -403,12 +403,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -418,7 +418,7 @@ "fileSystemName": "adsample" }, "authenticationType": "DataLakeGen2SharedKey", - "credentialId": "773bc94c-5636-4327-89e4-18cb21628ad2" + "credentialId": "307262ea-1be6-4b60-b079-a4f06c174664" } }, { @@ -428,16 +428,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0539020c-dcb5-4d57-89b4-0eae21cc780f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2ba08fd2-e620-4949-85a9-e41459609f69", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_spb37d8b30-20af-414e-9d72-9819fc888b98", + "dataSourceCredentialName": "java_create_data_source_cred_sp3a195ff5-bdeb-4d1c-8daf-79b792024656", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -446,47 +446,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "94ae0aca-2bd3-4792-aaea-9d1c3efd8dec", + "apim-request-id": "88448e9d-41c8-4834-86c3-69f3aa9858a9", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d7796fd0-cc34-482e-9df0-86906f7a380e", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/4535072b-7ac3-45bb-a1c8-92a7860773b6", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "310", + "x-envoy-upstream-service-time": "629", "x-ms-region": "West US 2", - "X-Request-ID": "94ae0aca-2bd3-4792-aaea-9d1c3efd8dec" + "X-Request-ID": "88448e9d-41c8-4834-86c3-69f3aa9858a9" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d7796fd0-cc34-482e-9df0-86906f7a380e", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4535072b-7ac3-45bb-a1c8-92a7860773b6", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fc5c8ce3-d9cb-4d84-8ac2-ebc98233c343", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "eba7be01-3913-485f-a160-a4d7d019cdd9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "203f7fc7-8f44-4efa-8d2b-7aeadf0373d5", + "apim-request-id": "1251e315-7091-4400-bcb9-c6785fea51e6", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "122", + "x-envoy-upstream-service-time": "113", "x-ms-region": "West US 2", - "X-Request-ID": "203f7fc7-8f44-4efa-8d2b-7aeadf0373d5" + "X-Request-ID": "1251e315-7091-4400-bcb9-c6785fea51e6" }, "ResponseBody": { - "dataSourceCredentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e", - "dataSourceCredentialName": "java_create_data_source_cred_spb37d8b30-20af-414e-9d72-9819fc888b98", + "dataSourceCredentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6", + "dataSourceCredentialName": "java_create_data_source_cred_sp3a195ff5-bdeb-4d1c-8daf-79b792024656", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -496,22 +496,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "751", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1bca9967-192e-4e4b-a12d-f01918a1b607", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "06c1a545-87f2-4b11-9466-4ac3b300ff73", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -524,13 +524,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipal", - "credentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e", + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6", "dataSourceParameter": { "accountName": "REDACTED", "fileSystemName": "adsample", @@ -540,28 +540,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "09cb00e6-3cd5-46ce-a5a6-6e8856cc3825", - "Content-Length": "1367", + "apim-request-id": "937a46d8-f039-49d6-bb99-75210ad454d8", + "Content-Length": "1353", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "655", + "x-envoy-upstream-service-time": "641", "x-ms-region": "West US 2", - "X-Request-ID": "09cb00e6-3cd5-46ce-a5a6-6e8856cc3825" + "X-Request-ID": "937a46d8-f039-49d6-bb99-75210ad454d8" }, "ResponseBody": { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "metrics": [ { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -593,12 +593,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -608,47 +608,47 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipal", - "credentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e" + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fe7b88ee-617e-4c26-917c-b071646e29f9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "350e8af1-9c26-47fe-8b54-3e16f6d0f8a6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a616ac9c-89a9-417a-bad2-4b0f579e5d8e", - "Content-Length": "1367", + "apim-request-id": "afedc555-c1c8-46ab-9829-d45af4d1f5c3", + "Content-Length": "1353", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "204", + "x-envoy-upstream-service-time": "159", "x-ms-region": "West US 2", - "X-Request-ID": "a616ac9c-89a9-417a-bad2-4b0f579e5d8e" + "X-Request-ID": "afedc555-c1c8-46ab-9829-d45af4d1f5c3" }, "ResponseBody": { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "metrics": [ { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -680,12 +680,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -695,7 +695,7 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipal", - "credentialId": "d7796fd0-cc34-482e-9df0-86906f7a380e" + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6" } }, { @@ -705,18 +705,18 @@ "Accept": "application/json", "Content-Length": "510", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8c1fc499-8cd9-41d7-a820-909292ddf45d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fb43592c-1683-459f-a8d4-c39f582f7af3", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipalInKV", - "dataSourceCredentialName": "java_create_data_source_cred_spkvb27bf8e3-5df2-4fc1-b564-5dd683e0a11f", + "dataSourceCredentialName": "java_create_data_source_cred_spkv062bafa4-9053-410d-956a-b3c827b082a6", "parameters": { - "keyVaultEndpoint": "https://a3ee2736-f6e6-4fe2-8fdd-c9ee67584aa5.vault.azure.net", + "keyVaultEndpoint": "https://2d3fc599-c21f-44e5-8689-fce9433c3b1b.vault.azure.net", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", "servicePrincipalIdNameInKV": "DSClientID_1", @@ -726,47 +726,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "6819c59a-287a-4a5f-ac7c-a88587772320", + "apim-request-id": "21b95036-6dae-483e-8766-9ba31b1d821a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/d3f0f6cd-f16e-425d-b410-f238acd8981e", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "364", + "x-envoy-upstream-service-time": "407", "x-ms-region": "West US 2", - "X-Request-ID": "6819c59a-287a-4a5f-ac7c-a88587772320" + "X-Request-ID": "21b95036-6dae-483e-8766-9ba31b1d821a" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d3f0f6cd-f16e-425d-b410-f238acd8981e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c5310380-5f0f-4c8c-940f-5e19e8257e65", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3e9bde70-b164-4e46-a023-2f34d9e48825", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9ee55cba-52c8-4d00-b940-edda8acba33f", + "apim-request-id": "38c13c4c-99fb-4daf-8078-f3a400fef2c2", "Content-Length": "549", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "108", + "x-envoy-upstream-service-time": "89", "x-ms-region": "West US 2", - "X-Request-ID": "9ee55cba-52c8-4d00-b940-edda8acba33f" + "X-Request-ID": "38c13c4c-99fb-4daf-8078-f3a400fef2c2" }, "ResponseBody": { - "dataSourceCredentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", - "dataSourceCredentialName": "java_create_data_source_cred_spkvb27bf8e3-5df2-4fc1-b564-5dd683e0a11f", + "dataSourceCredentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e", + "dataSourceCredentialName": "java_create_data_source_cred_spkv062bafa4-9053-410d-956a-b3c827b082a6", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipalInKV", "parameters": { @@ -774,27 +774,27 @@ "servicePrincipalIdNameInKV": "DSClientID_1", "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", - "keyVaultEndpoint": "https://a3ee2736-f6e6-4fe2-8fdd-c9ee67584aa5.vault.azure.net" + "keyVaultEndpoint": "https://2d3fc599-c21f-44e5-8689-fce9433c3b1b.vault.azure.net" } } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "755", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3a90d2ce-35bf-42c7-a4d0-045b916057e5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "88fc9c87-9368-48c3-8c6f-a08f27a0b27c", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -807,13 +807,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipalInKV", - "credentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "credentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e", "dataSourceParameter": { "accountName": "REDACTED", "fileSystemName": "adsample", @@ -823,28 +823,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4c3a14b2-012e-4609-95a1-7bd0e109781f", - "Content-Length": "1371", + "apim-request-id": "3aad24fd-1b68-449b-8af5-c3d9f7cda2b0", + "Content-Length": "1357", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "620", + "x-envoy-upstream-service-time": "756", "x-ms-region": "West US 2", - "X-Request-ID": "4c3a14b2-012e-4609-95a1-7bd0e109781f" + "X-Request-ID": "3aad24fd-1b68-449b-8af5-c3d9f7cda2b0" }, "ResponseBody": { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "metrics": [ { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -876,12 +876,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -891,47 +891,47 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e" + "credentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "eda04c9c-4248-4cef-b0e1-a31b2d9240f6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b9eb38d5-0fd2-4f85-bc65-4fd0e938ee8a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f61e1fdf-9173-4cf8-952c-a3855d2f5471", - "Content-Length": "1371", + "apim-request-id": "e1e3eac9-7350-4ce2-8e0e-bd1942a099ce", + "Content-Length": "1357", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143", + "x-envoy-upstream-service-time": "139", "x-ms-region": "West US 2", - "X-Request-ID": "f61e1fdf-9173-4cf8-952c-a3855d2f5471" + "X-Request-ID": "e1e3eac9-7350-4ce2-8e0e-bd1942a099ce" }, "ResponseBody": { - "dataFeedId": "46f72c1c-b236-4863-bfc4-0db536052af5", - "dataFeedName": "java_create_data_feed_test_sample13efb1a4-b538-4bc0-ad25-8d5c9f253b98", + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", "metrics": [ { - "metricId": "a7b17887-0b86-47e8-b6a6-5baf68d866a2", + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "a8b583e3-f30e-4070-a105-17ec16fac8d1", + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -963,12 +963,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:25Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -978,114 +978,114 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "a6b3ed07-d9f9-428f-81a5-64bb934e3d8e" + "credentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/46f72c1c-b236-4863-bfc4-0db536052af5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9db91991-cb41-47a7-8b21-48d92919d77e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ff6f6e48-c044-46e2-9c1a-421c8d41cb35", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "5124957e-269e-4ad6-9fd4-312f2705f8c1", + "apim-request-id": "aad97c47-93f1-4e46-a386-00b5e64d2805", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "421", + "x-envoy-upstream-service-time": "643", "x-ms-region": "West US 2", - "X-Request-ID": "5124957e-269e-4ad6-9fd4-312f2705f8c1" + "X-Request-ID": "aad97c47-93f1-4e46-a386-00b5e64d2805" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/773bc94c-5636-4327-89e4-18cb21628ad2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/307262ea-1be6-4b60-b079-a4f06c174664", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c7ebe575-80e8-4b34-9fc2-3bc1878020df", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44c02ba2-be16-4322-8c5a-be08e33ca625", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "19a17812-6f51-49dd-94e9-c1a113224a59", + "apim-request-id": "87a60e8d-3638-4e36-826d-b2c1da5da8cf", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "157", + "x-envoy-upstream-service-time": "115", "x-ms-region": "West US 2", - "X-Request-ID": "19a17812-6f51-49dd-94e9-c1a113224a59" + "X-Request-ID": "87a60e8d-3638-4e36-826d-b2c1da5da8cf" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d7796fd0-cc34-482e-9df0-86906f7a380e", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4535072b-7ac3-45bb-a1c8-92a7860773b6", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "81aeab4c-b5ea-487c-ac4a-07630c6ca4bb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ada5dff9-af90-46bf-b18c-917641134089", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "44bd98d9-f8a7-4c45-962f-3a27b5399490", + "apim-request-id": "a4a7a023-0d2f-4d12-a5b6-93065c90f717", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "150", + "x-envoy-upstream-service-time": "193", "x-ms-region": "West US 2", - "X-Request-ID": "44bd98d9-f8a7-4c45-962f-3a27b5399490" + "X-Request-ID": "a4a7a023-0d2f-4d12-a5b6-93065c90f717" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/a6b3ed07-d9f9-428f-81a5-64bb934e3d8e", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d3f0f6cd-f16e-425d-b410-f238acd8981e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cf4af9ab-6d9c-438a-904b-f317000a47b1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "97f4c1e0-af8a-4fc5-8f82-0b50a5231c86", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "92f5f71b-fa24-4366-b1d8-60dad26bd412", + "apim-request-id": "ca3b9a82-2a2f-4730-a6c4-ad4d8e8ba719", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "209", + "x-envoy-upstream-service-time": "144", "x-ms-region": "West US 2", - "X-Request-ID": "92f5f71b-fa24-4366-b1d8-60dad26bd412" + "X-Request-ID": "ca3b9a82-2a2f-4730-a6c4-ad4d8e8ba719" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json index 3ce753c54ffb4..1f40b61d3f129 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9c1ea270-4a66-4971-b307-b6a7f19ce170", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "83fd059c-7c72-41cb-8114-a79f0b2b7ff0", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "2c76da4a-b4a7-44df-ac2c-e30da376b124", + "apim-request-id": "3bfaf8ed-3287-406a-8a78-5761d0e51a71", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1115", + "x-envoy-upstream-service-time": "1811", "x-ms-region": "West US 2", - "X-Request-ID": "2c76da4a-b4a7-44df-ac2c-e30da376b124" + "X-Request-ID": "3bfaf8ed-3287-406a-8a78-5761d0e51a71" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5c99ad93-a8e6-4726-8914-ead790c04b3a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f8a16425-78bb-4c2c-b675-ad05907d9ed0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2c76f71f-a0ba-4b21-94ac-ded2aa15bcda", - "Content-Length": "1235", + "apim-request-id": "ea958edc-4298-4808-97c0-f12f77871b53", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143", + "x-envoy-upstream-service-time": "264", "x-ms-region": "West US 2", - "X-Request-ID": "2c76f71f-a0ba-4b21-94ac-ded2aa15bcda" + "X-Request-ID": "ea958edc-4298-4808-97c0-f12f77871b53" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,22 +144,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "659", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c57ad7ff-4445-4386-87b2-ea36fd3cca19", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5553a42d-06ad-44e4-bf9d-b742a8c63a53", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -172,7 +172,7 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", @@ -185,28 +185,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6d717ff6-3a2b-41f4-9d2e-3f128781232a", - "Content-Length": "1245", + "apim-request-id": "cc97ab3f-3a54-4b86-8ed8-c7a09f096b02", + "Content-Length": "1231", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "498", + "x-envoy-upstream-service-time": "660", "x-ms-region": "West US 2", - "X-Request-ID": "6d717ff6-3a2b-41f4-9d2e-3f128781232a" + "X-Request-ID": "cc97ab3f-3a54-4b86-8ed8-c7a09f096b02" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -238,12 +238,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -253,43 +253,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "907fc412-a384-485d-847a-110413841009", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "76d30e32-58c9-4bd3-a460-0a783b999d35", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "78c4b0a4-c128-4610-866d-56d48ea29684", - "Content-Length": "1245", + "apim-request-id": "125799c9-a589-47c4-92ac-56a7260b3859", + "Content-Length": "1231", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "220", + "x-envoy-upstream-service-time": "216", "x-ms-region": "West US 2", - "X-Request-ID": "78c4b0a4-c128-4610-866d-56d48ea29684" + "X-Request-ID": "125799c9-a589-47c4-92ac-56a7260b3859" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -321,12 +321,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -342,85 +342,85 @@ "Accept": "application/json", "Content-Length": "202", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fc5d27c2-8f8d-4a49-a1f5-12779f4561b3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "07b32b09-fe75-416e-a1c1-18e402a009cf", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "AzureSQLConnectionString", - "dataSourceCredentialName": "java_create_data_source_cred_sql_cona3045255-bd17-46d8-aadd-4bfe36c471da", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con31082976-bf9f-4997-9df7-23fbf3023b62", "parameters": { "connectionString": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "ce1bcf88-f118-49f1-9d66-d202fc355341", + "apim-request-id": "2b6ef124-8bfd-48ea-904d-e7faaf9e9fc0", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/e4a8d59f-ff3b-425d-a94a-50d34aa4531f", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "253", + "x-envoy-upstream-service-time": "852", "x-ms-region": "West US 2", - "X-Request-ID": "ce1bcf88-f118-49f1-9d66-d202fc355341" + "X-Request-ID": "2b6ef124-8bfd-48ea-904d-e7faaf9e9fc0" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e4a8d59f-ff3b-425d-a94a-50d34aa4531f", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "dbf00186-f590-4e51-a5f6-b392f3fe58d8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0c6a8ce6-db79-4637-8c85-5185de1f6022", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6af61145-b55a-454a-a6e1-15e8688d2458", + "apim-request-id": "5237fedd-3397-4338-9d1c-70406d4fc0e9", "Content-Length": "274", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "114", + "x-envoy-upstream-service-time": "112", "x-ms-region": "West US 2", - "X-Request-ID": "6af61145-b55a-454a-a6e1-15e8688d2458" + "X-Request-ID": "5237fedd-3397-4338-9d1c-70406d4fc0e9" }, "ResponseBody": { - "dataSourceCredentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8", - "dataSourceCredentialName": "java_create_data_source_cred_sql_cona3045255-bd17-46d8-aadd-4bfe36c471da", + "dataSourceCredentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con31082976-bf9f-4997-9df7-23fbf3023b62", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "692", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5d336ea1-50eb-4121-a9ab-df7d1d2af078", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d9261a16-5f37-455c-910f-fbab6f547307", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -433,41 +433,41 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "AzureSQLConnectionString", - "credentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" } }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1736d82c-ac4b-4e84-b2af-b5e139036c5f", - "Content-Length": "1308", + "apim-request-id": "44cf8bb9-70ca-4409-aaf5-696300a3610f", + "Content-Length": "1294", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "563", + "x-envoy-upstream-service-time": "766", "x-ms-region": "West US 2", - "X-Request-ID": "1736d82c-ac4b-4e84-b2af-b5e139036c5f" + "X-Request-ID": "44cf8bb9-70ca-4409-aaf5-696300a3610f" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -499,59 +499,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "AzureSQLConnectionString", - "credentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8" + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f53c1bf4-495e-49e7-9d68-f42bfb4e81eb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "197d7a88-a04b-4e8d-bdfe-45e4b0778874", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2dc785a5-3c6e-4027-bf06-5f95a564a1d5", - "Content-Length": "1308", + "apim-request-id": "dfafd170-abac-4eab-95c2-9a85dd244ec0", + "Content-Length": "1294", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "132", + "x-envoy-upstream-service-time": "179", "x-ms-region": "West US 2", - "X-Request-ID": "2dc785a5-3c6e-4027-bf06-5f95a564a1d5" + "X-Request-ID": "dfafd170-abac-4eab-95c2-9a85dd244ec0" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -583,19 +583,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "AzureSQLConnectionString", - "credentialId": "9fcf413e-079b-46ae-bafb-db8ea4e178a8" + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" } }, { @@ -605,16 +605,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fbb81b3d-a00a-4f24-bf1f-a40488cc9404", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44da4be6-fcf2-4e2c-bd47-e772462a89f7", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_sp44888b46-eca0-4ac1-8b74-6d5e2753471d", + "dataSourceCredentialName": "java_create_data_source_cred_spf9d4ed61-2452-4680-9056-3a59ceed698e", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -623,47 +623,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "30f1b42c-fe60-4f0d-9804-1ee69f70d892", + "apim-request-id": "19f46790-cbb3-4f72-bee8-961741be1f9b", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/f908fda0-d87e-4720-a1da-3cb358ec1644", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/54c27ae6-9e87-417e-b24b-01c22b29de01", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "317", + "x-envoy-upstream-service-time": "511", "x-ms-region": "West US 2", - "X-Request-ID": "30f1b42c-fe60-4f0d-9804-1ee69f70d892" + "X-Request-ID": "19f46790-cbb3-4f72-bee8-961741be1f9b" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/f908fda0-d87e-4720-a1da-3cb358ec1644", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/54c27ae6-9e87-417e-b24b-01c22b29de01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "72ed096a-5fb3-49d9-995d-ccdce9f676b5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f4f8804d-fae8-4c09-8335-e5ab0c3878eb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "654ffdc4-b3b1-41ea-8f98-8d90cd6fc1f7", + "apim-request-id": "a151d565-76e5-4a6a-9fe7-ba433f8e6a1c", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "109", + "x-envoy-upstream-service-time": "136", "x-ms-region": "West US 2", - "X-Request-ID": "654ffdc4-b3b1-41ea-8f98-8d90cd6fc1f7" + "X-Request-ID": "a151d565-76e5-4a6a-9fe7-ba433f8e6a1c" }, "ResponseBody": { - "dataSourceCredentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644", - "dataSourceCredentialName": "java_create_data_source_cred_sp44888b46-eca0-4ac1-8b74-6d5e2753471d", + "dataSourceCredentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01", + "dataSourceCredentialName": "java_create_data_source_cred_spf9d4ed61-2452-4680-9056-3a59ceed698e", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -673,22 +673,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "714", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "71038c1e-45ae-446c-bd48-816d3ff93d14", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "12369335-bddb-41df-990c-496cbc052fd6", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -701,13 +701,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipal", - "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644", + "credentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01", "dataSourceParameter": { "connectionString": "REDACTED", "query": "select * from adsample2 where Timestamp = @StartTime" @@ -715,28 +715,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cf87148d-88b6-498e-a261-c2ef63c43c4c", - "Content-Length": "1300", + "apim-request-id": "d5cb9780-7464-4f7f-9dfe-0139361abfe4", + "Content-Length": "1286", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "524", + "x-envoy-upstream-service-time": "1133", "x-ms-region": "West US 2", - "X-Request-ID": "cf87148d-88b6-498e-a261-c2ef63c43c4c" + "X-Request-ID": "d5cb9780-7464-4f7f-9dfe-0139361abfe4" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -768,59 +768,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644" + "credentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "69630383-4cb0-4a91-88e7-a2c89c6a6cb0", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3ac1a4dd-4ec4-42ce-8571-3afa6c5a084f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fdf00bf4-b799-49a1-a3df-38ef0b1546ae", - "Content-Length": "1300", + "apim-request-id": "3063300f-6543-4da8-971b-70951ca3328b", + "Content-Length": "1286", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "148", + "x-envoy-upstream-service-time": "304", "x-ms-region": "West US 2", - "X-Request-ID": "fdf00bf4-b799-49a1-a3df-38ef0b1546ae" + "X-Request-ID": "3063300f-6543-4da8-971b-70951ca3328b" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -852,19 +852,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "f908fda0-d87e-4720-a1da-3cb358ec1644" + "credentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01" } }, { @@ -874,18 +874,18 @@ "Accept": "application/json", "Content-Length": "510", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5a5ca69e-7eef-4c8f-b0b8-a676d8e673e7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7095af3c-8e39-47f6-96eb-13a9865cadb6", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipalInKV", - "dataSourceCredentialName": "java_create_data_source_cred_spkvb0a205d8-0653-43ee-8e62-c1da439edcf5", + "dataSourceCredentialName": "java_create_data_source_cred_spkv62ed7d87-c2dc-4df9-926d-dce97c82b1c1", "parameters": { - "keyVaultEndpoint": "https://66c96fba-af74-44b4-97bd-8286360a6585.vault.azure.net", + "keyVaultEndpoint": "https://0d7e609a-e8d6-457b-a974-46e8fd9fda7f.vault.azure.net", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", "servicePrincipalIdNameInKV": "DSClientID_1", @@ -895,47 +895,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "f9dd6e0a-ef0b-4232-85e3-8abbb5654ed0", + "apim-request-id": "ed244d8f-9f94-47df-af79-d581d43fa33d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/10a84118-ca82-4686-8399-1b4e1eea29cc", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/c31919c9-84e9-4c39-ae35-a7dd7c9023b1", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "308", + "x-envoy-upstream-service-time": "457", "x-ms-region": "West US 2", - "X-Request-ID": "f9dd6e0a-ef0b-4232-85e3-8abbb5654ed0" + "X-Request-ID": "ed244d8f-9f94-47df-af79-d581d43fa33d" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/10a84118-ca82-4686-8399-1b4e1eea29cc", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c31919c9-84e9-4c39-ae35-a7dd7c9023b1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9b6fac00-b043-4d05-a6bc-6eaa4d626ba2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f9d30edb-26af-4c65-855e-6b3dd4e56e7d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1dc50c2a-eaf7-4d93-9f72-799553173eb9", + "apim-request-id": "fd656288-f060-401a-912b-2494b0fdf0bd", "Content-Length": "549", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156", + "x-envoy-upstream-service-time": "96", "x-ms-region": "West US 2", - "X-Request-ID": "1dc50c2a-eaf7-4d93-9f72-799553173eb9" + "X-Request-ID": "fd656288-f060-401a-912b-2494b0fdf0bd" }, "ResponseBody": { - "dataSourceCredentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc", - "dataSourceCredentialName": "java_create_data_source_cred_spkvb0a205d8-0653-43ee-8e62-c1da439edcf5", + "dataSourceCredentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1", + "dataSourceCredentialName": "java_create_data_source_cred_spkv62ed7d87-c2dc-4df9-926d-dce97c82b1c1", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipalInKV", "parameters": { @@ -943,27 +943,27 @@ "servicePrincipalIdNameInKV": "DSClientID_1", "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", - "keyVaultEndpoint": "https://66c96fba-af74-44b4-97bd-8286360a6585.vault.azure.net" + "keyVaultEndpoint": "https://0d7e609a-e8d6-457b-a974-46e8fd9fda7f.vault.azure.net" } } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "718", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fd81f1d2-67ff-4751-90c3-5b7b0dbeb324", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "61809681-3f04-4dd3-b63f-beca15d21d4f", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -976,13 +976,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipalInKV", - "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc", + "credentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1", "dataSourceParameter": { "connectionString": "REDACTED", "query": "select * from adsample2 where Timestamp = @StartTime" @@ -990,28 +990,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5657a36d-29f1-47d8-bfdf-8f73f25c861f", - "Content-Length": "1304", + "apim-request-id": "e469e2c2-2054-4566-a91e-b8cf71ee7353", + "Content-Length": "1290", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "704", + "x-envoy-upstream-service-time": "707", "x-ms-region": "West US 2", - "X-Request-ID": "5657a36d-29f1-47d8-bfdf-8f73f25c861f" + "X-Request-ID": "e469e2c2-2054-4566-a91e-b8cf71ee7353" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -1043,59 +1043,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc" + "credentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e3785fbd-cefc-417f-8f18-54e1068bbe4e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be120c5b-1e93-49ba-bd2b-c2fb6c0b0c06", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "76e25b92-f23e-4da0-bc70-4d85e9aa64c4", - "Content-Length": "1304", + "apim-request-id": "d2adf9ee-0873-4307-b886-2a841443dff0", + "Content-Length": "1290", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156", + "x-envoy-upstream-service-time": "132", "x-ms-region": "West US 2", - "X-Request-ID": "76e25b92-f23e-4da0-bc70-4d85e9aa64c4" + "X-Request-ID": "d2adf9ee-0873-4307-b886-2a841443dff0" }, "ResponseBody": { - "dataFeedId": "23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", - "dataFeedName": "java_create_data_feed_test_samplea819ed93-b67e-41a2-b1ef-d074c5e03e81", + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", "metrics": [ { - "metricId": "c17f9bf9-9e93-493d-b22d-cd119914a935", + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "bd74a84a-0d23-43f6-abf9-c3427660eba5", + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -1127,126 +1127,126 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:24Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "10a84118-ca82-4686-8399-1b4e1eea29cc" + "credentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/23a5da0b-3d96-4a42-9eca-45a4e87c2ad1", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6d6254d1-cfb0-4f9d-986c-90912429e716", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "83e61ae5-0d9a-46b8-b222-ecfa513a8406", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "a9f3b93a-e631-428d-978f-cf44ead160d2", + "apim-request-id": "6186c385-d02d-4d5b-8ad4-e7daac18083c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "533", + "x-envoy-upstream-service-time": "362", "x-ms-region": "West US 2", - "X-Request-ID": "a9f3b93a-e631-428d-978f-cf44ead160d2" + "X-Request-ID": "6186c385-d02d-4d5b-8ad4-e7daac18083c" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/9fcf413e-079b-46ae-bafb-db8ea4e178a8", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e4a8d59f-ff3b-425d-a94a-50d34aa4531f", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a25f455d-7633-448c-a3f7-a8e2df058af9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "370ae297-cfe1-41ef-b367-9983dd39d6d7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "cf3b32c1-5c32-4223-9eeb-461679879d52", + "apim-request-id": "1255c188-2e4a-43ed-8fe4-d243e949683c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "121", + "x-envoy-upstream-service-time": "109", "x-ms-region": "West US 2", - "X-Request-ID": "cf3b32c1-5c32-4223-9eeb-461679879d52" + "X-Request-ID": "1255c188-2e4a-43ed-8fe4-d243e949683c" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/f908fda0-d87e-4720-a1da-3cb358ec1644", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/54c27ae6-9e87-417e-b24b-01c22b29de01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "50c40cac-bac4-4671-88aa-e66facabb7dc", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "27f7ff44-e1d8-4306-baa2-47035c59a3ec", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "75714775-6d51-46c6-8d14-111d0126ca66", + "apim-request-id": "71adb774-917a-4b3e-9360-6860ed4199cf", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "147", + "x-envoy-upstream-service-time": "134", "x-ms-region": "West US 2", - "X-Request-ID": "75714775-6d51-46c6-8d14-111d0126ca66" + "X-Request-ID": "71adb774-917a-4b3e-9360-6860ed4199cf" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/10a84118-ca82-4686-8399-1b4e1eea29cc", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c31919c9-84e9-4c39-ae35-a7dd7c9023b1", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "21bca9de-b9bb-4dbe-b459-fcdc96e36b9e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c7578f7f-0fef-4d2f-9fa9-7536267038fb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "3cf3c325-eced-45b7-aa8e-a01e8d253355", + "apim-request-id": "7f9d2008-0a5d-47c9-8351-06d820ef46ba", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "114", + "x-envoy-upstream-service-time": "148", "x-ms-region": "West US 2", - "X-Request-ID": "3cf3c325-eced-45b7-aa8e-a01e8d253355" + "X-Request-ID": "7f9d2008-0a5d-47c9-8351-06d820ef46ba" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json index 8bf7495e09bcd..eb500b0707ea5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "606", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "66cd074c-8005-4291-b430-0fbd780bbef9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "05d81a71-d6bd-49d5-a113-79b9f2e82569", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", "granularityName": "Daily", "metrics": [ { @@ -49,56 +49,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "2fcab454-a823-4a7a-99c3-e54166c1084b", + "apim-request-id": "f8dec558-df15-4f44-8706-ec12f3e3dfd8", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "717", + "x-envoy-upstream-service-time": "1087", "x-ms-region": "West US 2", - "X-Request-ID": "2fcab454-a823-4a7a-99c3-e54166c1084b" + "X-Request-ID": "f8dec558-df15-4f44-8706-ec12f3e3dfd8" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5b8555a5-a746-4e94-96b7-8f65d5a93024", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e7bc2fea-5e50-463a-b8d7-2ac7de3632ae", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5c0f57aa-77e2-4ef5-a882-96474877864c", - "Content-Length": "1242", + "apim-request-id": "27d24cd5-72b6-48b6-ac4b-4e38c5807db6", + "Content-Length": "1228", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "177", + "x-envoy-upstream-service-time": "201", "x-ms-region": "West US 2", - "X-Request-ID": "5c0f57aa-77e2-4ef5-a882-96474877864c" + "X-Request-ID": "27d24cd5-72b6-48b6-ac4b-4e38c5807db6" }, "ResponseBody": { - "dataFeedId": "a663788c-8f20-4875-bc26-ba59d5e7bec2", - "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", "metrics": [ { - "metricId": "58009647-b5ee-4b96-a4e5-47dbcf588620", + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "824d21ff-ae92-430d-82a1-ac6de3f81574", + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -130,12 +130,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:45Z", + "createdTime": "2023-04-17T23:00:20Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -146,22 +146,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "666", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "bfb7166f-59d6-4255-a901-33211f67479f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "681fadd0-158d-4bcb-9c70-9aadf3b21436", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureBlob", - "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -174,7 +174,7 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", @@ -188,28 +188,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b3719253-4f75-4e7b-b84e-06c9ae0a9863", - "Content-Length": "1252", + "apim-request-id": "de80260a-b02c-4ec2-a665-59095c0d9c12", + "Content-Length": "1238", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "537", + "x-envoy-upstream-service-time": "1274", "x-ms-region": "West US 2", - "X-Request-ID": "b3719253-4f75-4e7b-b84e-06c9ae0a9863" + "X-Request-ID": "de80260a-b02c-4ec2-a665-59095c0d9c12" }, "ResponseBody": { - "dataFeedId": "a663788c-8f20-4875-bc26-ba59d5e7bec2", - "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", "metrics": [ { - "metricId": "58009647-b5ee-4b96-a4e5-47dbcf588620", + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "824d21ff-ae92-430d-82a1-ac6de3f81574", + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -241,12 +241,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:45Z", + "createdTime": "2023-04-17T23:00:20Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -257,43 +257,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f058ba9c-455b-4145-9918-0496c9590cba", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d870408a-0009-497f-9616-9d288ec8a1f3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "aecf702e-869a-446e-b1b9-28a71933af5d", - "Content-Length": "1252", + "apim-request-id": "9a80ceb8-50d4-4b93-8f71-c810b00055e7", + "Content-Length": "1238", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "183", + "x-envoy-upstream-service-time": "168", "x-ms-region": "West US 2", - "X-Request-ID": "aecf702e-869a-446e-b1b9-28a71933af5d" + "X-Request-ID": "9a80ceb8-50d4-4b93-8f71-c810b00055e7" }, "ResponseBody": { - "dataFeedId": "a663788c-8f20-4875-bc26-ba59d5e7bec2", - "dataFeedName": "java_create_data_feed_test_sampled23a2038-72cb-4c81-a848-7bd11fd7351d", + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", "metrics": [ { - "metricId": "58009647-b5ee-4b96-a4e5-47dbcf588620", + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "824d21ff-ae92-430d-82a1-ac6de3f81574", + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -325,12 +325,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:45Z", + "createdTime": "2023-04-17T23:00:20Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -341,29 +341,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a663788c-8f20-4875-bc26-ba59d5e7bec2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "24db90cf-3493-465a-9a9c-a1f18d90c17d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f604dc07-30ec-47ad-a4cc-4b99a109b88a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "07bce795-9f13-4fa7-8fa7-2477940b3d77", + "apim-request-id": "b77fdf9c-f758-41f9-8148-bb8566e37a0d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "280", + "x-envoy-upstream-service-time": "268", "x-ms-region": "West US 2", - "X-Request-ID": "07bce795-9f13-4fa7-8fa7-2477940b3d77" + "X-Request-ID": "b77fdf9c-f758-41f9-8148-bb8566e37a0d" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json index 4201b0c864215..7429d5e8c9a85 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "703", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1c0e8e58-6486-4e1d-a6a5-bfe2798e9108", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ead9c84e-559f-4778-aa6b-d391377930f3", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "986931fd-e22e-491f-a74b-b838ab9bb711", + "apim-request-id": "7cf5cef0-22ad-4779-8a17-ff55263b0759", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "723", + "x-envoy-upstream-service-time": "1101", "x-ms-region": "West US 2", - "X-Request-ID": "986931fd-e22e-491f-a74b-b838ab9bb711" + "X-Request-ID": "7cf5cef0-22ad-4779-8a17-ff55263b0759" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c43d675b-6ad3-48cf-bfae-b3708e073928", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "adae0a7d-8cb3-403b-9d71-af2bdf77c449", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "97514569-6e7c-4e1f-948e-0451a13d2767", - "Content-Length": "1339", + "apim-request-id": "f7ea8aa3-c7e2-47ad-9a5e-f79c0a40bb3d", + "Content-Length": "1325", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "162", + "x-envoy-upstream-service-time": "207", "x-ms-region": "West US 2", - "X-Request-ID": "97514569-6e7c-4e1f-948e-0451a13d2767" + "X-Request-ID": "f7ea8aa3-c7e2-47ad-9a5e-f79c0a40bb3d" }, "ResponseBody": { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,22 +144,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "763", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6098becd-90f2-4e3d-bf01-c9d6c54cf755", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3bc48f0a-5fac-43a0-9a1b-fbab0add3cfa", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -172,7 +172,7 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", @@ -185,28 +185,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1d69971d-c2aa-46e0-bcbf-bb67bad31d99", - "Content-Length": "1349", + "apim-request-id": "9fd076e0-4c1a-4c76-b82d-464c94dc02e2", + "Content-Length": "1335", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "495", + "x-envoy-upstream-service-time": "563", "x-ms-region": "West US 2", - "X-Request-ID": "1d69971d-c2aa-46e0-bcbf-bb67bad31d99" + "X-Request-ID": "9fd076e0-4c1a-4c76-b82d-464c94dc02e2" }, "ResponseBody": { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -238,12 +238,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -253,43 +253,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0955d8b0-e5b1-4d67-bfd1-65a79d51dcfe", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "143325fe-66a5-4642-9ab0-de65a578aed8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a13952ce-cc0b-4e66-b8e5-d3cea28c75f2", - "Content-Length": "1349", + "apim-request-id": "c4940ef7-0a76-4f14-b6b4-fe4da8112cfe", + "Content-Length": "1335", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "171", + "x-envoy-upstream-service-time": "166", "x-ms-region": "West US 2", - "X-Request-ID": "a13952ce-cc0b-4e66-b8e5-d3cea28c75f2" + "X-Request-ID": "c4940ef7-0a76-4f14-b6b4-fe4da8112cfe" }, "ResponseBody": { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -321,12 +321,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -342,16 +342,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ae78afd9-547b-43ea-b3ad-34c294b603f8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d673ad0d-0260-426d-bb5e-0edcd7b27372", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_spca8f42b9-6ebf-49ee-9d43-62a9f66c2dd3", + "dataSourceCredentialName": "java_create_data_source_cred_spd1898970-57d0-41d7-8de4-a9856fcbe636", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -360,47 +360,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "7f1076f6-5fc0-4b7a-a870-4e5d256a4f4a", + "apim-request-id": "b3412a49-4ac2-462d-9631-edd8f0ef9a16", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d4796868-b5ba-45bb-abde-091453d3ceb2", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/8651e3a2-fe0a-4310-9c5a-5c5e6b726129", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "365", + "x-envoy-upstream-service-time": "618", "x-ms-region": "West US 2", - "X-Request-ID": "7f1076f6-5fc0-4b7a-a870-4e5d256a4f4a" + "X-Request-ID": "b3412a49-4ac2-462d-9631-edd8f0ef9a16" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d4796868-b5ba-45bb-abde-091453d3ceb2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8651e3a2-fe0a-4310-9c5a-5c5e6b726129", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a944100b-2950-437a-b316-fb0c208f378c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fd00cefc-9577-43d0-95d4-65a525fd6fff", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6fa6eebe-711a-4694-92f8-57daa8226586", + "apim-request-id": "0937058f-6810-4e92-ac8e-764d8a0b0c8c", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143", + "x-envoy-upstream-service-time": "620", "x-ms-region": "West US 2", - "X-Request-ID": "6fa6eebe-711a-4694-92f8-57daa8226586" + "X-Request-ID": "0937058f-6810-4e92-ac8e-764d8a0b0c8c" }, "ResponseBody": { - "dataSourceCredentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2", - "dataSourceCredentialName": "java_create_data_source_cred_spca8f42b9-6ebf-49ee-9d43-62a9f66c2dd3", + "dataSourceCredentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129", + "dataSourceCredentialName": "java_create_data_source_cred_spd1898970-57d0-41d7-8de4-a9856fcbe636", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -410,22 +410,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "818", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c7905a93-fd1d-45ad-8856-263ad39e422c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0581e33a-7eba-4fde-af97-244f81c63446", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -438,13 +438,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipal", - "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129", "dataSourceParameter": { "connectionString": "REDACTED", "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" @@ -452,28 +452,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3159b12d-fc09-47c5-ae09-a517fddd19c8", - "Content-Length": "1404", + "apim-request-id": "fe4f6e62-64eb-4464-925f-4e076d04ae48", + "Content-Length": "1390", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "749", + "x-envoy-upstream-service-time": "471", "x-ms-region": "West US 2", - "X-Request-ID": "3159b12d-fc09-47c5-ae09-a517fddd19c8" + "X-Request-ID": "fe4f6e62-64eb-4464-925f-4e076d04ae48" }, "ResponseBody": { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -505,59 +505,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0301ae00-2ed7-47b9-819a-d805c2293eb4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "09135416-965f-4724-a86f-171d909f7050", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "63783751-8a2a-4bc7-85da-f702df607f69", - "Content-Length": "1404", + "apim-request-id": "6a95e48e-5886-4067-a16c-28778fbcddc3", + "Content-Length": "1390", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "316", + "x-envoy-upstream-service-time": "142", "x-ms-region": "West US 2", - "X-Request-ID": "63783751-8a2a-4bc7-85da-f702df607f69" + "X-Request-ID": "6a95e48e-5886-4067-a16c-28778fbcddc3" }, "ResponseBody": { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -589,19 +589,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "d4796868-b5ba-45bb-abde-091453d3ceb2" + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" } }, { @@ -611,18 +611,18 @@ "Accept": "application/json", "Content-Length": "510", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2e78a900-8c06-496f-9e53-a5eff2aa5d5f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "becfcb98-24ba-4491-ad9e-4eb98d929db8", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipalInKV", - "dataSourceCredentialName": "java_create_data_source_cred_spkv4bcd7f73-59d9-4035-91dc-d2930ee786d1", + "dataSourceCredentialName": "java_create_data_source_cred_spkvbdf8b09f-279b-4c36-a7bb-8fb7f7363c68", "parameters": { - "keyVaultEndpoint": "https://37e960e1-c807-4809-944d-f644b4f85d12.vault.azure.net", + "keyVaultEndpoint": "https://1f6eebc7-8233-4e2e-b668-4a2429a990c6.vault.azure.net", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", "servicePrincipalIdNameInKV": "DSClientID_1", @@ -632,47 +632,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "add290d3-fafb-4b87-9166-ced2155856fe", + "apim-request-id": "c06651c5-52bc-4aef-ba2c-3912532388d3", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/eabc48cb-9f9c-4a75-ac01-54d3522e6bae", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "274", + "x-envoy-upstream-service-time": "266", "x-ms-region": "West US 2", - "X-Request-ID": "add290d3-fafb-4b87-9166-ced2155856fe" + "X-Request-ID": "c06651c5-52bc-4aef-ba2c-3912532388d3" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/eabc48cb-9f9c-4a75-ac01-54d3522e6bae", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2985dd52-eb84-4522-82ce-c72f22e72508", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "de827fc5-110e-4872-8430-f3520e86c429", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "99ab2377-973d-49a7-987f-ad9feb5b430d", + "apim-request-id": "956dac26-82f7-47c3-816f-e3764158c51b", "Content-Length": "549", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "102", + "x-envoy-upstream-service-time": "98", "x-ms-region": "West US 2", - "X-Request-ID": "99ab2377-973d-49a7-987f-ad9feb5b430d" + "X-Request-ID": "956dac26-82f7-47c3-816f-e3764158c51b" }, "ResponseBody": { - "dataSourceCredentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30", - "dataSourceCredentialName": "java_create_data_source_cred_spkv4bcd7f73-59d9-4035-91dc-d2930ee786d1", + "dataSourceCredentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae", + "dataSourceCredentialName": "java_create_data_source_cred_spkvbdf8b09f-279b-4c36-a7bb-8fb7f7363c68", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipalInKV", "parameters": { @@ -680,27 +680,27 @@ "servicePrincipalIdNameInKV": "DSClientID_1", "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", - "keyVaultEndpoint": "https://37e960e1-c807-4809-944d-f644b4f85d12.vault.azure.net" + "keyVaultEndpoint": "https://1f6eebc7-8233-4e2e-b668-4a2429a990c6.vault.azure.net" } } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "822", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "68057956-123a-4529-82e7-9e4d590f6da2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "12010c4d-1384-4679-8924-625ed8a072c7", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataExplorer", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -713,13 +713,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipalInKV", - "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "credentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae", "dataSourceParameter": { "connectionString": "REDACTED", "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" @@ -727,28 +727,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c9e88285-5708-4a34-a929-4740fd6f12a3", - "Content-Length": "1408", + "apim-request-id": "c20fea99-6262-4e8e-a968-4d24df9d55cb", + "Content-Length": "1394", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "753", + "x-envoy-upstream-service-time": "874", "x-ms-region": "West US 2", - "X-Request-ID": "c9e88285-5708-4a34-a929-4740fd6f12a3" + "X-Request-ID": "c20fea99-6262-4e8e-a968-4d24df9d55cb" }, "ResponseBody": { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -780,59 +780,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30" + "credentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "20b698a6-daeb-452a-b122-1a3b8752b0b6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9c69e13b-56a9-44e5-871e-45434049b5a9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3b7f245a-6471-4d34-a345-6b1cd5e34213", - "Content-Length": "1408", + "apim-request-id": "52f473af-4eba-44bf-a414-0bcc4fef151e", + "Content-Length": "1394", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "153", + "x-envoy-upstream-service-time": "293", "x-ms-region": "West US 2", - "X-Request-ID": "3b7f245a-6471-4d34-a345-6b1cd5e34213" + "X-Request-ID": "52f473af-4eba-44bf-a414-0bcc4fef151e" }, "ResponseBody": { - "dataFeedId": "3efe8c44-5ec8-40bd-8c24-063760dda297", - "dataFeedName": "java_create_data_feed_test_samplec83de302-0b65-4dce-8a62-116b32655e3f", + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", "metrics": [ { - "metricId": "55c30d05-c9d7-4113-8f53-0a431ce05b54", + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "3a81738d-a39b-4e51-8ccc-a4e9cc22136a", + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -864,99 +864,99 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:46Z", + "createdTime": "2023-04-17T23:00:19Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "391d81eb-fd08-4fcc-9269-bbf5873b0c30" + "credentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/3efe8c44-5ec8-40bd-8c24-063760dda297", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3dac4461-1cb0-4d8e-999b-b65b71c02f32", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "75cccf9e-5e84-49dd-b72d-5b14702d0564", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "56623000-5e1c-4eca-b5db-a5646f25bd57", + "apim-request-id": "14b82086-3f3e-4dde-a2a0-dc7a256d0424", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "288", + "x-envoy-upstream-service-time": "929", "x-ms-region": "West US 2", - "X-Request-ID": "56623000-5e1c-4eca-b5db-a5646f25bd57" + "X-Request-ID": "14b82086-3f3e-4dde-a2a0-dc7a256d0424" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d4796868-b5ba-45bb-abde-091453d3ceb2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8651e3a2-fe0a-4310-9c5a-5c5e6b726129", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "30b8d5e6-7650-4dc4-b646-4ac129986671", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "666d864b-5cc3-4043-809e-b9bcf3e32465", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "0628c0ac-4d86-4b3a-b6ff-7b8fa306f7f0", + "apim-request-id": "d81c8df4-4928-4664-a8e9-f6950aa889ac", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "122", + "x-envoy-upstream-service-time": "155", "x-ms-region": "West US 2", - "X-Request-ID": "0628c0ac-4d86-4b3a-b6ff-7b8fa306f7f0" + "X-Request-ID": "d81c8df4-4928-4664-a8e9-f6950aa889ac" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/391d81eb-fd08-4fcc-9269-bbf5873b0c30", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/eabc48cb-9f9c-4a75-ac01-54d3522e6bae", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:51 GMT", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1b981e58-99f9-422c-9327-6f3aeccf89f6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "577c0a6b-6569-49ad-b678-fdc91954ad53", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "d76007f0-c704-4142-b91d-03130bad5f88", + "apim-request-id": "8742e7c1-5829-43c3-9af2-43bb7af0d018", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:50 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "107", + "x-envoy-upstream-service-time": "203", "x-ms-region": "West US 2", - "X-Request-ID": "d76007f0-c704-4142-b91d-03130bad5f88" + "X-Request-ID": "8742e7c1-5829-43c3-9af2-43bb7af0d018" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json index b53ab933b8513..9fb8e70f18798 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "660", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3f179292-523d-4e88-b43a-65909289de12", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b731b077-f395-4941-8cfa-03d93cf30bbf", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "granularityName": "Daily", "metrics": [ { @@ -51,56 +51,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "99ed159d-3bdf-41b5-97dd-276532801190", + "apim-request-id": "2b0b6fa3-0524-42fa-8b43-33e991bbc6c3", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "595", + "x-envoy-upstream-service-time": "844", "x-ms-region": "West US 2", - "X-Request-ID": "99ed159d-3bdf-41b5-97dd-276532801190" + "X-Request-ID": "2b0b6fa3-0524-42fa-8b43-33e991bbc6c3" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "45113784-d2fc-4f18-a53a-798b1bedc33d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ff14db30-1140-4477-8131-9308d9aff6d1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "14dfb212-bed5-4042-9648-fdddcd7ee375", - "Content-Length": "1302", + "apim-request-id": "fd5417a6-8f9a-45c1-948c-d0ed63d9b14a", + "Content-Length": "1288", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "189", + "x-envoy-upstream-service-time": "153", "x-ms-region": "West US 2", - "X-Request-ID": "14dfb212-bed5-4042-9648-fdddcd7ee375" + "X-Request-ID": "fd5417a6-8f9a-45c1-948c-d0ed63d9b14a" }, "ResponseBody": { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -132,12 +132,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -156,85 +156,85 @@ "Accept": "application/json", "Content-Length": "195", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "13a1992d-ba09-4cd3-afd2-27b80975d6d9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "78bc00cd-0115-4567-a84c-7533e47fba96", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "DataLakeGen2SharedKey", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_genfcfadd06-9e47-472a-b978-5292ce3f96a5", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gena6472962-3ea3-4ea7-bf06-83b010c87f00", "parameters": { "accountKey": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "01b14cc0-d82a-4111-9925-7e8212b93e3d", + "apim-request-id": "b04dfd78-85ec-4e0d-a647-d08a1ab88f28", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/34b21755-1709-41fd-ab8a-726fa64c7f78", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "268", + "x-envoy-upstream-service-time": "457", "x-ms-region": "West US 2", - "X-Request-ID": "01b14cc0-d82a-4111-9925-7e8212b93e3d" + "X-Request-ID": "b04dfd78-85ec-4e0d-a647-d08a1ab88f28" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/34b21755-1709-41fd-ab8a-726fa64c7f78", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1106e09d-8859-4ff5-b903-73ff7099e166", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2d29fd13-d202-41ec-ae31-3aefbecb8240", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "61e09014-52dd-4dc2-83be-038d15e1decb", + "apim-request-id": "57052818-5a50-44b1-bf00-c98325e28fb6", "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "119", + "x-envoy-upstream-service-time": "234", "x-ms-region": "West US 2", - "X-Request-ID": "61e09014-52dd-4dc2-83be-038d15e1decb" + "X-Request-ID": "57052818-5a50-44b1-bf00-c98325e28fb6" }, "ResponseBody": { - "dataSourceCredentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_genfcfadd06-9e47-472a-b978-5292ce3f96a5", + "dataSourceCredentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gena6472962-3ea3-4ea7-bf06-83b010c87f00", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "756", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1e8d9fe9-f18f-4b14-8308-a4bb846b806c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f817532b-04ac-49b1-94cc-72944e6183da", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -247,13 +247,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "DataLakeGen2SharedKey", - "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78", + "credentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", "dataSourceParameter": { "accountName": "REDACTED", "fileSystemName": "adsample", @@ -263,28 +263,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "295c73bd-7472-41da-aeb6-3e80e4af1565", - "Content-Length": "1372", + "apim-request-id": "c70a594a-3ea3-4171-a0a2-c09dc5a02be9", + "Content-Length": "1358", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "728", + "x-envoy-upstream-service-time": "798", "x-ms-region": "West US 2", - "X-Request-ID": "295c73bd-7472-41da-aeb6-3e80e4af1565" + "X-Request-ID": "c70a594a-3ea3-4171-a0a2-c09dc5a02be9" }, "ResponseBody": { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -316,12 +316,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -331,47 +331,47 @@ "fileSystemName": "adsample" }, "authenticationType": "DataLakeGen2SharedKey", - "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78" + "credentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f938cffb-92cf-45aa-ab0c-cdd903f34811", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a31e9dcf-d294-4663-bcb1-427d611125de", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c7ccdc81-fbbc-4517-9d52-e8ebcd840e5c", - "Content-Length": "1372", + "apim-request-id": "8db9d6d3-95bd-4d6f-9814-b9ff8ab12ba5", + "Content-Length": "1358", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "216", + "x-envoy-upstream-service-time": "201", "x-ms-region": "West US 2", - "X-Request-ID": "c7ccdc81-fbbc-4517-9d52-e8ebcd840e5c" + "X-Request-ID": "8db9d6d3-95bd-4d6f-9814-b9ff8ab12ba5" }, "ResponseBody": { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -403,12 +403,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -418,7 +418,7 @@ "fileSystemName": "adsample" }, "authenticationType": "DataLakeGen2SharedKey", - "credentialId": "34b21755-1709-41fd-ab8a-726fa64c7f78" + "credentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e" } }, { @@ -428,16 +428,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a340a09b-4a4f-4544-b122-242c9d54c2e3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dd97685b-8de5-489e-a30f-c849ed918951", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_spd2ec8700-ebf4-4df1-843a-e1c1c2082218", + "dataSourceCredentialName": "java_create_data_source_cred_sp6d3dc73f-e499-4dac-8a05-e9f7d57bd717", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -446,47 +446,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "074be166-5ad4-42e2-a666-6325411e22b7", + "apim-request-id": "94c6f3fd-48a2-41d2-8c12-f36ddc2b686f", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/59bce019-8217-4fcc-b0b2-3bc86d496d68", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "314", + "x-envoy-upstream-service-time": "458", "x-ms-region": "West US 2", - "X-Request-ID": "074be166-5ad4-42e2-a666-6325411e22b7" + "X-Request-ID": "94c6f3fd-48a2-41d2-8c12-f36ddc2b686f" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59bce019-8217-4fcc-b0b2-3bc86d496d68", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e6039df7-aed0-4847-81f8-e25b5c2bbfe1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b957a6d6-da63-4935-b1a4-f964b38262fb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a71eaef4-5e48-41c2-ad84-25c9dbe3d318", + "apim-request-id": "8b36d02d-233c-4472-863f-0084c2869768", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "98", + "x-envoy-upstream-service-time": "124", "x-ms-region": "West US 2", - "X-Request-ID": "a71eaef4-5e48-41c2-ad84-25c9dbe3d318" + "X-Request-ID": "8b36d02d-233c-4472-863f-0084c2869768" }, "ResponseBody": { - "dataSourceCredentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", - "dataSourceCredentialName": "java_create_data_source_cred_spd2ec8700-ebf4-4df1-843a-e1c1c2082218", + "dataSourceCredentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68", + "dataSourceCredentialName": "java_create_data_source_cred_sp6d3dc73f-e499-4dac-8a05-e9f7d57bd717", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -496,22 +496,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "751", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "726bdcdf-ddb0-45a4-bded-0666ffb4263b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "daffe655-5796-476c-8736-1992204a07e5", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -524,13 +524,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipal", - "credentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "credentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68", "dataSourceParameter": { "accountName": "REDACTED", "fileSystemName": "adsample", @@ -540,28 +540,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "51d52f00-6a5a-448b-954a-3c4987be4607", - "Content-Length": "1367", + "apim-request-id": "ed5b23f8-a266-4293-9c11-7aa35e8f39de", + "Content-Length": "1353", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "579", + "x-envoy-upstream-service-time": "622", "x-ms-region": "West US 2", - "X-Request-ID": "51d52f00-6a5a-448b-954a-3c4987be4607" + "X-Request-ID": "ed5b23f8-a266-4293-9c11-7aa35e8f39de" }, "ResponseBody": { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -593,12 +593,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -608,47 +608,47 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipal", - "credentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0" + "credentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3e129cbc-c074-4a10-9dc5-eca46b508db6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c85c89dd-7598-4b37-83cb-ed0d2e322244", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9ffbb128-68da-4889-afe5-a311799ce007", - "Content-Length": "1367", + "apim-request-id": "83474993-3c79-4657-b782-0605fec03367", + "Content-Length": "1353", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "188", + "x-envoy-upstream-service-time": "141", "x-ms-region": "West US 2", - "X-Request-ID": "9ffbb128-68da-4889-afe5-a311799ce007" + "X-Request-ID": "83474993-3c79-4657-b782-0605fec03367" }, "ResponseBody": { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -680,12 +680,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -695,7 +695,7 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipal", - "credentialId": "412aceaa-f8d7-4bba-bbfb-b227c03b3fe0" + "credentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68" } }, { @@ -705,18 +705,18 @@ "Accept": "application/json", "Content-Length": "510", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b3b90169-b2c8-4326-bfb6-0f0013fe72f8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "87ea8209-bc8b-4846-8110-1afa14b05b62", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipalInKV", - "dataSourceCredentialName": "java_create_data_source_cred_spkv560908ee-5a5a-4628-9bea-ebfef4dc1746", + "dataSourceCredentialName": "java_create_data_source_cred_spkvfc60d3b7-3766-4939-918a-0749baf4e453", "parameters": { - "keyVaultEndpoint": "https://c956e715-f011-4995-9333-ab0f02fa9249.vault.azure.net", + "keyVaultEndpoint": "https://072b98ac-9e58-478a-9ae6-3411bd614dc0.vault.azure.net", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", "servicePrincipalIdNameInKV": "DSClientID_1", @@ -726,47 +726,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "cbd0f258-adfc-4f04-ac23-da8426ecb169", + "apim-request-id": "664fd8f7-c30e-4d5c-add3-8dd50d190f52", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/603c4fd6-74fb-4372-9bf1-926162a56612", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/59e556c5-b906-4974-9253-82b8a296c5a7", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "310", + "x-envoy-upstream-service-time": "231", "x-ms-region": "West US 2", - "X-Request-ID": "cbd0f258-adfc-4f04-ac23-da8426ecb169" + "X-Request-ID": "664fd8f7-c30e-4d5c-add3-8dd50d190f52" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/603c4fd6-74fb-4372-9bf1-926162a56612", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59e556c5-b906-4974-9253-82b8a296c5a7", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "46175916-8298-42d2-a0ff-81890e899e28", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "30986aed-b992-4f7c-8a06-147ac6c8c040", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7405a85f-eb69-4544-bea4-80ad8da20068", + "apim-request-id": "f7452ef0-228e-48cb-875e-a6dd6f250241", "Content-Length": "549", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "91", + "x-envoy-upstream-service-time": "90", "x-ms-region": "West US 2", - "X-Request-ID": "7405a85f-eb69-4544-bea4-80ad8da20068" + "X-Request-ID": "f7452ef0-228e-48cb-875e-a6dd6f250241" }, "ResponseBody": { - "dataSourceCredentialId": "603c4fd6-74fb-4372-9bf1-926162a56612", - "dataSourceCredentialName": "java_create_data_source_cred_spkv560908ee-5a5a-4628-9bea-ebfef4dc1746", + "dataSourceCredentialId": "59e556c5-b906-4974-9253-82b8a296c5a7", + "dataSourceCredentialName": "java_create_data_source_cred_spkvfc60d3b7-3766-4939-918a-0749baf4e453", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipalInKV", "parameters": { @@ -774,27 +774,27 @@ "servicePrincipalIdNameInKV": "DSClientID_1", "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", - "keyVaultEndpoint": "https://c956e715-f011-4995-9333-ab0f02fa9249.vault.azure.net" + "keyVaultEndpoint": "https://072b98ac-9e58-478a-9ae6-3411bd614dc0.vault.azure.net" } } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "755", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9c2168ef-f777-4483-a0bb-5d26a0fa4268", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d733d2d9-2d26-4738-9bce-9783e8f48f8d", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "AzureDataLakeStorageGen2", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -807,13 +807,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipalInKV", - "credentialId": "603c4fd6-74fb-4372-9bf1-926162a56612", + "credentialId": "59e556c5-b906-4974-9253-82b8a296c5a7", "dataSourceParameter": { "accountName": "REDACTED", "fileSystemName": "adsample", @@ -823,28 +823,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "df369db4-ac99-4c17-987d-cc7e5b071db9", - "Content-Length": "1371", + "apim-request-id": "e96907d4-3d68-4427-b716-790fa182d997", + "Content-Length": "1357", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "592", + "x-envoy-upstream-service-time": "528", "x-ms-region": "West US 2", - "X-Request-ID": "df369db4-ac99-4c17-987d-cc7e5b071db9" + "X-Request-ID": "e96907d4-3d68-4427-b716-790fa182d997" }, "ResponseBody": { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -876,12 +876,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -891,47 +891,47 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "603c4fd6-74fb-4372-9bf1-926162a56612" + "credentialId": "59e556c5-b906-4974-9253-82b8a296c5a7" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "25f88498-8d17-4442-8295-0231881467a9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a59e0f60-b256-4bcb-bf4e-ff66ac610087", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d6fbbdf2-be9b-4a8c-89fe-26523e87734d", - "Content-Length": "1371", + "apim-request-id": "2d21f98a-ca2f-4392-b9ff-3291e23a8a58", + "Content-Length": "1357", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135", + "x-envoy-upstream-service-time": "143", "x-ms-region": "West US 2", - "X-Request-ID": "d6fbbdf2-be9b-4a8c-89fe-26523e87734d" + "X-Request-ID": "2d21f98a-ca2f-4392-b9ff-3291e23a8a58" }, "ResponseBody": { - "dataFeedId": "0dd160d5-7176-4ed8-a51f-058538f517e3", - "dataFeedName": "java_create_data_feed_test_sampledda7ccfe-db4d-44b9-870b-adf3bf3bbda6", + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", "metrics": [ { - "metricId": "7de28125-06f7-4a7d-9037-9224356c7908", + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "ba3590fd-a32d-4591-bc16-8b049c6019ab", + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -963,12 +963,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:41Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -978,114 +978,114 @@ "fileSystemName": "adsample" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "603c4fd6-74fb-4372-9bf1-926162a56612" + "credentialId": "59e556c5-b906-4974-9253-82b8a296c5a7" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0dd160d5-7176-4ed8-a51f-058538f517e3", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fdf8face-d595-439e-9c86-0da6db34e8b1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f01669d5-f891-41f8-b588-4b1c83c7fbc5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "b53cade0-692f-4a4a-b306-16c42d670d70", + "apim-request-id": "4f39db2f-fb15-4aa3-91ac-f7fffe45cde8", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "276", + "x-envoy-upstream-service-time": "320", "x-ms-region": "West US 2", - "X-Request-ID": "b53cade0-692f-4a4a-b306-16c42d670d70" + "X-Request-ID": "4f39db2f-fb15-4aa3-91ac-f7fffe45cde8" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/34b21755-1709-41fd-ab8a-726fa64c7f78", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b8bfdaea-865f-4db8-875a-3222442a272c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "80b16de8-a4ff-4e58-84d4-5f4881d51f8d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "e7b5a298-08d4-4601-b790-a918e85b69e9", + "apim-request-id": "7ba35958-0017-4e65-be52-29fc79e45c7b", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "136", + "x-envoy-upstream-service-time": "187", "x-ms-region": "West US 2", - "X-Request-ID": "e7b5a298-08d4-4601-b790-a918e85b69e9" + "X-Request-ID": "7ba35958-0017-4e65-be52-29fc79e45c7b" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/412aceaa-f8d7-4bba-bbfb-b227c03b3fe0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59bce019-8217-4fcc-b0b2-3bc86d496d68", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "186145f6-dded-4078-9296-4ab56846e243", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "88e2a2bd-578c-4d03-8b4d-39728a967f99", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "64cc0521-5c8d-4a77-b741-ccbe61c6859a", + "apim-request-id": "4bee27bf-c32d-4af8-b9a9-0672e2c2f6d3", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "99", + "x-envoy-upstream-service-time": "158", "x-ms-region": "West US 2", - "X-Request-ID": "64cc0521-5c8d-4a77-b741-ccbe61c6859a" + "X-Request-ID": "4bee27bf-c32d-4af8-b9a9-0672e2c2f6d3" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/603c4fd6-74fb-4372-9bf1-926162a56612", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59e556c5-b906-4974-9253-82b8a296c5a7", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5689725f-bf93-460c-ac15-716fc0d41943", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1e38a6b7-36cb-4432-a9e0-25440ee86ad8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "1b1f24ad-deae-475e-91b6-1c813a24f84d", + "apim-request-id": "7bea7a21-2be0-4517-afa4-b3ee636ca693", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "136", + "x-envoy-upstream-service-time": "130", "x-ms-region": "West US 2", - "X-Request-ID": "1b1f24ad-deae-475e-91b6-1c813a24f84d" + "X-Request-ID": "7bea7a21-2be0-4517-afa4-b3ee636ca693" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json index 7d7c8c29b8978..f07728c9166a7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "599", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:42 GMT", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2c6a3724-b7ae-44a5-9e8c-eb30ec373319", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f70d4cf4-23e2-4c7d-9f48-579ae0947c1d", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "9959645e-28d6-40f2-8bd6-5c8aca4607fa", + "apim-request-id": "66473b4a-04dc-4fdf-ac83-886d55077f34", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "929", + "x-envoy-upstream-service-time": "1023", "x-ms-region": "West US 2", - "X-Request-ID": "9959645e-28d6-40f2-8bd6-5c8aca4607fa" + "X-Request-ID": "66473b4a-04dc-4fdf-ac83-886d55077f34" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c56d6e21-78e7-4dc7-b3c7-d282b3d8e0b6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "572a98fd-fd74-4161-8646-b9488e2fd2f3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3342183d-300c-42cd-98e2-1440ca78cfbd", - "Content-Length": "1235", + "apim-request-id": "6feb46f9-4f4c-47d4-a741-b9e5dbac60a5", + "Content-Length": "1221", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "172", + "x-envoy-upstream-service-time": "185", "x-ms-region": "West US 2", - "X-Request-ID": "3342183d-300c-42cd-98e2-1440ca78cfbd" + "X-Request-ID": "6feb46f9-4f4c-47d4-a741-b9e5dbac60a5" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -144,22 +144,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "659", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0615b734-ed37-47d6-927b-6ab6c5a5b188", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a23c07e2-021b-49b2-a04b-1416ab8acbd7", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -172,7 +172,7 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", @@ -185,28 +185,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8ff0c409-2ecc-4ce8-a536-64a4e63e1f84", - "Content-Length": "1245", + "apim-request-id": "6ae3770c-4a59-497a-8600-fa3991880914", + "Content-Length": "1231", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:43 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "618", + "x-envoy-upstream-service-time": "666", "x-ms-region": "West US 2", - "X-Request-ID": "8ff0c409-2ecc-4ce8-a536-64a4e63e1f84" + "X-Request-ID": "6ae3770c-4a59-497a-8600-fa3991880914" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -238,12 +238,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -253,43 +253,43 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "57cebfc0-adac-4182-ac3c-cc44e66e734e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "968cd4b4-3651-4e40-9981-51b269482a6e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "044e4943-6b47-4018-b9ca-611f03dd355c", - "Content-Length": "1245", + "apim-request-id": "a00cb57f-d001-4b0a-86ae-8d1bdfc29959", + "Content-Length": "1231", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "164", + "x-envoy-upstream-service-time": "147", "x-ms-region": "West US 2", - "X-Request-ID": "044e4943-6b47-4018-b9ca-611f03dd355c" + "X-Request-ID": "a00cb57f-d001-4b0a-86ae-8d1bdfc29959" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -321,12 +321,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -342,85 +342,85 @@ "Accept": "application/json", "Content-Length": "202", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "031d8d48-9546-41ca-ab0b-4ded83347a5c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c86734fb-4bcc-49ba-ba1e-7d7b9cc8efa5", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "AzureSQLConnectionString", - "dataSourceCredentialName": "java_create_data_source_cred_sql_conc7ce8fc3-3a18-4a9e-a561-1488eff6455b", + "dataSourceCredentialName": "java_create_data_source_cred_sql_confd7adafe-a2e5-4313-b204-4aa9bbe1f169", "parameters": { "connectionString": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "4b3058c7-9589-4948-91c5-49f01127b0d2", + "apim-request-id": "bb56da88-e989-4e29-b48b-5523ddeb27f5", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/8ae88c45-daa0-47e0-af8d-49d87659599c", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/614f38b9-7a84-4915-a300-1cb18a66f552", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "386", + "x-envoy-upstream-service-time": "366", "x-ms-region": "West US 2", - "X-Request-ID": "4b3058c7-9589-4948-91c5-49f01127b0d2" + "X-Request-ID": "bb56da88-e989-4e29-b48b-5523ddeb27f5" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8ae88c45-daa0-47e0-af8d-49d87659599c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/614f38b9-7a84-4915-a300-1cb18a66f552", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "daee4b61-7885-4d18-af99-7702b1a80cc0", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "abe45de4-165e-435a-8bcb-42eef30ac5f4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e315a96e-d28a-4629-b312-25a0d2e8e484", + "apim-request-id": "9deffa16-5f2f-44e2-9561-84b0ebf481bc", "Content-Length": "274", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "115", + "x-envoy-upstream-service-time": "143", "x-ms-region": "West US 2", - "X-Request-ID": "e315a96e-d28a-4629-b312-25a0d2e8e484" + "X-Request-ID": "9deffa16-5f2f-44e2-9561-84b0ebf481bc" }, "ResponseBody": { - "dataSourceCredentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c", - "dataSourceCredentialName": "java_create_data_source_cred_sql_conc7ce8fc3-3a18-4a9e-a561-1488eff6455b", + "dataSourceCredentialId": "614f38b9-7a84-4915-a300-1cb18a66f552", + "dataSourceCredentialName": "java_create_data_source_cred_sql_confd7adafe-a2e5-4313-b204-4aa9bbe1f169", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "692", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e81c20d4-6929-448c-86f5-4b11d25d8d2b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f4c5e8e6-5d86-44d2-87a5-20516ca35f1e", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -433,41 +433,41 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "AzureSQLConnectionString", - "credentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" } }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4c985b1d-6f63-4feb-9d92-c6c22b81b1cd", - "Content-Length": "1308", + "apim-request-id": "2f8393b9-03ba-4e1a-9074-178654c05677", + "Content-Length": "1294", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "569", + "x-envoy-upstream-service-time": "1478", "x-ms-region": "West US 2", - "X-Request-ID": "4c985b1d-6f63-4feb-9d92-c6c22b81b1cd" + "X-Request-ID": "2f8393b9-03ba-4e1a-9074-178654c05677" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -499,59 +499,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "AzureSQLConnectionString", - "credentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c" + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "60a6bd0e-659f-4b02-a5a9-c949e40a862c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dd3c76f5-3898-46fd-8b75-4da49505ee4a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e0a6c6ab-cea6-401f-b592-cdf2e741f346", - "Content-Length": "1308", + "apim-request-id": "cce74759-82a3-419a-ae28-a96d2d4896e1", + "Content-Length": "1294", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "142", + "x-envoy-upstream-service-time": "158", "x-ms-region": "West US 2", - "X-Request-ID": "e0a6c6ab-cea6-401f-b592-cdf2e741f346" + "X-Request-ID": "cce74759-82a3-419a-ae28-a96d2d4896e1" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -583,19 +583,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "AzureSQLConnectionString", - "credentialId": "8ae88c45-daa0-47e0-af8d-49d87659599c" + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" } }, { @@ -605,16 +605,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cddead94-6bf0-4b86-b613-707bfceb670a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2895f024-be64-470c-912b-4bd76ff61f67", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_spa9c2b30c-db58-45cb-9578-a13d6837882c", + "dataSourceCredentialName": "java_create_data_source_cred_spfbff34db-7a47-488f-a3b0-e37928a7f063", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -623,47 +623,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "c7e5748f-7155-477d-a9f3-eeb4e16cf6fe", + "apim-request-id": "9812e021-ec2a-4870-9216-b89750dc68f2", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/d60d1b43-f7ac-411b-b206-022190797990", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "287", + "x-envoy-upstream-service-time": "282", "x-ms-region": "West US 2", - "X-Request-ID": "c7e5748f-7155-477d-a9f3-eeb4e16cf6fe" + "X-Request-ID": "9812e021-ec2a-4870-9216-b89750dc68f2" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d60d1b43-f7ac-411b-b206-022190797990", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8f4a24b3-377a-4a33-85d1-8c3e80186f30", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "790e14c0-670b-4a06-b301-468ed8f14e67", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e9f65975-66ad-4b53-af73-0f5c8e42b3c0", + "apim-request-id": "2e61ca93-a134-438e-8b5a-85a988b6a356", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:45 GMT", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "97", + "x-envoy-upstream-service-time": "118", "x-ms-region": "West US 2", - "X-Request-ID": "e9f65975-66ad-4b53-af73-0f5c8e42b3c0" + "X-Request-ID": "2e61ca93-a134-438e-8b5a-85a988b6a356" }, "ResponseBody": { - "dataSourceCredentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", - "dataSourceCredentialName": "java_create_data_source_cred_spa9c2b30c-db58-45cb-9578-a13d6837882c", + "dataSourceCredentialId": "d60d1b43-f7ac-411b-b206-022190797990", + "dataSourceCredentialName": "java_create_data_source_cred_spfbff34db-7a47-488f-a3b0-e37928a7f063", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -673,22 +673,22 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "714", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c5494277-7e1b-40fb-900f-831afa85264b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "add3202e-8ea4-4168-a687-09f1f50f226d", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -701,13 +701,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipal", - "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "credentialId": "d60d1b43-f7ac-411b-b206-022190797990", "dataSourceParameter": { "connectionString": "REDACTED", "query": "select * from adsample2 where Timestamp = @StartTime" @@ -715,28 +715,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9b006aa0-d71e-49b3-beac-1e3e279d0c42", - "Content-Length": "1300", + "apim-request-id": "673ddd8c-6edc-4cca-ae22-d6f4ac329ab2", + "Content-Length": "1286", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "604", + "x-envoy-upstream-service-time": "863", "x-ms-region": "West US 2", - "X-Request-ID": "9b006aa0-d71e-49b3-beac-1e3e279d0c42" + "X-Request-ID": "673ddd8c-6edc-4cca-ae22-d6f4ac329ab2" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -768,59 +768,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" + "credentialId": "d60d1b43-f7ac-411b-b206-022190797990" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e40fde8b-9a98-434f-88a3-81e290000cf8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c350b819-2e5e-46cb-98a2-966e834d331c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f36e427d-5128-418f-8bd9-61a9e8952079", - "Content-Length": "1300", + "apim-request-id": "0ac134c9-b5f1-4da2-a138-c926e86e1c6c", + "Content-Length": "1286", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "178", + "x-envoy-upstream-service-time": "393", "x-ms-region": "West US 2", - "X-Request-ID": "f36e427d-5128-418f-8bd9-61a9e8952079" + "X-Request-ID": "0ac134c9-b5f1-4da2-a138-c926e86e1c6c" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -852,19 +852,19 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipal", - "credentialId": "fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa" + "credentialId": "d60d1b43-f7ac-411b-b206-022190797990" } }, { @@ -874,18 +874,18 @@ "Accept": "application/json", "Content-Length": "510", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a72cc34d-729d-4bf5-9122-55ecf51690f4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e5013b05-e6bc-449f-81b8-2c524a50ee37", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipalInKV", - "dataSourceCredentialName": "java_create_data_source_cred_spkvee248c05-6f1f-474b-8a1c-264c3891c8f0", + "dataSourceCredentialName": "java_create_data_source_cred_spkv085ff3db-6de3-461c-bfdf-da6a926e00b0", "parameters": { - "keyVaultEndpoint": "https://7eef2fc9-14f6-428d-baca-a2be4b0ac722.vault.azure.net", + "keyVaultEndpoint": "https://64337005-46e3-4dd4-8c9e-4e90e70749f7.vault.azure.net", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", "servicePrincipalIdNameInKV": "DSClientID_1", @@ -895,47 +895,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "a93ff1a3-4dc3-4d37-8fc7-699bfcdddf0a", + "apim-request-id": "a14c0c11-dcd1-40b5-b2e6-a83628117151", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/ebd343a9-c794-427b-a5ff-bb54bd2a9e48", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "230", + "x-envoy-upstream-service-time": "673", "x-ms-region": "West US 2", - "X-Request-ID": "a93ff1a3-4dc3-4d37-8fc7-699bfcdddf0a" + "X-Request-ID": "a14c0c11-dcd1-40b5-b2e6-a83628117151" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ebd343a9-c794-427b-a5ff-bb54bd2a9e48", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:47 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e7ba3fa0-5b26-4684-bf6d-449d807cd941", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4053aa50-c46a-4cfc-8392-6c564c25f56a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4c57da5e-b3e4-4fa1-ab29-626e08ba98db", + "apim-request-id": "56350ebf-84b4-4fc9-9316-2213e9466e72", "Content-Length": "549", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:46 GMT", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "140", + "x-envoy-upstream-service-time": "123", "x-ms-region": "West US 2", - "X-Request-ID": "4c57da5e-b3e4-4fa1-ab29-626e08ba98db" + "X-Request-ID": "56350ebf-84b4-4fc9-9316-2213e9466e72" }, "ResponseBody": { - "dataSourceCredentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", - "dataSourceCredentialName": "java_create_data_source_cred_spkvee248c05-6f1f-474b-8a1c-264c3891c8f0", + "dataSourceCredentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48", + "dataSourceCredentialName": "java_create_data_source_cred_spkv085ff3db-6de3-461c-bfdf-da6a926e00b0", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipalInKV", "parameters": { @@ -943,27 +943,27 @@ "servicePrincipalIdNameInKV": "DSClientID_1", "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", - "keyVaultEndpoint": "https://7eef2fc9-14f6-428d-baca-a2be4b0ac722.vault.azure.net" + "keyVaultEndpoint": "https://64337005-46e3-4dd4-8c9e-4e90e70749f7.vault.azure.net" } } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "718", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cf767439-5285-4687-8d49-e0abfb89e5a3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "824241e2-2352-4703-a62f-8d1a4070c044", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "dataFeedDescription": "", "timestampColumn": "", "dataStartFrom": "2019-10-01T00:00:00Z", @@ -976,13 +976,13 @@ "fillMissingPointType": "PreviousValue", "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], "status": "Active", "actionLinkTemplate": "", "authenticationType": "ServicePrincipalInKV", - "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "credentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48", "dataSourceParameter": { "connectionString": "REDACTED", "query": "select * from adsample2 where Timestamp = @StartTime" @@ -990,28 +990,28 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3045d954-e327-40d9-ac1a-816f6b41fd5e", - "Content-Length": "1304", + "apim-request-id": "f11cfd0a-6e72-4aa5-a4f7-53c43e0de49c", + "Content-Length": "1290", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "771", + "x-envoy-upstream-service-time": "1008", "x-ms-region": "West US 2", - "X-Request-ID": "3045d954-e327-40d9-ac1a-816f6b41fd5e" + "X-Request-ID": "f11cfd0a-6e72-4aa5-a4f7-53c43e0de49c" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -1043,59 +1043,59 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16" + "credentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b6c12121-73f6-4ee7-a8b2-258412e6bdc7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ef6d9001-5bb3-4afa-ab54-1e3446fc90cb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7b8112cf-3aca-4084-9b3b-a1b929698e4f", - "Content-Length": "1304", + "apim-request-id": "61126527-e815-46b4-9684-874cb20cd6f1", + "Content-Length": "1290", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "229", + "x-envoy-upstream-service-time": "207", "x-ms-region": "West US 2", - "X-Request-ID": "7b8112cf-3aca-4084-9b3b-a1b929698e4f" + "X-Request-ID": "61126527-e815-46b4-9684-874cb20cd6f1" }, "ResponseBody": { - "dataFeedId": "0a947fbd-e408-40c6-a380-3d31a4f946b9", - "dataFeedName": "java_create_data_feed_test_samplee46f7bbb-90e6-4069-bbca-4b4c719bc698", + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", "metrics": [ { - "metricId": "4484d9ef-bfde-469a-9a32-c13744670aeb", + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "61f39646-f2bc-4e1f-96d8-ec88f8ba849f", + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -1127,126 +1127,126 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:43Z", + "createdTime": "2023-04-17T23:00:18Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { "query": "select * from adsample2 where Timestamp = @StartTime" }, "authenticationType": "ServicePrincipalInKV", - "credentialId": "6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16" + "credentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48" } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0a947fbd-e408-40c6-a380-3d31a4f946b9", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "82925052-a9d0-4d9a-9bd7-a599869e2578", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "65e9128a-3ffd-4d7f-8990-26f9dcd7d393", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "925c07e9-d31a-4af7-8924-92649727ff69", + "apim-request-id": "cbac4bff-64ff-4c45-a864-a1a83c014b2e", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:48 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "372", + "x-envoy-upstream-service-time": "576", "x-ms-region": "West US 2", - "X-Request-ID": "925c07e9-d31a-4af7-8924-92649727ff69" + "X-Request-ID": "cbac4bff-64ff-4c45-a864-a1a83c014b2e" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8ae88c45-daa0-47e0-af8d-49d87659599c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/614f38b9-7a84-4915-a300-1cb18a66f552", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "710302cf-5ae6-4a12-a5c5-66fe816fbce6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "acd52c11-3b4f-4c00-9cf6-22aa77307d19", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "4d6a7a2c-9298-441c-803c-b8685bd43580", + "apim-request-id": "53e1a3de-c7c6-4a0b-a5f2-9b33d14cde9d", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "112", + "x-envoy-upstream-service-time": "230", "x-ms-region": "West US 2", - "X-Request-ID": "4d6a7a2c-9298-441c-803c-b8685bd43580" + "X-Request-ID": "53e1a3de-c7c6-4a0b-a5f2-9b33d14cde9d" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fa9d3d50-c57c-4f56-98ea-d207b3b8d1aa", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d60d1b43-f7ac-411b-b206-022190797990", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "32179464-2c91-41bb-bff1-9baa80315e09", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7f6257c6-84c0-4a18-9b04-01dff7dc0c79", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "046e198f-8995-4f34-bec9-ea63beb8a95c", + "apim-request-id": "5a2da078-bbf3-4c79-b5a0-eee520833012", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "138", + "x-envoy-upstream-service-time": "221", "x-ms-region": "West US 2", - "X-Request-ID": "046e198f-8995-4f34-bec9-ea63beb8a95c" + "X-Request-ID": "5a2da078-bbf3-4c79-b5a0-eee520833012" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6ac6e7c0-d77c-42f8-a9c3-9a02c20c7f16", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ebd343a9-c794-427b-a5ff-bb54bd2a9e48", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6293173e-3fbc-4cad-99e1-2c201c37341f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "61b6f8cc-e0a0-4087-a0f8-cece00741175", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "baa6c4a6-ecb0-4399-b2f8-3be16189ad82", + "apim-request-id": "3d0e2776-d6be-49f6-81be-6e136217fa5c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:49 GMT", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "166", + "x-envoy-upstream-service-time": "268", "x-ms-region": "West US 2", - "X-Request-ID": "baa6c4a6-ecb0-4399-b2f8-3be16189ad82" + "X-Request-ID": "3d0e2776-d6be-49f6-81be-6e136217fa5c" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json index dc3a0ff15c5ae..c739737cb92ec 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json @@ -7,92 +7,92 @@ "Accept": "application/json", "Content-Length": "195", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b257b54f-4ea3-45e9-adf0-4c2873d228f3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "165486c0-98f2-41ec-b10c-3ce3c0c6fa3d", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "DataLakeGen2SharedKey", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen26d26822-66b2-464c-84c1-c49ce9b2a271", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen1a5f64ac-322f-43ed-941a-0f5805bcb82e", "parameters": { "accountKey": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "44fffb41-a6fe-414f-8a9a-c28e1cfd09f5", + "apim-request-id": "13056b1e-c5c5-4735-8f27-583e31b79a42", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d26114d8-4e60-4ad4-ad21-c17422f255df", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/6bb7bb43-b002-491a-a5eb-552d8dc69be1", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "363", + "x-envoy-upstream-service-time": "437", "x-ms-region": "West US 2", - "X-Request-ID": "44fffb41-a6fe-414f-8a9a-c28e1cfd09f5" + "X-Request-ID": "13056b1e-c5c5-4735-8f27-583e31b79a42" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d26114d8-4e60-4ad4-ad21-c17422f255df", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6bb7bb43-b002-491a-a5eb-552d8dc69be1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d25a3880-18c9-4a31-9cdb-0b2046e75be3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ba3b1841-20b7-4915-afc6-024aaa08b3fa", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8b35bfde-72b7-4fd9-8f47-35f30cea91d9", + "apim-request-id": "b4496387-66b3-44bb-a51a-aa30840de18f", "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "199", + "x-envoy-upstream-service-time": "108", "x-ms-region": "West US 2", - "X-Request-ID": "8b35bfde-72b7-4fd9-8f47-35f30cea91d9" + "X-Request-ID": "b4496387-66b3-44bb-a51a-aa30840de18f" }, "ResponseBody": { - "dataSourceCredentialId": "d26114d8-4e60-4ad4-ad21-c17422f255df", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen26d26822-66b2-464c-84c1-c49ce9b2a271", + "dataSourceCredentialId": "6bb7bb43-b002-491a-a5eb-552d8dc69be1", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen1a5f64ac-322f-43ed-941a-0f5805bcb82e", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d26114d8-4e60-4ad4-ad21-c17422f255df", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6bb7bb43-b002-491a-a5eb-552d8dc69be1", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "55fb9134-c415-49e0-89bd-45dec9955d69", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cb1c911e-d483-4125-8133-b3b6424b4863", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "13fbc4db-f93c-40f5-831c-d98af552e7e7", + "apim-request-id": "b49c507a-1b8c-4e66-810e-9a5fb34b21cb", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "121", + "x-envoy-upstream-service-time": "146", "x-ms-region": "West US 2", - "X-Request-ID": "13fbc4db-f93c-40f5-831c-d98af552e7e7" + "X-Request-ID": "b49c507a-1b8c-4e66-810e-9a5fb34b21cb" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json index 8b8e829b8e1f7..5de518fda3562 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json @@ -7,18 +7,18 @@ "Accept": "application/json", "Content-Length": "510", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e7b0dc5b-862d-4578-87b2-4c8947e4ee73", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c8669ac3-b6d0-4d4a-9839-f3a4aa55f3a3", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipalInKV", - "dataSourceCredentialName": "java_create_data_source_cred_spkv941dcda0-aec9-4af6-9f4e-f2f1a554e756", + "dataSourceCredentialName": "java_create_data_source_cred_spkvcd40369d-8d36-46b6-884b-50a956621eeb", "parameters": { - "keyVaultEndpoint": "https://d8fc702d-5309-4079-adeb-63dc513307e5.vault.azure.net", + "keyVaultEndpoint": "https://bdce118a-3f7b-4431-b7c2-80b3a4d86e36.vault.azure.net", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", "servicePrincipalIdNameInKV": "DSClientID_1", @@ -28,47 +28,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "1a11b1d8-21de-4ad9-b88e-a348174be409", + "apim-request-id": "11116ef5-3cfd-42cb-9aae-d99c21cc44b8", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/4443f44c-f4a7-4b76-b504-e377936f6a41", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "293", + "x-envoy-upstream-service-time": "277", "x-ms-region": "West US 2", - "X-Request-ID": "1a11b1d8-21de-4ad9-b88e-a348174be409" + "X-Request-ID": "11116ef5-3cfd-42cb-9aae-d99c21cc44b8" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4443f44c-f4a7-4b76-b504-e377936f6a41", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "7ef1415d-1c51-4c9c-9774-c86041ae4a6c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6fb817fe-e29c-404c-ab5e-bb68968189cf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "474fe9e9-3240-49ab-b4fe-8cadee38bc2d", + "apim-request-id": "48c93c07-b4eb-4964-9c8a-40096675ded8", "Content-Length": "549", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "117", + "x-envoy-upstream-service-time": "108", "x-ms-region": "West US 2", - "X-Request-ID": "474fe9e9-3240-49ab-b4fe-8cadee38bc2d" + "X-Request-ID": "48c93c07-b4eb-4964-9c8a-40096675ded8" }, "ResponseBody": { - "dataSourceCredentialId": "e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", - "dataSourceCredentialName": "java_create_data_source_cred_spkv941dcda0-aec9-4af6-9f4e-f2f1a554e756", + "dataSourceCredentialId": "4443f44c-f4a7-4b76-b504-e377936f6a41", + "dataSourceCredentialName": "java_create_data_source_cred_spkvcd40369d-8d36-46b6-884b-50a956621eeb", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipalInKV", "parameters": { @@ -76,34 +76,34 @@ "servicePrincipalIdNameInKV": "DSClientID_1", "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", - "keyVaultEndpoint": "https://d8fc702d-5309-4079-adeb-63dc513307e5.vault.azure.net" + "keyVaultEndpoint": "https://bdce118a-3f7b-4431-b7c2-80b3a4d86e36.vault.azure.net" } } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e79a5008-0046-49ea-bc6e-b8ec7ea2e9de", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4443f44c-f4a7-4b76-b504-e377936f6a41", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "94ad1fc8-84c9-4d0c-a4ac-ec5b6cdb721b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e4a22e3d-995e-4949-9990-d8e7b407305e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "14d96140-f435-4d3d-8fa1-4d2e2f9b182b", + "apim-request-id": "841e10cc-a152-4728-800c-b3f7dacf6ec7", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143", + "x-envoy-upstream-service-time": "160", "x-ms-region": "West US 2", - "X-Request-ID": "14d96140-f435-4d3d-8fa1-4d2e2f9b182b" + "X-Request-ID": "841e10cc-a152-4728-800c-b3f7dacf6ec7" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json index 8f5a94eddda6e..44fc2dbdcf1a2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "bf3a1829-0386-4f63-be80-f808fd949550", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6f35dc9c-e293-4cb6-b84b-99dd7a818190", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_sp9263fb41-12c6-4045-bed8-be62ce89a3c9", + "dataSourceCredentialName": "java_create_data_source_cred_sp7f00435f-ad1b-4468-8dbd-589219d359df", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -25,47 +25,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "bbdb926e-19f5-47ad-a9e4-4fe37425fbfc", + "apim-request-id": "09c132ea-44bd-432f-bdd9-4ecb2e72127a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/8276596d-e912-45a0-a561-7e2470e56841", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "287", + "x-envoy-upstream-service-time": "335", "x-ms-region": "West US 2", - "X-Request-ID": "bbdb926e-19f5-47ad-a9e4-4fe37425fbfc" + "X-Request-ID": "09c132ea-44bd-432f-bdd9-4ecb2e72127a" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8276596d-e912-45a0-a561-7e2470e56841", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f620724f-fd59-4d7e-9122-8e2e9044c244", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6a44368d-ff6f-4220-9213-34c39b47cd4e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "10592281-25b3-4684-84ac-01be789ee1a2", + "apim-request-id": "407a28fa-67d2-4b45-be37-3d6533fc59b2", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "117", + "x-envoy-upstream-service-time": "119", "x-ms-region": "West US 2", - "X-Request-ID": "10592281-25b3-4684-84ac-01be789ee1a2" + "X-Request-ID": "407a28fa-67d2-4b45-be37-3d6533fc59b2" }, "ResponseBody": { - "dataSourceCredentialId": "8276596d-e912-45a0-a561-7e2470e56841", - "dataSourceCredentialName": "java_create_data_source_cred_sp9263fb41-12c6-4045-bed8-be62ce89a3c9", + "dataSourceCredentialId": "3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", + "dataSourceCredentialName": "java_create_data_source_cred_sp7f00435f-ad1b-4468-8dbd-589219d359df", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -75,29 +75,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8276596d-e912-45a0-a561-7e2470e56841", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "94543893-ed14-4aed-bee4-900576e62652", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "467c6702-0af6-47d2-84af-be2cd879cb94", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "89869a5e-adad-49b7-b24a-993bccaa8d0a", + "apim-request-id": "1b080eb3-ad0c-4d8d-aa49-4e894846f380", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "122", + "x-envoy-upstream-service-time": "113", "x-ms-region": "West US 2", - "X-Request-ID": "89869a5e-adad-49b7-b24a-993bccaa8d0a" + "X-Request-ID": "1b080eb3-ad0c-4d8d-aa49-4e894846f380" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json index 58a957702a36f..c3d58f45e4e5e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json @@ -7,92 +7,92 @@ "Accept": "application/json", "Content-Length": "202", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "45bc9c54-87cd-40f5-ade2-6524ca135b3b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4376aeb0-2bee-4eb5-8509-63775db32c1f", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "AzureSQLConnectionString", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con213ed2b5-7c36-469a-9edb-88293a906d7d", + "dataSourceCredentialName": "java_create_data_source_cred_sql_conedae603b-ca1d-44f2-9da9-40121aa23adf", "parameters": { "connectionString": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "26420852-934e-480f-b085-41dd257872c0", + "apim-request-id": "f83ec584-d0eb-4167-9286-d7d0f77e6339", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5d986f99-37f9-434b-96c1-42ad0dbb486c", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/6e47061a-de0a-4a16-883b-479e4bdbf76a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "277", + "x-envoy-upstream-service-time": "306", "x-ms-region": "West US 2", - "X-Request-ID": "26420852-934e-480f-b085-41dd257872c0" + "X-Request-ID": "f83ec584-d0eb-4167-9286-d7d0f77e6339" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/5d986f99-37f9-434b-96c1-42ad0dbb486c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e47061a-de0a-4a16-883b-479e4bdbf76a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f6077f36-0b2c-434a-a992-9c0d3b26ae8a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7acb745f-f386-447c-83fe-c720d35b1e74", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fe0b85f4-a040-4b31-bc96-44aba2738ffc", + "apim-request-id": "292b8155-e8a8-46ea-8a9d-c750e9fdbe4e", "Content-Length": "274", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "137", + "x-envoy-upstream-service-time": "113", "x-ms-region": "West US 2", - "X-Request-ID": "fe0b85f4-a040-4b31-bc96-44aba2738ffc" + "X-Request-ID": "292b8155-e8a8-46ea-8a9d-c750e9fdbe4e" }, "ResponseBody": { - "dataSourceCredentialId": "5d986f99-37f9-434b-96c1-42ad0dbb486c", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con213ed2b5-7c36-469a-9edb-88293a906d7d", + "dataSourceCredentialId": "6e47061a-de0a-4a16-883b-479e4bdbf76a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_conedae603b-ca1d-44f2-9da9-40121aa23adf", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/5d986f99-37f9-434b-96c1-42ad0dbb486c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e47061a-de0a-4a16-883b-479e4bdbf76a", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "954aa61b-d055-4567-8766-9d2489c73ccb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8ae3d5d3-ee69-49f7-9616-ad1365f0f36a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "764e621b-4ea4-4eae-8c4c-5cac156fbe98", + "apim-request-id": "ce38c6cc-95c8-41a3-b057-662af84b19cf", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "139", + "x-envoy-upstream-service-time": "126", "x-ms-region": "West US 2", - "X-Request-ID": "764e621b-4ea4-4eae-8c4c-5cac156fbe98" + "X-Request-ID": "ce38c6cc-95c8-41a3-b057-662af84b19cf" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json index 693492f03b668..205ab84d5a20d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json @@ -7,63 +7,63 @@ "Accept": "application/json", "Content-Length": "202", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "117eca3b-1746-4952-9af5-a97706fbd8aa", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44eb0c60-c27e-4e56-b7c6-fcd50dd9c917", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "AzureSQLConnectionString", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", "parameters": { "connectionString": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "b9518431-c23a-4394-ad8b-c2bcdb96e351", + "apim-request-id": "fa0b2ff8-473f-4a94-b04d-31f647518057", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/75fcd7ed-ed49-4004-b710-c82c5d3d2152", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "492", + "x-envoy-upstream-service-time": "539", "x-ms-region": "West US 2", - "X-Request-ID": "b9518431-c23a-4394-ad8b-c2bcdb96e351" + "X-Request-ID": "fa0b2ff8-473f-4a94-b04d-31f647518057" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/75fcd7ed-ed49-4004-b710-c82c5d3d2152", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "47a86864-05d7-4e63-9078-0bd669279cd5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c6846fc3-18bb-4c6d-a878-b31dc6400f6f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cbdc3e25-5022-425e-a27e-e5a9b321c2ab", + "apim-request-id": "d3b8d3e1-8d50-48b0-b7e8-19d23d2e23a0", "Content-Length": "274", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "126", + "x-envoy-upstream-service-time": "119", "x-ms-region": "West US 2", - "X-Request-ID": "cbdc3e25-5022-425e-a27e-e5a9b321c2ab" + "X-Request-ID": "d3b8d3e1-8d50-48b0-b7e8-19d23d2e23a0" }, "ResponseBody": { - "dataSourceCredentialId": "0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "dataSourceCredentialId": "75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} @@ -76,63 +76,63 @@ "Accept": "application/json", "Content-Length": "195", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "7ccdcca6-343b-4652-9434-68488acaa392", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e99db0e0-4bc5-49c3-8c14-78c5f7de42a2", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "DataLakeGen2SharedKey", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", "parameters": { "accountKey": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "dcfaf050-6d8f-4a68-9947-23094c1f0f5b", + "apim-request-id": "11630c55-c19b-4f8d-bc6b-b880f97ed8cd", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/159c944e-5618-4287-82e7-6b1f43fac586", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/b884cbfd-3854-483b-8091-8c435b238f42", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "323", + "x-envoy-upstream-service-time": "399", "x-ms-region": "West US 2", - "X-Request-ID": "dcfaf050-6d8f-4a68-9947-23094c1f0f5b" + "X-Request-ID": "11630c55-c19b-4f8d-bc6b-b880f97ed8cd" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/159c944e-5618-4287-82e7-6b1f43fac586", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/b884cbfd-3854-483b-8091-8c435b238f42", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9a666832-dbd7-46c6-b26c-d45d315f9dd9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "47872ef5-3127-4bea-8c50-d71899d58aa8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "29cb650f-29ee-430d-b135-b4da5bbc3fe3", + "apim-request-id": "dec7828a-1dfb-4798-a4e3-1959cde2a294", "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "106", + "x-envoy-upstream-service-time": "110", "x-ms-region": "West US 2", - "X-Request-ID": "29cb650f-29ee-430d-b135-b4da5bbc3fe3" + "X-Request-ID": "dec7828a-1dfb-4798-a4e3-1959cde2a294" }, "ResponseBody": { - "dataSourceCredentialId": "159c944e-5618-4287-82e7-6b1f43fac586", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "dataSourceCredentialId": "b884cbfd-3854-483b-8091-8c435b238f42", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} @@ -144,52 +144,52 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "424585b2-91a2-4524-aad3-d7a138f25d0b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d60a2dc9-a714-4bbe-b798-17d1ae13b80d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5f0cd3d4-f646-4cce-9d54-0b67b1ec69d8", + "apim-request-id": "71d3ab27-7b90-4079-8b5b-f2504133f7ac", "Content-Length": "1379", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "437", + "x-envoy-upstream-service-time": "526", "x-ms-region": "West US 2", - "X-Request-ID": "5f0cd3d4-f646-4cce-9d54-0b67b1ec69d8" + "X-Request-ID": "71d3ab27-7b90-4079-8b5b-f2504133f7ac" }, "ResponseBody": { "value": [ { - "dataSourceCredentialId": "718c6e22-ad2a-47de-be4e-b8f5716a0aee", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "dataSourceCredentialId": "b884cbfd-3854-483b-8091-8c435b238f42", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} }, { - "dataSourceCredentialId": "159c944e-5618-4287-82e7-6b1f43fac586", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "dataSourceCredentialId": "6e37cb48-f3c4-485d-89bf-643da443bba9", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} }, { - "dataSourceCredentialId": "704e7b07-a09f-4bfe-b610-b89885586ccb", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "dataSourceCredentialId": "fe731985-5e24-46b0-8e75-6ab2ec76385a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} }, { - "dataSourceCredentialId": "0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "dataSourceCredentialId": "75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} @@ -208,56 +208,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/75fcd7ed-ed49-4004-b710-c82c5d3d2152", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "be0d96b6-b1a7-4d39-9855-49a0909f0bfe", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4769990d-5074-4855-8aac-8f0dd86a8429", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "519610db-05e2-4ebf-a57a-9ae1c9d28e83", + "apim-request-id": "d86c8139-a31a-4316-8c19-f132d2ef0ade", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "211", + "x-envoy-upstream-service-time": "187", "x-ms-region": "West US 2", - "X-Request-ID": "519610db-05e2-4ebf-a57a-9ae1c9d28e83" + "X-Request-ID": "d86c8139-a31a-4316-8c19-f132d2ef0ade" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/159c944e-5618-4287-82e7-6b1f43fac586", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/b884cbfd-3854-483b-8091-8c435b238f42", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4d06681e-4f02-4a9e-913e-fd9d3fd9c74b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d106efb5-158a-4802-8818-cf80463d362c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "4b67dd11-4281-4ba0-aa8b-67b5c226cc4f", + "apim-request-id": "a0ae7bd7-8bfd-4cbd-bb64-8f71e78035a4", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "216", + "x-envoy-upstream-service-time": "226", "x-ms-region": "West US 2", - "X-Request-ID": "4b67dd11-4281-4ba0-aa8b-67b5c226cc4f" + "X-Request-ID": "a0ae7bd7-8bfd-4cbd-bb64-8f71e78035a4" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json index 2b5fb4eee34b3..2aeaed9bb6e3f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json @@ -7,92 +7,92 @@ "Accept": "application/json", "Content-Length": "195", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8074f16d-8bdd-4ea4-a1eb-3cca3dd6f540", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "69a5cc94-b0e0-4443-814d-1a606379d2f0", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "DataLakeGen2SharedKey", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen47cd341e-50ca-4767-a621-505dcb11d4b7", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen775684e3-bb60-432b-8cc5-47bb3370251a", "parameters": { "accountKey": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "7139a8e7-20fe-407a-88ea-43c5cd3a4d52", + "apim-request-id": "87663bd2-6a39-4317-9c66-6a1f55f08a34", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/8115689c-6d48-47b3-979a-1b338d704cd7", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "292", + "x-envoy-upstream-service-time": "419", "x-ms-region": "West US 2", - "X-Request-ID": "7139a8e7-20fe-407a-88ea-43c5cd3a4d52" + "X-Request-ID": "87663bd2-6a39-4317-9c66-6a1f55f08a34" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8115689c-6d48-47b3-979a-1b338d704cd7", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "78a02b05-b77a-4688-a4fc-caf0bad72a4f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e4d8757b-dbac-4422-973d-e3d1b7427860", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9990fe0a-b2bb-4f45-974d-a9b46b957e8b", + "apim-request-id": "24a4e0e1-97dc-494b-bde8-b821cfbd0fd5", "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "140", + "x-envoy-upstream-service-time": "114", "x-ms-region": "West US 2", - "X-Request-ID": "9990fe0a-b2bb-4f45-974d-a9b46b957e8b" + "X-Request-ID": "24a4e0e1-97dc-494b-bde8-b821cfbd0fd5" }, "ResponseBody": { - "dataSourceCredentialId": "8115689c-6d48-47b3-979a-1b338d704cd7", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen47cd341e-50ca-4767-a621-505dcb11d4b7", + "dataSourceCredentialId": "79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen775684e3-bb60-432b-8cc5-47bb3370251a", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8115689c-6d48-47b3-979a-1b338d704cd7", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8b3c24e8-68fd-4105-aa1a-c15be1c21896", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "98a02aaf-b9d7-4520-aabe-2251c030db9e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "94eaaea8-3d2c-4155-a983-7d187464189e", + "apim-request-id": "148f04f7-5f47-4d8a-a5bb-a5a81cf30500", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "132", + "x-envoy-upstream-service-time": "181", "x-ms-region": "West US 2", - "X-Request-ID": "94eaaea8-3d2c-4155-a983-7d187464189e" + "X-Request-ID": "148f04f7-5f47-4d8a-a5bb-a5a81cf30500" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json index 731927026a652..d66bb238d1b40 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "313", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "453daf42-3096-4dfa-a75a-e190e8ebc245", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4f59f42a-b078-4028-ae76-9df4e36efe73", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "ServicePrincipal", - "dataSourceCredentialName": "java_create_data_source_cred_spa8401a0a-7494-4133-b836-484cc112f2fe", + "dataSourceCredentialName": "java_create_data_source_cred_sp912d1505-290c-4355-8ddf-eb72d4afc76c", "parameters": { "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", @@ -25,47 +25,47 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "54690244-e424-46f9-a0f8-096d2b69d902", + "apim-request-id": "eff688be-0182-4276-a2f9-47f3242fff15", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/06a52ac4-d30d-4cd0-90f5-3c09206b7dba", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/340279b5-3932-4389-a2aa-671f49f79148", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "306", + "x-envoy-upstream-service-time": "353", "x-ms-region": "West US 2", - "X-Request-ID": "54690244-e424-46f9-a0f8-096d2b69d902" + "X-Request-ID": "eff688be-0182-4276-a2f9-47f3242fff15" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/06a52ac4-d30d-4cd0-90f5-3c09206b7dba", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/340279b5-3932-4389-a2aa-671f49f79148", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9f89b629-13fa-4abe-a93f-2d4b70114d51", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "11fb04c6-7bb2-4b01-b9ee-7b468749afa8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3216002c-abaa-4184-9d62-e49c8860e531", + "apim-request-id": "d87b5e14-e2e0-47cc-b117-12c9d1307b69", "Content-Length": "360", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "126", + "x-envoy-upstream-service-time": "150", "x-ms-region": "West US 2", - "X-Request-ID": "3216002c-abaa-4184-9d62-e49c8860e531" + "X-Request-ID": "d87b5e14-e2e0-47cc-b117-12c9d1307b69" }, "ResponseBody": { - "dataSourceCredentialId": "06a52ac4-d30d-4cd0-90f5-3c09206b7dba", - "dataSourceCredentialName": "java_create_data_source_cred_spa8401a0a-7494-4133-b836-484cc112f2fe", + "dataSourceCredentialId": "340279b5-3932-4389-a2aa-671f49f79148", + "dataSourceCredentialName": "java_create_data_source_cred_sp912d1505-290c-4355-8ddf-eb72d4afc76c", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "ServicePrincipal", "parameters": { @@ -75,29 +75,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/06a52ac4-d30d-4cd0-90f5-3c09206b7dba", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/340279b5-3932-4389-a2aa-671f49f79148", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "17cc15f2-89f8-4c7f-92dd-9c08594f0377", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0bd2bb0f-488b-4857-8466-b345544cf25a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "684b1b1c-8ef8-4f51-812e-9792122142f1", + "apim-request-id": "7f88f82b-e3fe-4586-9f7d-51ed909be6c1", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163", + "x-envoy-upstream-service-time": "148", "x-ms-region": "West US 2", - "X-Request-ID": "684b1b1c-8ef8-4f51-812e-9792122142f1" + "X-Request-ID": "7f88f82b-e3fe-4586-9f7d-51ed909be6c1" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json index bad93814e554b..6dc11b5a16075 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json @@ -7,92 +7,92 @@ "Accept": "application/json", "Content-Length": "202", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5dc9100f-438f-4813-8404-12d9a8338e85", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7bbd303d-e515-4527-ad27-21f8ded6666d", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "AzureSQLConnectionString", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con626de43d-f965-4b82-a9bc-eb2a96a8ebd4", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con24abb247-e5b6-4ce1-a497-a76b945a680b", "parameters": { "connectionString": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "d89e1a71-da0a-450f-a777-0df82c6cc80e", + "apim-request-id": "8a7f6570-8ce5-487a-a9a9-79a9d570b0b6", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/1d52ff27-b774-439d-a1a7-b73cce292954", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/74152732-5c68-44de-ab51-8c09e48254c9", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "318", + "x-envoy-upstream-service-time": "279", "x-ms-region": "West US 2", - "X-Request-ID": "d89e1a71-da0a-450f-a777-0df82c6cc80e" + "X-Request-ID": "8a7f6570-8ce5-487a-a9a9-79a9d570b0b6" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/1d52ff27-b774-439d-a1a7-b73cce292954", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/74152732-5c68-44de-ab51-8c09e48254c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "777a6c6e-db23-4ade-bffa-2cf2f3b46fcc", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e9a40f30-8134-48d5-98e2-375254593adc", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3a44dcd9-4da3-417b-8225-a5f1a7201cf5", + "apim-request-id": "97fc72f4-9054-446e-a3bf-1a3522223939", "Content-Length": "274", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "125", + "x-envoy-upstream-service-time": "111", "x-ms-region": "West US 2", - "X-Request-ID": "3a44dcd9-4da3-417b-8225-a5f1a7201cf5" + "X-Request-ID": "97fc72f4-9054-446e-a3bf-1a3522223939" }, "ResponseBody": { - "dataSourceCredentialId": "1d52ff27-b774-439d-a1a7-b73cce292954", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con626de43d-f965-4b82-a9bc-eb2a96a8ebd4", + "dataSourceCredentialId": "74152732-5c68-44de-ab51-8c09e48254c9", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con24abb247-e5b6-4ce1-a497-a76b945a680b", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/1d52ff27-b774-439d-a1a7-b73cce292954", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/74152732-5c68-44de-ab51-8c09e48254c9", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "05050edd-fb07-4762-943a-26c78c97fd64", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "008b49e7-9949-4ee2-8685-1893ceaeab0a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "5a28f549-bc3f-4fdc-a63c-77f629636199", + "apim-request-id": "8b9a32f4-45bb-4d52-b729-1c92b4df6d87", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "122", + "x-envoy-upstream-service-time": "100", "x-ms-region": "West US 2", - "X-Request-ID": "5a28f549-bc3f-4fdc-a63c-77f629636199" + "X-Request-ID": "8b9a32f4-45bb-4d52-b729-1c92b4df6d87" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json index a2a272960e507..10b4726212e18 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json @@ -7,63 +7,63 @@ "Accept": "application/json", "Content-Length": "202", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8bc5494d-8e2c-43db-9ab8-09a8361f1cb1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "40b5dcea-ad14-4ae8-8f1d-0ae5d0f9371e", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "AzureSQLConnectionString", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", "parameters": { "connectionString": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "3e190406-faaa-45c5-9452-cbe8d448fab3", + "apim-request-id": "80982ddd-a156-4d78-b162-cf02a8ca6615", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/704e7b07-a09f-4bfe-b610-b89885586ccb", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/fe731985-5e24-46b0-8e75-6ab2ec76385a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "532", + "x-envoy-upstream-service-time": "555", "x-ms-region": "West US 2", - "X-Request-ID": "3e190406-faaa-45c5-9452-cbe8d448fab3" + "X-Request-ID": "80982ddd-a156-4d78-b162-cf02a8ca6615" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/704e7b07-a09f-4bfe-b610-b89885586ccb", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fe731985-5e24-46b0-8e75-6ab2ec76385a", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "c0163b02-36b4-409a-a0df-8ba888817af6", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0ff03a8e-0503-4a57-8068-5caab6222b70", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4a23a4ae-d214-4c07-9302-0210272d27b5", + "apim-request-id": "3e20d07a-a2ec-4fc6-a734-8c9322ca9b90", "Content-Length": "274", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "161", + "x-envoy-upstream-service-time": "202", "x-ms-region": "West US 2", - "X-Request-ID": "4a23a4ae-d214-4c07-9302-0210272d27b5" + "X-Request-ID": "3e20d07a-a2ec-4fc6-a734-8c9322ca9b90" }, "ResponseBody": { - "dataSourceCredentialId": "704e7b07-a09f-4bfe-b610-b89885586ccb", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "dataSourceCredentialId": "fe731985-5e24-46b0-8e75-6ab2ec76385a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} @@ -76,63 +76,63 @@ "Accept": "application/json", "Content-Length": "195", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f47984b2-abaf-4d21-8423-6d1dbef60af5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "71f491fe-4380-498b-9e91-51f21cef5c26", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceCredentialType": "DataLakeGen2SharedKey", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", "parameters": { "accountKey": "REDACTED" } }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "513e1963-8a8a-4604-982b-01fdabb67a40", + "apim-request-id": "5175572f-4c0b-4ca5-9f74-844fe03f4c45", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/6e37cb48-f3c4-485d-89bf-643da443bba9", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", "x-envoy-upstream-service-time": "337", "x-ms-region": "West US 2", - "X-Request-ID": "513e1963-8a8a-4604-982b-01fdabb67a40" + "X-Request-ID": "5175572f-4c0b-4ca5-9f74-844fe03f4c45" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e37cb48-f3c4-485d-89bf-643da443bba9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "92d71688-bbbc-4896-98dc-8fc32681d4e1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b1aad718-b1ff-4cc4-b4f6-25d8e322df93", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5f55af48-9f43-4fce-9c10-921272ee2872", + "apim-request-id": "9420fe47-6c93-4473-b269-6850d5e29663", "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143", + "x-envoy-upstream-service-time": "157", "x-ms-region": "West US 2", - "X-Request-ID": "5f55af48-9f43-4fce-9c10-921272ee2872" + "X-Request-ID": "9420fe47-6c93-4473-b269-6850d5e29663" }, "ResponseBody": { - "dataSourceCredentialId": "718c6e22-ad2a-47de-be4e-b8f5716a0aee", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "dataSourceCredentialId": "6e37cb48-f3c4-485d-89bf-643da443bba9", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} @@ -144,52 +144,52 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "7bb8287d-9695-4f92-bd9a-29153c7468d1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "23bb317f-2a74-4d48-b5b3-6336a3be2514", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0287268d-04a9-41af-80cc-90f3f7b5fb8c", + "apim-request-id": "6b2c41cf-e037-44d6-9235-4caed7bc4ee5", "Content-Length": "1379", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "473", + "x-envoy-upstream-service-time": "565", "x-ms-region": "West US 2", - "X-Request-ID": "0287268d-04a9-41af-80cc-90f3f7b5fb8c" + "X-Request-ID": "6b2c41cf-e037-44d6-9235-4caed7bc4ee5" }, "ResponseBody": { "value": [ { - "dataSourceCredentialId": "718c6e22-ad2a-47de-be4e-b8f5716a0aee", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen4cfa70f1-9b6a-4b31-9e1d-45ac8761acbc", + "dataSourceCredentialId": "b884cbfd-3854-483b-8091-8c435b238f42", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} }, { - "dataSourceCredentialId": "159c944e-5618-4287-82e7-6b1f43fac586", - "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen713406ef-347b-439d-8deb-536187167852", + "dataSourceCredentialId": "6e37cb48-f3c4-485d-89bf-643da443bba9", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "DataLakeGen2SharedKey", "parameters": {} }, { - "dataSourceCredentialId": "704e7b07-a09f-4bfe-b610-b89885586ccb", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con6fd426cb-a467-4cf5-a638-9e72fe0c9f23", + "dataSourceCredentialId": "fe731985-5e24-46b0-8e75-6ab2ec76385a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} }, { - "dataSourceCredentialId": "0cd3140d-c0cb-4c9e-a12b-590a3b1e0580", - "dataSourceCredentialName": "java_create_data_source_cred_sql_con52c9fb98-dc28-441a-9ff4-ed02b634718e", + "dataSourceCredentialId": "75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", "dataSourceCredentialDescription": "", "dataSourceCredentialType": "AzureSQLConnectionString", "parameters": {} @@ -208,56 +208,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/704e7b07-a09f-4bfe-b610-b89885586ccb", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fe731985-5e24-46b0-8e75-6ab2ec76385a", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "67381c52-b908-4a01-9829-60c0ba120bf5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d9f641af-2c1a-443a-85ea-994953dfabc4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "4e530685-f9a1-47f3-b3dc-a2dfdfc113cb", + "apim-request-id": "aff6a792-3ea6-4518-8b1c-38342f8500d8", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "191", + "x-envoy-upstream-service-time": "189", "x-ms-region": "West US 2", - "X-Request-ID": "4e530685-f9a1-47f3-b3dc-a2dfdfc113cb" + "X-Request-ID": "aff6a792-3ea6-4518-8b1c-38342f8500d8" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/718c6e22-ad2a-47de-be4e-b8f5716a0aee", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e37cb48-f3c4-485d-89bf-643da443bba9", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "100d4184-0501-47d4-a426-7e6ecca510ee", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c83329a3-aeb5-458e-8e0f-44894aebc335", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "15b59ceb-eb21-496f-a086-95bd9247eea6", + "apim-request-id": "a9c63b95-f41d-4387-ab0d-11f95c13d955", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "202", + "x-envoy-upstream-service-time": "191", "x-ms-region": "West US 2", - "X-Request-ID": "15b59ceb-eb21-496f-a086-95bd9247eea6" + "X-Request-ID": "a9c63b95-f41d-4387-ab0d-11f95c13d955" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json index 5b02c0408d15f..921f64f932f69 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:04 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a5df337c-05b1-40f1-ab85-8215a55b6f13", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a2b00550-28ab-4bd4-8fbd-4f4b47401d41", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detection37ef8b24-418d-45c2-a8f8-1a1162099582", + "dataFeedName": "java_data_feed_for_detection08a828ac-ecdf-4b51-8992-6f972d175a98", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "71dfda01-90a8-458c-b95b-09babec1cad5", + "apim-request-id": "a3a82491-508d-4056-b63f-7c24717f7cdc", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bb8428d8-802f-4020-b918-7aabe77bb9e6", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "688", + "x-envoy-upstream-service-time": "1418", "x-ms-region": "West US 2", - "X-Request-ID": "71dfda01-90a8-458c-b95b-09babec1cad5" + "X-Request-ID": "a3a82491-508d-4056-b63f-7c24717f7cdc" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bb8428d8-802f-4020-b918-7aabe77bb9e6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "66f6bdb0-8635-49d4-8694-b0232c1abd96", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "42d2c4c8-af0c-449b-a9ca-899c46513455", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4aedcc85-6d18-48dd-a392-1490e803278a", - "Content-Length": "1230", + "apim-request-id": "eef80dd6-174e-413a-835a-31d9584f82af", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156", + "x-envoy-upstream-service-time": "161", "x-ms-region": "West US 2", - "X-Request-ID": "4aedcc85-6d18-48dd-a392-1490e803278a" + "X-Request-ID": "eef80dd6-174e-413a-835a-31d9584f82af" }, "ResponseBody": { - "dataFeedId": "bb8428d8-802f-4020-b918-7aabe77bb9e6", - "dataFeedName": "java_data_feed_for_detection37ef8b24-418d-45c2-a8f8-1a1162099582", + "dataFeedId": "554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", + "dataFeedName": "java_data_feed_for_detection08a828ac-ecdf-4b51-8992-6f972d175a98", "metrics": [ { - "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "2596334d-e7a7-43fa-ad0b-66a0e6aaba33", + "metricId": "3ffa324d-0b66-4ad0-9b62-dd1b7851aad2", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:26Z", + "createdTime": "2023-04-17T23:00:04Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "2215", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "da973449-dfd2-4c4a-a1b9-84c367e86de7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3d1d3127-531e-4ff0-b006-989a334899e3", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", "description": "test metric anomaly detection configuration", - "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -300,49 +300,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "f855ef62-e0a8-4c1e-b7a4-198f4b429af2", + "apim-request-id": "d08b8ef0-10e7-4c3b-a475-b87e701ee1b2", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/5a68c035-b8bf-45f7-82d5-3e764e61f563", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "363", + "x-envoy-upstream-service-time": "307", "x-ms-region": "West US 2", - "X-Request-ID": "f855ef62-e0a8-4c1e-b7a4-198f4b429af2" + "X-Request-ID": "d08b8ef0-10e7-4c3b-a475-b87e701ee1b2" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/5a68c035-b8bf-45f7-82d5-3e764e61f563", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "235b36fb-e4b2-48bf-8a67-3c4f7b69250e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d432dbb8-2ff0-4582-824a-e0d22f9ee133", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c39babb2-9dcd-43fc-b025-f42273d870dc", + "apim-request-id": "48b6db94-fe05-4fbd-a386-3571c3cfb126", "Content-Length": "2288", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:27 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "130", + "x-envoy-upstream-service-time": "96", "x-ms-region": "West US 2", - "X-Request-ID": "c39babb2-9dcd-43fc-b025-f42273d870dc" + "X-Request-ID": "48b6db94-fe05-4fbd-a386-3571c3cfb126" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", - "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "anomalyDetectionConfigurationId": "5a68c035-b8bf-45f7-82d5-3e764e61f563", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", "description": "test metric anomaly detection configuration", - "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -482,56 +482,38 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/186801c3-70ca-46ab-8d7a-6d25f1f96680/enrichment/anomalyDetection/configurations", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/602f6c03-bd2e-4d44-bd2e-7196ef543d4c/enrichment/anomalyDetection/configurations", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "711e0111-df52-42f3-92e7-28b67d6f7805", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cacba102-58d2-4c63-b524-5103d0e46d89", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "141bd77a-fb37-4281-ab24-58c39f249be7", + "apim-request-id": "86b47098-b9e7-4503-a463-cc3ea8b1e7ca", "Content-Length": "2698", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111", + "x-envoy-upstream-service-time": "105", "x-ms-region": "West US 2", - "X-Request-ID": "141bd77a-fb37-4281-ab24-58c39f249be7" + "X-Request-ID": "86b47098-b9e7-4503-a463-cc3ea8b1e7ca" }, "ResponseBody": { "value": [ { - "anomalyDetectionConfigurationId": "752facc9-6148-4e05-aaa2-22322bd0c93b", - "name": "Default", - "description": "", - "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", - "wholeMetricConfiguration": { - "smartDetectionCondition": { - "sensitivity": 79.0, - "anomalyDetectorDirection": "Both", - "suppressCondition": { - "minNumber": 1, - "minRatio": 100.0 - } - } - }, - "dimensionGroupOverrideConfigurations": [], - "seriesOverrideConfigurations": [] - }, - { - "anomalyDetectionConfigurationId": "ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", - "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "anomalyDetectionConfigurationId": "5a68c035-b8bf-45f7-82d5-3e764e61f563", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", "description": "test metric anomaly detection configuration", - "metricId": "186801c3-70ca-46ab-8d7a-6d25f1f96680", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -668,61 +650,79 @@ } } ] + }, + { + "anomalyDetectionConfigurationId": "b82a2a68-24ca-4c52-8f85-e3e970db5070", + "name": "Default", + "description": "", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", + "wholeMetricConfiguration": { + "smartDetectionCondition": { + "sensitivity": 79.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] } ] } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/ad2e5ac7-72df-43e0-b3d2-8df5cc73dbb8", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/5a68c035-b8bf-45f7-82d5-3e764e61f563", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d6375d1b-8249-45b4-a7b0-0eb7c3a8f80b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8c171c88-9b63-4b23-9e31-d1b779cead8d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "a6948bff-514a-4690-9fb9-806fbfa808b0", + "apim-request-id": "b5441f5d-aa3d-408c-a110-b382b5e5a8ee", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "133", + "x-envoy-upstream-service-time": "87", "x-ms-region": "West US 2", - "X-Request-ID": "a6948bff-514a-4690-9fb9-806fbfa808b0" + "X-Request-ID": "b5441f5d-aa3d-408c-a110-b382b5e5a8ee" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bb8428d8-802f-4020-b918-7aabe77bb9e6", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d49c897f-1d44-4bf0-9e36-dcd06990a2a3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4f6628f2-6519-4b6f-bc3e-0dfd38c7fcaa", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "02655909-cc56-4f49-a14f-f5409c8730e2", + "apim-request-id": "d7aa36b6-5b18-45a6-8235-023eb0c92107", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:28 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "291", + "x-envoy-upstream-service-time": "385", "x-ms-region": "West US 2", - "X-Request-ID": "02655909-cc56-4f49-a14f-f5409c8730e2" + "X-Request-ID": "d7aa36b6-5b18-45a6-8235-023eb0c92107" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json index 8538dd35d28bb..4b48563d6bf25 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "89da2d4b-2bce-4844-9620-0f681c40b507", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a5cc66ec-9889-48aa-a2eb-a76b79fd9364", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detectionad148130-7f2f-46cc-a45b-8472c22c6740", + "dataFeedName": "java_data_feed_for_detectione2ac83c7-373c-4abe-b983-fae72a0f7cff", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "25deb03a-e863-47c6-8ae8-190943392b9a", + "apim-request-id": "97798b35-9c02-469e-abb8-db624e610e3c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e45218c6-5e67-472e-b5da-a0d3c753f1e2", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f3327047-604d-4dee-a1ac-6fb127906516", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "655", + "x-envoy-upstream-service-time": "822", "x-ms-region": "West US 2", - "X-Request-ID": "25deb03a-e863-47c6-8ae8-190943392b9a" + "X-Request-ID": "97798b35-9c02-469e-abb8-db624e610e3c" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e45218c6-5e67-472e-b5da-a0d3c753f1e2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f3327047-604d-4dee-a1ac-6fb127906516", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a3a30a48-258b-4a89-8ff2-921ff5623449", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bfa29f32-6447-40ef-b36f-f77bb96f706d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e076f5cd-f92d-4e9d-a4fd-23b5e18afa82", - "Content-Length": "1230", + "apim-request-id": "68fe5466-952f-4502-a165-5c53e7ed4158", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "210", + "x-envoy-upstream-service-time": "144", "x-ms-region": "West US 2", - "X-Request-ID": "e076f5cd-f92d-4e9d-a4fd-23b5e18afa82" + "X-Request-ID": "68fe5466-952f-4502-a165-5c53e7ed4158" }, "ResponseBody": { - "dataFeedId": "e45218c6-5e67-472e-b5da-a0d3c753f1e2", - "dataFeedName": "java_data_feed_for_detectionad148130-7f2f-46cc-a45b-8472c22c6740", + "dataFeedId": "f3327047-604d-4dee-a1ac-6fb127906516", + "dataFeedName": "java_data_feed_for_detectione2ac83c7-373c-4abe-b983-fae72a0f7cff", "metrics": [ { - "metricId": "d728093b-239b-466f-9b89-f49f143b9e22", + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "66925a68-2b57-432a-ba72-37db3df5c765", + "metricId": "5d2a971d-3928-4012-a439-e86e9001d075", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:29Z", + "createdTime": "2023-04-17T23:00:07Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "1143", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "eec988b5-5f57-468e-8f32-bd35e1b4dcb7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "15490d36-9afa-49e4-83ae-61019b9125b8", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", "description": "test metric anomaly detection configuration", - "metricId": "d728093b-239b-466f-9b89-f49f143b9e22", + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -229,49 +229,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "51204802-f211-458c-9f86-0571334c1a7f", + "apim-request-id": "2e27bf87-46ff-433d-8e5a-0861b17f93cb", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/81b1e7bb-b725-4a82-920f-5519527d81fc", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "245", + "x-envoy-upstream-service-time": "237", "x-ms-region": "West US 2", - "X-Request-ID": "51204802-f211-458c-9f86-0571334c1a7f" + "X-Request-ID": "2e27bf87-46ff-433d-8e5a-0861b17f93cb" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/81b1e7bb-b725-4a82-920f-5519527d81fc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a9578ed4-e39b-49c4-b0c0-847ea8b9e918", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "195a7163-9fba-4cb3-8955-2ae3964c2379", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e4ff3741-9554-4311-9539-7886025856d3", + "apim-request-id": "9c58fb04-40a3-4f15-9f76-b8a25b1e471b", "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "106", + "x-envoy-upstream-service-time": "94", "x-ms-region": "West US 2", - "X-Request-ID": "e4ff3741-9554-4311-9539-7886025856d3" + "X-Request-ID": "9c58fb04-40a3-4f15-9f76-b8a25b1e471b" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", - "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "anomalyDetectionConfigurationId": "81b1e7bb-b725-4a82-920f-5519527d81fc", + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", "description": "test metric anomaly detection configuration", - "metricId": "d728093b-239b-466f-9b89-f49f143b9e22", + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -340,56 +340,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/4e493620-2cf8-4c5a-aa62-f99c4e1bcd5d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/81b1e7bb-b725-4a82-920f-5519527d81fc", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "37be6905-34ee-4af4-835a-3cbccf0f3bd8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "eaed41a5-1a4e-47ae-aea6-aace61900d19", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "d091d3b1-a35d-4fa5-ad54-170adb0ec672", + "apim-request-id": "fd842a59-6b98-4923-936a-46d67a2a2eff", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "78", + "x-envoy-upstream-service-time": "71", "x-ms-region": "West US 2", - "X-Request-ID": "d091d3b1-a35d-4fa5-ad54-170adb0ec672" + "X-Request-ID": "fd842a59-6b98-4923-936a-46d67a2a2eff" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/e45218c6-5e67-472e-b5da-a0d3c753f1e2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f3327047-604d-4dee-a1ac-6fb127906516", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "857eff09-5e6a-4b88-a75b-223125da5089", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "92ccdeea-8a89-49f7-b669-4d6540bfdfbe", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "1808fb19-2ed2-4ebf-896e-b6bb6f13d027", + "apim-request-id": "49d00720-529b-4fcf-8c75-87c494f3f769", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "261", + "x-envoy-upstream-service-time": "357", "x-ms-region": "West US 2", - "X-Request-ID": "1808fb19-2ed2-4ebf-896e-b6bb6f13d027" + "X-Request-ID": "49d00720-529b-4fcf-8c75-87c494f3f769" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json index a5b38e5767cb2..cfa744281119f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3de19fe8-68cd-44a7-ba25-5f76e05fcf5c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5c54a868-eb14-494b-8f13-c2e37e0171dd", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detectiond9f1615d-4fa7-492e-8e23-163158be28f6", + "dataFeedName": "java_data_feed_for_detectione454bd27-f943-4a63-a542-ef3692bc1f1a", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "954bee28-013a-4a0b-bbe5-aaee9f4b0a23", + "apim-request-id": "493e73df-7084-4ce6-9a89-f8105adea1b0", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:22 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/93e86e5c-46f9-4f54-b267-29ca1070256f", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1211", + "x-envoy-upstream-service-time": "672", "x-ms-region": "West US 2", - "X-Request-ID": "954bee28-013a-4a0b-bbe5-aaee9f4b0a23" + "X-Request-ID": "493e73df-7084-4ce6-9a89-f8105adea1b0" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/93e86e5c-46f9-4f54-b267-29ca1070256f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "295e9407-2c3f-4270-9130-3718a0ac998b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "17e036c9-1e82-4cdc-a65d-6a10fa13ae7f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4f842b38-d583-4fec-a49b-f6b2af32dffa", - "Content-Length": "1230", + "apim-request-id": "5d140cb4-bda8-4eab-9225-95b9291b7fcc", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "246", + "x-envoy-upstream-service-time": "193", "x-ms-region": "West US 2", - "X-Request-ID": "4f842b38-d583-4fec-a49b-f6b2af32dffa" + "X-Request-ID": "5d140cb4-bda8-4eab-9225-95b9291b7fcc" }, "ResponseBody": { - "dataFeedId": "93e86e5c-46f9-4f54-b267-29ca1070256f", - "dataFeedName": "java_data_feed_for_detectiond9f1615d-4fa7-492e-8e23-163158be28f6", + "dataFeedId": "0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", + "dataFeedName": "java_data_feed_for_detectione454bd27-f943-4a63-a542-ef3692bc1f1a", "metrics": [ { - "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", + "metricId": "8089e0b1-271c-496b-bcc0-bdea238ae1ec", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "f5778b7e-a32d-4041-9a06-22c985af026e", + "metricId": "6d1a9e29-c5ad-49c5-a504-b8a144fb2eb6", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:23Z", + "createdTime": "2023-04-17T23:00:01Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "761", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f9b575aa-1c3e-47b0-8878-40a711194d17", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f3005a34-409c-4f0e-8aaa-cfc0b298607b", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", "description": "test metric anomaly detection configuration", - "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", + "metricId": "8089e0b1-271c-496b-bcc0-bdea238ae1ec", "wholeMetricConfiguration": { "conditionOperator": "OR", "smartDetectionCondition": { @@ -196,49 +196,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "b405a0b6-d0de-4873-93ed-fd0f77dbd023", + "apim-request-id": "e7ea1e93-f9ed-4cce-a111-7f24bf147e7a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d2115a16-7b69-4e96-ba37-d19359287e13", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/52c80331-9271-4f3d-a073-8f7b8f46d091", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "236", + "x-envoy-upstream-service-time": "167", "x-ms-region": "West US 2", - "X-Request-ID": "b405a0b6-d0de-4873-93ed-fd0f77dbd023" + "X-Request-ID": "e7ea1e93-f9ed-4cce-a111-7f24bf147e7a" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d2115a16-7b69-4e96-ba37-d19359287e13", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/52c80331-9271-4f3d-a073-8f7b8f46d091", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "ff4c7329-da5e-4369-9ecf-a2042976c6f4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e8c3d94a-5b9d-4176-be94-4d030e7c1196", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "230ad048-a01c-4bc2-bd3c-3ab225681e1d", + "apim-request-id": "c789dd3b-dc0a-4c5b-95a0-b109c7d19d76", "Content-Length": "834", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:23 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "155", + "x-envoy-upstream-service-time": "100", "x-ms-region": "West US 2", - "X-Request-ID": "230ad048-a01c-4bc2-bd3c-3ab225681e1d" + "X-Request-ID": "c789dd3b-dc0a-4c5b-95a0-b109c7d19d76" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "d2115a16-7b69-4e96-ba37-d19359287e13", - "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "anomalyDetectionConfigurationId": "52c80331-9271-4f3d-a073-8f7b8f46d091", + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", "description": "test metric anomaly detection configuration", - "metricId": "c33076c9-d4c6-43a9-be6d-68158d84fad4", + "metricId": "8089e0b1-271c-496b-bcc0-bdea238ae1ec", "wholeMetricConfiguration": { "conditionOperator": "OR", "smartDetectionCondition": { @@ -274,56 +274,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/d2115a16-7b69-4e96-ba37-d19359287e13", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/52c80331-9271-4f3d-a073-8f7b8f46d091", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9694a448-70c7-49ba-a7b1-0c969156d824", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d8aa20aa-34cf-404c-a95b-0c2f727cd684", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "58b02452-8ab7-4022-92e6-0db48cf7b3c2", + "apim-request-id": "7de17c50-f0d3-4869-bb19-886f74ab5169", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "98", + "x-envoy-upstream-service-time": "79", "x-ms-region": "West US 2", - "X-Request-ID": "58b02452-8ab7-4022-92e6-0db48cf7b3c2" + "X-Request-ID": "7de17c50-f0d3-4869-bb19-886f74ab5169" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/93e86e5c-46f9-4f54-b267-29ca1070256f", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0156c515-677c-4a32-8444-8f2102ae7aa1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bb510710-579c-4ee4-872c-a818877ff021", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "d7a642fc-6f04-4ed8-9601-0cbbf1bdf9a9", + "apim-request-id": "95546105-848f-4851-88af-7d7091e94fca", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "316", + "x-envoy-upstream-service-time": "336", "x-ms-region": "West US 2", - "X-Request-ID": "d7a642fc-6f04-4ed8-9601-0cbbf1bdf9a9" + "X-Request-ID": "95546105-848f-4851-88af-7d7091e94fca" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json index 1c15381baa283..d05e924e82194 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "18f11f7a-3e9c-42f3-af7c-dfc551a52cc8", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "205da415-4949-42e8-962e-7a0c0d0a17a0", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detection41f1d15d-8c32-4c3e-bd7f-a66fe7e1eb66", + "dataFeedName": "java_data_feed_for_detection9c917640-15dc-400d-9d58-5a3b9517ac59", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "3b62b2f8-0030-4272-9d60-6b156779c64b", + "apim-request-id": "d5668c20-38e0-4d37-bfac-46a34bde77ba", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/71983cf3-e968-4ec2-a407-80363cba3647", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "782", + "x-envoy-upstream-service-time": "1436", "x-ms-region": "West US 2", - "X-Request-ID": "3b62b2f8-0030-4272-9d60-6b156779c64b" + "X-Request-ID": "d5668c20-38e0-4d37-bfac-46a34bde77ba" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/71983cf3-e968-4ec2-a407-80363cba3647", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6add7129-0a10-496e-a791-496faf06ff09", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fcca5592-deb0-448f-9216-68323aa73ed6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "39b69b06-e453-4c88-a432-78c2b55a8bfd", - "Content-Length": "1230", + "apim-request-id": "decbae36-115f-4298-8b8f-641d10237ecf", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "168", + "x-envoy-upstream-service-time": "129", "x-ms-region": "West US 2", - "X-Request-ID": "39b69b06-e453-4c88-a432-78c2b55a8bfd" + "X-Request-ID": "decbae36-115f-4298-8b8f-641d10237ecf" }, "ResponseBody": { - "dataFeedId": "d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", - "dataFeedName": "java_data_feed_for_detection41f1d15d-8c32-4c3e-bd7f-a66fe7e1eb66", + "dataFeedId": "71983cf3-e968-4ec2-a407-80363cba3647", + "dataFeedName": "java_data_feed_for_detection9c917640-15dc-400d-9d58-5a3b9517ac59", "metrics": [ { - "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "703b3fcf-e432-44b5-a0e5-7d7a2755219e", + "metricId": "d1f9232d-a523-41ba-9518-438b7ac58713", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:31Z", + "createdTime": "2023-04-17T23:00:09Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "2038", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "78b5c40a-1c04-4f39-a3d4-4943cacae7ac", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "63028e8a-f80f-46b8-9823-cf1b8ad82107", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -285,49 +285,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "aa0e8f31-764f-4f7a-8e04-20d3a01dffce", + "apim-request-id": "ae6b4de6-ec94-4400-9c77-53a5abff14f1", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "451", + "x-envoy-upstream-service-time": "233", "x-ms-region": "West US 2", - "X-Request-ID": "aa0e8f31-764f-4f7a-8e04-20d3a01dffce" + "X-Request-ID": "ae6b4de6-ec94-4400-9c77-53a5abff14f1" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "afdf8ea6-8bf5-4fef-9f73-fea05f288a95", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "57bae984-016b-40ec-b1ac-98665594d288", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fc4ab255-d069-40fc-aad1-57f474bc1024", + "apim-request-id": "329dfa7c-0692-4a66-8982-fad5f6a1d819", "Content-Length": "2111", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "147", + "x-envoy-upstream-service-time": "104", "x-ms-region": "West US 2", - "X-Request-ID": "fc4ab255-d069-40fc-aad1-57f474bc1024" + "X-Request-ID": "329dfa7c-0692-4a66-8982-fad5f6a1d819" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "a4e56992-ec21-4462-9452-7207592f8308", - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "anomalyDetectionConfigurationId": "46903264-e211-438c-872f-6e796e07eeee", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -452,21 +452,21 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "1962", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b55b7a3f-7e36-48b6-ace1-eb1093164276", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8cef41e5-d0bc-4454-8d52-c68a026ff605", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", "wholeMetricConfiguration": { "conditionOperator": "AND", @@ -591,21 +591,21 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7ebf6478-600a-4a5b-b4b5-e0ed505dff98", + "apim-request-id": "c33b3c5e-8f62-40cb-baa5-f31b92b63119", "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "361", + "x-envoy-upstream-service-time": "308", "x-ms-region": "West US 2", - "X-Request-ID": "7ebf6478-600a-4a5b-b4b5-e0ed505dff98" + "X-Request-ID": "c33b3c5e-8f62-40cb-baa5-f31b92b63119" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "a4e56992-ec21-4462-9452-7207592f8308", - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "anomalyDetectionConfigurationId": "46903264-e211-438c-872f-6e796e07eeee", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -729,36 +729,36 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a4e56992-ec21-4462-9452-7207592f8308", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "53e6c7af-f44f-4408-a4b3-2a032f7697d3", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1754350b-21e5-49b7-bd11-439fe750c1a6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "27a9de8c-2fb7-45db-9eb6-254f74db9cc5", + "apim-request-id": "de405920-3e7d-4da2-ac8d-6ec394696c4c", "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "116", + "x-envoy-upstream-service-time": "80", "x-ms-region": "West US 2", - "X-Request-ID": "27a9de8c-2fb7-45db-9eb6-254f74db9cc5" + "X-Request-ID": "de405920-3e7d-4da2-ac8d-6ec394696c4c" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "a4e56992-ec21-4462-9452-7207592f8308", - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "anomalyDetectionConfigurationId": "46903264-e211-438c-872f-6e796e07eeee", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "15680852-dda8-4e84-8cce-452dbd3d2a53", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -882,56 +882,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a4e56992-ec21-4462-9452-7207592f8308", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/46903264-e211-438c-872f-6e796e07eeee", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5409fd6b-e47b-489f-8133-f0cc455923df", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7e54b01c-ee9b-42ee-af22-157b36e6728a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "766d8072-5ff0-4ffa-af53-dbaac9228a2d", + "apim-request-id": "0b430ea0-d849-4b67-8fc9-95a8b3839dc7", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "142", + "x-envoy-upstream-service-time": "72", "x-ms-region": "West US 2", - "X-Request-ID": "766d8072-5ff0-4ffa-af53-dbaac9228a2d" + "X-Request-ID": "0b430ea0-d849-4b67-8fc9-95a8b3839dc7" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d47e77f5-fcb7-4f8f-85d8-fbd5a3b11ad5", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/71983cf3-e968-4ec2-a407-80363cba3647", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "21da7fb3-5f11-4829-9f86-5d8aa1dc5aae", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f70e2cc5-fc2b-475d-a082-b4bd0f41c291", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "07ed35a8-fb21-49e8-af4d-6fcbfdc28ab3", + "apim-request-id": "aa48eec2-b5e6-48fe-8585-dee5ac60386f", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "474", + "x-envoy-upstream-service-time": "325", "x-ms-region": "West US 2", - "X-Request-ID": "07ed35a8-fb21-49e8-af4d-6fcbfdc28ab3" + "X-Request-ID": "aa48eec2-b5e6-48fe-8585-dee5ac60386f" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json index ac1439793de32..dd79818e29120 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "047100a4-83fc-4b26-a624-5463a61e28c4", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "54f06b2a-a079-4b18-9f8e-9ca3aaa27605", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detectiona7aa40f2-1714-4535-93f4-409844dfd918", + "dataFeedName": "java_data_feed_for_detectionfedbbd10-7872-412c-9be1-7cdf500b1ba0", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "bbd97708-47ed-4f1b-b784-9dc907aeeea9", + "apim-request-id": "884ef45b-180a-40ea-922f-083d59cdd0cf", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ec12ba72-24db-4188-89f2-b4da2b5a20cf", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1362", + "x-envoy-upstream-service-time": "1666", "x-ms-region": "West US 2", - "X-Request-ID": "bbd97708-47ed-4f1b-b784-9dc907aeeea9" + "X-Request-ID": "884ef45b-180a-40ea-922f-083d59cdd0cf" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ec12ba72-24db-4188-89f2-b4da2b5a20cf", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "974aaa5d-dcf6-46d8-b8d6-50e74dfa1d25", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1d5165e8-d7ec-491c-8e55-d595c639819f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "832161ee-1307-41e0-9462-3de03a273270", - "Content-Length": "1230", + "apim-request-id": "dd8cc58b-159f-4e91-adeb-c198e9692444", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "227", + "x-envoy-upstream-service-time": "149", "x-ms-region": "West US 2", - "X-Request-ID": "832161ee-1307-41e0-9462-3de03a273270" + "X-Request-ID": "dd8cc58b-159f-4e91-adeb-c198e9692444" }, "ResponseBody": { - "dataFeedId": "44cd0715-7e6f-41cf-8e69-831a6e1935d0", - "dataFeedName": "java_data_feed_for_detectiona7aa40f2-1714-4535-93f4-409844dfd918", + "dataFeedId": "ec12ba72-24db-4188-89f2-b4da2b5a20cf", + "dataFeedName": "java_data_feed_for_detectionfedbbd10-7872-412c-9be1-7cdf500b1ba0", "metrics": [ { - "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "d08b5790-b8db-4613-8829-68f1bfda3bbe", + "metricId": "41b644ce-0ab3-4d6f-8496-01f631882aad", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:34Z", + "createdTime": "2023-04-17T23:00:09Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "2215", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "9b7d6d98-c790-4d5a-8738-70218f182967", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9b5c2928-08bc-4792-9552-25be5d318c26", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", "description": "test metric anomaly detection configuration", - "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -300,49 +300,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "651756f1-32aa-4d0f-866b-e61c65eab5e0", + "apim-request-id": "b766a8c5-4a2e-4ab8-93f6-779d669f2812", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0e42a221-6b7d-48a2-af77-be9e18cc7883", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "287", + "x-envoy-upstream-service-time": "237", "x-ms-region": "West US 2", - "X-Request-ID": "651756f1-32aa-4d0f-866b-e61c65eab5e0" + "X-Request-ID": "b766a8c5-4a2e-4ab8-93f6-779d669f2812" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0e42a221-6b7d-48a2-af77-be9e18cc7883", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a165a91e-0350-4df2-ae8c-ecffd502c0f5", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "710fda85-76ce-4635-bcb4-05a0ba04ace4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d0c662e6-c1a3-4fc7-9e52-d1d52f63b606", + "apim-request-id": "3bb07d29-520f-4269-b293-61ac3d6a4f90", "Content-Length": "2288", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "176", + "x-envoy-upstream-service-time": "92", "x-ms-region": "West US 2", - "X-Request-ID": "d0c662e6-c1a3-4fc7-9e52-d1d52f63b606" + "X-Request-ID": "3bb07d29-520f-4269-b293-61ac3d6a4f90" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "0e42a221-6b7d-48a2-af77-be9e18cc7883", - "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "anomalyDetectionConfigurationId": "0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", "description": "test metric anomaly detection configuration", - "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -482,38 +482,38 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/9fde0a33-29fd-4d41-b929-f4daf3ef9397/enrichment/anomalyDetection/configurations", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/1b0f0baf-8db0-494b-9dad-cff737518b11/enrichment/anomalyDetection/configurations", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1a9df074-3496-4ffd-b713-df0de7868e97", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fba46e06-b72a-4440-bd1d-7ad9c2a979eb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cae0de78-4579-4c01-beb4-045c3e95611f", + "apim-request-id": "ebc0a9e0-e94a-4335-b78e-6fc89585a24f", "Content-Length": "2698", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "357", + "x-envoy-upstream-service-time": "86", "x-ms-region": "West US 2", - "X-Request-ID": "cae0de78-4579-4c01-beb4-045c3e95611f" + "X-Request-ID": "ebc0a9e0-e94a-4335-b78e-6fc89585a24f" }, "ResponseBody": { "value": [ { - "anomalyDetectionConfigurationId": "0e42a221-6b7d-48a2-af77-be9e18cc7883", - "name": "testdetectionconfigcb7779e6-c0ac-4d40-8a4a-3cfbd3237a72", + "anomalyDetectionConfigurationId": "0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", "description": "test metric anomaly detection configuration", - "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -652,10 +652,10 @@ ] }, { - "anomalyDetectionConfigurationId": "fba69de5-366f-4c06-ae64-6e9a2e81dc8c", + "anomalyDetectionConfigurationId": "6d3fe3b5-e1b8-4645-9331-f85e2dbc2848", "name": "Default", "description": "", - "metricId": "9fde0a33-29fd-4d41-b929-f4daf3ef9397", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", "wholeMetricConfiguration": { "smartDetectionCondition": { "sensitivity": 79.0, @@ -673,56 +673,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/0e42a221-6b7d-48a2-af77-be9e18cc7883", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "363fa9ab-b02e-447d-bcf5-78b34b74b2d7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9ffa9892-408c-41f1-9195-880d058458a5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "4339fc66-df25-4560-aa44-58c426d621cb", + "apim-request-id": "fa6fd99a-5691-4a54-a117-5212a0de52bb", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:35 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "71", + "x-envoy-upstream-service-time": "58", "x-ms-region": "West US 2", - "X-Request-ID": "4339fc66-df25-4560-aa44-58c426d621cb" + "X-Request-ID": "fa6fd99a-5691-4a54-a117-5212a0de52bb" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/44cd0715-7e6f-41cf-8e69-831a6e1935d0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ec12ba72-24db-4188-89f2-b4da2b5a20cf", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b63e2f80-cd39-40bf-a0d7-fb2e63de2448", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "57604aa7-68dd-40ae-967a-f695868fe48a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "ff13e565-b218-4aef-b31b-f4f16b654076", + "apim-request-id": "b3cc57cf-a257-4e92-bba1-8929df7917ce", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:36 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "310", + "x-envoy-upstream-service-time": "517", "x-ms-region": "West US 2", - "X-Request-ID": "ff13e565-b218-4aef-b31b-f4f16b654076" + "X-Request-ID": "b3cc57cf-a257-4e92-bba1-8929df7917ce" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json index 954132e4055b1..1f2265994ae87 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d8abc191-b628-41ce-a3b2-6aa0f5628763", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "55514968-4f37-4c43-b21a-4f6dc0c566bf", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detectione49c6370-a814-4046-9384-3a57009fb997", + "dataFeedName": "java_data_feed_for_detection176d711a-255c-4e72-b35b-daec1b3a9682", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "7a5e1e75-4bac-408c-bde0-93d36e6fda41", + "apim-request-id": "0341bba8-02e5-494a-9c87-e01122fa5d71", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/80966bcb-6e6c-4538-ace6-abfe118cbf38", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "671", + "x-envoy-upstream-service-time": "976", "x-ms-region": "West US 2", - "X-Request-ID": "7a5e1e75-4bac-408c-bde0-93d36e6fda41" + "X-Request-ID": "0341bba8-02e5-494a-9c87-e01122fa5d71" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/80966bcb-6e6c-4538-ace6-abfe118cbf38", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "623ee4f7-fab9-4c0f-b204-a6885fb64d82", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2fa3ca6f-2e98-4bee-b4f0-dda6daac3daf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9ab76402-ed0d-4210-9a86-cb7576b553e9", - "Content-Length": "1230", + "apim-request-id": "9dcfa4f1-b2f1-43a5-85d3-039d952a6e4f", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "187", + "x-envoy-upstream-service-time": "328", "x-ms-region": "West US 2", - "X-Request-ID": "9ab76402-ed0d-4210-9a86-cb7576b553e9" + "X-Request-ID": "9dcfa4f1-b2f1-43a5-85d3-039d952a6e4f" }, "ResponseBody": { - "dataFeedId": "6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", - "dataFeedName": "java_data_feed_for_detectione49c6370-a814-4046-9384-3a57009fb997", + "dataFeedId": "80966bcb-6e6c-4538-ace6-abfe118cbf38", + "dataFeedName": "java_data_feed_for_detection176d711a-255c-4e72-b35b-daec1b3a9682", "metrics": [ { - "metricId": "033578ff-88c9-4858-9deb-dd39f72a05a4", + "metricId": "6054ac91-70db-45f1-bb72-cdffc580cbcf", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "56ffa201-ca54-4ffa-90e0-d4caad8a53b8", + "metricId": "3ffd63b5-fd0a-4128-ad1b-b5134f24221f", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:37Z", + "createdTime": "2023-04-17T23:00:12Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "1143", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "3e16e91b-cdc7-4bbf-8016-58f29df5c61f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5e66dc6e-b7ec-4f3b-8694-a177676a6db4", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", "description": "test metric anomaly detection configuration", - "metricId": "033578ff-88c9-4858-9deb-dd39f72a05a4", + "metricId": "6054ac91-70db-45f1-bb72-cdffc580cbcf", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -229,49 +229,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "89ac2685-5b8b-482b-a235-b1147239677b", + "apim-request-id": "093b5248-dc82-4458-b54a-f9f2822982f0", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/57d226a5-3d0a-4408-843b-3438173db9c0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0727922-c344-4467-acf3-d1b247e343fe", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "212", + "x-envoy-upstream-service-time": "293", "x-ms-region": "West US 2", - "X-Request-ID": "89ac2685-5b8b-482b-a235-b1147239677b" + "X-Request-ID": "093b5248-dc82-4458-b54a-f9f2822982f0" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/57d226a5-3d0a-4408-843b-3438173db9c0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0727922-c344-4467-acf3-d1b247e343fe", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "7b0a16f7-04cf-4772-bb3b-805c4849a444", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3aa1230f-6462-4b2a-ae6f-774dfde8ff42", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a1eba596-ff17-46e6-a444-a3a7d9d47f42", + "apim-request-id": "d1045446-cda0-4d45-ad5a-84766bb513e2", "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:37 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "93", + "x-envoy-upstream-service-time": "84", "x-ms-region": "West US 2", - "X-Request-ID": "a1eba596-ff17-46e6-a444-a3a7d9d47f42" + "X-Request-ID": "d1045446-cda0-4d45-ad5a-84766bb513e2" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "57d226a5-3d0a-4408-843b-3438173db9c0", - "name": "testdetectionconfigcad205ce-bc3d-4f27-b2ac-632a888c28c0", + "anomalyDetectionConfigurationId": "a0727922-c344-4467-acf3-d1b247e343fe", + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", "description": "test metric anomaly detection configuration", - "metricId": "033578ff-88c9-4858-9deb-dd39f72a05a4", + "metricId": "6054ac91-70db-45f1-bb72-cdffc580cbcf", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -340,56 +340,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/57d226a5-3d0a-4408-843b-3438173db9c0", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a0727922-c344-4467-acf3-d1b247e343fe", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f6460dd2-12fa-4414-891a-6e89199592de", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c3740753-9a04-48a1-9ede-cc2248ca73e6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "8b814732-93a5-482a-aaab-d581090ab679", + "apim-request-id": "93e4b996-dbf1-44db-839a-331b141609cd", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "58", + "x-envoy-upstream-service-time": "78", "x-ms-region": "West US 2", - "X-Request-ID": "8b814732-93a5-482a-aaab-d581090ab679" + "X-Request-ID": "93e4b996-dbf1-44db-839a-331b141609cd" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6fa5a6e9-8a53-46d4-aef5-4e8e0d6f749d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/80966bcb-6e6c-4538-ace6-abfe118cbf38", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b70948fc-7841-4df6-bfdc-adb71067531a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6ff374fd-cff1-49a0-9d4a-baac3a7213df", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "2ef3eb86-18ff-4485-b167-b5a5bd3b7cad", + "apim-request-id": "2108cbcf-39b5-4e61-9b9d-767104d42c0e", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:38 GMT", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "266", + "x-envoy-upstream-service-time": "568", "x-ms-region": "West US 2", - "X-Request-ID": "2ef3eb86-18ff-4485-b167-b5a5bd3b7cad" + "X-Request-ID": "2108cbcf-39b5-4e61-9b9d-767104d42c0e" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json index 35bc065c5a3f9..03708909c40f5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1eb20b26-86a6-4987-8030-5085737fb7c1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "143b1624-16ba-4abc-a27e-d2d38f6250f4", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detection0967b632-1853-4a3b-809b-9f8451800f51", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "1a095ee6-bcaf-444c-aebd-2c88e6e2508d", + "apim-request-id": "3e3a0179-2bc1-40fb-9544-cd24e65aa3d3", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cef0ee57-4d37-4434-83ef-cc651766a67c", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b97ce530-f0c7-4c67-bb27-4639e0adbefa", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "652", + "x-envoy-upstream-service-time": "985", "x-ms-region": "West US 2", - "X-Request-ID": "1a095ee6-bcaf-444c-aebd-2c88e6e2508d" + "X-Request-ID": "3e3a0179-2bc1-40fb-9544-cd24e65aa3d3" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cef0ee57-4d37-4434-83ef-cc651766a67c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b97ce530-f0c7-4c67-bb27-4639e0adbefa", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1e0cf5b7-b542-4033-9e64-ca33ec8fb912", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6a31ab46-ec41-4d1d-a557-7ec7c4e1ba1a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b07140bf-6e4d-4ea0-9c33-b76984b2b8ad", - "Content-Length": "1230", + "apim-request-id": "faa7f347-b9b3-4853-864b-81e8773e6a09", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "187", + "x-envoy-upstream-service-time": "161", "x-ms-region": "West US 2", - "X-Request-ID": "b07140bf-6e4d-4ea0-9c33-b76984b2b8ad" + "X-Request-ID": "faa7f347-b9b3-4853-864b-81e8773e6a09" }, "ResponseBody": { - "dataFeedId": "cef0ee57-4d37-4434-83ef-cc651766a67c", - "dataFeedName": "java_data_feed_for_detection0967b632-1853-4a3b-809b-9f8451800f51", + "dataFeedId": "b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", "metrics": [ { - "metricId": "58b1a11a-d591-405b-8ca0-57941050cf9c", + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "4bf7888f-3987-4b6b-a777-ed1b2673851c", + "metricId": "a8f62c2b-f7e6-4f41-96e6-473281d742d8", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:30Z", + "createdTime": "2023-04-17T23:00:06Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "761", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0b735f86-9649-4f8f-bdf9-498e4c483a45", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d34acc8e-8dab-4ed0-93c0-7c19c0f680d2", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", "description": "test metric anomaly detection configuration", - "metricId": "58b1a11a-d591-405b-8ca0-57941050cf9c", + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", "wholeMetricConfiguration": { "conditionOperator": "OR", "smartDetectionCondition": { @@ -196,49 +196,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "6d825b04-c854-44bd-99f4-19d2b552b44b", + "apim-request-id": "db2e0d45-9bb9-41e9-981e-6180ec507148", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/24e26be8-35a3-4c81-ae39-9391bfce6000", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0149766c-0e0f-4944-8da5-e597a6d84179", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "214", + "x-envoy-upstream-service-time": "244", "x-ms-region": "West US 2", - "X-Request-ID": "6d825b04-c854-44bd-99f4-19d2b552b44b" + "X-Request-ID": "db2e0d45-9bb9-41e9-981e-6180ec507148" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/24e26be8-35a3-4c81-ae39-9391bfce6000", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0149766c-0e0f-4944-8da5-e597a6d84179", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6a5e3131-5933-4dbc-8ea4-b7e75c8b6e5b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "65e65266-e5ef-4d69-8369-4cfab53acb0b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "419d556d-d478-4b70-94da-63322052939f", + "apim-request-id": "d82aff05-2893-40df-b24e-6c263b57f2ea", "Content-Length": "834", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "109", + "x-envoy-upstream-service-time": "152", "x-ms-region": "West US 2", - "X-Request-ID": "419d556d-d478-4b70-94da-63322052939f" + "X-Request-ID": "d82aff05-2893-40df-b24e-6c263b57f2ea" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "24e26be8-35a3-4c81-ae39-9391bfce6000", - "name": "testdetectionconfig4dae7aea-fd55-4c0f-b36e-2e95505f028c", + "anomalyDetectionConfigurationId": "0149766c-0e0f-4944-8da5-e597a6d84179", + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", "description": "test metric anomaly detection configuration", - "metricId": "58b1a11a-d591-405b-8ca0-57941050cf9c", + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", "wholeMetricConfiguration": { "conditionOperator": "OR", "smartDetectionCondition": { @@ -274,56 +274,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/24e26be8-35a3-4c81-ae39-9391bfce6000", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/0149766c-0e0f-4944-8da5-e597a6d84179", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4f795c1b-cae1-4c31-ae08-2d16ef2e376c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "27838b1d-706b-4d07-8dbc-d944fe32ce3c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "8cd41ae7-b45b-40f5-8e83-8d70f69cb1b1", + "apim-request-id": "c00aa9af-e658-4dfb-9bd7-ffb486878de7", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86", + "x-envoy-upstream-service-time": "83", "x-ms-region": "West US 2", - "X-Request-ID": "8cd41ae7-b45b-40f5-8e83-8d70f69cb1b1" + "X-Request-ID": "c00aa9af-e658-4dfb-9bd7-ffb486878de7" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cef0ee57-4d37-4434-83ef-cc651766a67c", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b97ce530-f0c7-4c67-bb27-4639e0adbefa", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "0abea709-15b9-4af0-bb58-7a4d3640617f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d3863d49-d3af-4338-bdad-1adfe1700091", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "f407e562-5bf5-4115-ae82-f8560b408b04", + "apim-request-id": "e17b668a-523b-4405-b1de-9996f5275a86", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "398", + "x-envoy-upstream-service-time": "318", "x-ms-region": "West US 2", - "X-Request-ID": "f407e562-5bf5-4115-ae82-f8560b408b04" + "X-Request-ID": "e17b668a-523b-4405-b1de-9996f5275a86" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json index 238f677574ed2..64cf63545eb51 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "594", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "633c12d9-c46f-4475-be76-dcfb8ea9470f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "58169dc6-e0a9-43c8-a336-de83816bd444", "x-ms-return-client-request-id": "true" }, "RequestBody": { "dataSourceType": "SqlServer", - "dataFeedName": "java_data_feed_for_detection614b0208-2aff-466a-afc6-007adb00797a", + "dataFeedName": "java_data_feed_for_detection8e206382-a6dd-4b56-a939-419f0d3a321d", "granularityName": "Daily", "metrics": [ { @@ -48,56 +48,56 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "2bf9519b-566f-499c-8b0c-99dccd7c24cd", + "apim-request-id": "b5bfb3b8-dbd4-4084-9710-482a6ae5300a", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/111b0b19-6552-4a41-b4d1-81930fd12af2", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4576bc54-76c3-484a-8cde-cdaeb40b12e3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "590", + "x-envoy-upstream-service-time": "1303", "x-ms-region": "West US 2", - "X-Request-ID": "2bf9519b-566f-499c-8b0c-99dccd7c24cd" + "X-Request-ID": "b5bfb3b8-dbd4-4084-9710-482a6ae5300a" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/111b0b19-6552-4a41-b4d1-81930fd12af2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4576bc54-76c3-484a-8cde-cdaeb40b12e3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "a5b3851b-9eb4-402a-8c3f-39f9fc245f98", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c846cefd-6de9-4406-9cbf-6ca2db84e948", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ae4a05c6-ff40-4e73-8a1e-e2761ecbea52", - "Content-Length": "1230", + "apim-request-id": "d8267f5e-c204-4256-b33e-40b7ada66ee6", + "Content-Length": "1216", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "198", + "x-envoy-upstream-service-time": "147", "x-ms-region": "West US 2", - "X-Request-ID": "ae4a05c6-ff40-4e73-8a1e-e2761ecbea52" + "X-Request-ID": "d8267f5e-c204-4256-b33e-40b7ada66ee6" }, "ResponseBody": { - "dataFeedId": "111b0b19-6552-4a41-b4d1-81930fd12af2", - "dataFeedName": "java_data_feed_for_detection614b0208-2aff-466a-afc6-007adb00797a", + "dataFeedId": "4576bc54-76c3-484a-8cde-cdaeb40b12e3", + "dataFeedName": "java_data_feed_for_detection8e206382-a6dd-4b56-a939-419f0d3a321d", "metrics": [ { - "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", "metricName": "cost", "metricDisplayName": "cost", "metricDescription": "" }, { - "metricId": "f37530c4-5835-4df6-8f01-e6c64e64e6c0", + "metricId": "da0ceac4-1aa1-486e-b9c2-7c7381fac73a", "metricName": "revenue", "metricDisplayName": "revenue", "metricDescription": "" @@ -129,12 +129,12 @@ "maxConcurrency": 0, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Active", - "createdTime": "2023-04-12T22:01:39Z", + "createdTime": "2023-04-17T23:00:16Z", "isAdmin": true, "actionLinkTemplate": "", "dataSourceParameter": { @@ -150,17 +150,17 @@ "Accept": "application/json", "Content-Length": "2038", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "801f4b3c-4387-4a9a-bae3-8bb3179447b1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a708c9f4-1eb8-44c1-8e56-09ffb7705802", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -285,49 +285,49 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "8dec8504-c022-433c-a0f5-c99767ee55d3", + "apim-request-id": "830c3102-bba8-4a3c-bb61-576fe4f2e44c", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "265", + "x-envoy-upstream-service-time": "203", "x-ms-region": "West US 2", - "X-Request-ID": "8dec8504-c022-433c-a0f5-c99767ee55d3" + "X-Request-ID": "830c3102-bba8-4a3c-bb61-576fe4f2e44c" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "e00fe4b5-d00d-4888-8ce3-20a0be99be4c", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "102fec6d-3195-41e3-b430-be1cd163f298", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ec51be30-2b6f-4596-b1da-8e63358ab54e", + "apim-request-id": "600aedd3-a14d-47b8-8da7-465a559e5ad4", "Content-Length": "2111", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:39 GMT", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "90", + "x-envoy-upstream-service-time": "81", "x-ms-region": "West US 2", - "X-Request-ID": "ec51be30-2b6f-4596-b1da-8e63358ab54e" + "X-Request-ID": "600aedd3-a14d-47b8-8da7-465a559e5ad4" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "afa099ed-0e29-430d-ab88-0f35da2983ee", - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "anomalyDetectionConfigurationId": "069a0639-ec91-409d-b717-70c805096dc3", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -452,21 +452,21 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "1962", "Content-Type": "application/merge-patch\u002Bjson", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2cc76253-507e-4afc-8e44-69396e77ae3a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b9f20217-905d-477b-810c-13c92cef159b", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", "wholeMetricConfiguration": { "conditionOperator": "AND", @@ -591,21 +591,21 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b35c4e12-d83b-413d-be07-eb4f4db7dbb9", + "apim-request-id": "1e172026-b721-4a0e-aaab-32086e62e951", "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "286", + "x-envoy-upstream-service-time": "292", "x-ms-region": "West US 2", - "X-Request-ID": "b35c4e12-d83b-413d-be07-eb4f4db7dbb9" + "X-Request-ID": "1e172026-b721-4a0e-aaab-32086e62e951" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "afa099ed-0e29-430d-ab88-0f35da2983ee", - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "anomalyDetectionConfigurationId": "069a0639-ec91-409d-b717-70c805096dc3", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -729,36 +729,36 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "800a62c3-4e50-48ed-8ba3-f60170adf8ab", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a4816d55-6ea1-42e7-8737-eb5f4ec5df4e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5a5fdca4-2ecc-464f-bd8e-bda5dbc1f87a", + "apim-request-id": "19090410-20f5-428c-9151-5265706d6504", "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111", + "x-envoy-upstream-service-time": "97", "x-ms-region": "West US 2", - "X-Request-ID": "5a5fdca4-2ecc-464f-bd8e-bda5dbc1f87a" + "X-Request-ID": "19090410-20f5-428c-9151-5265706d6504" }, "ResponseBody": { - "anomalyDetectionConfigurationId": "afa099ed-0e29-430d-ab88-0f35da2983ee", - "name": "testdetectionconfig5b26f70d-6e89-46ee-81d9-4639f3426947", + "anomalyDetectionConfigurationId": "069a0639-ec91-409d-b717-70c805096dc3", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", "description": "test metric anomaly detection configuration", - "metricId": "3b09b50e-10ac-40b8-9c04-fec77a996120", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", "wholeMetricConfiguration": { "conditionOperator": "AND", "smartDetectionCondition": { @@ -882,56 +882,56 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/afa099ed-0e29-430d-ab88-0f35da2983ee", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/069a0639-ec91-409d-b717-70c805096dc3", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2094b593-057d-4d20-9050-06d6118819f9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "aeec7a64-6e39-4ba4-806c-66fb33446b5c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "746cf6b7-32f7-41e7-bcbb-c09d5070f832", + "apim-request-id": "c5f4cf1c-0f5d-4eba-9ea3-55f6c0d170d6", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "66", + "x-envoy-upstream-service-time": "60", "x-ms-region": "West US 2", - "X-Request-ID": "746cf6b7-32f7-41e7-bcbb-c09d5070f832" + "X-Request-ID": "c5f4cf1c-0f5d-4eba-9ea3-55f6c0d170d6" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/111b0b19-6552-4a41-b4d1-81930fd12af2", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4576bc54-76c3-484a-8cde-cdaeb40b12e3", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:41 GMT", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "4b6b6d2d-1bf2-4ca9-a4b9-7ca2c712e154", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0a00219a-662a-48c4-9496-7d803d9a9243", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "68274a7e-8dee-400c-aeb3-f58a2443736a", + "apim-request-id": "7aa59eb6-370a-467a-8705-4a366682e1a0", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:40 GMT", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "301", + "x-envoy-upstream-service-time": "295", "x-ms-region": "West US 2", - "X-Request-ID": "68274a7e-8dee-400c-aeb3-f58a2443736a" + "X-Request-ID": "7aa59eb6-370a-467a-8705-4a366682e1a0" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json index d3a17ab7aab3c..5a219ba2d0a1c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "76", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "42ef4c70-e138-4384-8a1e-eea109fe5003", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a5da5151-01ee-4c6f-8d50-32b821d14916", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,22 +20,22 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4a1b2227-7cfd-4cfd-aea8-bda1d7e61a78", + "apim-request-id": "a4595a4f-e989-4443-ba37-9b5b63426dc6", "Content-Length": "72938", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:44 GMT", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "185", + "x-envoy-upstream-service-time": "190", "x-ms-region": "West US 2", - "X-Request-ID": "4a1b2227-7cfd-4cfd-aea8-bda1d7e61a78" + "X-Request-ID": "a4595a4f-e989-4443-ba37-9b5b63426dc6" }, "ResponseBody": { "value": [ { "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", "createdTime": "2022-11-17T08:28:24.161Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -52,7 +52,7 @@ { "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", "createdTime": "2022-11-17T08:28:14.714Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -69,7 +69,7 @@ { "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", "createdTime": "2022-11-17T08:28:13.473Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -86,7 +86,7 @@ { "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", "createdTime": "2022-11-16T08:38:56.029Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -103,7 +103,7 @@ { "feedbackId": "4a44489e-5861-4e8c-885d-759e76a4c1e5", "createdTime": "2022-11-16T08:34:43.298Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -120,7 +120,7 @@ { "feedbackId": "882b411d-b5f7-4db0-9342-088dfb0932be", "createdTime": "2022-11-16T08:32:46.965Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -137,7 +137,7 @@ { "feedbackId": "5a5965e9-932d-4803-851e-b272c22fe9d2", "createdTime": "2022-11-16T08:32:12.299Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -154,7 +154,7 @@ { "feedbackId": "3133c8c1-3a18-4c3b-b4f8-00a686bdc925", "createdTime": "2022-11-16T08:31:22.138Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -171,7 +171,7 @@ { "feedbackId": "32220722-6b63-41d8-843a-5714493a01da", "createdTime": "2022-11-16T08:30:11.89Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -188,7 +188,7 @@ { "feedbackId": "59a42b37-54ea-4dba-928d-17ae716438e5", "createdTime": "2022-11-16T08:29:54.202Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -205,7 +205,7 @@ { "feedbackId": "dfb0ef5f-f5ed-4847-84d1-a7ee44af8272", "createdTime": "2022-11-16T08:29:38.922Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -222,7 +222,7 @@ { "feedbackId": "0c4af4b5-93af-49a1-a978-c3b68e3fa831", "createdTime": "2022-11-16T08:29:31.839Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -239,7 +239,7 @@ { "feedbackId": "82bdbddd-16e7-416b-92b5-0524e46e0f97", "createdTime": "2022-11-16T08:28:44.548Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -256,7 +256,7 @@ { "feedbackId": "dae84d60-eedb-4b0b-9c02-76de8e04027a", "createdTime": "2022-11-16T08:27:42.576Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -273,7 +273,7 @@ { "feedbackId": "11a923ff-5990-4d9f-9149-feca48064861", "createdTime": "2022-11-16T08:26:24.323Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -290,7 +290,7 @@ { "feedbackId": "0762b977-f38d-49c5-9f63-95c1fbe05376", "createdTime": "2022-11-16T08:25:44.139Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -307,7 +307,7 @@ { "feedbackId": "f7ab8fe8-bfc7-45af-b9c6-4394d344bb77", "createdTime": "2022-11-16T08:25:41.76Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -324,7 +324,7 @@ { "feedbackId": "ad442466-687b-4514-9a7d-5230ecd974a1", "createdTime": "2022-11-15T08:36:24.682Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -341,7 +341,7 @@ { "feedbackId": "0560c90f-3073-4706-8977-ddff18eb9128", "createdTime": "2022-11-15T08:35:26.831Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -358,7 +358,7 @@ { "feedbackId": "4e18805d-7d72-4a32-a08f-32a796df289e", "createdTime": "2022-11-15T08:34:47.289Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -375,7 +375,7 @@ { "feedbackId": "846167cc-2610-4276-acc6-42110869a239", "createdTime": "2022-11-15T08:34:00.941Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -392,7 +392,7 @@ { "feedbackId": "1a01e34f-bedc-4b6c-af27-0c0d935c7c55", "createdTime": "2022-11-15T08:32:42.634Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -409,7 +409,7 @@ { "feedbackId": "f4598c87-5fd6-4e7b-b0a4-9a46c4b4058e", "createdTime": "2022-11-15T08:32:42.455Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -426,7 +426,7 @@ { "feedbackId": "9ed4b24c-fea1-4b04-9948-42b8ba814f6e", "createdTime": "2022-11-15T08:32:24.563Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -443,7 +443,7 @@ { "feedbackId": "92c654bf-05bd-4e3b-befe-3616c449547e", "createdTime": "2022-11-15T08:32:13.039Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -460,7 +460,7 @@ { "feedbackId": "904baea6-d878-4acf-96d2-0cbb3415db03", "createdTime": "2022-11-15T08:31:55.351Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -477,7 +477,7 @@ { "feedbackId": "b202a8d2-a9d7-49f2-8f68-521d6e0d6c02", "createdTime": "2022-11-15T08:30:57.564Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -494,7 +494,7 @@ { "feedbackId": "7358ef56-1978-4435-82b1-67c2c0a69635", "createdTime": "2022-11-15T08:29:51.926Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -511,7 +511,7 @@ { "feedbackId": "10a53b22-2a08-4e1d-9353-5757a79a94b8", "createdTime": "2022-11-15T08:28:20.855Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -528,7 +528,7 @@ { "feedbackId": "c4773829-020d-4501-9163-8f6151a84103", "createdTime": "2022-11-15T08:28:13.703Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -545,7 +545,7 @@ { "feedbackId": "1bb2b9a7-a7a5-4a2f-a7cb-b71c4cfa0e70", "createdTime": "2022-11-15T08:28:00.452Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -562,7 +562,7 @@ { "feedbackId": "ef76ef6b-f727-4102-9a11-6745cc6bed87", "createdTime": "2022-11-14T08:38:24.574Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -579,7 +579,7 @@ { "feedbackId": "f3da4ff3-c819-4d51-b03a-f03f5ebac392", "createdTime": "2022-11-14T08:34:43.096Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -596,7 +596,7 @@ { "feedbackId": "eabdbf12-c484-48f3-a3ff-71057164e542", "createdTime": "2022-11-14T08:34:10.318Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -613,7 +613,7 @@ { "feedbackId": "2eeff6bb-87bf-458d-8863-78f07bc91191", "createdTime": "2022-11-14T08:33:40.153Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -630,7 +630,7 @@ { "feedbackId": "775e6bb2-b66c-4804-ad50-57f30c0bd3dc", "createdTime": "2022-11-14T08:33:30.599Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -647,7 +647,7 @@ { "feedbackId": "4bc9b96c-9ba6-49f0-8785-f8546be0324c", "createdTime": "2022-11-14T08:32:32.224Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -664,7 +664,7 @@ { "feedbackId": "7a0ccc0b-7dc1-4cb1-99f6-4b871051e89f", "createdTime": "2022-11-14T08:31:43.164Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -681,7 +681,7 @@ { "feedbackId": "cebb1de2-b30f-4d77-adb5-ea8727f330c4", "createdTime": "2022-11-14T08:31:37.778Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -698,7 +698,7 @@ { "feedbackId": "384b4af0-75de-4dd6-81ed-1703aa6a0769", "createdTime": "2022-11-14T08:31:10.589Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -715,7 +715,7 @@ { "feedbackId": "e0455c18-c856-4fd5-b84f-8c4e8ee21624", "createdTime": "2022-11-14T08:30:25.698Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -732,7 +732,7 @@ { "feedbackId": "3c8bd888-7339-475c-95a9-10bdf40be8f0", "createdTime": "2022-11-14T08:29:35.559Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -749,7 +749,7 @@ { "feedbackId": "ead61b26-f423-43d0-8761-fc2ce5812fbb", "createdTime": "2022-11-14T08:28:06.776Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -766,7 +766,7 @@ { "feedbackId": "982a8bdf-7070-4d61-ae9e-b73973742fb4", "createdTime": "2022-11-14T08:27:18.149Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -783,7 +783,7 @@ { "feedbackId": "5959f7c7-cea7-4075-bfa8-53331d44a132", "createdTime": "2022-11-14T08:27:17.562Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -800,7 +800,7 @@ { "feedbackId": "e1fdeec0-825c-4fd2-a07a-c8b69f326b6b", "createdTime": "2022-11-13T15:04:23.353Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -817,7 +817,7 @@ { "feedbackId": "b0308182-8205-4244-ae96-5e7e0ee85ebb", "createdTime": "2022-11-13T15:03:30.769Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -834,7 +834,7 @@ { "feedbackId": "0dc51c3f-c835-474a-b11a-d79847a52c15", "createdTime": "2022-11-13T15:03:26.471Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -851,7 +851,7 @@ { "feedbackId": "c628638d-bca6-44b2-9c77-721d79f7a279", "createdTime": "2022-11-13T15:02:53.322Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -868,7 +868,7 @@ { "feedbackId": "bd4efb2e-ae89-4535-a6af-74f3bd852e5f", "createdTime": "2022-11-13T15:01:33.615Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -885,7 +885,7 @@ { "feedbackId": "f7be759a-30ec-4395-8931-8b625b6a7842", "createdTime": "2022-11-13T15:01:32.866Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -902,7 +902,7 @@ { "feedbackId": "c72c8a81-29c8-4c77-8384-5b3f772e5d38", "createdTime": "2022-11-13T15:01:31.727Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -919,7 +919,7 @@ { "feedbackId": "23df0af6-1279-4f63-85c5-0aad4843c751", "createdTime": "2022-11-13T14:59:52.654Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -936,7 +936,7 @@ { "feedbackId": "0bd0a1c3-2b31-4faa-b15c-97c05e3c2339", "createdTime": "2022-11-13T14:59:35.538Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -953,7 +953,7 @@ { "feedbackId": "4e906a9f-a2c8-4e51-81ae-db24e69c873c", "createdTime": "2022-11-13T14:59:34.465Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -970,7 +970,7 @@ { "feedbackId": "509ee114-c15e-40b4-8920-26e33ff343b2", "createdTime": "2022-11-13T14:58:41.129Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -987,7 +987,7 @@ { "feedbackId": "dff19228-e9cd-452d-a1ca-82660a9966ec", "createdTime": "2022-11-13T14:57:04.847Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1004,7 +1004,7 @@ { "feedbackId": "e9a3f92c-57e7-4a63-af9b-0203da72167b", "createdTime": "2022-11-13T14:57:02.909Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1021,7 +1021,7 @@ { "feedbackId": "0aee1a34-bdd7-4248-b285-496025951bcc", "createdTime": "2022-11-13T14:56:47.913Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1038,7 +1038,7 @@ { "feedbackId": "be5e8764-94ab-44c9-aafc-8d8d7bf48ae6", "createdTime": "2022-11-11T08:35:17.416Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1055,7 +1055,7 @@ { "feedbackId": "80a9f41e-ead7-4233-be44-7dcf402e66e6", "createdTime": "2022-11-11T08:35:04.33Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1072,7 +1072,7 @@ { "feedbackId": "0626e3c2-9f5e-4d93-8961-9f6b1e0021ce", "createdTime": "2022-11-11T08:32:35.985Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1089,7 +1089,7 @@ { "feedbackId": "b334d431-1c17-41a6-bd1e-2abdfba4f84a", "createdTime": "2022-11-11T08:32:35.795Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1106,7 +1106,7 @@ { "feedbackId": "75a80614-0d57-4153-a88c-5b23dd4ee9c6", "createdTime": "2022-11-11T08:32:12.825Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1123,7 +1123,7 @@ { "feedbackId": "519c7104-33ce-40b7-8cf7-cefd8588af23", "createdTime": "2022-11-11T08:31:46.624Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1140,7 +1140,7 @@ { "feedbackId": "8a566453-9a66-4e43-a6b6-347aaa6bf435", "createdTime": "2022-11-11T08:31:46.199Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1157,7 +1157,7 @@ { "feedbackId": "be50eda0-272f-481d-afa0-286de304b0c0", "createdTime": "2022-11-11T08:31:41.849Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1174,7 +1174,7 @@ { "feedbackId": "618b97a2-2dbf-4535-a276-cc9f1195a271", "createdTime": "2022-11-11T08:31:05.615Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1191,7 +1191,7 @@ { "feedbackId": "cc0bb884-3ce4-4f8b-9402-1ef556affd1b", "createdTime": "2022-11-11T08:28:21.773Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1208,7 +1208,7 @@ { "feedbackId": "813d3675-eb5d-4c9e-914e-507fab1363dc", "createdTime": "2022-11-11T08:27:59.702Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1225,7 +1225,7 @@ { "feedbackId": "37d2d8a0-02e2-4906-af38-c372e158f827", "createdTime": "2022-11-11T08:27:47.952Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1242,7 +1242,7 @@ { "feedbackId": "d081dcbe-0ac1-4a3f-812a-fea3176bcf23", "createdTime": "2022-11-11T08:27:08.44Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1259,7 +1259,7 @@ { "feedbackId": "56347e86-8be5-4107-a227-85e3a1bbbb38", "createdTime": "2022-11-11T08:27:04.564Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1276,7 +1276,7 @@ { "feedbackId": "45947b7c-6d17-4303-a5ef-9d838ac649ea", "createdTime": "2022-11-10T08:36:50.275Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1293,7 +1293,7 @@ { "feedbackId": "c4582fca-dd79-4b26-845e-c064354ec75c", "createdTime": "2022-11-10T08:34:25.911Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1310,7 +1310,7 @@ { "feedbackId": "a5fdfcf7-f2f5-4120-9616-5325311694e1", "createdTime": "2022-11-10T08:32:28.188Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1327,7 +1327,7 @@ { "feedbackId": "6550eaa0-e184-41b8-bca4-c904f8b2e1b6", "createdTime": "2022-11-10T08:31:06.324Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1344,7 +1344,7 @@ { "feedbackId": "161bb752-67c9-42f3-962c-00a21cc89f81", "createdTime": "2022-11-10T08:30:59.199Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1361,7 +1361,7 @@ { "feedbackId": "9ee38c49-3c6f-4a36-abf8-b5392e4cdc54", "createdTime": "2022-11-10T08:30:28.286Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1378,7 +1378,7 @@ { "feedbackId": "e5a140c0-0004-42d8-9fa4-b1601900a44d", "createdTime": "2022-11-10T08:28:52.425Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1395,7 +1395,7 @@ { "feedbackId": "20134e53-b7a9-4323-971c-9cdacc171958", "createdTime": "2022-11-10T08:28:43.087Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1412,7 +1412,7 @@ { "feedbackId": "2a0727f3-0211-4b04-b571-3b4eb569c11b", "createdTime": "2022-11-10T08:28:35.793Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1429,7 +1429,7 @@ { "feedbackId": "c4f8d368-a50c-499d-ab76-20452f778565", "createdTime": "2022-11-10T08:27:34.898Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1446,7 +1446,7 @@ { "feedbackId": "7178346d-f8e3-40d2-9ed2-d92983e2312c", "createdTime": "2022-11-10T08:26:42.989Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1463,7 +1463,7 @@ { "feedbackId": "94fab047-2792-4ee0-a0f0-0768568197d6", "createdTime": "2022-11-10T08:25:10.415Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1480,7 +1480,7 @@ { "feedbackId": "76f5ac85-e177-40ea-992a-d05f2c61fa91", "createdTime": "2022-11-10T08:25:09.925Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1497,7 +1497,7 @@ { "feedbackId": "619bf00a-df7d-4827-bead-26734f804e61", "createdTime": "2022-11-10T08:25:00.391Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1514,7 +1514,7 @@ { "feedbackId": "ba1fb487-be4e-4355-bdc1-875e78059784", "createdTime": "2022-11-09T08:33:28.291Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1531,7 +1531,7 @@ { "feedbackId": "f4f300dc-a4a8-4783-961b-d3ad3ce8ea28", "createdTime": "2022-11-09T08:32:13.605Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1548,7 +1548,7 @@ { "feedbackId": "3d682ee8-3506-4f81-89b4-ecd160c10ac2", "createdTime": "2022-11-09T08:31:41.8Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1565,7 +1565,7 @@ { "feedbackId": "09639eb6-e45e-4d06-886c-5666d98338d5", "createdTime": "2022-11-09T08:31:12.637Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1582,7 +1582,7 @@ { "feedbackId": "13fe35e2-17ed-4689-8d2c-7ef0838e2788", "createdTime": "2022-11-09T08:30:43.485Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1599,7 +1599,7 @@ { "feedbackId": "6024b053-b892-4001-8ff7-6286fea42b10", "createdTime": "2022-11-09T08:30:12.34Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1616,7 +1616,7 @@ { "feedbackId": "09f58f16-b6c9-4cdb-a2a5-24009ab8a0d1", "createdTime": "2022-11-09T08:30:05.189Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1633,7 +1633,7 @@ { "feedbackId": "0de251d8-f4b3-4ea0-87ef-69214b2e7fc3", "createdTime": "2022-11-09T08:29:21.969Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1650,7 +1650,7 @@ { "feedbackId": "3faacc8a-ced1-4f8a-a998-90e680febc6f", "createdTime": "2022-11-09T08:28:24.089Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1667,7 +1667,7 @@ { "feedbackId": "6b824d5d-6650-45a2-a4aa-3ad478080b98", "createdTime": "2022-11-09T08:27:33.361Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1684,7 +1684,7 @@ { "feedbackId": "89b20db8-0180-4642-92bc-43514d42c0a4", "createdTime": "2022-11-09T08:27:31.157Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1701,7 +1701,7 @@ { "feedbackId": "56e171c8-f1d3-4be7-9789-24929d1b6fa5", "createdTime": "2022-11-09T08:26:13.882Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1718,7 +1718,7 @@ { "feedbackId": "3c750d6f-b0a7-49d6-a4b7-2fe1f51c2b38", "createdTime": "2022-11-09T08:25:31.923Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1735,7 +1735,7 @@ { "feedbackId": "e26e3020-6e01-4bfa-9d12-db12e076f6f8", "createdTime": "2022-11-09T08:24:58.498Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1752,7 +1752,7 @@ { "feedbackId": "1a8b0df6-7542-4a2d-b2ea-baad5640e4ce", "createdTime": "2022-11-08T08:37:45.85Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1769,7 +1769,7 @@ { "feedbackId": "a5a047d5-1834-4abf-9d20-db39eb042dad", "createdTime": "2022-11-08T08:33:48.056Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1786,7 +1786,7 @@ { "feedbackId": "99a99c46-e16e-4aaa-ac2e-91e94793e299", "createdTime": "2022-11-08T08:33:32.725Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1803,7 +1803,7 @@ { "feedbackId": "5c04a01b-3ef9-4325-a343-260d1d8cda87", "createdTime": "2022-11-08T08:33:24.777Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1820,7 +1820,7 @@ { "feedbackId": "6f93b66d-dbdd-44d7-be62-907dd6c3187d", "createdTime": "2022-11-08T08:30:46.141Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1837,7 +1837,7 @@ { "feedbackId": "d16c00cc-d3a1-4312-bd8a-3b1439a27529", "createdTime": "2022-11-08T08:30:45.801Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1854,7 +1854,7 @@ { "feedbackId": "99abc591-576b-4b26-88bd-84580a6c7be5", "createdTime": "2022-11-08T08:30:14.649Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1871,7 +1871,7 @@ { "feedbackId": "d4b10a8d-0347-414d-b17c-20b057db492e", "createdTime": "2022-11-08T08:29:46.241Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1888,7 +1888,7 @@ { "feedbackId": "a16e8a0e-90ac-4969-bc77-e7e2f5cb7f2a", "createdTime": "2022-11-08T08:29:32.589Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1905,7 +1905,7 @@ { "feedbackId": "6283fc79-970a-4223-aef1-9b4e4a4eceb7", "createdTime": "2022-11-08T08:29:29.035Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1922,7 +1922,7 @@ { "feedbackId": "78bcf0ba-6679-4113-8059-e4fda9aea2b5", "createdTime": "2022-11-08T08:26:53.927Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1939,7 +1939,7 @@ { "feedbackId": "1f996b09-e31d-4350-b785-288958b83494", "createdTime": "2022-11-08T08:26:01.169Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1956,7 +1956,7 @@ { "feedbackId": "93fcb056-5999-4510-bd43-4ab9c54cb961", "createdTime": "2022-11-08T08:25:48.02Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1973,7 +1973,7 @@ { "feedbackId": "dd9cdf03-0ee4-4c2a-ae9b-b11f0b37a1e6", "createdTime": "2022-11-08T08:25:46.676Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -1990,7 +1990,7 @@ { "feedbackId": "261e4b9e-3137-4f45-9d74-2af9a1fbf5b7", "createdTime": "2022-11-07T08:33:39.064Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2007,7 +2007,7 @@ { "feedbackId": "9b6c0878-8e3f-46f7-8d3d-92fb477796b4", "createdTime": "2022-11-07T08:33:20.55Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2024,7 +2024,7 @@ { "feedbackId": "0f45107e-d68e-48ce-a561-4751bbca2385", "createdTime": "2022-11-07T08:33:06.473Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2041,7 +2041,7 @@ { "feedbackId": "e484150d-9d6f-49c1-a81a-08e745f18330", "createdTime": "2022-11-07T08:31:14.457Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2058,7 +2058,7 @@ { "feedbackId": "73330f3f-7ced-4407-ab4e-ca83dba821a0", "createdTime": "2022-11-07T08:30:07.557Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2075,7 +2075,7 @@ { "feedbackId": "c6ec92fe-b35a-42aa-a812-216e2c32ef80", "createdTime": "2022-11-07T08:29:52.629Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2092,7 +2092,7 @@ { "feedbackId": "de59642e-01d4-43b7-a0af-efe67af4fec7", "createdTime": "2022-11-07T08:29:45.967Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2109,7 +2109,7 @@ { "feedbackId": "06db48e1-49a2-4fde-9618-15baf002b70d", "createdTime": "2022-11-07T08:29:35.658Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2126,7 +2126,7 @@ { "feedbackId": "0d03e98b-299c-4290-8f89-a504b64bdd10", "createdTime": "2022-11-07T08:28:49.121Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2143,7 +2143,7 @@ { "feedbackId": "d0c8d076-d1e7-4515-af39-844d0319ba66", "createdTime": "2022-11-07T08:28:37.291Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2160,7 +2160,7 @@ { "feedbackId": "17981d33-8ac8-4d7a-9cca-26bf63d6ca54", "createdTime": "2022-11-07T08:27:43.689Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2177,7 +2177,7 @@ { "feedbackId": "24bff904-03fe-4050-97d5-000ac19445e2", "createdTime": "2022-11-07T08:25:37.361Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2194,7 +2194,7 @@ { "feedbackId": "7719837b-d39c-4956-8fa0-854c8c833063", "createdTime": "2022-11-07T08:24:40.19Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2211,7 +2211,7 @@ { "feedbackId": "17db4e3a-9e28-4477-bbe3-3ee80d1fb309", "createdTime": "2022-11-07T08:24:38.642Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2228,7 +2228,7 @@ { "feedbackId": "d68ff979-cc2a-4c01-865b-a2bda8fac29d", "createdTime": "2022-11-06T15:02:00.768Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2245,7 +2245,7 @@ { "feedbackId": "4bd1d053-a1bf-4201-a49e-64f9c194ba4b", "createdTime": "2022-11-06T15:01:33.346Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2262,7 +2262,7 @@ { "feedbackId": "57e7ed93-b3d1-4cb1-b14d-dc153a0d2231", "createdTime": "2022-11-06T15:01:29.345Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2279,7 +2279,7 @@ { "feedbackId": "3840cb8a-dace-4d20-a766-aad0480344ba", "createdTime": "2022-11-06T15:00:27.784Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2296,7 +2296,7 @@ { "feedbackId": "f825c6ce-9bf8-44ec-9307-5efc281ae5e2", "createdTime": "2022-11-06T14:59:24.15Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2313,7 +2313,7 @@ { "feedbackId": "011e1486-ee09-4dae-a9fd-c2175a5f9256", "createdTime": "2022-11-06T14:58:59.727Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2330,7 +2330,7 @@ { "feedbackId": "a2189c76-154c-49e2-b8be-af65da75d8c5", "createdTime": "2022-11-06T14:58:52.342Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2347,7 +2347,7 @@ { "feedbackId": "1526f7d4-4d5b-4b77-9508-3244b1e59a63", "createdTime": "2022-11-06T14:58:42.028Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2364,7 +2364,7 @@ { "feedbackId": "75272256-ef0c-4f0b-96e8-47f3a8d8971b", "createdTime": "2022-11-06T14:58:39.581Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2381,7 +2381,7 @@ { "feedbackId": "e68b9867-b64c-4770-a09f-8da4ea58387f", "createdTime": "2022-11-06T14:57:58.699Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2398,7 +2398,7 @@ { "feedbackId": "96f59ad4-047c-48d8-9d71-b6049169b491", "createdTime": "2022-11-06T14:56:05.037Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2415,7 +2415,7 @@ { "feedbackId": "671fb461-305c-45b3-b9de-450e698e88e0", "createdTime": "2022-11-06T14:54:56.717Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2432,7 +2432,7 @@ { "feedbackId": "abf2ce83-9e1b-4811-a34a-69269c7dd91e", "createdTime": "2022-11-06T14:54:11.197Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2449,7 +2449,7 @@ { "feedbackId": "27d47e05-d92c-4605-8045-8c2a50defff7", "createdTime": "2022-11-06T14:54:10.473Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2466,7 +2466,7 @@ { "feedbackId": "b12478b5-81ae-4800-8506-1a9da6f3a5f1", "createdTime": "2022-11-04T07:33:03.802Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2483,7 +2483,7 @@ { "feedbackId": "8b4341a5-2d40-4739-ab4f-b071a5651b6e", "createdTime": "2022-11-04T07:32:38.095Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2500,7 +2500,7 @@ { "feedbackId": "4532f407-2e59-462e-87eb-9ab5b8e12121", "createdTime": "2022-11-04T07:32:04.161Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2517,7 +2517,7 @@ { "feedbackId": "09c4356f-49a4-4a23-b7c5-51445bd43436", "createdTime": "2022-11-04T07:30:27.913Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2534,7 +2534,7 @@ { "feedbackId": "3588fe59-6377-44ae-8bc8-5441b833230d", "createdTime": "2022-11-04T07:30:12.966Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2551,7 +2551,7 @@ { "feedbackId": "b2909e4e-3698-44dd-9f22-a6c10f31f4f6", "createdTime": "2022-11-04T07:29:38.692Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2568,7 +2568,7 @@ { "feedbackId": "31efab14-cc68-4ee1-b892-953f5ed97b52", "createdTime": "2022-11-04T07:29:14.458Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2585,7 +2585,7 @@ { "feedbackId": "d0f1fcf8-b6b0-405a-a4a1-74ba22f50421", "createdTime": "2022-11-04T07:29:13.175Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2602,7 +2602,7 @@ { "feedbackId": "94ba1cc2-e9e4-4f05-be2a-1b9611b70f4d", "createdTime": "2022-11-04T07:29:07.563Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2619,7 +2619,7 @@ { "feedbackId": "af76aa3e-5d9a-4185-9113-582a5016a949", "createdTime": "2022-11-04T07:28:26.634Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2636,7 +2636,7 @@ { "feedbackId": "32645c5c-b415-424e-b64a-5331b2dc5cf5", "createdTime": "2022-11-04T07:26:07.12Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2653,7 +2653,7 @@ { "feedbackId": "3acee414-789b-4f67-be42-17d716e50569", "createdTime": "2022-11-04T07:26:00.698Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2670,7 +2670,7 @@ { "feedbackId": "5d334162-1639-4604-8a72-33c361a9dd85", "createdTime": "2022-11-04T07:24:42.123Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2687,7 +2687,7 @@ { "feedbackId": "a367eeca-9125-4145-81fc-aa77dbd1d3f9", "createdTime": "2022-11-04T07:24:41.735Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2704,7 +2704,7 @@ { "feedbackId": "b9b78e2c-1096-44e7-9cbd-a66bd2b650ad", "createdTime": "2022-11-03T07:44:27.901Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2721,7 +2721,7 @@ { "feedbackId": "eedc6a53-fdda-4026-929f-b31d5b98474e", "createdTime": "2022-11-03T07:43:55.37Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2738,7 +2738,7 @@ { "feedbackId": "72f83379-8e39-47f1-b87d-b490fc412f85", "createdTime": "2022-11-03T07:43:39.719Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2755,7 +2755,7 @@ { "feedbackId": "6d1e4c42-b831-45c7-8f7b-15e0da76cb25", "createdTime": "2022-11-03T07:43:00.564Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2772,7 +2772,7 @@ { "feedbackId": "1d848441-c624-4e1f-8897-5513d7127026", "createdTime": "2022-11-03T07:42:50.123Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2789,7 +2789,7 @@ { "feedbackId": "24ae495d-a088-41dc-9f74-4cf15dd9da14", "createdTime": "2022-11-03T07:42:32.421Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2806,7 +2806,7 @@ { "feedbackId": "a70c0c07-339b-437a-a572-3f1c566595e6", "createdTime": "2022-11-03T07:42:31.782Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2823,7 +2823,7 @@ { "feedbackId": "93dfecbc-f1f5-4688-80a6-7ddf597c904c", "createdTime": "2022-11-03T07:40:32.334Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2840,7 +2840,7 @@ { "feedbackId": "5bbb44a5-f37e-4886-ab86-3918e17ee7db", "createdTime": "2022-11-03T07:39:58.095Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2857,7 +2857,7 @@ { "feedbackId": "d6615a56-e8af-4cbe-a7cb-4b5c535633cf", "createdTime": "2022-11-03T07:39:21.645Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2874,7 +2874,7 @@ { "feedbackId": "bd3af90d-5ada-4b17-9cb2-e9728134bb35", "createdTime": "2022-11-03T07:38:33.599Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2891,7 +2891,7 @@ { "feedbackId": "7f006d3c-7319-4ac9-b14e-eecddae590b3", "createdTime": "2022-11-03T07:38:00.824Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2908,7 +2908,7 @@ { "feedbackId": "84ec5052-74dc-49f7-b40e-13fbf607b935", "createdTime": "2022-11-03T07:37:51.022Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2925,7 +2925,7 @@ { "feedbackId": "15872734-bdd6-4810-b54c-97c37b7b3d88", "createdTime": "2022-11-03T07:37:45.106Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2942,7 +2942,7 @@ { "feedbackId": "c6bfb2ac-6b20-4553-a3fa-8450f2fb8b47", "createdTime": "2022-11-02T16:21:55.896Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2959,7 +2959,7 @@ { "feedbackId": "d65a4245-ce0d-4ef3-93bc-4ff4bae329ad", "createdTime": "2022-11-02T16:18:13.308Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2976,7 +2976,7 @@ { "feedbackId": "88588209-9e79-4587-b1e1-ec2549a4635a", "createdTime": "2022-11-02T07:33:23.917Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -2993,7 +2993,7 @@ { "feedbackId": "7788ea7c-a460-4bb9-9eb0-b557a42521a8", "createdTime": "2022-11-02T07:33:15.896Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3010,7 +3010,7 @@ { "feedbackId": "351ccd09-8368-4ef3-b511-935445774ed7", "createdTime": "2022-11-02T07:32:42.576Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3027,7 +3027,7 @@ { "feedbackId": "faf2dbb6-f558-4c58-902d-9e76fc52d81e", "createdTime": "2022-11-02T07:32:07.399Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3044,7 +3044,7 @@ { "feedbackId": "cb8ef237-35ba-4f18-ba77-3170ce80f895", "createdTime": "2022-11-02T07:31:21.197Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3061,7 +3061,7 @@ { "feedbackId": "ba120c66-f906-4dc1-85c0-b06e134b0d98", "createdTime": "2022-11-02T07:31:13.212Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3078,7 +3078,7 @@ { "feedbackId": "6382eb1f-fa99-48a8-87e0-62a8313863c9", "createdTime": "2022-11-02T07:30:57.823Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3095,7 +3095,7 @@ { "feedbackId": "a76717a8-98bb-4afe-a037-95d7bf47e8b4", "createdTime": "2022-11-02T07:29:35.791Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3112,7 +3112,7 @@ { "feedbackId": "d51827b0-7cc7-4f1e-b742-e02934e7e267", "createdTime": "2022-11-02T07:29:33.538Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3129,7 +3129,7 @@ { "feedbackId": "11877ed8-7daa-4c9f-8669-e005ca27446f", "createdTime": "2022-11-02T07:28:34.564Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3146,7 +3146,7 @@ { "feedbackId": "1596530c-ec99-41ca-a2be-4c67dd699f53", "createdTime": "2022-11-02T07:27:23.484Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3163,7 +3163,7 @@ { "feedbackId": "2733971f-0f22-472f-91ea-0943d5d3eb9b", "createdTime": "2022-11-02T07:26:40.746Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3180,7 +3180,7 @@ { "feedbackId": "30c583c7-c169-4e00-a1fb-c338ac737f67", "createdTime": "2022-11-02T07:26:08.292Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3197,7 +3197,7 @@ { "feedbackId": "b13e55e3-7add-4f60-8ecd-db5fdd2b6074", "createdTime": "2022-11-02T07:26:05.028Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3214,7 +3214,7 @@ { "feedbackId": "2043010d-cdd1-40af-8de1-dfb785899b21", "createdTime": "2022-11-01T07:33:16.295Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3231,7 +3231,7 @@ { "feedbackId": "f758d867-8705-4abe-a86d-4b444fd6ea11", "createdTime": "2022-11-01T07:32:52.907Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3248,7 +3248,7 @@ { "feedbackId": "19676731-5741-464f-83da-e8049cf2c211", "createdTime": "2022-11-01T07:32:40.841Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3265,7 +3265,7 @@ { "feedbackId": "5aca61bc-15b8-4218-bca8-1bc54abbcea7", "createdTime": "2022-11-01T07:31:00.317Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3282,7 +3282,7 @@ { "feedbackId": "f4b3d592-b3cf-4b93-8eb8-028f63cdd5ff", "createdTime": "2022-11-01T07:30:01.254Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3299,7 +3299,7 @@ { "feedbackId": "95304edc-93e7-489d-8329-5fce27b1cec2", "createdTime": "2022-11-01T07:29:55.136Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3316,7 +3316,7 @@ { "feedbackId": "8c58f933-d279-47ab-a17b-8f726d6c553e", "createdTime": "2022-11-01T07:29:29.314Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3333,7 +3333,7 @@ { "feedbackId": "25f0ebb7-6925-4acf-bdd3-532a622b4bb8", "createdTime": "2022-11-01T07:29:24.529Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3350,7 +3350,7 @@ { "feedbackId": "8410510b-21dc-4df9-b1f7-68a756983b62", "createdTime": "2022-11-01T07:29:03.207Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3367,7 +3367,7 @@ { "feedbackId": "a9e686da-b273-4292-ba7b-218b6cf7f547", "createdTime": "2022-11-01T07:29:00.64Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3384,7 +3384,7 @@ { "feedbackId": "4f176043-11b0-4a01-aad1-e4c0879e80e8", "createdTime": "2022-11-01T07:27:08.156Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3401,7 +3401,7 @@ { "feedbackId": "1d91ea0d-60dc-4735-aa40-c0621519c71c", "createdTime": "2022-11-01T07:25:28.059Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -3418,7 +3418,7 @@ { "feedbackId": "06844791-bd87-4aad-982c-15c77bc5ce7b", "createdTime": "2022-11-01T07:24:57.529Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index eb9ba2a34b931..e1dfe1a65169b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -6,28 +6,199 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Thu, 13 Apr 2023 21:30:11 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b72a92df-f618-4ca5-9167-badad58e3f2d", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e27d31fa-3b08-47aa-9bad-8ba9a10d1b18", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "37ca97e6-aff1-4767-ae71-ef41ebfebec3", - "Content-Length": "4366", + "apim-request-id": "16be0d89-b54c-48bc-ae05-f051e1f94a7a", + "Content-Length": "8049", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 Apr 2023 21:30:12 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "343", + "x-envoy-upstream-service-time": "156", "x-ms-region": "West US 2", - "X-Request-ID": "37ca97e6-aff1-4767-ae71-ef41ebfebec3" + "X-Request-ID": "16be0d89-b54c-48bc-ae05-f051e1f94a7a" }, "ResponseBody": { "value": [ + { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "f3327047-604d-4dee-a1ac-6fb127906516", + "dataFeedName": "java_data_feed_for_detectione2ac83c7-373c-4abe-b983-fae72a0f7cff", + "metrics": [ + { + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "5d2a971d-3928-4012-a439-e86e9001d075", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", + "metrics": [ + { + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8f62c2b-f7e6-4f41-96e6-473281d742d8", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:06Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", "dataFeedName": "azBlobDataFeed", @@ -72,19 +243,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "yutongzhai@microsoft.com", - "chriss@microsoft.com", - "yumeng@microsoft.com", - "savaity@microsoft.com", - "anuchan@microsoft.com", - "elraikhm@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "xiangyan@microsoft.com", - "camaiaor@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, @@ -138,10 +309,10 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-11-15T22:00:37Z", "isAdmin": true, @@ -199,18 +370,18 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "chriss@microsoft.com", - "yumeng@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "kaghiya@microsoft.com", - "camaiaor@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-09-02T22:04:59Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index d581627270650..1b2c84c2c1aa9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -6,28 +6,84 @@ "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Thu, 13 Apr 2023 21:30:11 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2dbcf9a4-4c86-4bfc-a140-688d41740e29", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8f35a695-54ec-4be7-aab5-dd611aeb21f3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7027384c-39e1-4b75-ad82-0079bcb0337d", - "Content-Length": "4366", + "apim-request-id": "4dc1bcd7-e0e5-4b07-8897-d27e1d5e1b30", + "Content-Length": "5543", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 Apr 2023 21:30:10 GMT", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "214", + "x-envoy-upstream-service-time": "188", "x-ms-region": "West US 2", - "X-Request-ID": "7027384c-39e1-4b75-ad82-0079bcb0337d" + "X-Request-ID": "4dc1bcd7-e0e5-4b07-8897-d27e1d5e1b30" }, "ResponseBody": { "value": [ + { + "dataFeedId": "b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", + "metrics": [ + { + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8f62c2b-f7e6-4f41-96e6-473281d742d8", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:06Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, { "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", "dataFeedName": "azBlobDataFeed", @@ -72,19 +128,19 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "yutongzhai@microsoft.com", - "chriss@microsoft.com", - "yumeng@microsoft.com", - "savaity@microsoft.com", - "anuchan@microsoft.com", - "elraikhm@microsoft.com", - "kaghiya@microsoft.com", - "krpratic@microsoft.com", - "xiangyan@microsoft.com", - "camaiaor@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Active", "createdTime": "2022-04-05T17:10:58Z", "isAdmin": true, @@ -138,10 +194,10 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "xiangyan@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-11-15T22:00:37Z", "isAdmin": true, @@ -199,18 +255,18 @@ "maxConcurrency": -1, "viewMode": "Private", "admins": [ - "chriss@microsoft.com", - "yumeng@microsoft.com", - "xiangyan@microsoft.com", - "elraikhm@microsoft.com", - "kaghiya@microsoft.com", - "camaiaor@microsoft.com", - "krpratic@microsoft.com", - "anuchan@microsoft.com", - "savaity@microsoft.com" + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" ], "viewers": [], - "creator": "savaity@microsoft.com", + "creator": "REDACTED", "status": "Paused", "createdTime": "2021-09-02T22:04:59Z", "isAdmin": true, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index 33bb20a376a2a..a9ae0b3432005 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "51", "Content-Type": "application/json", - "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d6403820-424a-4ccb-8838-5aab88bc3fb2", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dda75fd2-6f8b-4366-bb9e-99efa328fc79", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -19,22 +19,22 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9944e961-9320-4fc7-96c4-a949dcdec857", + "apim-request-id": "790e0f70-22ba-4422-b1ca-c92682700126", "Content-Length": "3663", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 Apr 2023 21:24:31 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "241", + "x-envoy-upstream-service-time": "142", "x-ms-region": "West US 2", - "X-Request-ID": "9944e961-9320-4fc7-96c4-a949dcdec857" + "X-Request-ID": "790e0f70-22ba-4422-b1ca-c92682700126" }, "ResponseBody": { "value": [ { "feedbackId": "2e157fbc-34ab-422e-aa8e-3133323a4c61", "createdTime": "2023-03-08T23:53:53.675Z", - "userPrincipal": "xiangyan@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -52,7 +52,7 @@ { "feedbackId": "e4a4c55e-486d-46dc-a857-75bbb9c30c3c", "createdTime": "2022-11-17T08:28:26.451Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -68,7 +68,7 @@ { "feedbackId": "68e2b300-d70c-4994-b565-4cc155b277b3", "createdTime": "2022-11-17T08:28:25.817Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -85,7 +85,7 @@ { "feedbackId": "2eb51c14-af15-4b9e-9410-6927db36d501", "createdTime": "2022-11-17T08:28:25.188Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -102,7 +102,7 @@ { "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", "createdTime": "2022-11-17T08:28:24.161Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -119,7 +119,7 @@ { "feedbackId": "8f7537f4-555a-449f-b661-09c20ca56739", "createdTime": "2022-11-17T08:28:17.646Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -135,7 +135,7 @@ { "feedbackId": "371ebae3-fb38-4833-b786-09d310e79c03", "createdTime": "2022-11-17T08:28:16.894Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -152,7 +152,7 @@ { "feedbackId": "40e31831-31a0-4da1-9c45-544a01085442", "createdTime": "2022-11-17T08:28:15.998Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -169,7 +169,7 @@ { "feedbackId": "20923f71-36c5-4785-b743-e811927c2643", "createdTime": "2022-11-17T08:28:16.046Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -185,7 +185,7 @@ { "feedbackId": "411a192d-a69c-40e8-93ba-4e7ffa901fbe", "createdTime": "2022-11-17T08:28:15.39Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -210,11 +210,11 @@ "Accept": "application/json", "Content-Length": "51", "Content-Type": "application/json", - "Date": "Thu, 13 Apr 2023 21:24:33 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5aafdf9c-fa07-45e4-b8c3-3c4b7e073e41", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "62692afc-be72-4525-96cb-fd35901b6716", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -222,22 +222,22 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7d0cd9a3-7036-41cc-88b3-d0b3640d50ee", + "apim-request-id": "9f98bfce-2e02-453b-bd26-5ffbad32cd0c", "Content-Length": "3712", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "417", + "x-envoy-upstream-service-time": "234", "x-ms-region": "West US 2", - "X-Request-ID": "7d0cd9a3-7036-41cc-88b3-d0b3640d50ee" + "X-Request-ID": "9f98bfce-2e02-453b-bd26-5ffbad32cd0c" }, "ResponseBody": { "value": [ { "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", "createdTime": "2022-11-17T08:28:14.714Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -254,7 +254,7 @@ { "feedbackId": "e586b348-5711-4a75-bf7b-1557bce2897f", "createdTime": "2022-11-17T08:28:14.641Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -271,7 +271,7 @@ { "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", "createdTime": "2022-11-17T08:28:13.473Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -288,7 +288,7 @@ { "feedbackId": "a6e7e725-7ed7-42f6-a6fe-badec96e46bb", "createdTime": "2022-11-16T08:38:58.346Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -304,7 +304,7 @@ { "feedbackId": "f9c117b2-ce5e-461e-b17b-041683206c2a", "createdTime": "2022-11-16T08:38:57.54Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -321,7 +321,7 @@ { "feedbackId": "32ae7475-7d35-4bb8-8672-8f225babd142", "createdTime": "2022-11-16T08:38:56.901Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -338,7 +338,7 @@ { "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", "createdTime": "2022-11-16T08:38:56.029Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -355,7 +355,7 @@ { "feedbackId": "323dd22a-2488-4963-84cd-b59c5721404d", "createdTime": "2022-11-16T08:34:45.575Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -371,7 +371,7 @@ { "feedbackId": "653386ef-b866-4cf4-9307-9de4e85a391b", "createdTime": "2022-11-16T08:34:44.768Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -388,7 +388,7 @@ { "feedbackId": "b5894399-94ae-4210-9c03-a5d557de1534", "createdTime": "2022-11-16T08:34:44.121Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index eee5bccdb6173..c348632126713 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "51", "Content-Type": "application/json", - "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "283f77c5-03e5-4a26-9ece-a7ea58bba95b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0a618996-d370-4ce3-b385-a57c7365d7bd", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -19,22 +19,22 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ec6ed6d7-6587-4614-b028-0621dbe7fa08", + "apim-request-id": "24e86c83-927c-4faa-a96c-d28f4437f790", "Content-Length": "3663", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 Apr 2023 21:24:31 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "222", + "x-envoy-upstream-service-time": "274", "x-ms-region": "West US 2", - "X-Request-ID": "ec6ed6d7-6587-4614-b028-0621dbe7fa08" + "X-Request-ID": "24e86c83-927c-4faa-a96c-d28f4437f790" }, "ResponseBody": { "value": [ { "feedbackId": "2e157fbc-34ab-422e-aa8e-3133323a4c61", "createdTime": "2023-03-08T23:53:53.675Z", - "userPrincipal": "xiangyan@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -52,7 +52,7 @@ { "feedbackId": "e4a4c55e-486d-46dc-a857-75bbb9c30c3c", "createdTime": "2022-11-17T08:28:26.451Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -68,7 +68,7 @@ { "feedbackId": "68e2b300-d70c-4994-b565-4cc155b277b3", "createdTime": "2022-11-17T08:28:25.817Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -85,7 +85,7 @@ { "feedbackId": "2eb51c14-af15-4b9e-9410-6927db36d501", "createdTime": "2022-11-17T08:28:25.188Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -102,7 +102,7 @@ { "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", "createdTime": "2022-11-17T08:28:24.161Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -119,7 +119,7 @@ { "feedbackId": "8f7537f4-555a-449f-b661-09c20ca56739", "createdTime": "2022-11-17T08:28:17.646Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -135,7 +135,7 @@ { "feedbackId": "371ebae3-fb38-4833-b786-09d310e79c03", "createdTime": "2022-11-17T08:28:16.894Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -152,7 +152,7 @@ { "feedbackId": "40e31831-31a0-4da1-9c45-544a01085442", "createdTime": "2022-11-17T08:28:15.998Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -169,7 +169,7 @@ { "feedbackId": "20923f71-36c5-4785-b743-e811927c2643", "createdTime": "2022-11-17T08:28:16.046Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -185,7 +185,7 @@ { "feedbackId": "411a192d-a69c-40e8-93ba-4e7ffa901fbe", "createdTime": "2022-11-17T08:28:15.39Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -210,11 +210,11 @@ "Accept": "application/json", "Content-Length": "51", "Content-Type": "application/json", - "Date": "Thu, 13 Apr 2023 21:24:33 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "fa3aaa20-f1c0-49a8-815c-fa5553e93961", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9078c0cb-60e6-4e27-8dc6-50a9c97246bf", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -222,22 +222,22 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7fd4f950-6337-498f-b05a-25a301431c4e", + "apim-request-id": "9d429c32-147c-40de-91fd-d9ae74ed3897", "Content-Length": "3712", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 Apr 2023 21:24:32 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "398", + "x-envoy-upstream-service-time": "209", "x-ms-region": "West US 2", - "X-Request-ID": "7fd4f950-6337-498f-b05a-25a301431c4e" + "X-Request-ID": "9d429c32-147c-40de-91fd-d9ae74ed3897" }, "ResponseBody": { "value": [ { "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", "createdTime": "2022-11-17T08:28:14.714Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -254,7 +254,7 @@ { "feedbackId": "e586b348-5711-4a75-bf7b-1557bce2897f", "createdTime": "2022-11-17T08:28:14.641Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -271,7 +271,7 @@ { "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", "createdTime": "2022-11-17T08:28:13.473Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -288,7 +288,7 @@ { "feedbackId": "a6e7e725-7ed7-42f6-a6fe-badec96e46bb", "createdTime": "2022-11-16T08:38:58.346Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -304,7 +304,7 @@ { "feedbackId": "f9c117b2-ce5e-461e-b17b-041683206c2a", "createdTime": "2022-11-16T08:38:57.54Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -321,7 +321,7 @@ { "feedbackId": "32ae7475-7d35-4bb8-8672-8f225babd142", "createdTime": "2022-11-16T08:38:56.901Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -338,7 +338,7 @@ { "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", "createdTime": "2022-11-16T08:38:56.029Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -355,7 +355,7 @@ { "feedbackId": "323dd22a-2488-4963-84cd-b59c5721404d", "createdTime": "2022-11-16T08:34:45.575Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -371,7 +371,7 @@ { "feedbackId": "653386ef-b866-4cf4-9307-9de4e85a391b", "createdTime": "2022-11-16T08:34:44.768Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { @@ -388,7 +388,7 @@ { "feedbackId": "b5894399-94ae-4210-9c03-a5d557de1534", "createdTime": "2022-11-16T08:34:44.121Z", - "userPrincipal": "krpratic@microsoft.com", + "userPrincipal": "REDACTED.microsoft.com", "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", "dimensionFilter": { "dimension": { diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json index 335d0f3e852d3..72c0ff5934ae7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "24", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "b9dbdfae-5394-4ce6-b4da-18d619bde228", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6366ebc9-7628-4c87-b2ed-6460eba82ae8", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -19,15 +19,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "17dfbf6b-85c8-42b8-ab34-b324e0a46621", + "apim-request-id": "2061d56a-0fd0-49ab-9dcf-205fcf9d6108", "Content-Length": "33", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "212", + "x-envoy-upstream-service-time": "106", "x-ms-region": "West US 2", - "X-Request-ID": "17dfbf6b-85c8-42b8-ab34-b324e0a46621" + "X-Request-ID": "2061d56a-0fd0-49ab-9dcf-205fcf9d6108" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json index 3b41d74c78728..5913e040d7e9b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "8b99b6c9-cbcf-489e-aec3-aa3a0c1a4f9e", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b68b374e-869c-4230-8ec8-e6bcb2fca641", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,15 +20,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "aa87d4ea-c493-4150-a719-9dbd2718fde0", + "apim-request-id": "8ce3c3c4-ff35-411b-854a-5f5b13af3e1a", "Content-Length": "29", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "270", + "x-envoy-upstream-service-time": "220", "x-ms-region": "West US 2", - "X-Request-ID": "aa87d4ea-c493-4150-a719-9dbd2718fde0" + "X-Request-ID": "8ce3c3c4-ff35-411b-854a-5f5b13af3e1a" }, "ResponseBody": { "value": [], diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json index 95b7ba472d803..5c7c04edc2ded 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "107", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "957eff95-3922-4e8f-bbb0-d3de9a2d8eac", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b2039c41-28be-4bff-96de-10d8c9a8671e", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -26,15 +26,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8e08c8b6-6eee-42ce-a167-ec41e328a3dc", + "apim-request-id": "3a1f1ac4-fde1-412d-830f-930048747240", "Content-Length": "143", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", "x-envoy-upstream-service-time": "389", "x-ms-region": "West US 2", - "X-Request-ID": "8e08c8b6-6eee-42ce-a167-ec41e328a3dc" + "X-Request-ID": "3a1f1ac4-fde1-412d-830f-930048747240" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json index b807dbb7cbfbe..c7827ec16bf7d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "73", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "5221bfbe-e3ff-4d0d-8a12-233bb44ad1ed", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be75a417-b6fb-4976-a44e-62dd5baae9d5", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -24,15 +24,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "22b78072-34a3-4e2b-bf29-29505d661c46", + "apim-request-id": "7c55a0ed-3836-4999-a55e-a062690f22b2", "Content-Length": "198", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:34 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "274", + "x-envoy-upstream-service-time": "122", "x-ms-region": "West US 2", - "X-Request-ID": "22b78072-34a3-4e2b-bf29-29505d661c46" + "X-Request-ID": "7c55a0ed-3836-4999-a55e-a062690f22b2" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json index be93915087611..2132d86d28d1d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "38", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cd1f6d4c-1e65-4a25-943c-7afab3db51a9", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "721bf2a7-f68a-4d28-b74f-ab258b74a0b0", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -19,15 +19,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1e4d0f72-5832-4e98-ac8d-ea65938be25b", + "apim-request-id": "a66097c9-8247-4e30-aaa3-780bda9da78f", "Content-Length": "675", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:33 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "194", + "x-envoy-upstream-service-time": "96", "x-ms-region": "West US 2", - "X-Request-ID": "1e4d0f72-5832-4e98-ac8d-ea65938be25b" + "X-Request-ID": "a66097c9-8247-4e30-aaa3-780bda9da78f" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json index ff8701375eae6..299b9527a30ee 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "24", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "6aa8478a-8eb4-4bbd-bad1-f84923adbe4a", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9ca2bf6c-613b-45ac-ad4b-421c22cee731", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -19,15 +19,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "150c6d79-aab9-462e-8184-e240ee1dc533", + "apim-request-id": "fc566d78-e861-4d30-a2dc-45656b14081b", "Content-Length": "33", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "101", + "x-envoy-upstream-service-time": "100", "x-ms-region": "West US 2", - "X-Request-ID": "150c6d79-aab9-462e-8184-e240ee1dc533" + "X-Request-ID": "fc566d78-e861-4d30-a2dc-45656b14081b" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json index 00dcdf6bc038d..dc3be5f6a4519 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "69", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "2260a46d-5006-46ac-9dce-0fb13b5c5990", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2927bfec-5e4b-466a-bc8a-5bf1bd6533aa", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -20,15 +20,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7515447d-accb-4be2-87c4-2f0a0ff61ab6", + "apim-request-id": "b07897fb-d288-4288-8ee9-fb7bde0878d6", "Content-Length": "29", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:30 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "411", + "x-envoy-upstream-service-time": "327", "x-ms-region": "West US 2", - "X-Request-ID": "7515447d-accb-4be2-87c4-2f0a0ff61ab6" + "X-Request-ID": "b07897fb-d288-4288-8ee9-fb7bde0878d6" }, "ResponseBody": { "value": [], diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json index 6007d512d56e9..d8464c50bcde6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "107", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "27ff0aff-65b3-4901-9a21-26bb7881a3fb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "936aaca0-5ecb-4b70-a749-8feaea201e92", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -26,15 +26,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "795c8be8-f788-46a4-9a6a-813896c290bb", + "apim-request-id": "b5a873f7-83f9-4eee-a9dc-9a5f48fa0fbe", "Content-Length": "143", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:29 GMT", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "345", + "x-envoy-upstream-service-time": "423", "x-ms-region": "West US 2", - "X-Request-ID": "795c8be8-f788-46a4-9a6a-813896c290bb" + "X-Request-ID": "b5a873f7-83f9-4eee-a9dc-9a5f48fa0fbe" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json index 33acff0e511d7..5033a4befee92 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "73", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:32 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "cffe3d24-7fd5-47c0-921d-0f8355467c9f", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ee3513f4-7092-45ab-b447-7eb77bf583ee", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -24,15 +24,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "851a3c5f-f73f-4b25-b42e-41e83b695886", + "apim-request-id": "f638cc49-cc3a-4364-afca-44281022377d", "Content-Length": "198", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "187", + "x-envoy-upstream-service-time": "159", "x-ms-region": "West US 2", - "X-Request-ID": "851a3c5f-f73f-4b25-b42e-41e83b695886" + "X-Request-ID": "f638cc49-cc3a-4364-afca-44281022377d" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json index 26c4529376864..0479a77ac0df2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json @@ -7,11 +7,11 @@ "Accept": "application/json", "Content-Length": "38", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "f8ccb89a-2159-4f7e-b645-0cd4c7d19f50", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "13a66c0e-94ad-4368-b53b-bda39a77b389", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -19,15 +19,15 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d69bc35b-d640-4b85-a396-3ec9c4401c53", + "apim-request-id": "8856a171-e185-4158-85e4-f91ddff2c850", "Content-Length": "675", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:31 GMT", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "164", + "x-envoy-upstream-service-time": "171", "x-ms-region": "West US 2", - "X-Request-ID": "d69bc35b-d640-4b85-a396-3ec9c4401c53" + "X-Request-ID": "8856a171-e185-4158-85e4-f91ddff2c850" }, "ResponseBody": { "value": [ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json index 3376d99596de5..e02ebbfe267f7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "324", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:19 GMT", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d8492c9c-6c94-41fe-bb5b-3766e2b214cb", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "30294a46-e7ca-43b2-b2f6-1f81db8e5988", "x-ms-return-client-request-id": "true" }, "RequestBody": { "hookType": "Webhook", - "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", "description": "alert_us!", "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", "hookParameter": { @@ -31,52 +31,52 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "cb2a13e2-cafd-4487-90e2-8d35c0edd828", + "apim-request-id": "83d72cf3-a669-4ba1-8453-f7bf01234331", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/a055a5d7-8c67-44c8-860a-710bef58718d", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/hooks/c55115f6-dfe2-4799-b6a3-65f57c706960", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "863", + "x-envoy-upstream-service-time": "874", "x-ms-region": "West US 2", - "X-Request-ID": "cb2a13e2-cafd-4487-90e2-8d35c0edd828" + "X-Request-ID": "83d72cf3-a669-4ba1-8453-f7bf01234331" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a055a5d7-8c67-44c8-860a-710bef58718d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/c55115f6-dfe2-4799-b6a3-65f57c706960", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "af32c400-4ca2-4d25-9955-b58e71f13d67", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0af5ef6d-9448-451a-93b4-3da685a27800", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "72ccb66b-7596-4d3c-b72b-dcfa1bc48633", + "apim-request-id": "6cb5fdb5-c520-4de9-83d9-03b87dd396e6", "Content-Length": "408", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:20 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "220", + "x-envoy-upstream-service-time": "185", "x-ms-region": "West US 2", - "X-Request-ID": "72ccb66b-7596-4d3c-b72b-dcfa1bc48633" + "X-Request-ID": "6cb5fdb5-c520-4de9-83d9-03b87dd396e6" }, "ResponseBody": { - "hookId": "a055a5d7-8c67-44c8-860a-710bef58718d", - "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "hookId": "c55115f6-dfe2-4799-b6a3-65f57c706960", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", "hookType": "Webhook", "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", "description": "alert_us!", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "hookParameter": { "endpoint": "https://httpbin.org/post", @@ -90,29 +90,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a055a5d7-8c67-44c8-860a-710bef58718d", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/c55115f6-dfe2-4799-b6a3-65f57c706960", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "1085c699-7159-41d5-a275-2dd3b0aacaa7", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "904e71db-7e82-4629-b6a6-3e4e8a9c9b2d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "b9471997-b099-4493-a4b3-13d4b0672bc2", + "apim-request-id": "9d128b73-8021-40de-98d5-a92647dde66f", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:21 GMT", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "283", + "x-envoy-upstream-service-time": "313", "x-ms-region": "West US 2", - "X-Request-ID": "b9471997-b099-4493-a4b3-13d4b0672bc2" + "X-Request-ID": "9d128b73-8021-40de-98d5-a92647dde66f" }, "ResponseBody": null } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json index c2003f567fda1..3ec1684b94aa2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json @@ -7,16 +7,16 @@ "Accept": "application/json", "Content-Length": "324", "Content-Type": "application/json", - "Date": "Wed, 12 Apr 2023 22:01:24 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "df27ee58-3843-47c7-856f-7a91b376116b", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1a03b4d0-0c0f-4995-8326-52e59e2ae734", "x-ms-return-client-request-id": "true" }, "RequestBody": { "hookType": "Webhook", - "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", "description": "alert_us!", "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", "hookParameter": { @@ -31,52 +31,52 @@ }, "StatusCode": 201, "ResponseHeaders": { - "apim-request-id": "811ef35a-6c60-4121-b5fa-3e86648fae08", + "apim-request-id": "c678b5af-320f-475c-80d6-094c403d72cb", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", - "Location": "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/ba01a97b-2a88-487f-a53e-9a3350c59988", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/hooks/daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "536", + "x-envoy-upstream-service-time": "1101", "x-ms-region": "West US 2", - "X-Request-ID": "811ef35a-6c60-4121-b5fa-3e86648fae08" + "X-Request-ID": "c678b5af-320f-475c-80d6-094c403d72cb" }, "ResponseBody": null }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/ba01a97b-2a88-487f-a53e-9a3350c59988", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "7996f970-5b56-4b01-adfb-f0758282f4a1", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ed3c9882-3f67-406b-9e40-f4300d1b7803", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "66f8401f-e51d-421f-8d7b-44f7dc299720", + "apim-request-id": "b3615b6c-06c7-4af1-9bac-23c0c820fa80", "Content-Length": "408", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 12 Apr 2023 22:01:25 GMT", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "186", + "x-envoy-upstream-service-time": "185", "x-ms-region": "West US 2", - "X-Request-ID": "66f8401f-e51d-421f-8d7b-44f7dc299720" + "X-Request-ID": "b3615b6c-06c7-4af1-9bac-23c0c820fa80" }, "ResponseBody": { - "hookId": "ba01a97b-2a88-487f-a53e-9a3350c59988", - "hookName": "363456f6-bedd-42a3-9a9c-57b7308cf4b5", + "hookId": "daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", "hookType": "Webhook", "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", "description": "alert_us!", "admins": [ - "xiangyan@microsoft.com" + "REDACTED.microsoft.com" ], "hookParameter": { "endpoint": "https://httpbin.org/post", @@ -90,29 +90,29 @@ } }, { - "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/ba01a97b-2a88-487f-a53e-9a3350c59988", + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:04 GMT", "Ocp-Apim-Subscription-Key": "REDACTED", - "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-api-key": "5c9110a5-f5f6-4b78-ab6f-c30291c4c623", - "x-ms-client-request-id": "d6911bd9-8de1-4a52-8225-1b09f5b263aa", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1042bbb7-3afa-4c0c-9650-4e6163796231", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "apim-request-id": "2a6afe03-eddf-4442-acd3-1ffa2eb2fb11", + "apim-request-id": "c0c2bab2-4801-45a2-b5e1-e41d221e338b", "Content-Length": "0", - "Date": "Wed, 12 Apr 2023 22:01:26 GMT", + "Date": "Mon, 17 Apr 2023 23:00:04 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "274", + "x-envoy-upstream-service-time": "431", "x-ms-region": "West US 2", - "X-Request-ID": "2a6afe03-eddf-4442-acd3-1ffa2eb2fb11" + "X-Request-ID": "c0c2bab2-4801-45a2-b5e1-e41d221e338b" }, "ResponseBody": null }