From 0129becfa83202329ade6cdabe35595a508041de Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 5 May 2019 14:44:48 -0400 Subject: [PATCH] chore: jsonfmt applicationinsights Run `jsonfmt -w "specification/applicationinsights/**/*.json"` --- .../2018-04-20/examples/events-get-by-id.json | 2 +- .../examples/events-get-by-type.json | 2 +- .../examples/events-get-metadata.json | 2 +- .../2018-04-20/examples/metric-get-full.json | 2 +- .../examples/metric-get-segmented.json | 2 +- .../2018-04-20/examples/metric-get.json | 2 +- .../2018-04-20/examples/metric-post.json | 2 +- .../examples/metrics-get-metadata.json | 2 +- .../2018-04-20/examples/query-get.json | 2 +- .../2018-04-20/examples/query-post.json | 2 +- .../preview/2018-04-20/swagger.json | 2 +- .../preview/v1/AppInsights.json | 2 +- .../preview/v1/examples/events-get-by-id.json | 2 +- .../v1/examples/events-get-by-type.json | 2 +- .../v1/examples/events-get-metadata.json | 2 +- .../v1/examples/metric-get-custom.json | 2 +- .../preview/v1/examples/metric-get-full.json | 2 +- .../v1/examples/metric-get-segmented.json | 2 +- .../preview/v1/examples/metric-get.json | 2 +- .../preview/v1/examples/metric-post.json | 2 +- .../v1/examples/metrics-get-metadata.json | 2 +- .../preview/v1/examples/query-get.json | 2 +- .../preview/v1/examples/query-post.json | 2 +- .../preview/v1/examples/query-schema.json | 2 +- .../componentFeaturesAndPricing_API.json | 2 +- .../eaSubscriptionMigration_API.json | 2 +- .../CurrentPricingPlanCreateAndUpdate.json | 2 +- .../examples/CurrentPricingPlanGet.json | 2 +- .../examples/CurrentPricingPlanUpdate.json | 2 +- ...scriptionMigrateToNewPricingModelPost.json | 2 +- ...ptionRollbackToLegacyPricingModelPost.json | 2 +- .../componentProactiveDetection_API.json | 17 +- .../ProactiveDetectionConfigurationGet.json | 6 +- ...ProactiveDetectionConfigurationUpdate.json | 11 +- .../ProactiveDetectionConfigurationsList.json | 9 +- .../examples/WorkbookAdd.json | 118 +-- .../examples/WorkbookDelete.json | 22 +- .../examples/WorkbookGet.json | 52 +- .../examples/WorkbookUpdate.json | 80 +- .../examples/WorkbooksList.json | 91 +-- .../workbookOperations_API.json | 236 +++--- .../2018-06-17-preview/workbooks_API.json | 74 +- .../stable/2015-05-01/aiOperations_API.json | 236 +++--- .../stable/2015-05-01/analyticsItems_API.json | 722 +++++++++--------- .../2015-05-01/componentAnnotations_API.json | 9 +- .../2015-05-01/componentApiKeys_API.json | 2 +- .../componentContinuousExport_API.json | 2 +- .../componentFeaturesAndPricing_API.json | 34 +- .../componentProactiveDetection_API.json | 468 ++++++------ .../componentWorkItemConfigs_API.json | 19 +- .../stable/2015-05-01/components_API.json | 10 +- .../2015-05-01/examples/APIKeysCreate.json | 2 +- .../2015-05-01/examples/APIKeysDelete.json | 2 +- .../2015-05-01/examples/APIKeysGet.json | 2 +- .../2015-05-01/examples/APIKeysList.json | 2 +- .../examples/AnalyticsItemDelete.json | 27 +- .../2015-05-01/examples/AnalyticsItemGet.json | 46 +- .../examples/AnalyticsItemList.json | 164 ++-- .../2015-05-01/examples/AnalyticsItemPut.json | 56 +- .../examples/AnnotationsCreate.json | 21 +- .../examples/AnnotationsDelete.json | 4 +- .../2015-05-01/examples/AnnotationsGet.json | 13 +- .../2015-05-01/examples/AnnotationsList.json | 36 +- .../examples/AvailableBillingFeaturesGet.json | 554 +++++++------- .../2015-05-01/examples/ComponentsCreate.json | 82 +- .../2015-05-01/examples/ComponentsDelete.json | 8 +- .../2015-05-01/examples/ComponentsGet.json | 61 +- .../2015-05-01/examples/ComponentsList.json | 112 +-- .../ComponentsListByResourceGroup.json | 114 +-- .../2015-05-01/examples/ComponentsPurge.json | 49 +- .../examples/ComponentsPurgeStatus.json | 28 +- .../2015-05-01/examples/ComponentsUpdate.json | 84 +- .../examples/ComponentsUpdateTagsOnly.json | 90 +-- .../examples/CurrentBillingFeaturesGet.json | 41 +- .../CurrentBillingFeaturesUpdate.json | 58 +- .../examples/ExportConfigurationDelete.json | 63 +- .../examples/ExportConfigurationGet.json | 63 +- .../examples/ExportConfigurationUpdate.json | 85 +-- .../examples/ExportConfigurationsList.json | 64 +- .../examples/ExportConfigurationsPost.json | 86 +-- .../2015-05-01/examples/FavoriteAdd.json | 82 +- .../2015-05-01/examples/FavoriteDelete.json | 23 +- .../2015-05-01/examples/FavoriteGet.json | 49 +- .../2015-05-01/examples/FavoriteUpdate.json | 86 +-- .../2015-05-01/examples/FavoritesList.json | 73 +- .../examples/FeatureCapabilitiesGet.json | 56 +- .../ProactiveDetectionConfigurationGet.json | 57 +- ...ProactiveDetectionConfigurationUpdate.json | 95 +-- .../ProactiveDetectionConfigurationsList.json | 94 +-- .../2015-05-01/examples/QuotaStatusGet.json | 29 +- .../2015-05-01/examples/WebTestCreate.json | 120 +-- .../2015-05-01/examples/WebTestDelete.json | 8 +- .../2015-05-01/examples/WebTestGet.json | 82 +- .../2015-05-01/examples/WebTestList.json | 130 ++-- .../examples/WebTestListByComponent.json | 88 +-- .../examples/WebTestListByResourceGroup.json | 146 ++-- .../examples/WebTestLocationsList.json | 150 ++-- .../2015-05-01/examples/WebTestUpdate.json | 126 +-- .../examples/WebTestUpdateTagsOnly.json | 106 +-- .../examples/WorkItemConfigDefaultGet.json | 10 +- .../examples/WorkItemConfigDelete.json | 4 +- .../examples/WorkItemConfigsCreate.json | 24 +- .../examples/WorkItemConfigsGet.json | 19 +- .../2015-05-01/examples/WorkbookAdd.json | 140 ++-- .../2015-05-01/examples/WorkbookDelete.json | 22 +- .../2015-05-01/examples/WorkbookGet.json | 60 +- .../2015-05-01/examples/WorkbookUpdate.json | 94 +-- .../2015-05-01/examples/WorkbooksList.json | 93 +-- .../stable/2015-05-01/favorites_API.json | 16 +- .../2015-05-01/webTestLocations_API.json | 2 +- .../stable/2015-05-01/webTests_API.json | 2 +- .../stable/2015-05-01/workbooks_API.json | 26 +- 112 files changed, 3239 insertions(+), 3170 deletions(-) diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-id.json index 7ba2c1b9cfff..b098ab1ebea0 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-id.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-id.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-type.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-type.json index 86739d4064d5..ba78c421a156 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-type.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-by-type.json @@ -269,4 +269,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-metadata.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-metadata.json index a8626e5a3887..b12cdaaf5fed 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-metadata.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/events-get-metadata.json @@ -15,4 +15,4 @@ "body": " " } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-full.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-full.json index 6660ee6ac295..76e3f8eac9c6 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-full.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-full.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-segmented.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-segmented.json index c97ac07326cf..5690f0ec2f5c 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-segmented.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get-segmented.json @@ -146,4 +146,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get.json index ebd9fb550908..f43c51b9e3e8 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-get.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-post.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-post.json index 8f9a9c6bcaae..c8dd1d71368e 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-post.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metric-post.json @@ -99,4 +99,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metrics-get-metadata.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metrics-get-metadata.json index 1d9fbcc0dc0f..c320b77ec4b8 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metrics-get-metadata.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/metrics-get-metadata.json @@ -2827,4 +2827,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-get.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-get.json index 56d040875300..694626acdf0d 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-get.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-get.json @@ -254,4 +254,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-post.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-post.json index bee47d4abfa2..9c690f8c8ac1 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-post.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/examples/query-post.json @@ -90,4 +90,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/swagger.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/swagger.json index 98a1f3882d54..05a0090a8034 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/swagger.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/2018-04-20/swagger.json @@ -2102,4 +2102,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/AppInsights.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/AppInsights.json index 64af9e8269d5..e53ba9f6fe61 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/AppInsights.json @@ -2039,4 +2039,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-id.json index d68ed461a1c1..a60ee9e124e8 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-id.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-id.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-type.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-type.json index bde08ad28d94..f27fa87cfe03 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-type.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-by-type.json @@ -266,4 +266,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-metadata.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-metadata.json index b36dffa32f90..11ba53bf1d28 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-metadata.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/events-get-metadata.json @@ -12,4 +12,4 @@ "body": " " } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-custom.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-custom.json index ce53a6175202..a9b38d172998 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-custom.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-custom.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-full.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-full.json index 01080318eed7..418ee204be7b 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-full.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-full.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-segmented.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-segmented.json index f8844e39107b..ae17f0664106 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-segmented.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get-segmented.json @@ -143,4 +143,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get.json index 919c8acebd5c..363fc70d27b4 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-get.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-post.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-post.json index 4e6b7cd90933..08c8aa5c78c7 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-post.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metric-post.json @@ -96,4 +96,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metrics-get-metadata.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metrics-get-metadata.json index 55a1344fc9a3..d3ef4052ca85 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metrics-get-metadata.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/metrics-get-metadata.json @@ -2824,4 +2824,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-get.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-get.json index d8c030e539c2..41f1d076e079 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-get.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-get.json @@ -251,4 +251,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-post.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-post.json index 8b8ea764ccbe..b41fd488a00c 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-post.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-post.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-schema.json b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-schema.json index 505248f596ee..2390465299ff 100644 --- a/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-schema.json +++ b/specification/applicationinsights/data-plane/Microsoft.Insights/preview/v1/examples/query-schema.json @@ -1934,4 +1934,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json index d5a7a1354b4f..cab88f9dba15 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json @@ -233,4 +233,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json index 6c6680dbdabb..f1cdf9d584bd 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json @@ -174,4 +174,4 @@ "description": "An error response from the Batch service." } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanCreateAndUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanCreateAndUpdate.json index 5fd38fb822c0..6d269785be16 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanCreateAndUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanCreateAndUpdate.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanGet.json index 9fcbcbce9cc2..c354c39d5102 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanUpdate.json index d792d8896f0a..fccdba43b6f8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/CurrentPricingPlanUpdate.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionMigrateToNewPricingModelPost.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionMigrateToNewPricingModelPost.json index 1b1b256186b8..3d342df7f0c8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionMigrateToNewPricingModelPost.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionMigrateToNewPricingModelPost.json @@ -6,4 +6,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionRollbackToLegacyPricingModelPost.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionRollbackToLegacyPricingModelPost.json index 1b1b256186b8..3d342df7f0c8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionRollbackToLegacyPricingModelPost.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/examples/EASubscriptionRollbackToLegacyPricingModelPost.json @@ -6,4 +6,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/componentProactiveDetection_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/componentProactiveDetection_API.json index 9d041a60b83d..60b21037da39 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/componentProactiveDetection_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/componentProactiveDetection_API.json @@ -34,8 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs": - { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs": { "get": { "description": "Gets a list of ProactiveDetection configurations of an Application Insights component.", "operationId": "ProactiveDetectionConfigurations_List", @@ -55,8 +54,7 @@ ], "responses": { "200": { - "description": - "A list containing 0 or more ProactiveDetection configurations of an Application Insights component.", + "description": "A list containing 0 or more ProactiveDetection configurations of an Application Insights component.", "schema": { "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfigurationListResult" } @@ -69,8 +67,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}": - { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}": { "get": { "description": "Get the ProactiveDetection configuration for this configuration id.", "operationId": "ProactiveDetectionConfigurations_Get", @@ -205,8 +202,7 @@ "SendEmailsToSubscriptionOwners": { "type": "boolean", "readOnly": false, - "description": - "A flag that indicated whether notifications on this rule should be sent to subscription owners" + "description": "A flag that indicated whether notifications on this rule should be sent to subscription owners" }, "CustomEmails": { "type": "array", @@ -224,8 +220,7 @@ "RuleDefinitions": { "type": "object", "readOnly": false, - "description": - "Static definitions of the ProactiveDetection configuration rule (same values for all components).", + "description": "Static definitions of the ProactiveDetection configuration rule (same values for all components).", "properties": { "Name": { "type": "string", @@ -312,4 +307,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationGet.json index fd69623de146..3c1672bd1ff2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationGet.json @@ -17,7 +17,10 @@ "Name": "slowpageloadtime", "Enabled": true, "SendEmailsToSubscriptionOwners": true, - "CustomEmails": [ "foo@microsoft.com", "foo2@microsoft.com" ], + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], "LastUpdatedTime": null, "RuleDefinitions": { "Name": "slowpageloadtime", @@ -34,4 +37,3 @@ } } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationUpdate.json index 82b10c7c77b9..fe45f18b7301 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationUpdate.json @@ -12,7 +12,10 @@ "Name": "slowpageloadtime", "Enabled": true, "SendEmailsToSubscriptionOwners": true, - "CustomEmails": [ "foo@microsoft.com", "foo2@microsoft.com" ], + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], "LastUpdatedTime": null, "RuleDefinitions": { "Name": "slowpageloadtime", @@ -38,7 +41,10 @@ "Name": "slowpageloadtime", "Enabled": true, "SendEmailsToSubscriptionOwners": true, - "CustomEmails": [ "foo@microsoft.com", "foo2@microsoft.com" ], + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], "LastUpdatedTime": null, "RuleDefinitions": { "Name": "slowpageloadtime", @@ -55,4 +61,3 @@ } } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationsList.json index f662cf6a9da6..984c82edae90 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01/examples/ProactiveDetectionConfigurationsList.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "body": - [ + "body": [ { "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", @@ -18,7 +17,10 @@ "Name": "slowpageloadtime", "Enabled": true, "SendEmailsToSubscriptionOwners": true, - "CustomEmails": [ "foo@microsoft.com", "foo2@microsoft.com" ], + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], "LastUpdatedTime": null, "RuleDefinitions": { "Name": "slowpageloadtime", @@ -59,4 +61,3 @@ } } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookAdd.json index cb2ebaf080cb..d54c5d28f134 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookAdd.json @@ -1,62 +1,62 @@ { - "parameters": { - "api-version": "2018-06-17-preview", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "subscriptionId": "subid", - "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", - "workbookProperties": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "location": "west us", - "kind": "shared", - "properties": { - "displayName": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - }, - "tags": null - } + "parameters": { + "api-version": "2018-06-17-preview", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "subscriptionId": "subid", + "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", + "workbookProperties": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "location": "west us", + "kind": "shared", + "properties": { + "displayName": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null + }, + "tags": null + } + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "kind": "shared", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "properties": { + "displayName": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null + }, + "tags": null + } }, - "responses": { - "200": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "kind": "shared", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "properties": { - "displayName": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - }, - "tags": null - } - }, - "201": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "kind": "shared", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "properties": { - "displayName": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - }, - "tags": null - } - } + "201": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "kind": "shared", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "properties": { + "displayName": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null + }, + "tags": null + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookDelete.json index 27006a5cd642..5f4414ca9c8c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookDelete.json @@ -1,14 +1,12 @@ { - "parameters": { - "api-version": "2018-06-17-preview", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "201": { - }, - "204": { - } - } + "parameters": { + "api-version": "2018-06-17-preview", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "201": {}, + "204": {} + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookGet.json index c137d3e4f721..e6bd72b08cb7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "api-version": "2018-06-17-preview", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "200": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "", - "kind": "shared", - "location": "westus", - "properties": { - "displayName": "My New Workbook", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - }, - "tags": null - } - } + "parameters": { + "api-version": "2018-06-17-preview", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "", + "kind": "shared", + "location": "westus", + "properties": { + "displayName": "My New Workbook", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null + }, + "tags": null + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookUpdate.json index 92ad9371962f..f40d1130fbf3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbookUpdate.json @@ -1,43 +1,43 @@ { - "parameters": { - "api-version": "2018-06-17-preview", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", - "workbookProperties": { - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "location": "west us", - "tags": null, - "properties": { - "displayName": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - } -} - }, - "responses": { - "200": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "kind": "shared", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": null, - "properties": { - "displayName": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - } - } + "parameters": { + "api-version": "2018-06-17-preview", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", + "workbookProperties": { + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "location": "west us", + "tags": null, + "properties": { + "displayName": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null + } + } + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "kind": "shared", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": null, + "properties": { + "displayName": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null } + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbooksList.json index 496bf3f4e5c2..37e97dbfe3a8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/examples/WorkbooksList.json @@ -1,47 +1,50 @@ { - "parameters": { - "api-version": "2018-06-17-preview", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "category": "workbook", - "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" - }, - "responses": { - "200": { - "body": [ - { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "kind": "shared", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": [], - "properties": { - "displayName": "My Workbook 1", - "userId": "userId", - "serializedData": "{\"verion\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - } - }, - { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "kind": "shared", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": ["SampleTag01", "SampleTag2"], - "properties": { - "displayName": "My Workbook 2", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "category": "workbook", - "version": "ME", - "timeModified": null - } - } - ] + "parameters": { + "api-version": "2018-06-17-preview", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "category": "workbook", + "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" + }, + "responses": { + "200": { + "body": [ + { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "kind": "shared", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [], + "properties": { + "displayName": "My Workbook 1", + "userId": "userId", + "serializedData": "{\"verion\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null + } + }, + { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "kind": "shared", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [ + "SampleTag01", + "SampleTag2" + ], + "properties": { + "displayName": "My Workbook 2", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "category": "workbook", + "version": "ME", + "timeModified": null + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbookOperations_API.json index 4072ba155d3c..2165c62e7423 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbookOperations_API.json @@ -1,128 +1,128 @@ { - "swagger": "2.0", - "info": { - "version": "2018-06-17-preview", - "title": "WorkbookClient", - "description": "Azure client for Workbook." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Insights/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available insights REST API operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Insights error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" + "swagger": "2.0", + "info": { + "version": "2018-06-17-preview", + "title": "WorkbookClient", + "description": "Azure client for Workbook." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] - } - } - }, - "definitions": { - "ErrorResponse": { - "description": "Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.", - "type": "object", - "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" } - } }, - "Operation": { - "description": "CDN REST API operation", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft.Cdn", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed: Profile, endpoint, etc.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" + "paths": { + "/providers/Microsoft.Insights/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available insights REST API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Insights error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] } - } } - } }, - "OperationListResult": { - "description": "Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of CDN operations supported by the CDN resource provider." + "definitions": { + "ErrorResponse": { + "description": "Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of operation list results if there are any." + "Operation": { + "description": "CDN REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Cdn", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of CDN operations supported by the CDN resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } } - } } - } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json index 3d84352dd9be..7edd5795db3b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks": { + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", "operationId": "Workbooks_ListByResourceGroup", @@ -73,10 +73,10 @@ "schema": { "$ref": "#/definitions/WorkbookError" } - } - }, - "x-ms-pageable": { - "nextLinkName": null + } + }, + "x-ms-pageable": { + "nextLinkName": null }, "x-ms-examples": { "WorkbooksList": { @@ -85,7 +85,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", @@ -107,7 +107,7 @@ "200": { "description": "A workbook definition.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "default": { @@ -132,7 +132,7 @@ }, { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, + }, { "$ref": "#/parameters/WorkbookResourceNameParameter" }, @@ -163,7 +163,7 @@ "put": { "description": "Create a new workbook.", "operationId": "Workbooks_CreateOrUpdate", - "parameters": [ + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, @@ -193,13 +193,13 @@ "200": { "description": "The newly created workbook.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "201": { "description": "The newly created workbook.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "default": { @@ -218,7 +218,7 @@ "patch": { "description": "Updates a workbook that has already been added.", "operationId": "Workbooks_Update", - "parameters": [ + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, @@ -248,7 +248,7 @@ "200": { "description": "The workbook definition updated.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "default": { @@ -285,7 +285,7 @@ "description": "Azure resource type" }, "kind": { - "type": "string", + "type": "string", "description": "The kind of workbook. Choices are user and shared.", "enum": [ "user", @@ -366,7 +366,7 @@ "type": "string", "description": "Date and time in UTC of the last modification that was made to this workbook definition.", "readOnly": true - }, + }, "category": { "type": "string", "description": "Workbook category, as defined by the user at creation time." @@ -391,33 +391,33 @@ "WorkbookUpdateParameters": { "properties": { "kind": { - "type": "string", - "description": "The kind of workbook. Choices are user and shared.", - "enum": [ - "user", - "shared" - ], - "x-ms-enum": { - "name": "SharedTypeKind", - "modelAsString": true - } + "type": "string", + "description": "The kind of workbook. Choices are user and shared.", + "enum": [ + "user", + "shared" + ], + "x-ms-enum": { + "name": "SharedTypeKind", + "modelAsString": true + } }, "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" }, "properties": { - "x-ms-client-flatten": true, - "description": "Metadata describing a workbook for an Azure resource.", - "$ref": "#/definitions/WorkbookPropertiesUpdateParameters" + "x-ms-client-flatten": true, + "description": "Metadata describing a workbook for an Azure resource.", + "$ref": "#/definitions/WorkbookPropertiesUpdateParameters" } + }, + "description": "The parameters that can be provided when updating workbook properties properties." }, - "description": "The parameters that can be provided when updating workbook properties properties." - }, - "WorkbookPropertiesUpdateParameters": { + "WorkbookPropertiesUpdateParameters": { "description": "Properties that contain a workbook for PATCH operation.", "properties": { "displayName": { @@ -513,7 +513,7 @@ "type": "string", "description": "Azure Resource Id that will fetch all related workbooks.", "x-ms-parameter-location": "method" - }, + }, "CanFetchWorkbookContentParameter": { "name": "canFetchContent", "in": "query", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json index 1d7ec0d3c807..c71db9292334 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json @@ -1,128 +1,128 @@ { - "swagger": "2.0", - "info": { - "version": "2015-05-01", - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for web test based alerting." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Insights/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available insights REST API operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Insights error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" + "swagger": "2.0", + "info": { + "version": "2015-05-01", + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for web test based alerting." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] - } - } - }, - "definitions": { - "ErrorResponse": { - "description": "Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.", - "type": "object", - "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" } - } }, - "Operation": { - "description": "CDN REST API operation", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft.Cdn", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed: Profile, endpoint, etc.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" + "paths": { + "/providers/Microsoft.Insights/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available insights REST API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Insights error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] } - } } - } }, - "OperationListResult": { - "description": "Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of CDN operations supported by the CDN resource provider." + "definitions": { + "ErrorResponse": { + "description": "Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of operation list results if there are any." + "Operation": { + "description": "CDN REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Cdn", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of CDN operations supported by the CDN resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } } - } } - } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json index 41c63ae4c1b4..50515b97884d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json @@ -1,380 +1,380 @@ { - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for saved items.", - "version": "2015-05-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for saved items.", + "version": "2015-05-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}": { + "get": { + "description": "Gets a list of Analytics Items defined within an Application Insights component.", + "operationId": "AnalyticsItems_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "$ref": "#/parameters/ItemScopePathParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ItemScopeParameter" + }, + { + "$ref": "#/parameters/ItemTypeParameter" + }, + { + "$ref": "#/parameters/IncludeContentParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more items associated with the Application Insights component.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" + } } + } + }, + "x-ms-examples": { + "AnalyticsItemList": { + "$ref": "./examples/AnalyticsItemList.json" + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}": { - "get": { - "description": "Gets a list of Analytics Items defined within an Application Insights component.", - "operationId": "AnalyticsItems_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/ItemScopePathParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ItemScopeParameter" - }, - { - "$ref": "#/parameters/ItemTypeParameter" - }, - { - "$ref": "#/parameters/IncludeContentParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more items associated with the Application Insights component.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" - } - } - } - }, - "x-ms-examples": { - "AnalyticsItemList": { - "$ref": "./examples/AnalyticsItemList.json" - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item": { + "get": { + "description": "Gets a specific Analytics Items defined within an Application Insights component.", + "operationId": "AnalyticsItems_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "$ref": "#/parameters/ItemScopePathParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ItemIdParameter" + }, + { + "$ref": "#/parameters/ItemNameParameter" + } + ], + "responses": { + "200": { + "description": "A single item associated with the Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item": { - "get": { - "description": "Gets a specific Analytics Items defined within an Application Insights component.", - "operationId": "AnalyticsItems_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/ItemScopePathParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ItemIdParameter" - }, - { - "$ref": "#/parameters/ItemNameParameter" - } - ], - "responses": { - "200": { - "description": "A single item associated with the Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" - } - } - }, - "x-ms-examples": { - "AnalyticsItemGet": { - "$ref": "./examples/AnalyticsItemGet.json" - } - } - }, - "put": { - "description": "Adds or Updates a specific Analytics Item within an Application Insights component.", - "operationId": "AnalyticsItems_Put", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/ItemScopePathParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/OverrideItemParameter" - }, - { - "name": "itemProperties", - "description": "Properties that need to be specified to create a new item and add it to an Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" - } - } - ], - "responses": { - "200": { - "description": "The new or updated item associated with the Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" - } - } - }, - "x-ms-examples": { - "AnalyticsItemPut": { - "$ref": "./examples/AnalyticsItemPut.json" - } - } - }, - "delete": { - "description": "Deletes a specific Analytics Items defined within an Application Insights component.", - "operationId": "AnalyticsItems_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/ItemScopePathParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ItemIdParameter" - }, - { - "$ref": "#/parameters/ItemNameParameter" - } - ], - "responses": { - "200": { - "description": "The item has been successfully removed from the Application Insights component" - } - }, - "x-ms-examples": { - "AnalyticsItemDelete": { - "$ref": "./examples/AnalyticsItemDelete.json" - } - } - } + "x-ms-examples": { + "AnalyticsItemGet": { + "$ref": "./examples/AnalyticsItemGet.json" + } } - }, - "definitions": { - "ApplicationInsightsComponentAnalyticsItem": { - "description": "Properties that define an Analytics item that is associated to an Application Insights component.", - "type": "object", - "properties": { - "Id": { - "type": "string", - "description": "Internally assigned unique id of the item definition." - }, - "Name": { - "type": "string", - "description": "The user-defined name of the item." - }, - "Content": { - "type": "string", - "description": "The content of this item" - }, - "Version": { - "type": "string", - "description": "This instance's version of the data model. This can change as new features are added.", - "readOnly": true - }, - "Scope": { - "description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.", - "type": "string", - "enum": [ - "shared", - "user" - ], - "x-ms-enum": { - "name": "ItemScope", - "modelAsString": true - } - }, - "Type": { - "description": "Enum indicating the type of the Analytics item.", - "type": "string", - "enum": [ - "query", - "function", - "folder", - "recent" - ], - "x-ms-enum": { - "name": "ItemType", - "modelAsString": true - } - }, - "TimeCreated": { - "type": "string", - "description": "Date and time in UTC when this item was created.", - "readOnly": true - }, - "TimeModified": { - "type": "string", - "description": "Date and time in UTC of the last modification that was made to this item.", - "readOnly": true - }, - "Properties": { - "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItemProperties" - } + }, + "put": { + "description": "Adds or Updates a specific Analytics Item within an Application Insights component.", + "operationId": "AnalyticsItems_Put", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "$ref": "#/parameters/ItemScopePathParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/OverrideItemParameter" + }, + { + "name": "itemProperties", + "description": "Properties that need to be specified to create a new item and add it to an Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" + } + } + ], + "responses": { + "200": { + "description": "The new or updated item associated with the Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItem" } + } }, - "ApplicationInsightsComponentAnalyticsItemProperties": { - "type": "object", - "properties": { - "functionAlias": { - "type": "string", - "description": "A function alias, used when the type of the item is Function" - } - }, - "description": "A set of properties that can be defined in the context of a specific item type. Each type may have its own properties." + "x-ms-examples": { + "AnalyticsItemPut": { + "$ref": "./examples/AnalyticsItemPut.json" + } } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" + }, + "delete": { + "description": "Deletes a specific Analytics Items defined within an Application Insights component.", + "operationId": "AnalyticsItems_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "$ref": "#/parameters/ItemScopePathParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ItemIdParameter" + }, + { + "$ref": "#/parameters/ItemNameParameter" + } + ], + "responses": { + "200": { + "description": "The item has been successfully removed from the Application Insights component" + } }, - "ItemScopePathParameter": { - "name": "scopePath", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "analyticsItems", - "myanalyticsItems" - ], - "x-ms-enum": { - "name": "ItemScopePath", - "modelAsString": true - }, - "description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.", - "x-ms-parameter-location": "method" + "x-ms-examples": { + "AnalyticsItemDelete": { + "$ref": "./examples/AnalyticsItemDelete.json" + } + } + } + } + }, + "definitions": { + "ApplicationInsightsComponentAnalyticsItem": { + "description": "Properties that define an Analytics item that is associated to an Application Insights component.", + "type": "object", + "properties": { + "Id": { + "type": "string", + "description": "Internally assigned unique id of the item definition." + }, + "Name": { + "type": "string", + "description": "The user-defined name of the item." }, - "ItemScopeParameter": { - "name": "scope", - "in": "query", - "required": false, - "type": "string", - "default": "shared", - "enum": [ - "shared", - "user" - ], - "x-ms-enum": { - "name": "ItemScope", - "modelAsString": true - }, - "description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.", - "x-ms-parameter-location": "method" + "Content": { + "type": "string", + "description": "The content of this item" }, - "ItemTypeParameter": { - "name": "type", - "in": "query", - "required": false, - "type": "string", - "default": "none", - "enum": [ - "none", - "query", - "function", - "folder", - "recent" - ], - "x-ms-enum": { - "name": "ItemTypeParameter", - "modelAsString": true - }, - "description": "Enum indicating the type of the Analytics item.", - "x-ms-parameter-location": "method" + "Version": { + "type": "string", + "description": "This instance's version of the data model. This can change as new features are added.", + "readOnly": true }, - "ItemIdParameter": { - "name": "id", - "in": "query", - "required": false, - "type": "string", - "description": "The Id of a specific item defined in the Application Insights component", - "x-ms-parameter-location": "method" + "Scope": { + "description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.", + "type": "string", + "enum": [ + "shared", + "user" + ], + "x-ms-enum": { + "name": "ItemScope", + "modelAsString": true + } }, - "ItemNameParameter": { - "name": "name", - "in": "query", - "required": false, - "type": "string", - "description": "The name of a specific item defined in the Application Insights component", - "x-ms-parameter-location": "method" + "Type": { + "description": "Enum indicating the type of the Analytics item.", + "type": "string", + "enum": [ + "query", + "function", + "folder", + "recent" + ], + "x-ms-enum": { + "name": "ItemType", + "modelAsString": true + } }, - "IncludeContentParameter": { - "name": "includeContent", - "in": "query", - "required": false, - "type": "boolean", - "description": "Flag indicating whether or not to return the content of each applicable item. If false, only return the item information.", - "x-ms-parameter-location": "method" + "TimeCreated": { + "type": "string", + "description": "Date and time in UTC when this item was created.", + "readOnly": true }, - "OverrideItemParameter": { - "name": "overrideItem", - "in": "query", - "required": false, - "type": "boolean", - "description": "Flag indicating whether or not to force save an item. This allows overriding an item if it already exists.", - "x-ms-parameter-location": "method" + "TimeModified": { + "type": "string", + "description": "Date and time in UTC of the last modification that was made to this item.", + "readOnly": true + }, + "Properties": { + "$ref": "#/definitions/ApplicationInsightsComponentAnalyticsItemProperties" } + } + }, + "ApplicationInsightsComponentAnalyticsItemProperties": { + "type": "object", + "properties": { + "functionAlias": { + "type": "string", + "description": "A function alias, used when the type of the item is Function" + } + }, + "description": "A set of properties that can be defined in the context of a specific item type. Each type may have its own properties." + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "ItemScopePathParameter": { + "name": "scopePath", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "analyticsItems", + "myanalyticsItems" + ], + "x-ms-enum": { + "name": "ItemScopePath", + "modelAsString": true + }, + "description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.", + "x-ms-parameter-location": "method" + }, + "ItemScopeParameter": { + "name": "scope", + "in": "query", + "required": false, + "type": "string", + "default": "shared", + "enum": [ + "shared", + "user" + ], + "x-ms-enum": { + "name": "ItemScope", + "modelAsString": true + }, + "description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.", + "x-ms-parameter-location": "method" + }, + "ItemTypeParameter": { + "name": "type", + "in": "query", + "required": false, + "type": "string", + "default": "none", + "enum": [ + "none", + "query", + "function", + "folder", + "recent" + ], + "x-ms-enum": { + "name": "ItemTypeParameter", + "modelAsString": true + }, + "description": "Enum indicating the type of the Analytics item.", + "x-ms-parameter-location": "method" + }, + "ItemIdParameter": { + "name": "id", + "in": "query", + "required": false, + "type": "string", + "description": "The Id of a specific item defined in the Application Insights component", + "x-ms-parameter-location": "method" + }, + "ItemNameParameter": { + "name": "name", + "in": "query", + "required": false, + "type": "string", + "description": "The name of a specific item defined in the Application Insights component", + "x-ms-parameter-location": "method" + }, + "IncludeContentParameter": { + "name": "includeContent", + "in": "query", + "required": false, + "type": "boolean", + "description": "Flag indicating whether or not to return the content of each applicable item. If false, only return the item information.", + "x-ms-parameter-location": "method" + }, + "OverrideItemParameter": { + "name": "overrideItem", + "in": "query", + "required": false, + "type": "boolean", + "description": "Flag indicating whether or not to force save an item. This allows overriding an item if it already exists.", + "x-ms-parameter-location": "method" } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json index c323ce786dd7..5318ab4127e2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json @@ -115,7 +115,7 @@ "items": { "$ref": "#/definitions/Annotation" } - } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -155,8 +155,7 @@ "responses": { "200": { "description": "The annotation that was successfully deleted.", - "schema": { - } + "schema": {} } }, "x-ms-examples": { @@ -193,7 +192,7 @@ "items": { "$ref": "#/definitions/Annotation" } - } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -323,4 +322,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json index 041b0d45f637..0f9b5145ee6d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json @@ -278,4 +278,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json index 559fcfecd4ae..ef0d51e98d36 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json @@ -389,4 +389,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json index f4f5c2bf3b4f..b141ef967b0f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json @@ -364,7 +364,7 @@ } } }, - "ApplicationInsightsComponentAvailableFeatures":{ + "ApplicationInsightsComponentAvailableFeatures": { "type": "object", "description": "An Application Insights component available features.", "properties": { @@ -379,36 +379,36 @@ } } }, - "ApplicationInsightsComponentFeature":{ + "ApplicationInsightsComponentFeature": { "type": "object", "description": "An Application Insights component daily data volume cap status", "properties": { - "FeatureName":{ + "FeatureName": { "type": "string", "readOnly": true, "description": "The pricing feature name." }, - "MeterId":{ + "MeterId": { "type": "string", "readOnly": true, "description": "The meter id used for the feature." }, - "MeterRateFrequency":{ + "MeterRateFrequency": { "type": "string", "readOnly": true, "description": "The meter rate for the feature's meter." }, - "ResouceId":{ + "ResouceId": { "type": "string", "readOnly": true, "description": "Reserved, not used now." }, - "IsHidden":{ + "IsHidden": { "type": "boolean", "readOnly": true, "description": "Reserved, not used now." }, - "Capabilities":{ + "Capabilities": { "type": "array", "items": { "type": "object", @@ -431,45 +431,45 @@ "type": "string", "readOnly": true, "description": "The add on features on main feature." - } + } } }, "ApplicationInsightsComponentFeatureCapability": { "type": "object", "description": "An Application Insights component feature capability", "properties": { - "Name":{ + "Name": { "type": "string", "readOnly": true, "description": "The name of the capability." }, - "Description":{ + "Description": { "type": "string", "readOnly": true, "description": "The description of the capability." }, - "Value":{ + "Value": { "type": "string", "readOnly": true, "description": "The value of the capability." }, - "Unit":{ + "Unit": { "type": "string", "readOnly": true, "description": "The unit of the capability." }, - "MeterId":{ + "MeterId": { "type": "string", "readOnly": true, "description": "The meter used for the capability." }, - "MeterRateFrequency":{ + "MeterRateFrequency": { "type": "string", "readOnly": true, "description": "The meter rate of the meter." } } - } + } }, "parameters": { "ResourceNameParameter": { @@ -481,4 +481,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json index ff8e107fcfe4..967bc3168689 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json @@ -1,259 +1,259 @@ { - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for ProactiveDetection configurations of a component.", - "version": "2015-05-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for ProactiveDetection configurations of a component.", + "version": "2015-05-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs": { + "get": { + "description": "Gets a list of ProactiveDetection configurations of an Application Insights component.", + "operationId": "ProactiveDetectionConfigurations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more ProactiveDetection configurations of an Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfigurationListResult" + } + } + }, + "x-ms-examples": { + "ProactiveDetectionConfigurationsList": { + "$ref": "./examples/ProactiveDetectionConfigurationsList.json" + } } } }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs": { - "get": { - "description": "Gets a list of ProactiveDetection configurations of an Application Insights component.", - "operationId": "ProactiveDetectionConfigurations_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more ProactiveDetection configurations of an Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfigurationListResult" - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}": { + "get": { + "description": "Get the ProactiveDetection configuration for this configuration id.", + "operationId": "ProactiveDetectionConfigurations_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "ProactiveDetectionConfigurationsList": { - "$ref": "./examples/ProactiveDetectionConfigurationsList.json" + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationId" + } + ], + "responses": { + "200": { + "description": "The ProactiveDetection configuration for this configuration id.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" } } + }, + "x-ms-examples": { + "ProactiveDetectionConfigurationGet": { + "$ref": "./examples/ProactiveDetectionConfigurationGet.json" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}": { - "get": { - "description": "Get the ProactiveDetection configuration for this configuration id.", - "operationId": "ProactiveDetectionConfigurations_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationId" - } - ], - "responses": { - "200": { - "description": "The ProactiveDetection configuration for this configuration id.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" - } - } + "put": { + "description": "Update the ProactiveDetection configuration for this configuration id.", + "operationId": "ProactiveDetectionConfigurations_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "ProactiveDetectionConfigurationGet": { - "$ref": "./examples/ProactiveDetectionConfigurationGet.json" + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationId" + }, + { + "name": "ProactiveDetectionProperties", + "description": "Properties that need to be specified to update the ProactiveDetection configuration.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" + } + } + ], + "responses": { + "200": { + "description": "The ProactiveDetection configuration that was successfully updated.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" } } }, - "put": { - "description": "Update the ProactiveDetection configuration for this configuration id.", - "operationId": "ProactiveDetectionConfigurations_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "x-ms-examples": { + "ProactiveDetectionConfigurationUpdate": { + "$ref": "./examples/ProactiveDetectionConfigurationUpdate.json" + } + } + } + } + }, + "definitions": { + "ApplicationInsightsComponentProactiveDetectionConfigurationListResult": { + "description": "A list of ProactiveDetection configurations.", + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" + } + }, + "ApplicationInsightsComponentProactiveDetectionConfiguration": { + "description": "Properties that define a ProactiveDetection configuration.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "Name": { + "type": "string", + "readOnly": false, + "description": "The rule name" + }, + "Enabled": { + "type": "boolean", + "readOnly": false, + "description": "A flag that indicates whether this rule is enabled by the user" + }, + "SendEmailsToSubscriptionOwners": { + "type": "boolean", + "readOnly": false, + "description": "A flag that indicated whether notifications on this rule should be sent to subscription owners" + }, + "CustomEmails": { + "type": "array", + "readOnly": false, + "description": "Custom email addresses for this rule notifications", + "items": { + "type": "string" + } + }, + "LastUpdatedTime": { + "type": "string", + "readOnly": false, + "description": "The last time this rule was updated" + }, + "RuleDefinitions": { + "type": "object", + "readOnly": false, + "description": "Static definitions of the ProactiveDetection configuration rule (same values for all components).", + "properties": { + "Name": { + "type": "string", + "readOnly": false, + "description": "The rule name" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "DisplayName": { + "type": "string", + "readOnly": false, + "description": "The rule name as it is displayed in UI" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "Description": { + "type": "string", + "readOnly": false, + "description": "The rule description" }, - { - "$ref": "#/parameters/ResourceNameParameter" + "HelpUrl": { + "type": "string", + "readOnly": false, + "description": "URL which displays additional info about the proactive detection rule" }, - { - "$ref": "#/parameters/ConfigurationId" + "IsHidden": { + "type": "boolean", + "readOnly": false, + "description": "A flag indicating whether the rule is hidden (from the UI)" }, - { - "name": "ProactiveDetectionProperties", - "description": "Properties that need to be specified to update the ProactiveDetection configuration.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" - } - } - ], - "responses": { - "200": { - "description": "The ProactiveDetection configuration that was successfully updated.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" - } - } - }, - "x-ms-examples": { - "ProactiveDetectionConfigurationUpdate": { - "$ref": "./examples/ProactiveDetectionConfigurationUpdate.json" + "IsEnabledByDefault": { + "type": "boolean", + "readOnly": false, + "description": "A flag indicating whether the rule is enabled by default" + }, + "IsInPreview": { + "type": "boolean", + "readOnly": false, + "description": "A flag indicating whether the rule is in preview" + }, + "SupportsEmailNotifications": { + "type": "boolean", + "readOnly": false, + "description": "A flag indicating whether email notifications are supported for detections for this rule" } } } } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" }, - "definitions": { - "ApplicationInsightsComponentProactiveDetectionConfigurationListResult": { - "description": "A list of ProactiveDetection configurations.", - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" - } - }, - "ApplicationInsightsComponentProactiveDetectionConfiguration": { - "description": "Properties that define a ProactiveDetection configuration.", - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "Name": { - "type": "string", - "readOnly": false, - "description": "The rule name" - }, - "Enabled": { - "type": "boolean", - "readOnly": false, - "description": "A flag that indicates whether this rule is enabled by the user" - }, - "SendEmailsToSubscriptionOwners": { - "type": "boolean", - "readOnly": false, - "description": "A flag that indicated whether notifications on this rule should be sent to subscription owners" - }, - "CustomEmails": { - "type": "array", - "readOnly": false, - "description": "Custom email addresses for this rule notifications", - "items": { - "type": "string" - } - }, - "LastUpdatedTime": { - "type": "string", - "readOnly": false, - "description": "The last time this rule was updated" - }, - "RuleDefinitions": { - "type": "object", - "readOnly": false, - "description": "Static definitions of the ProactiveDetection configuration rule (same values for all components).", - "properties": { - "Name": { - "type": "string", - "readOnly": false, - "description": "The rule name" - }, - "DisplayName": { - "type": "string", - "readOnly": false, - "description": "The rule name as it is displayed in UI" - }, - "Description": { - "type": "string", - "readOnly": false, - "description": "The rule description" - }, - "HelpUrl": { - "type": "string", - "readOnly": false, - "description": "URL which displays additional info about the proactive detection rule" - }, - "IsHidden": { - "type": "boolean", - "readOnly": false, - "description": "A flag indicating whether the rule is hidden (from the UI)" - }, - "IsEnabledByDefault": { - "type": "boolean", - "readOnly": false, - "description": "A flag indicating whether the rule is enabled by default" - }, - "IsInPreview": { - "type": "boolean", - "readOnly": false, - "description": "A flag indicating whether the rule is in preview" - }, - "SupportsEmailNotifications": { - "type": "boolean", - "readOnly": false, - "description": "A flag indicating whether email notifications are supported for detections for this rule" - } - } - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "ConfigurationId": { - "name": "ConfigurationId", - "in": "path", - "required": true, - "type": "string", - "description": "The ProactiveDetection configuration ID. This is unique within a Application Insights component.", - "x-ms-parameter-location": "method" - } + "ConfigurationId": { + "name": "ConfigurationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ProactiveDetection configuration ID. This is unique within a Application Insights component.", + "x-ms-parameter-location": "method" } - } \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json index 519047579653..8531ddb5a0e5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json @@ -139,16 +139,16 @@ "description": "successful operation", "schema": { "$ref": "#/definitions/WorkItemConfiguration" - } - } - }, - "x-ms-examples": { - "WorkItemConfigurationsGetDefault": { - "$ref": "./examples/WorkItemConfigDefaultGet.json" } } + }, + "x-ms-examples": { + "WorkItemConfigurationsGetDefault": { + "$ref": "./examples/WorkItemConfigDefaultGet.json" + } } - }, + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}": { "delete": { "description": "Delete a work item configuration of an Application Insights component.", @@ -173,8 +173,7 @@ "responses": { "200": { "description": "The work item configuration that was successfully deleted.", - "schema": { - } + "schema": {} } }, "x-ms-examples": { @@ -298,4 +297,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json index d97827a2ebb4..07b62099aa69 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json @@ -263,7 +263,7 @@ }, { "$ref": "#/parameters/ComponentPurgeParameter" - } + } ], "responses": { "202": { @@ -299,7 +299,7 @@ }, { "$ref": "#/parameters/ComponentPurgeIdParameter" - } + } ], "responses": { "200": { @@ -546,7 +546,7 @@ "description": "the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values." }, "key": { - "description": "When filtering over custom dimensions, this key will be used as the name of the custom dimension.", + "description": "When filtering over custom dimensions, this key will be used as the name of the custom dimension.", "type": "string" } } @@ -592,7 +592,7 @@ "type": "string", "description": "The name of the Application Insights component resource.", "x-ms-parameter-location": "method" - }, + }, "ComponentPurgeParameter": { "name": "body", "in": "body", @@ -612,4 +612,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysCreate.json index 4469d50e9bf4..ca44f85cbb91 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysCreate.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysDelete.json index 6c6b1b1bf719..e89849dea962 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysDelete.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysGet.json index 6c6b1b1bf719..e89849dea962 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysGet.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysList.json index 0e19d8091350..e0a8e27ebeef 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysList.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemDelete.json index a8d64af5f382..00b093d991be 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemDelete.json @@ -1,15 +1,14 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "scopePath": "analyticsItems", - "scope": "shared", - "id": "3466c160-4a10-4df8-afdf-0007f3f6dee5" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "scopePath": "analyticsItems", + "scope": "shared", + "id": "3466c160-4a10-4df8-afdf-0007f3f6dee5" + }, + "responses": { + "200": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemGet.json index 3691cf4cdef2..018eb5251362 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "scopePath": "analyticsItems", - "scope": "shared", - "id": "3466c160-4a10-4df8-afdf-0007f3f6dee5" - }, - "responses": { - "200": { - "body": { - "Scope": "shared", - "Type": "query", - "Name": "Exceptions - New in the last 24 hours", - "Id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", - "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", - "TimeModified": "2018-02-14T13:13:19.3381394Z", - "TimeCreated": "2018-02-12T11:44:39.2980634Z", - "Version": "1.0" - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "scopePath": "analyticsItems", + "scope": "shared", + "id": "3466c160-4a10-4df8-afdf-0007f3f6dee5" + }, + "responses": { + "200": { + "body": { + "Scope": "shared", + "Type": "query", + "Name": "Exceptions - New in the last 24 hours", + "Id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", + "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", + "TimeModified": "2018-02-14T13:13:19.3381394Z", + "TimeCreated": "2018-02-12T11:44:39.2980634Z", + "Version": "1.0" + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemList.json index f7fe0d74ec2e..38ad53232b04 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemList.json @@ -1,85 +1,85 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "scopePath": "analyticsItems" - }, - "responses": { - "200": { - "body": [ - { - "Scope": "user", - "Type": "query", - "Name": "1", - "Id": "b753348d-333a-4678-a684-c0e9090713b7", - "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", - "TimeModified": "2017-06-29T10:27:03Z", - "TimeCreated": null, - "Version": "1.0" - }, - { - "Scope": "user", - "Type": "query", - "Name": "4", - "Id": "0d2f1b19-04b2-4c93-bc6f-2466b23c5284", - "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", - "TimeModified": "2017-06-29T10:27:13Z", - "TimeCreated": null, - "Version": "1.0" - }, - { - "Scope": "user", - "Type": "query", - "Name": "2", - "Id": "3d17bebb-0b20-4b58-9bbd-22aeed70be51", - "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", - "TimeModified": "2018-02-10T23:21:05.9952874Z", - "TimeCreated": null, - "Version": "1.0" - }, - { - "Scope": "user", - "Type": "query", - "Name": "5", - "Id": "2be491c6-10d9-4cf6-9490-2a7ce7270c54", - "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", - "TimeModified": "2017-06-29T10:27:17Z", - "TimeCreated": null, - "Version": "1.0" - }, - { - "Scope": "user", - "Type": "query", - "Name": "8", - "Id": "d8f83601-4a40-4dc1-8516-0a28dcb74420", - "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", - "TimeModified": "2018-02-10T23:20:19.0174631Z", - "TimeCreated": "2018-02-10T23:20:19.0174631Z", - "Version": "1.0" - }, - { - "Scope": "user", - "Type": "query", - "Name": "Exceptions - New in the last 7 days", - "Id": "fd3afe4d-9139-4c76-9b47-81d0fada977b", - "Content": "let newExceptionsTimeRange = 7d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", - "TimeModified": "2018-02-12T11:01:15.5687326Z", - "TimeCreated": "2018-02-11T22:05:57.6019354Z", - "Version": "1.0" - }, - { - "Scope": "shared", - "Type": "query", - "Name": "Exceptions - New in the last 24 hours", - "Id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", - "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", - "TimeModified": "2018-02-14T13:13:19.3381394Z", - "TimeCreated": "2018-02-12T11:44:39.2980634Z", - "Version": "1.0" - } - ] + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "scopePath": "analyticsItems" + }, + "responses": { + "200": { + "body": [ + { + "Scope": "user", + "Type": "query", + "Name": "1", + "Id": "b753348d-333a-4678-a684-c0e9090713b7", + "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", + "TimeModified": "2017-06-29T10:27:03Z", + "TimeCreated": null, + "Version": "1.0" + }, + { + "Scope": "user", + "Type": "query", + "Name": "4", + "Id": "0d2f1b19-04b2-4c93-bc6f-2466b23c5284", + "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", + "TimeModified": "2017-06-29T10:27:13Z", + "TimeCreated": null, + "Version": "1.0" + }, + { + "Scope": "user", + "Type": "query", + "Name": "2", + "Id": "3d17bebb-0b20-4b58-9bbd-22aeed70be51", + "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", + "TimeModified": "2018-02-10T23:21:05.9952874Z", + "TimeCreated": null, + "Version": "1.0" + }, + { + "Scope": "user", + "Type": "query", + "Name": "5", + "Id": "2be491c6-10d9-4cf6-9490-2a7ce7270c54", + "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", + "TimeModified": "2017-06-29T10:27:17Z", + "TimeCreated": null, + "Version": "1.0" + }, + { + "Scope": "user", + "Type": "query", + "Name": "8", + "Id": "d8f83601-4a40-4dc1-8516-0a28dcb74420", + "Content": "//Top 10 countries by traffic in the past 24 hours\nrequests \n | where timestamp > ago(24h) \n | summarize count() by client_CountryOrRegion\n | top 10 by count_ \n | render piechart", + "TimeModified": "2018-02-10T23:20:19.0174631Z", + "TimeCreated": "2018-02-10T23:20:19.0174631Z", + "Version": "1.0" + }, + { + "Scope": "user", + "Type": "query", + "Name": "Exceptions - New in the last 7 days", + "Id": "fd3afe4d-9139-4c76-9b47-81d0fada977b", + "Content": "let newExceptionsTimeRange = 7d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", + "TimeModified": "2018-02-12T11:01:15.5687326Z", + "TimeCreated": "2018-02-11T22:05:57.6019354Z", + "Version": "1.0" + }, + { + "Scope": "shared", + "Type": "query", + "Name": "Exceptions - New in the last 24 hours", + "Id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", + "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", + "TimeModified": "2018-02-14T13:13:19.3381394Z", + "TimeCreated": "2018-02-12T11:44:39.2980634Z", + "Version": "1.0" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemPut.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemPut.json index a6e6965fa7ef..420dccd9a6de 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemPut.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemPut.json @@ -1,31 +1,31 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "scopePath": "analyticsItems", - "scope": "shared", - "id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", - "itemProperties" : { - "Scope": "shared", - "Type": "query", - "Name": "Exceptions - New in the last 24 hours", - "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n" - } - }, - "responses": { - "200": { - "body": { - "Scope": "shared", - "Type": "query", - "Name": "Exceptions - New in the last 24 hours", - "Id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", - "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", - "TimeModified": "2018-02-14T13:13:19.3381394Z", - "TimeCreated": "2018-02-12T11:44:39.2980634Z", - "Version": "1.0" - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "scopePath": "analyticsItems", + "scope": "shared", + "id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", + "itemProperties": { + "Scope": "shared", + "Type": "query", + "Name": "Exceptions - New in the last 24 hours", + "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n" } + }, + "responses": { + "200": { + "body": { + "Scope": "shared", + "Type": "query", + "Name": "Exceptions - New in the last 24 hours", + "Id": "3466c160-4a10-4df8-afdf-0007f3f6dee5", + "Content": "let newExceptionsTimeRange = 1d;\nlet timeRangeToCheckBefore = 7d;\nexceptions\n| where timestamp < ago(timeRangeToCheckBefore)\n| summarize count() by problemId\n| join kind= rightanti (\nexceptions\n| where timestamp >= ago(newExceptionsTimeRange)\n| extend stack = tostring(details[0].rawStack)\n| summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId \n) on problemId \n| order by count_ desc\n", + "TimeModified": "2018-02-14T13:13:19.3381394Z", + "TimeCreated": "2018-02-12T11:44:39.2980634Z", + "Version": "1.0" + } + } + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsCreate.json index 67c97adc651f..0761868d78ab 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsCreate.json @@ -4,11 +4,26 @@ "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", - "AnnotationProperties": {"AnnotationName":"TestAnnotation","Category":"Text","EventTime":"2018-01-31T13:41:38.657Z","Id":"444e2c08-274a-4bbb-a89e-d77bb720f44a","Properties":"{\"Comments\":\"Testing\",\"Label\":\"Success\"}"} + "AnnotationProperties": { + "AnnotationName": "TestAnnotation", + "Category": "Text", + "EventTime": "2018-01-31T13:41:38.657Z", + "Id": "444e2c08-274a-4bbb-a89e-d77bb720f44a", + "Properties": "{\"Comments\":\"Testing\",\"Label\":\"Success\"}" + } }, "responses": { "200": { - "body": [{"AnnotationName":"TestAnnotation","Id":"444e2c08-274a-4bbb-a89e-d77bb720f44a","Category":"Text","Properties":"{\"Comments\":\"Testing\",\"Label\":\"Success\"}","EventTime":"2018-01-31T13:41:38.657+00:00","RelatedAnnotation":null}] + "body": [ + { + "AnnotationName": "TestAnnotation", + "Id": "444e2c08-274a-4bbb-a89e-d77bb720f44a", + "Category": "Text", + "Properties": "{\"Comments\":\"Testing\",\"Label\":\"Success\"}", + "EventTime": "2018-01-31T13:41:38.657+00:00", + "RelatedAnnotation": null + } + ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json index 18d90e1de9f8..cd3755546bb5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json @@ -8,7 +8,7 @@ }, "responses": { "200": { - "body": {} + "body": {} } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsGet.json index 780a05cf6f28..53db7fb2286e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsGet.json @@ -8,7 +8,16 @@ }, "responses": { "200": { - "body": [{"AnnotationName":"TestAnnotation","Id":"444e2c08-274a-4bbb-a89e-d77bb720f44a","Category":"Text","Properties":"{\"Comments\":\"Testing\",\"Label\":\"Success\"}","EventTime":"2018-01-31T13:41:38.657+00:00","RelatedAnnotation":null}] + "body": [ + { + "AnnotationName": "TestAnnotation", + "Id": "444e2c08-274a-4bbb-a89e-d77bb720f44a", + "Category": "Text", + "Properties": "{\"Comments\":\"Testing\",\"Label\":\"Success\"}", + "EventTime": "2018-01-31T13:41:38.657+00:00", + "RelatedAnnotation": null + } + ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsList.json index 62c3742b9822..05fb9133dbce 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsList.json @@ -10,23 +10,23 @@ "responses": { "200": { "body": [ - { - "AnnotationName":"InsightsPortal-20180126-1", - "Id":"4de4524f-fca5-44a8-b7e6-a67d5107796e", - "Category":"Deployment", - "Properties":"{\"ReleaseDefinitionName\":\"InsightsPortal-PPEProd-KeyVault\",\"ReleaseRequestedFor\":\"6a970e9b-6220-47f3-a78c-b8be97506698\",\"TeamFoundationCollectionUri\":\"https://mseng.visualstudio.com/\",\"BuildNumber\":\"20180126.1\",\"ReleaseDescription\":\"Triggered by InsightsPortal_master_PROD1_vNext 20180126.1.\",\"ReleaseId\":\"31075\",\"ReleaseWebUrl\":\"https://mseng.visualstudio.com/96a62c4a-58c2-4dbb-94b6-5979ebc7f2af/_release?releaseId=31075\\u0026_a=release-summary\",\"SourceBranch\":\"refs/heads/master\",\"BuildRepositoryProvider\":\"TfsGit\",\"ReleaseEnvironmentName\":\"AIMON VIP SWAP\",\"BuildRepositoryName\":\"InsightsPortal\",\"ReleaseName\":\"InsightsPortal-20180126-1\"}", - "EventTime":"2018-01-29T20:30:31+00:00", - "RelatedAnnotation":null - }, - { - "AnnotationName":"InsightsPortal-20180125-1", - "Id":"9a82214f-8f98-4699-b5bc-cad6101ed223", - "Category":"Deployment", - "Properties":"{\"ReleaseDefinitionName\":\"InsightsPortal-PPEProd-KeyVault\",\"ReleaseRequestedFor\":\"6a970e9b-6220-47f3-a78c-b8be97506698\",\"TeamFoundationCollectionUri\":\"https://mseng.visualstudio.com/\",\"BuildNumber\":\"20180125.1\",\"ReleaseDescription\":\"Triggered by InsightsPortal_master_PROD1_vNext 20180125.1.\",\"ReleaseId\":\"31035\",\"ReleaseWebUrl\":\"https://mseng.visualstudio.com/96a62c4a-58c2-4dbb-94b6-5979ebc7f2af/_release?releaseId=31035\\u0026_a=release-summary\",\"SourceBranch\":\"refs/heads/master\",\"BuildRepositoryProvider\":\"TfsGit\",\"ReleaseEnvironmentName\":\"Prod VIP Swap \",\"BuildRepositoryName\":\"InsightsPortal\",\"ReleaseName\":\"InsightsPortal-20180125-1\"}", - "EventTime":"2018-01-29T20:38:35+00:00", - "RelatedAnnotation":null - } - ] + { + "AnnotationName": "InsightsPortal-20180126-1", + "Id": "4de4524f-fca5-44a8-b7e6-a67d5107796e", + "Category": "Deployment", + "Properties": "{\"ReleaseDefinitionName\":\"InsightsPortal-PPEProd-KeyVault\",\"ReleaseRequestedFor\":\"6a970e9b-6220-47f3-a78c-b8be97506698\",\"TeamFoundationCollectionUri\":\"https://mseng.visualstudio.com/\",\"BuildNumber\":\"20180126.1\",\"ReleaseDescription\":\"Triggered by InsightsPortal_master_PROD1_vNext 20180126.1.\",\"ReleaseId\":\"31075\",\"ReleaseWebUrl\":\"https://mseng.visualstudio.com/96a62c4a-58c2-4dbb-94b6-5979ebc7f2af/_release?releaseId=31075\\u0026_a=release-summary\",\"SourceBranch\":\"refs/heads/master\",\"BuildRepositoryProvider\":\"TfsGit\",\"ReleaseEnvironmentName\":\"AIMON VIP SWAP\",\"BuildRepositoryName\":\"InsightsPortal\",\"ReleaseName\":\"InsightsPortal-20180126-1\"}", + "EventTime": "2018-01-29T20:30:31+00:00", + "RelatedAnnotation": null + }, + { + "AnnotationName": "InsightsPortal-20180125-1", + "Id": "9a82214f-8f98-4699-b5bc-cad6101ed223", + "Category": "Deployment", + "Properties": "{\"ReleaseDefinitionName\":\"InsightsPortal-PPEProd-KeyVault\",\"ReleaseRequestedFor\":\"6a970e9b-6220-47f3-a78c-b8be97506698\",\"TeamFoundationCollectionUri\":\"https://mseng.visualstudio.com/\",\"BuildNumber\":\"20180125.1\",\"ReleaseDescription\":\"Triggered by InsightsPortal_master_PROD1_vNext 20180125.1.\",\"ReleaseId\":\"31035\",\"ReleaseWebUrl\":\"https://mseng.visualstudio.com/96a62c4a-58c2-4dbb-94b6-5979ebc7f2af/_release?releaseId=31035\\u0026_a=release-summary\",\"SourceBranch\":\"refs/heads/master\",\"BuildRepositoryProvider\":\"TfsGit\",\"ReleaseEnvironmentName\":\"Prod VIP Swap \",\"BuildRepositoryName\":\"InsightsPortal\",\"ReleaseName\":\"InsightsPortal-20180125-1\"}", + "EventTime": "2018-01-29T20:38:35+00:00", + "RelatedAnnotation": null + } + ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AvailableBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AvailableBillingFeaturesGet.json index 686a11f72ad0..35f4f6fd15be 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AvailableBillingFeaturesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AvailableBillingFeaturesGet.json @@ -1,280 +1,280 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": { - "Result": [ - { - "FeatureName": "Basic", - "MeterId": "c9a05f12-4910-4527-a9ec-1db4e4dba60e", - "MeterRateFrequency": "/month", - "ResouceId": null, - "IsHidden": true, - "Capabilities": [ - { - "Name": "hostnumber", - "Description": "Number of application hosts", - "Value": "Unlimited", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "includeddata", - "Description": "Included data", - "Value": "1", - "Unit": null, - "MeterId": "acf26b15-ee92-440d-9973-9a72d77641aa", - "MeterRateFrequency": "GB/month" - }, - { - "Name": "additionaldata", - "Description": "Additional data", - "Value": null, - "Unit": null, - "MeterId": "b90f8b65-6c3e-43fc-9149-bdfc73b6a5b9", - "MeterRateFrequency": "/GB" - }, - { - "Name": "dataretention", - "Description": "Data retention", - "Value": "90", - "Unit": "days", - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "responsetimemonitoring", - "Description": "Response time monitoring and diagnostics", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "failedrequestsmonitoring", - "Description": "Failed requests monitoring and diagnostics", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "browserperformance", - "Description": "Browser performance", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "usageanalysis", - "Description": "Usage analysis", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "servermonitoring", - "Description": "Server monitoring", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "alertingandnotifications", - "Description": "Alerting and notifications", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "notificationfailedrequestrate", - "Description": "Daily notification of failed request rate spikes", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "telemetryanalyzer", - "Description": "Telemetry analyzer", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "searchandanalytics", - "Description": "Search and Analytics", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "webtests", - "Description": "Web tests (multi-step tests)", - "Value": null, - "Unit": null, - "MeterId": "0aa0e0e9-3f58-4dcf-9bb0-9db7ae1d5954", - "MeterRateFrequency": "/test (per month)" - }, - { - "Name": "livestreammetrics", - "Description": "Live stream metrics", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "applicationmap", - "Description": "Application map", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "dailynotificationforkeymetrics", - "Description": "Daily notification for many key metrics", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "workitemintegration", - "Description": "Work item integration", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "apiaccess", - "Description": "API access", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "powerbiintegration", - "Description": "Power BI integration", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "bulkdataimport", - "Description": "Bulk data import", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "automaticdataevaluation", - "Description": "Automatic data evaluation", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "analyticsintegration", - "Description": "Analytics integration with Azure dashboards", - "Value": "Enabled", - "Unit": null, - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "continuousexport", - "Description": "Continuous export", - "Value": "Enabled", - "Unit": null, - "MeterId": "90fa4d31-3ea2-4178-a894-ec4c76c712b2", - "MeterRateFrequency": "/GB" - }, - { - "Name": "defaultdailycap", - "Description": "Default daily cap", - "Value": "100", - "Unit": "G", - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "defaultmaxdailycap", - "Description": "Default maximum daily cap", - "Value": "1000", - "Unit": "G", - "MeterId": null, - "MeterRateFrequency": null - } - ], - "Title": "Application Insights Basic", - "IsMainFeature": true, - "SupportedAddonFeatures": "Application Insights Enterprise" - }, - { - "FeatureName": "Application Insights Enterprise", - "MeterId": "222f32c5-a319-4787-b934-5fb95105b2c8", - "MeterRateFrequency": "/node/month", - "ResouceId": null, - "IsHidden": false, - "Capabilities": [ - { - "Name": "enterpriseincludeddata", - "Description": "Enterprise Included data", - "Value": "0.20", - "Unit": null, - "MeterId": "acf26b15-ee92-440d-9973-9a72d77641aa", - "MeterRateFrequency": "GB/month" - }, - { - "Name": "enterpriseadditionaldata", - "Description": "Enterprise Additional data", - "Value": null, - "Unit": null, - "MeterId": "3fedc88a-b68f-4936-bbf0-f290a254388c", - "MeterRateFrequency": "/GB" - }, - { - "Name": "defaultdailycap", - "Description": "Default daily cap", - "Value": "100", - "Unit": "G", - "MeterId": null, - "MeterRateFrequency": null - }, - { - "Name": "defaultmaxdailycap", - "Description": "Default maximum daily cap", - "Value": "1000", - "Unit": "G", - "MeterId": null, - "MeterRateFrequency": null - } - ], - "Title": "Enterprise", - "IsMainFeature": false, - "SupportedAddonFeatures": null - } - ] - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": { + "Result": [ + { + "FeatureName": "Basic", + "MeterId": "c9a05f12-4910-4527-a9ec-1db4e4dba60e", + "MeterRateFrequency": "/month", + "ResouceId": null, + "IsHidden": true, + "Capabilities": [ + { + "Name": "hostnumber", + "Description": "Number of application hosts", + "Value": "Unlimited", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "includeddata", + "Description": "Included data", + "Value": "1", + "Unit": null, + "MeterId": "acf26b15-ee92-440d-9973-9a72d77641aa", + "MeterRateFrequency": "GB/month" + }, + { + "Name": "additionaldata", + "Description": "Additional data", + "Value": null, + "Unit": null, + "MeterId": "b90f8b65-6c3e-43fc-9149-bdfc73b6a5b9", + "MeterRateFrequency": "/GB" + }, + { + "Name": "dataretention", + "Description": "Data retention", + "Value": "90", + "Unit": "days", + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "responsetimemonitoring", + "Description": "Response time monitoring and diagnostics", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "failedrequestsmonitoring", + "Description": "Failed requests monitoring and diagnostics", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "browserperformance", + "Description": "Browser performance", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "usageanalysis", + "Description": "Usage analysis", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "servermonitoring", + "Description": "Server monitoring", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "alertingandnotifications", + "Description": "Alerting and notifications", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "notificationfailedrequestrate", + "Description": "Daily notification of failed request rate spikes", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "telemetryanalyzer", + "Description": "Telemetry analyzer", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "searchandanalytics", + "Description": "Search and Analytics", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "webtests", + "Description": "Web tests (multi-step tests)", + "Value": null, + "Unit": null, + "MeterId": "0aa0e0e9-3f58-4dcf-9bb0-9db7ae1d5954", + "MeterRateFrequency": "/test (per month)" + }, + { + "Name": "livestreammetrics", + "Description": "Live stream metrics", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "applicationmap", + "Description": "Application map", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "dailynotificationforkeymetrics", + "Description": "Daily notification for many key metrics", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "workitemintegration", + "Description": "Work item integration", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "apiaccess", + "Description": "API access", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "powerbiintegration", + "Description": "Power BI integration", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "bulkdataimport", + "Description": "Bulk data import", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "automaticdataevaluation", + "Description": "Automatic data evaluation", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "analyticsintegration", + "Description": "Analytics integration with Azure dashboards", + "Value": "Enabled", + "Unit": null, + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "continuousexport", + "Description": "Continuous export", + "Value": "Enabled", + "Unit": null, + "MeterId": "90fa4d31-3ea2-4178-a894-ec4c76c712b2", + "MeterRateFrequency": "/GB" + }, + { + "Name": "defaultdailycap", + "Description": "Default daily cap", + "Value": "100", + "Unit": "G", + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "defaultmaxdailycap", + "Description": "Default maximum daily cap", + "Value": "1000", + "Unit": "G", + "MeterId": null, + "MeterRateFrequency": null + } + ], + "Title": "Application Insights Basic", + "IsMainFeature": true, + "SupportedAddonFeatures": "Application Insights Enterprise" + }, + { + "FeatureName": "Application Insights Enterprise", + "MeterId": "222f32c5-a319-4787-b934-5fb95105b2c8", + "MeterRateFrequency": "/node/month", + "ResouceId": null, + "IsHidden": false, + "Capabilities": [ + { + "Name": "enterpriseincludeddata", + "Description": "Enterprise Included data", + "Value": "0.20", + "Unit": null, + "MeterId": "acf26b15-ee92-440d-9973-9a72d77641aa", + "MeterRateFrequency": "GB/month" + }, + { + "Name": "enterpriseadditionaldata", + "Description": "Enterprise Additional data", + "Value": null, + "Unit": null, + "MeterId": "3fedc88a-b68f-4936-bbf0-f290a254388c", + "MeterRateFrequency": "/GB" + }, + { + "Name": "defaultdailycap", + "Description": "Default daily cap", + "Value": "100", + "Unit": "G", + "MeterId": null, + "MeterRateFrequency": null + }, + { + "Name": "defaultmaxdailycap", + "Description": "Default maximum daily cap", + "Value": "1000", + "Unit": "G", + "MeterId": null, + "MeterRateFrequency": null + } + ], + "Title": "Enterprise", + "IsMainFeature": false, + "SupportedAddonFeatures": null + } + ] + } } + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json index d890802e08b2..b2bccdc11c53 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json @@ -1,45 +1,45 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "InsightProperties": { - "name": "my-component", - "location": "South Central US", - "kind": "web", - "properties": { - "Application_Type": "web", - "ApplicationId": "my-component", - "Flow_Type": "Bluefield", - "Request_Source": "rest" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", - "name": "my-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": "", - "kind": "web", - "properties": { - "ApplicationId": "my-component", - "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", - "CreationDate": "2017-01-24T01:05:38.5934061+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 100.0 - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "InsightProperties": { + "name": "my-component", + "location": "South Central US", + "kind": "web", + "properties": { + "Application_Type": "web", + "ApplicationId": "my-component", + "Flow_Type": "Bluefield", + "Request_Source": "rest" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", + "name": "my-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": "", + "kind": "web", + "properties": { + "ApplicationId": "my-component", + "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", + "CreationDate": "2017-01-24T01:05:38.5934061+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 100.0 } + } } + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsDelete.json index 3857017fae2c..e2993692d798 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsDelete.json @@ -6,9 +6,7 @@ "resourceName": "my-component" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json index 1765057f0052..a3c1293a1e00 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json @@ -1,35 +1,34 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", - "name": "my-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": "", - "kind": "web", - "properties": { - "ApplicationId": "my-component", - "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", - "CreationDate": "2017-01-24T01:05:38.5934061+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 100.0 - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", + "name": "my-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": "", + "kind": "web", + "properties": { + "ApplicationId": "my-component", + "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", + "CreationDate": "2017-01-24T01:05:38.5934061+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 100.0 } + } } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json index 5af010e6ba47..b76da01ca69b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json @@ -1,59 +1,59 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", - "name": "my-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": "", - "kind": "web", - "properties": { - "ApplicationId": "my-component", - "AppId": "16526d1a-dfba-4362-a9e9-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "dc5931c7-a7ad-4ad0-89d6-123456789abc", - "CreationDate": "2017-02-14T12:24:05.0041213+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 75.0 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/components/my-other-component", - "name": "my-other-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": "", - "kind": "web", - "properties": { - "ApplicationId": "my-other-component", - "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", - "CreationDate": "2017-01-24T01:05:38.5934061+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 30.0 - } - } - ], - "nextLink": "" + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", + "name": "my-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": "", + "kind": "web", + "properties": { + "ApplicationId": "my-component", + "AppId": "16526d1a-dfba-4362-a9e9-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "dc5931c7-a7ad-4ad0-89d6-123456789abc", + "CreationDate": "2017-02-14T12:24:05.0041213+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 75.0 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/components/my-other-component", + "name": "my-other-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": "", + "kind": "web", + "properties": { + "ApplicationId": "my-other-component", + "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", + "CreationDate": "2017-01-24T01:05:38.5934061+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 30.0 + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json index 3cb235c4ad8c..35e339ec5f39 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json @@ -1,60 +1,60 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", - "name": "my-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": "", - "kind": "web", - "properties": { - "ApplicationId": "my-component", - "AppId": "16526d1a-dfba-4362-a9e9-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "dc5931c7-a7ad-4ad0-89d6-123456789abc", - "CreationDate": "2017-02-14T12:24:05.0041213+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 100.0 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/components/my-other-component", - "name": "my-other-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": "", - "kind": "web", - "properties": { - "ApplicationId": "my-other-component", - "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", - "CreationDate": "2017-01-24T01:05:38.5934061+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 50.0 - } - } - ], - "nextLink": "" + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", + "name": "my-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": "", + "kind": "web", + "properties": { + "ApplicationId": "my-component", + "AppId": "16526d1a-dfba-4362-a9e9-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "dc5931c7-a7ad-4ad0-89d6-123456789abc", + "CreationDate": "2017-02-14T12:24:05.0041213+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 100.0 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/components/my-other-component", + "name": "my-other-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": "", + "kind": "web", + "properties": { + "ApplicationId": "my-other-component", + "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", + "CreationDate": "2017-01-24T01:05:38.5934061+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 50.0 + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurge.json index f6b3b488ce7d..e99c48948e38 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurge.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurge.json @@ -1,29 +1,28 @@ { - "parameters": { - "resourceGroupName":"OIAutoRest5123", - "resourceName":"aztest5048", - "api-version":"2015-03-20", - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "body": { - "table": "Heartbeat", - "filters": [ - { - "column": "TimeGenerated", - "operator": ">", - "value": "2017-09-01T00:00:00" - } - ] - } - }, - "responses": { - "202": { - "headers": { - "x-ms-status-location": "https://management.azure.com/subscriptions/b96161de-b34a-480f-7343-59b099299283/resourceGroups/example/providers/microsoft.insights/components/test/operations/purge-970318e7-b859-4edb-8903-83b1b54d0b74?api-version=2015-05-01" - }, - "body": { - "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "resourceName": "aztest5048", + "api-version": "2015-03-20", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "body": { + "table": "Heartbeat", + "filters": [ + { + "column": "TimeGenerated", + "operator": ">", + "value": "2017-09-01T00:00:00" } + ] + } + }, + "responses": { + "202": { + "headers": { + "x-ms-status-location": "https://management.azure.com/subscriptions/b96161de-b34a-480f-7343-59b099299283/resourceGroups/example/providers/microsoft.insights/components/test/operations/purge-970318e7-b859-4edb-8903-83b1b54d0b74?api-version=2015-05-01" + }, + "body": { + "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" + } } + } } - \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurgeStatus.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurgeStatus.json index 4416c0cf1431..8d80f4b96b7d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurgeStatus.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsPurgeStatus.json @@ -1,16 +1,16 @@ { - "parameters": { - "resourceGroupName":"OIAutoRest5123", - "resourceName":"aztest5048", - "api-version":"2015-05-01", - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" - }, - "responses": { - "200": { - "body": { - "status": "completed" - } - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "resourceName": "aztest5048", + "api-version": "2015-05-01", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" + }, + "responses": { + "200": { + "body": { + "status": "completed" + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json index 3dc09e6d170d..3e51ad298c20 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json @@ -1,46 +1,46 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "InsightProperties": { - "name": "my-component", - "location": "South Central US", - "kind": "web", - "tags": { - "ApplicationGatewayType": "Internal-Only", - "BillingEntity": "Self" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", - "name": "my-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": { - "ApplicationGatewayType": "Internal-Only", - "BillingEntity": "Self" - }, - "kind": "web", - "properties": { - "ApplicationId": "my-component", - "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", - "CreationDate": "2017-01-24T01:05:38.5934061+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 100.0 - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "InsightProperties": { + "name": "my-component", + "location": "South Central US", + "kind": "web", + "tags": { + "ApplicationGatewayType": "Internal-Only", + "BillingEntity": "Self" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", + "name": "my-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": { + "ApplicationGatewayType": "Internal-Only", + "BillingEntity": "Self" + }, + "kind": "web", + "properties": { + "ApplicationId": "my-component", + "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", + "CreationDate": "2017-01-24T01:05:38.5934061+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 100.0 } + } } + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json index 8fcce8d1d082..ba8fc91acc1c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json @@ -1,49 +1,49 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "ComponentTags": { - "tags": { - "ApplicationGatewayType": "Internal-Only", - "BillingEntity": "Self", - "Color": "AzureBlue", - "CustomField_01": "Custom text in some random field named randomly", - "NodeType": "Edge" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", - "name": "my-component", - "type": "Microsoft.Insights/components", - "location": "South Central US", - "tags": { - "ApplicationGatewayType": "Internal-Only", - "BillingEntity": "Self", - "Color": "AzureBlue", - "CustomField_01": "Custom text in some random field named randomly", - "NodeType": "Edge" - }, - "kind": "web", - "properties": { - "ApplicationId": "my-component", - "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", - "Application_Type": "web", - "Flow_Type": "Bluefield", - "Request_Source": "rest", - "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", - "CreationDate": "2017-01-24T01:05:38.5934061+00:00", - "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", - "HockeyAppId": "", - "HockeyAppToken": "", - "provisioningState": "Succeeded", - "SamplingPercentage": 100.0 - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "ComponentTags": { + "tags": { + "ApplicationGatewayType": "Internal-Only", + "BillingEntity": "Self", + "Color": "AzureBlue", + "CustomField_01": "Custom text in some random field named randomly", + "NodeType": "Edge" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component", + "name": "my-component", + "type": "Microsoft.Insights/components", + "location": "South Central US", + "tags": { + "ApplicationGatewayType": "Internal-Only", + "BillingEntity": "Self", + "Color": "AzureBlue", + "CustomField_01": "Custom text in some random field named randomly", + "NodeType": "Edge" + }, + "kind": "web", + "properties": { + "ApplicationId": "my-component", + "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", + "Application_Type": "web", + "Flow_Type": "Bluefield", + "Request_Source": "rest", + "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc", + "CreationDate": "2017-01-24T01:05:38.5934061+00:00", + "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc", + "HockeyAppId": "", + "HockeyAppToken": "", + "provisioningState": "Succeeded", + "SamplingPercentage": 100.0 } + } } + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesGet.json index 8fd3ce1d70d4..15c2b95b0290 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesGet.json @@ -1,24 +1,25 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": { - "CurrentBillingFeatures":["Basic"], - "DataVolumeCap":{ - "Cap":500, - "MaxHistoryCap":500, - "ResetTime":16, - "WarningThreshold":90, - "StopSendNotificationWhenHitThreshold":false, - "StopSendNotificationWhenHitCap":false - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": { + "CurrentBillingFeatures": [ + "Basic" + ], + "DataVolumeCap": { + "Cap": 500, + "MaxHistoryCap": 500, + "ResetTime": 16, + "WarningThreshold": 90, + "StopSendNotificationWhenHitThreshold": false, + "StopSendNotificationWhenHitCap": false } + } } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesUpdate.json index 5a9670d52c26..9a50270eafd5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesUpdate.json @@ -1,30 +1,36 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "BillingFeaturesProperties": { - "CurrentBillingFeatures":["Basic", "Application Insights Enterprise"], - "DataVolumeCap":{ - "Cap":100, - "StopSendNotificationWhenHitCap":true - } - } - }, - "responses": { - "200": { - "body": { - "CurrentBillingFeatures":["Basic", "Application Insights Enterprise"], - "DataVolumeCap":{ - "Cap":100, - "MaxHistoryCap":500, - "ResetTime":16, - "WarningThreshold":90, - "StopSendNotificationWhenHitThreshold":false, - "StopSendNotificationWhenHitCap":true - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "BillingFeaturesProperties": { + "CurrentBillingFeatures": [ + "Basic", + "Application Insights Enterprise" + ], + "DataVolumeCap": { + "Cap": 100, + "StopSendNotificationWhenHitCap": true + } + } + }, + "responses": { + "200": { + "body": { + "CurrentBillingFeatures": [ + "Basic", + "Application Insights Enterprise" + ], + "DataVolumeCap": { + "Cap": 100, + "MaxHistoryCap": 500, + "ResetTime": 16, + "WarningThreshold": 90, + "StopSendNotificationWhenHitThreshold": false, + "StopSendNotificationWhenHitCap": true } + } } + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationDelete.json index 33de61685e11..2df18ceeeb44 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationDelete.json @@ -1,35 +1,34 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "exportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=" - }, - "responses": { - "200": { - "body":{ - "ExportId":"uGOoki0jQsyEs3IdQ83Q4QsNr4=", - "InstrumentationKey":"8330b4a4-0b8e-40cf-a643-bbaf60d375c9", - "RecordTypes":"Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", - "ApplicationName":"my-component", - "SubscriptionId":"subid", - "ResourceGroup":"2", - "DestinationStorageSubscriptionId":"subidc", - "DestinationStorageLocationId":"eastasia", - "DestinationAccountId":"/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", - "DestinationType":"Blob", - "IsUserEnabled":"False", - "LastUserUpdate":"2017-06-05T06:34:26.957Z", - "NotificationQueueEnabled":"False", - "ExportStatus":"Preparing", - "LastSuccessTime":"9999-12-31T23:59:59.999Z", - "LastGapTime":"9999-12-31T23:59:59.999Z", - "PermanentErrorReason":"None", - "StorageName":"mystorageblob", - "ContainerName":"mystorageblob" - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "exportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=" + }, + "responses": { + "200": { + "body": { + "ExportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=", + "InstrumentationKey": "8330b4a4-0b8e-40cf-a643-bbaf60d375c9", + "RecordTypes": "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", + "ApplicationName": "my-component", + "SubscriptionId": "subid", + "ResourceGroup": "2", + "DestinationStorageSubscriptionId": "subidc", + "DestinationStorageLocationId": "eastasia", + "DestinationAccountId": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", + "DestinationType": "Blob", + "IsUserEnabled": "False", + "LastUserUpdate": "2017-06-05T06:34:26.957Z", + "NotificationQueueEnabled": "False", + "ExportStatus": "Preparing", + "LastSuccessTime": "9999-12-31T23:59:59.999Z", + "LastGapTime": "9999-12-31T23:59:59.999Z", + "PermanentErrorReason": "None", + "StorageName": "mystorageblob", + "ContainerName": "mystorageblob" + } } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationGet.json index 2649d29f5924..2df18ceeeb44 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationGet.json @@ -1,35 +1,34 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "exportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=" - }, - "responses": { - "200": { - "body": { - "ExportId":"uGOoki0jQsyEs3IdQ83Q4QsNr4=", - "InstrumentationKey":"8330b4a4-0b8e-40cf-a643-bbaf60d375c9", - "RecordTypes":"Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", - "ApplicationName":"my-component", - "SubscriptionId":"subid", - "ResourceGroup":"2", - "DestinationStorageSubscriptionId":"subidc", - "DestinationStorageLocationId":"eastasia", - "DestinationAccountId":"/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", - "DestinationType":"Blob", - "IsUserEnabled":"False", - "LastUserUpdate":"2017-06-05T06:34:26.957Z", - "NotificationQueueEnabled":"False", - "ExportStatus":"Preparing", - "LastSuccessTime":"9999-12-31T23:59:59.999Z", - "LastGapTime":"9999-12-31T23:59:59.999Z", - "PermanentErrorReason":"None", - "StorageName":"mystorageblob", - "ContainerName":"mystorageblob" - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "exportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=" + }, + "responses": { + "200": { + "body": { + "ExportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=", + "InstrumentationKey": "8330b4a4-0b8e-40cf-a643-bbaf60d375c9", + "RecordTypes": "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", + "ApplicationName": "my-component", + "SubscriptionId": "subid", + "ResourceGroup": "2", + "DestinationStorageSubscriptionId": "subidc", + "DestinationStorageLocationId": "eastasia", + "DestinationAccountId": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", + "DestinationType": "Blob", + "IsUserEnabled": "False", + "LastUserUpdate": "2017-06-05T06:34:26.957Z", + "NotificationQueueEnabled": "False", + "ExportStatus": "Preparing", + "LastSuccessTime": "9999-12-31T23:59:59.999Z", + "LastGapTime": "9999-12-31T23:59:59.999Z", + "PermanentErrorReason": "None", + "StorageName": "mystorageblob", + "ContainerName": "mystorageblob" + } } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationUpdate.json index f73f9ba1efc3..1ea700d72826 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationUpdate.json @@ -1,46 +1,45 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "exportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=", - "ExportProperties": { - "RecordTypes":"Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", - "DestinationType":"Blob", - "DestinationAddress":"https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token", - "IsEnabled":"true", - "NotificationQueueEnabled":"false", - "NotificationQueueUri":"", - "DestinationStorageSubscriptionId":"subid", - "DestinationStorageLocationId":"eastus", - "DestinationAccountId":"/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob" - } - }, - "responses": { - "200": { - "body": { - "ExportId":"uGOoki0jQsyEs3IdQ83Q4QsNr4=", - "InstrumentationKey":"8330b4a4-0b8e-40cf-a643-bbaf60d375c9", - "RecordTypes":"Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", - "ApplicationName":"my-component", - "SubscriptionId":"subid", - "ResourceGroup":"2", - "DestinationStorageSubscriptionId":"subidc", - "DestinationStorageLocationId":"eastasia", - "DestinationAccountId":"/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", - "DestinationType":"Blob", - "IsUserEnabled":"False", - "LastUserUpdate":"2017-06-05T06:34:26.957Z", - "NotificationQueueEnabled":"False", - "ExportStatus":"Preparing", - "LastSuccessTime":"9999-12-31T23:59:59.999Z", - "LastGapTime":"9999-12-31T23:59:59.999Z", - "PermanentErrorReason":"None", - "StorageName":"mystorageblob", - "ContainerName":"mystorageblob" - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "exportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=", + "ExportProperties": { + "RecordTypes": "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", + "DestinationType": "Blob", + "DestinationAddress": "https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token", + "IsEnabled": "true", + "NotificationQueueEnabled": "false", + "NotificationQueueUri": "", + "DestinationStorageSubscriptionId": "subid", + "DestinationStorageLocationId": "eastus", + "DestinationAccountId": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob" } + }, + "responses": { + "200": { + "body": { + "ExportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=", + "InstrumentationKey": "8330b4a4-0b8e-40cf-a643-bbaf60d375c9", + "RecordTypes": "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", + "ApplicationName": "my-component", + "SubscriptionId": "subid", + "ResourceGroup": "2", + "DestinationStorageSubscriptionId": "subidc", + "DestinationStorageLocationId": "eastasia", + "DestinationAccountId": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", + "DestinationType": "Blob", + "IsUserEnabled": "False", + "LastUserUpdate": "2017-06-05T06:34:26.957Z", + "NotificationQueueEnabled": "False", + "ExportStatus": "Preparing", + "LastSuccessTime": "9999-12-31T23:59:59.999Z", + "LastGapTime": "9999-12-31T23:59:59.999Z", + "PermanentErrorReason": "None", + "StorageName": "mystorageblob", + "ContainerName": "mystorageblob" + } + } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsList.json index 9f403fbedc6e..58ef5216b176 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsList.json @@ -1,37 +1,35 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": - [ - { - "ExportId":"uGOoki0jQsyEs3IdQ83Q4QsNr4=", - "InstrumentationKey":"8330b4a4-0b8e-40cf-a643-bbaf60d375c9", - "RecordTypes":"Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", - "ApplicationName":"my-component", - "SubscriptionId":"subid", - "ResourceGroup":"2", - "DestinationStorageSubscriptionId":"subidc", - "DestinationStorageLocationId":"eastasia", - "DestinationAccountId":"/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", - "DestinationType":"Blob", - "IsUserEnabled":"False", - "LastUserUpdate":"2017-06-05T06:34:26.957Z", - "NotificationQueueEnabled":"False", - "ExportStatus":"Preparing", - "LastSuccessTime":"9999-12-31T23:59:59.999Z", - "LastGapTime":"9999-12-31T23:59:59.999Z", - "PermanentErrorReason":"None", - "StorageName":"mystorageblob", - "ContainerName":"mystorageblob" - } - ] + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": [ + { + "ExportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=", + "InstrumentationKey": "8330b4a4-0b8e-40cf-a643-bbaf60d375c9", + "RecordTypes": "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", + "ApplicationName": "my-component", + "SubscriptionId": "subid", + "ResourceGroup": "2", + "DestinationStorageSubscriptionId": "subidc", + "DestinationStorageLocationId": "eastasia", + "DestinationAccountId": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", + "DestinationType": "Blob", + "IsUserEnabled": "False", + "LastUserUpdate": "2017-06-05T06:34:26.957Z", + "NotificationQueueEnabled": "False", + "ExportStatus": "Preparing", + "LastSuccessTime": "9999-12-31T23:59:59.999Z", + "LastGapTime": "9999-12-31T23:59:59.999Z", + "PermanentErrorReason": "None", + "StorageName": "mystorageblob", + "ContainerName": "mystorageblob" } + ] } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsPost.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsPost.json index 9e654fbed544..a915f5ac07c8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsPost.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsPost.json @@ -1,48 +1,46 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "ExportProperties": { - "RecordTypes":"Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", - "DestinationType":"Blob", - "DestinationAddress":"https://mystorageblob.blob.core.windows.net/testexport?sv=2015-04-05&sr=c&sig=token", - "IsEnabled":"true", - "NotificationQueueEnabled":"false", - "NotificationQueueUri":"", - "DestinationStorageSubscriptionId":"subid", - "DestinationStorageLocationId":"eastus", - "DestinationAccountId":"/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob" - } - }, - "responses": { - "200": { - "body": - [ - { - "ExportId":"uGOoki0jQsyEs3IdQ83Q4QsNr4=", - "InstrumentationKey":"8330b4a4-0b8e-40cf-a643-bbaf60d375c9", - "RecordTypes":"Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", - "ApplicationName":"my-component", - "SubscriptionId":"subid", - "ResourceGroup":"2", - "DestinationStorageSubscriptionId":"subidc", - "DestinationStorageLocationId":"eastasia", - "DestinationAccountId":"/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", - "DestinationType":"Blob", - "IsUserEnabled":"False", - "LastUserUpdate":"2017-06-05T06:34:26.957Z", - "NotificationQueueEnabled":"False", - "ExportStatus":"Preparing", - "LastSuccessTime":"9999-12-31T23:59:59.999Z", - "LastGapTime":"9999-12-31T23:59:59.999Z", - "PermanentErrorReason":"None", - "StorageName":"mystorageblob", - "ContainerName":"mystorageblob" - } - ] + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "ExportProperties": { + "RecordTypes": "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", + "DestinationType": "Blob", + "DestinationAddress": "https://mystorageblob.blob.core.windows.net/testexport?sv=2015-04-05&sr=c&sig=token", + "IsEnabled": "true", + "NotificationQueueEnabled": "false", + "NotificationQueueUri": "", + "DestinationStorageSubscriptionId": "subid", + "DestinationStorageLocationId": "eastus", + "DestinationAccountId": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob" + } + }, + "responses": { + "200": { + "body": [ + { + "ExportId": "uGOoki0jQsyEs3IdQ83Q4QsNr4=", + "InstrumentationKey": "8330b4a4-0b8e-40cf-a643-bbaf60d375c9", + "RecordTypes": "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability", + "ApplicationName": "my-component", + "SubscriptionId": "subid", + "ResourceGroup": "2", + "DestinationStorageSubscriptionId": "subidc", + "DestinationStorageLocationId": "eastasia", + "DestinationAccountId": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageblob", + "DestinationType": "Blob", + "IsUserEnabled": "False", + "LastUserUpdate": "2017-06-05T06:34:26.957Z", + "NotificationQueueEnabled": "False", + "ExportStatus": "Preparing", + "LastSuccessTime": "9999-12-31T23:59:59.999Z", + "LastGapTime": "9999-12-31T23:59:59.999Z", + "PermanentErrorReason": "None", + "StorageName": "mystorageblob", + "ContainerName": "mystorageblob" } + ] } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteAdd.json index 90717666c01c..cc3232385ead 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteAdd.json @@ -1,43 +1,43 @@ { - "parameters": { - "api-version": "2015-05-01", - "resourceGroupName": "my-resource-group", - "resourceName": "my-ai-component", - "subscriptionId": "subid", - "favoriteId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "favoriteProperties": { - "Name": "Blah Blah Blah", - "Config": "{\"MEDataModelRawJSON\":\"{\\n \\\"version\\\": \\\"1.4.1\\\",\\n \\\"isCustomDataModel\\\": true,\\n \\\"items\\\": [\\n {\\n \\\"id\\\": \\\"90a7134d-9a38-4c25-88d3-a495209873eb\\\",\\n \\\"chartType\\\": \\\"Area\\\",\\n \\\"chartHeight\\\": 4,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"preview/requests/count\\\",\\n \\\"metricAggregation\\\": \\\"Sum\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": false,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"aggregation\\\": \\\"Sum\\\",\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"fail\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n },\\n {\\n \\\"id\\\": \\\"0c289098-88e8-4010-b212-546815cddf70\\\",\\n \\\"chartType\\\": \\\"Area\\\",\\n \\\"chartHeight\\\": 2,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"preview/requests/duration\\\",\\n \\\"metricAggregation\\\": \\\"Avg\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-j1\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": false,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"aggregation\\\": \\\"Avg\\\",\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"greenHues\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n },\\n {\\n \\\"id\\\": \\\"cbdaab6f-a808-4f71-aca5-b3976cbb7345\\\",\\n \\\"chartType\\\": \\\"Bar\\\",\\n \\\"chartHeight\\\": 4,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"preview/requests/duration\\\",\\n \\\"metricAggregation\\\": \\\"Avg\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": false,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"aggregation\\\": \\\"Avg\\\",\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"magentaHues\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n },\\n {\\n \\\"id\\\": \\\"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\\\",\\n \\\"grouping\\\": {\\n \\\"kind\\\": \\\"ByDimension\\\",\\n \\\"dimension\\\": \\\"context.application.version\\\"\\n },\\n \\\"chartType\\\": \\\"Grid\\\",\\n \\\"chartHeight\\\": 1,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"basicException.count\\\",\\n \\\"metricAggregation\\\": \\\"Sum\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-g0\\\"\\n },\\n {\\n \\\"id\\\": \\\"requestFailed.count\\\",\\n \\\"metricAggregation\\\": \\\"Sum\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-f0s2\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": true,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"blueHues\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n }\\n ],\\n \\\"currentFilter\\\": {\\n \\\"eventTypes\\\": [\\n 1,\\n 2\\n ],\\n \\\"typeFacets\\\": {},\\n \\\"isPermissive\\\": false\\n },\\n \\\"timeContext\\\": {\\n \\\"durationMs\\\": 75600000,\\n \\\"endTime\\\": \\\"2018-01-31T20:30:00.000Z\\\",\\n \\\"createdTime\\\": \\\"2018-01-31T23:54:26.280Z\\\",\\n \\\"isInitialTime\\\": false,\\n \\\"grain\\\": 1,\\n \\\"useDashboardTimeRange\\\": false\\n },\\n \\\"jsonUri\\\": \\\"Favorite_BlankChart\\\",\\n \\\"timeSource\\\": 0\\n}\"}", - "Version": "ME", - "FavoriteId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "FavoriteType": "shared", - "SourceType": null, - "TimeModified": null, - "Tags": [ - "TagSample01", - "TagSample02" - ], - "Category": null, - "IsGeneratedFromTemplate": false - } - }, - "responses": { - "200": { - "body": { - "Name": "Blah Blah Blah", - "Config": "{\"MEDataModelRawJSON\":{\n \"version\": \"1.4.1\",\n \"isCustomDataModel\": true,\n \"items\": [\n {\n \"id\": \"90a7134d-9a38-4c25-88d3-a495209873eb\",\n \"chartType\": \"Area\",\n \"chartHeight\": 4,\n \"metrics\": [\n {\n \"id\": \"preview/requests/count\",\n \"metricAggregation\": \"Sum\",\n \"color\": \"msportalfx-bgcolor-d0\"\n }\n],\n \"priorPeriod\": false,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"aggregation\": \"Sum\",\n \"percentage\": false,\n \"palette\": \"fail\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n },\n {\n \"id\": \"0c289098-88e8-4010-b212-546815cddf70\",\n \"chartType\": \"Area\",\n \"chartHeight\": 2,\n \"metrics\": [\n {\n \"id\": \"preview/requests/duration\",\n \"metricAggregation\": \"Avg\",\n \"color\": \"msportalfx-bgcolor-j1\"\n }\n ],\n \"priorPeriod\": false,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"aggregation\": \"Avg\",\n \"percentage\": false,\n \"palette\": \"greenHues\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n },\n {\n \"id\": \"cbdaab6f-a808-4f71-aca5-b3976cbb7345\",\n \"chartType\": \"Bar\",\n \"chartHeight\": 4,\n \"metrics\": [\n {\n \"id\": \"preview/requests/duration\",\n \"metricAggregation\": \"Avg\",\n \"color\": \"msportalfx-bgcolor-d0\"\n }\n ],\n \"priorPeriod\": false,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"aggregation\": \"Avg\",\n \"percentage\": false,\n \"palette\": \"magentaHues\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n },\n {\n \"id\": \"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\",\n \"grouping\": {\n \"kind\": \"ByDimension\",\n \"dimension\": \"context.application.version\"\n },\n \"chartType\": \"Grid\",\n \"chartHeight\": 1,\n \"metrics\": [\n {\n \"id\": \"basicException.count\",\n \"metricAggregation\": \"Sum\",\n \"color\": \"msportalfx-bgcolor-g0\"\n },\n {\n \"id\": \"requestFailed.count\",\n \"metricAggregation\": \"Sum\",\n \"color\": \"msportalfx-bgcolor-f0s2\"\n }\n ],\n \"priorPeriod\": true,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"percentage\": false,\n \"palette\": \"blueHues\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n }\n ],\n \"currentFilter\": {\n \"eventTypes\": [\n 1,\n 2\n ],\n \"typeFacets\": {},\n \"isPermissive\": false\n },\n \"timeContext\": {\n \"durationMs\": 75600000,\n \"endTime\": \"2018-01-31T20:30:00.000Z\",\n \"createdTime\": \"2018-01-31T23:54:26.280Z\",\n \"isInitialTime\": false,\n \"grain\": 1,\n \"useDashboardTimeRange\": false\n },\n \"jsonUri\": \"Favorite_BlankChart\",\n \"timeSource\": 0\n}\"}", - "Version": "ME", - "FavoriteId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "FavoriteType": "shared", - "SourceType": "", - "TimeModified": "2018-02-02T23:18:32.1850959Z", - "Tags": [ - "TagSample01", - "TagSample02" - ], - "Category": "", - "IsGeneratedFromTemplate": false - } - } + "parameters": { + "api-version": "2015-05-01", + "resourceGroupName": "my-resource-group", + "resourceName": "my-ai-component", + "subscriptionId": "subid", + "favoriteId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "favoriteProperties": { + "Name": "Blah Blah Blah", + "Config": "{\"MEDataModelRawJSON\":\"{\\n \\\"version\\\": \\\"1.4.1\\\",\\n \\\"isCustomDataModel\\\": true,\\n \\\"items\\\": [\\n {\\n \\\"id\\\": \\\"90a7134d-9a38-4c25-88d3-a495209873eb\\\",\\n \\\"chartType\\\": \\\"Area\\\",\\n \\\"chartHeight\\\": 4,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"preview/requests/count\\\",\\n \\\"metricAggregation\\\": \\\"Sum\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": false,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"aggregation\\\": \\\"Sum\\\",\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"fail\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n },\\n {\\n \\\"id\\\": \\\"0c289098-88e8-4010-b212-546815cddf70\\\",\\n \\\"chartType\\\": \\\"Area\\\",\\n \\\"chartHeight\\\": 2,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"preview/requests/duration\\\",\\n \\\"metricAggregation\\\": \\\"Avg\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-j1\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": false,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"aggregation\\\": \\\"Avg\\\",\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"greenHues\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n },\\n {\\n \\\"id\\\": \\\"cbdaab6f-a808-4f71-aca5-b3976cbb7345\\\",\\n \\\"chartType\\\": \\\"Bar\\\",\\n \\\"chartHeight\\\": 4,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"preview/requests/duration\\\",\\n \\\"metricAggregation\\\": \\\"Avg\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": false,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"aggregation\\\": \\\"Avg\\\",\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"magentaHues\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n },\\n {\\n \\\"id\\\": \\\"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\\\",\\n \\\"grouping\\\": {\\n \\\"kind\\\": \\\"ByDimension\\\",\\n \\\"dimension\\\": \\\"context.application.version\\\"\\n },\\n \\\"chartType\\\": \\\"Grid\\\",\\n \\\"chartHeight\\\": 1,\\n \\\"metrics\\\": [\\n {\\n \\\"id\\\": \\\"basicException.count\\\",\\n \\\"metricAggregation\\\": \\\"Sum\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-g0\\\"\\n },\\n {\\n \\\"id\\\": \\\"requestFailed.count\\\",\\n \\\"metricAggregation\\\": \\\"Sum\\\",\\n \\\"color\\\": \\\"msportalfx-bgcolor-f0s2\\\"\\n }\\n ],\\n \\\"priorPeriod\\\": true,\\n \\\"clickAction\\\": {\\n \\\"defaultBlade\\\": \\\"SearchBlade\\\"\\n },\\n \\\"horizontalBars\\\": true,\\n \\\"showOther\\\": true,\\n \\\"percentage\\\": false,\\n \\\"palette\\\": \\\"blueHues\\\",\\n \\\"yAxisOption\\\": 0,\\n \\\"title\\\": \\\"\\\"\\n }\\n ],\\n \\\"currentFilter\\\": {\\n \\\"eventTypes\\\": [\\n 1,\\n 2\\n ],\\n \\\"typeFacets\\\": {},\\n \\\"isPermissive\\\": false\\n },\\n \\\"timeContext\\\": {\\n \\\"durationMs\\\": 75600000,\\n \\\"endTime\\\": \\\"2018-01-31T20:30:00.000Z\\\",\\n \\\"createdTime\\\": \\\"2018-01-31T23:54:26.280Z\\\",\\n \\\"isInitialTime\\\": false,\\n \\\"grain\\\": 1,\\n \\\"useDashboardTimeRange\\\": false\\n },\\n \\\"jsonUri\\\": \\\"Favorite_BlankChart\\\",\\n \\\"timeSource\\\": 0\\n}\"}", + "Version": "ME", + "FavoriteId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "FavoriteType": "shared", + "SourceType": null, + "TimeModified": null, + "Tags": [ + "TagSample01", + "TagSample02" + ], + "Category": null, + "IsGeneratedFromTemplate": false } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "Name": "Blah Blah Blah", + "Config": "{\"MEDataModelRawJSON\":{\n \"version\": \"1.4.1\",\n \"isCustomDataModel\": true,\n \"items\": [\n {\n \"id\": \"90a7134d-9a38-4c25-88d3-a495209873eb\",\n \"chartType\": \"Area\",\n \"chartHeight\": 4,\n \"metrics\": [\n {\n \"id\": \"preview/requests/count\",\n \"metricAggregation\": \"Sum\",\n \"color\": \"msportalfx-bgcolor-d0\"\n }\n],\n \"priorPeriod\": false,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"aggregation\": \"Sum\",\n \"percentage\": false,\n \"palette\": \"fail\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n },\n {\n \"id\": \"0c289098-88e8-4010-b212-546815cddf70\",\n \"chartType\": \"Area\",\n \"chartHeight\": 2,\n \"metrics\": [\n {\n \"id\": \"preview/requests/duration\",\n \"metricAggregation\": \"Avg\",\n \"color\": \"msportalfx-bgcolor-j1\"\n }\n ],\n \"priorPeriod\": false,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"aggregation\": \"Avg\",\n \"percentage\": false,\n \"palette\": \"greenHues\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n },\n {\n \"id\": \"cbdaab6f-a808-4f71-aca5-b3976cbb7345\",\n \"chartType\": \"Bar\",\n \"chartHeight\": 4,\n \"metrics\": [\n {\n \"id\": \"preview/requests/duration\",\n \"metricAggregation\": \"Avg\",\n \"color\": \"msportalfx-bgcolor-d0\"\n }\n ],\n \"priorPeriod\": false,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"aggregation\": \"Avg\",\n \"percentage\": false,\n \"palette\": \"magentaHues\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n },\n {\n \"id\": \"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\",\n \"grouping\": {\n \"kind\": \"ByDimension\",\n \"dimension\": \"context.application.version\"\n },\n \"chartType\": \"Grid\",\n \"chartHeight\": 1,\n \"metrics\": [\n {\n \"id\": \"basicException.count\",\n \"metricAggregation\": \"Sum\",\n \"color\": \"msportalfx-bgcolor-g0\"\n },\n {\n \"id\": \"requestFailed.count\",\n \"metricAggregation\": \"Sum\",\n \"color\": \"msportalfx-bgcolor-f0s2\"\n }\n ],\n \"priorPeriod\": true,\n \"clickAction\": {\n \"defaultBlade\": \"SearchBlade\"\n },\n \"horizontalBars\": true,\n \"showOther\": true,\n \"percentage\": false,\n \"palette\": \"blueHues\",\n \"yAxisOption\": 0,\n \"title\": \"\"\n }\n ],\n \"currentFilter\": {\n \"eventTypes\": [\n 1,\n 2\n ],\n \"typeFacets\": {},\n \"isPermissive\": false\n },\n \"timeContext\": {\n \"durationMs\": 75600000,\n \"endTime\": \"2018-01-31T20:30:00.000Z\",\n \"createdTime\": \"2018-01-31T23:54:26.280Z\",\n \"isInitialTime\": false,\n \"grain\": 1,\n \"useDashboardTimeRange\": false\n },\n \"jsonUri\": \"Favorite_BlankChart\",\n \"timeSource\": 0\n}\"}", + "Version": "ME", + "FavoriteId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "FavoriteType": "shared", + "SourceType": "", + "TimeModified": "2018-02-02T23:18:32.1850959Z", + "Tags": [ + "TagSample01", + "TagSample02" + ], + "Category": "", + "IsGeneratedFromTemplate": false + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteDelete.json index 29eb05b19ade..8df29a5ba724 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteDelete.json @@ -1,13 +1,12 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-ai-component", - "favoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-ai-component", + "favoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "200": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteGet.json index 06c083a7be12..6766f23b0174 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteGet.json @@ -1,25 +1,28 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-ai-component", - "favoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "200": { - "body": { - "Name": "Example Search Blade Favorite", - "Config": "{\"TimeSelection\":{\"durationMs\":1800000,\"endTime\":\"2018-01-31T23:56:15.493Z\",\"createdTime\":\"Wed Jan 31 2018 15:58:36 GMT-0800 (Pacific Standard Time)\",\"isInitialTime\":false,\"grain\":1,\"useDashboardTimeRange\":false},\"SearchFilter\":{\"eventTypes\":[1,2],\"typeFacets\":{},\"isPermissive\":false},\"QueryText\":\"*\",\"partId\":\"99e33a16-1b00-4a7d-b98f-a3c1bb3a4df8\"}", - "Version": "Search", - "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "FavoriteType": "shared", - "SourceType": null, - "TimeModified": "2018-01-31T23:59:25.4594264Z", - "Tags": ["SampleTag1", "SampleTag2"], - "Category": null, - "IsGeneratedFromTemplate" : false - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-ai-component", + "favoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "200": { + "body": { + "Name": "Example Search Blade Favorite", + "Config": "{\"TimeSelection\":{\"durationMs\":1800000,\"endTime\":\"2018-01-31T23:56:15.493Z\",\"createdTime\":\"Wed Jan 31 2018 15:58:36 GMT-0800 (Pacific Standard Time)\",\"isInitialTime\":false,\"grain\":1,\"useDashboardTimeRange\":false},\"SearchFilter\":{\"eventTypes\":[1,2],\"typeFacets\":{},\"isPermissive\":false},\"QueryText\":\"*\",\"partId\":\"99e33a16-1b00-4a7d-b98f-a3c1bb3a4df8\"}", + "Version": "Search", + "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "FavoriteType": "shared", + "SourceType": null, + "TimeModified": "2018-01-31T23:59:25.4594264Z", + "Tags": [ + "SampleTag1", + "SampleTag2" + ], + "Category": null, + "IsGeneratedFromTemplate": false + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteUpdate.json index 347c6604c871..1af12d664042 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteUpdate.json @@ -1,45 +1,45 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-ai-component", - "favoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "favoriteProperties": { - "Name": "Derek Changed This", - "Config": "{\"MEDataModelRawJSON\":\"{\\\"version\\\": \\\"1.4.1\\\",\\\"isCustomDataModel\\\": true,\\\"items\\\": [{\\\"id\\\": \\\"90a7134d-9a38-4c25-88d3-a495209873eb\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Sum\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"fail\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"0c289098-88e8-4010-b212-546815cddf70\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 2,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-j1\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"greenHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"cbdaab6f-a808-4f71-aca5-b3976cbb7345\\\",\\\"chartType\\\": \\\"Bar\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"magentaHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\\\",\\\"grouping\\\": {\\\"kind\\\": \\\"ByDimension\\\",\\\"dimension\\\": \\\"context.application.version\\\"},\\\"chartType\\\": \\\"Grid\\\",\\\"chartHeight\\\": 1,\\\"metrics\\\": [{\\\"id\\\": \\\"basicException.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-g0\\\"},{\\\"id\\\": \\\"requestFailed.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-f0s2\\\"}],\\\"priorPeriod\\\": true,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"percentage\\\": false,\\\"palette\\\": \\\"blueHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"}],\\\"currentFilter\\\": {\\\"eventTypes\\\": [1,2],\\\"typeFacets\\\": {},\\\"isPermissive\\\": false},\\\"timeContext\\\": {\\\"durationMs\\\": 75600000,\\\"endTime\\\": \\\"2018-01-31T20:30:00.000Z\\\",\\\"createdTime\\\": \\\"2018-01-31T23:54:26.280Z\\\",\\\"isInitialTime\\\": false,\\\"grain\\\": 1,\\\"useDashboardTimeRange\\\": false},\\\"jsonUri\\\": \\\"Favorite_BlankChart\\\",\\\"timeSource\\\": 0}\"}", - "Version": "ME", - "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "FavoriteType": "shared", - "SourceType": null, - "TimeModified": "2018-02-02T18:39:11.6569686Z", - "Tags": [ - "TagSample01", - "TagSample02", - "TagSample03" - ], - "Category": null, - "IsGeneratedFromTemplate": false - } - }, - "responses": { - "200": { - "body": { - "Name": "Derek Changed This", - "Config": "{\"MEDataModelRawJSON\":\"{\\\"version\\\": \\\"1.4.1\\\",\\\"isCustomDataModel\\\": true,\\\"items\\\": [{\\\"id\\\": \\\"90a7134d-9a38-4c25-88d3-a495209873eb\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Sum\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"fail\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"0c289098-88e8-4010-b212-546815cddf70\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 2,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-j1\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"greenHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"cbdaab6f-a808-4f71-aca5-b3976cbb7345\\\",\\\"chartType\\\": \\\"Bar\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"magentaHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\\\",\\\"grouping\\\": {\\\"kind\\\": \\\"ByDimension\\\",\\\"dimension\\\": \\\"context.application.version\\\"},\\\"chartType\\\": \\\"Grid\\\",\\\"chartHeight\\\": 1,\\\"metrics\\\": [{\\\"id\\\": \\\"basicException.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-g0\\\"},{\\\"id\\\": \\\"requestFailed.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-f0s2\\\"}],\\\"priorPeriod\\\": true,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"percentage\\\": false,\\\"palette\\\": \\\"blueHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"}],\\\"currentFilter\\\": {\\\"eventTypes\\\": [1,2],\\\"typeFacets\\\": {},\\\"isPermissive\\\": false},\\\"timeContext\\\": {\\\"durationMs\\\": 75600000,\\\"endTime\\\": \\\"2018-01-31T20:30:00.000Z\\\",\\\"createdTime\\\": \\\"2018-01-31T23:54:26.280Z\\\",\\\"isInitialTime\\\": false,\\\"grain\\\": 1,\\\"useDashboardTimeRange\\\": false},\\\"jsonUri\\\": \\\"Favorite_BlankChart\\\",\\\"timeSource\\\": 0}\"}", - "Version": "ME", - "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "FavoriteType": "shared", - "SourceType": null, - "TimeModified": "2018-02-02T18:39:11.6569686Z", - "Tags": [ - "TagSample01", - "TagSample02", - "TagSample03" - ], - "Category": null, - "IsGeneratedFromTemplate": false - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-ai-component", + "favoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "favoriteProperties": { + "Name": "Derek Changed This", + "Config": "{\"MEDataModelRawJSON\":\"{\\\"version\\\": \\\"1.4.1\\\",\\\"isCustomDataModel\\\": true,\\\"items\\\": [{\\\"id\\\": \\\"90a7134d-9a38-4c25-88d3-a495209873eb\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Sum\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"fail\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"0c289098-88e8-4010-b212-546815cddf70\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 2,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-j1\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"greenHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"cbdaab6f-a808-4f71-aca5-b3976cbb7345\\\",\\\"chartType\\\": \\\"Bar\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"magentaHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\\\",\\\"grouping\\\": {\\\"kind\\\": \\\"ByDimension\\\",\\\"dimension\\\": \\\"context.application.version\\\"},\\\"chartType\\\": \\\"Grid\\\",\\\"chartHeight\\\": 1,\\\"metrics\\\": [{\\\"id\\\": \\\"basicException.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-g0\\\"},{\\\"id\\\": \\\"requestFailed.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-f0s2\\\"}],\\\"priorPeriod\\\": true,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"percentage\\\": false,\\\"palette\\\": \\\"blueHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"}],\\\"currentFilter\\\": {\\\"eventTypes\\\": [1,2],\\\"typeFacets\\\": {},\\\"isPermissive\\\": false},\\\"timeContext\\\": {\\\"durationMs\\\": 75600000,\\\"endTime\\\": \\\"2018-01-31T20:30:00.000Z\\\",\\\"createdTime\\\": \\\"2018-01-31T23:54:26.280Z\\\",\\\"isInitialTime\\\": false,\\\"grain\\\": 1,\\\"useDashboardTimeRange\\\": false},\\\"jsonUri\\\": \\\"Favorite_BlankChart\\\",\\\"timeSource\\\": 0}\"}", + "Version": "ME", + "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "FavoriteType": "shared", + "SourceType": null, + "TimeModified": "2018-02-02T18:39:11.6569686Z", + "Tags": [ + "TagSample01", + "TagSample02", + "TagSample03" + ], + "Category": null, + "IsGeneratedFromTemplate": false } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "Name": "Derek Changed This", + "Config": "{\"MEDataModelRawJSON\":\"{\\\"version\\\": \\\"1.4.1\\\",\\\"isCustomDataModel\\\": true,\\\"items\\\": [{\\\"id\\\": \\\"90a7134d-9a38-4c25-88d3-a495209873eb\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Sum\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"fail\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"0c289098-88e8-4010-b212-546815cddf70\\\",\\\"chartType\\\": \\\"Area\\\",\\\"chartHeight\\\": 2,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-j1\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"greenHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"cbdaab6f-a808-4f71-aca5-b3976cbb7345\\\",\\\"chartType\\\": \\\"Bar\\\",\\\"chartHeight\\\": 4,\\\"metrics\\\": [{\\\"id\\\": \\\"preview/requests/duration\\\",\\\"metricAggregation\\\": \\\"Avg\\\",\\\"color\\\": \\\"msportalfx-bgcolor-d0\\\"}],\\\"priorPeriod\\\": false,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"aggregation\\\": \\\"Avg\\\",\\\"percentage\\\": false,\\\"palette\\\": \\\"magentaHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"},{\\\"id\\\": \\\"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\\\",\\\"grouping\\\": {\\\"kind\\\": \\\"ByDimension\\\",\\\"dimension\\\": \\\"context.application.version\\\"},\\\"chartType\\\": \\\"Grid\\\",\\\"chartHeight\\\": 1,\\\"metrics\\\": [{\\\"id\\\": \\\"basicException.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-g0\\\"},{\\\"id\\\": \\\"requestFailed.count\\\",\\\"metricAggregation\\\": \\\"Sum\\\",\\\"color\\\": \\\"msportalfx-bgcolor-f0s2\\\"}],\\\"priorPeriod\\\": true,\\\"clickAction\\\": {\\\"defaultBlade\\\": \\\"SearchBlade\\\"},\\\"horizontalBars\\\": true,\\\"showOther\\\": true,\\\"percentage\\\": false,\\\"palette\\\": \\\"blueHues\\\",\\\"yAxisOption\\\": 0,\\\"title\\\": \\\"\\\"}],\\\"currentFilter\\\": {\\\"eventTypes\\\": [1,2],\\\"typeFacets\\\": {},\\\"isPermissive\\\": false},\\\"timeContext\\\": {\\\"durationMs\\\": 75600000,\\\"endTime\\\": \\\"2018-01-31T20:30:00.000Z\\\",\\\"createdTime\\\": \\\"2018-01-31T23:54:26.280Z\\\",\\\"isInitialTime\\\": false,\\\"grain\\\": 1,\\\"useDashboardTimeRange\\\": false},\\\"jsonUri\\\": \\\"Favorite_BlankChart\\\",\\\"timeSource\\\": 0}\"}", + "Version": "ME", + "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "FavoriteType": "shared", + "SourceType": null, + "TimeModified": "2018-02-02T18:39:11.6569686Z", + "Tags": [ + "TagSample01", + "TagSample02", + "TagSample03" + ], + "Category": null, + "IsGeneratedFromTemplate": false + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoritesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoritesList.json index 0babea366276..8631db11c6d5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoritesList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoritesList.json @@ -1,38 +1,41 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-ai-component" - }, - "responses": { - "200": { - "body": [ - { - "Name": "Example Metric Chart Favorite", - "Config": "blah blah", - "Version": "ME", - "FavoriteId": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "FavoriteType": "shared", - "SourceType": null, - "TimeModified": "2018-01-31T23:56:16.008902Z", - "Tags": [], - "Category": null, - "IsGeneratedFromTemplate": false - }, - { - "Name": "Example Search Blade Favorite", - "Config": "{\"TimeSelection\":{\"durationMs\":1800000,\"endTime\":\"2018-01-31T23:56:15.493Z\",\"createdTime\":\"Wed Jan 31 2018 15:58:36 GMT-0800 (Pacific Standard Time)\",\"isInitialTime\":false,\"grain\":1,\"useDashboardTimeRange\":false},\"SearchFilter\":{\"eventTypes\":[1,2],\"typeFacets\":{},\"isPermissive\":false},\"QueryText\":\"*\",\"partId\":\"99e33a16-1b00-4a7d-b98f-a3c1bb3a4df8\"}", - "Version": "Search", - "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "FavoriteType": "shared", - "SourceType": null, - "TimeModified": "2018-01-31T23:59:25.4594264Z", - "Tags": ["SampleTag01", "SampleTag2"], - "Category": null, - "IsGeneratedFromTemplate" : false - } - ] + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-ai-component" + }, + "responses": { + "200": { + "body": [ + { + "Name": "Example Metric Chart Favorite", + "Config": "blah blah", + "Version": "ME", + "FavoriteId": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "FavoriteType": "shared", + "SourceType": null, + "TimeModified": "2018-01-31T23:56:16.008902Z", + "Tags": [], + "Category": null, + "IsGeneratedFromTemplate": false + }, + { + "Name": "Example Search Blade Favorite", + "Config": "{\"TimeSelection\":{\"durationMs\":1800000,\"endTime\":\"2018-01-31T23:56:15.493Z\",\"createdTime\":\"Wed Jan 31 2018 15:58:36 GMT-0800 (Pacific Standard Time)\",\"isInitialTime\":false,\"grain\":1,\"useDashboardTimeRange\":false},\"SearchFilter\":{\"eventTypes\":[1,2],\"typeFacets\":{},\"isPermissive\":false},\"QueryText\":\"*\",\"partId\":\"99e33a16-1b00-4a7d-b98f-a3c1bb3a4df8\"}", + "Version": "Search", + "FavoriteId": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "FavoriteType": "shared", + "SourceType": null, + "TimeModified": "2018-01-31T23:59:25.4594264Z", + "Tags": [ + "SampleTag01", + "SampleTag2" + ], + "Category": null, + "IsGeneratedFromTemplate": false } + ] } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FeatureCapabilitiesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FeatureCapabilitiesGet.json index ad3403ff5357..8ecba8336f2a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FeatureCapabilitiesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FeatureCapabilitiesGet.json @@ -1,30 +1,30 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": { - "SupportExportData": true, - "BurstThrottlePolicy": "B2", - "MetadataClass": null, - "LiveStreamMetrics": true, - "ApplicationMap": true, - "WorkItemIntegration": true, - "PowerBIIntegration": true, - "OpenSchema": true, - "ProactiveDetection": false, - "AnalyticsIntegration": true, - "MultipleStepWebTest": true, - "ApiAccessLevel": "Premium", - "TrackingType": "Basic", - "DailyCap": 0.0323, - "DailyCapResetTime": 4, - "ThrottleRate": 0.0 - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": { + "SupportExportData": true, + "BurstThrottlePolicy": "B2", + "MetadataClass": null, + "LiveStreamMetrics": true, + "ApplicationMap": true, + "WorkItemIntegration": true, + "PowerBIIntegration": true, + "OpenSchema": true, + "ProactiveDetection": false, + "AnalyticsIntegration": true, + "MultipleStepWebTest": true, + "ApiAccessLevel": "Premium", + "TrackingType": "Basic", + "DailyCap": 0.0323, + "DailyCapResetTime": 4, + "ThrottleRate": 0.0 + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationGet.json index deb9c8c89b2b..96c336ec224d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationGet.json @@ -1,32 +1,33 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "ConfigurationId": "slowpageloadtime" - }, - "responses": { - "200": { - "body": - { - "Name": "slowpageloadtime", - "Enabled": true, - "SendEmailsToSubscriptionOwners": true, - "CustomEmails": ["foo@microsoft.com", "foo2@microsoft.com"], - "LastUpdatedTime": null, - "RuleDefinitions": { - "Name": "slowpageloadtime", - "DisplayName": "Slow page load time", - "Description": "Smart Detection rules notify you of performance anomaly issues.", - "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", - "IsHidden": false, - "IsEnabledByDefault": true, - "IsInPreview": false, - "SupportsEmailNotifications": true - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "ConfigurationId": "slowpageloadtime" + }, + "responses": { + "200": { + "body": { + "Name": "slowpageloadtime", + "Enabled": true, + "SendEmailsToSubscriptionOwners": true, + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], + "LastUpdatedTime": null, + "RuleDefinitions": { + "Name": "slowpageloadtime", + "DisplayName": "Slow page load time", + "Description": "Smart Detection rules notify you of performance anomaly issues.", + "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", + "IsHidden": false, + "IsEnabledByDefault": true, + "IsInPreview": false, + "SupportsEmailNotifications": true } + } } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationUpdate.json index bca7e95b7ee4..2b3574974183 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationUpdate.json @@ -1,50 +1,53 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "ConfigurationId": "slowpageloadtime", - "ProactiveDetectionProperties": - { - "Name": "slowpageloadtime", - "Enabled": true, - "SendEmailsToSubscriptionOwners": true, - "CustomEmails": ["foo@microsoft.com", "foo2@microsoft.com"], - "LastUpdatedTime": null, - "RuleDefinitions": { - "Name": "slowpageloadtime", - "DisplayName": "Slow page load time", - "Description": "Smart Detection rules notify you of performance anomaly issues.", - "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", - "IsHidden": false, - "IsEnabledByDefault": true, - "IsInPreview": false, - "SupportsEmailNotifications": true - } - } - }, - "responses": { - "200": { - "body": - { - "Name": "slowpageloadtime", - "Enabled": true, - "SendEmailsToSubscriptionOwners": true, - "CustomEmails": ["foo@microsoft.com", "foo2@microsoft.com"], - "LastUpdatedTime": null, - "RuleDefinitions": { - "Name": "slowpageloadtime", - "DisplayName": "Slow page load time", - "Description": "Smart Detection rules notify you of performance anomaly issues.", - "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", - "IsHidden": false, - "IsEnabledByDefault": true, - "IsInPreview": false, - "SupportsEmailNotifications": true - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "ConfigurationId": "slowpageloadtime", + "ProactiveDetectionProperties": { + "Name": "slowpageloadtime", + "Enabled": true, + "SendEmailsToSubscriptionOwners": true, + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], + "LastUpdatedTime": null, + "RuleDefinitions": { + "Name": "slowpageloadtime", + "DisplayName": "Slow page load time", + "Description": "Smart Detection rules notify you of performance anomaly issues.", + "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", + "IsHidden": false, + "IsEnabledByDefault": true, + "IsInPreview": false, + "SupportsEmailNotifications": true + } + } + }, + "responses": { + "200": { + "body": { + "Name": "slowpageloadtime", + "Enabled": true, + "SendEmailsToSubscriptionOwners": true, + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], + "LastUpdatedTime": null, + "RuleDefinitions": { + "Name": "slowpageloadtime", + "DisplayName": "Slow page load time", + "Description": "Smart Detection rules notify you of performance anomaly issues.", + "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", + "IsHidden": false, + "IsEnabledByDefault": true, + "IsInPreview": false, + "SupportsEmailNotifications": true } + } } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationsList.json index 38b47908fc8a..ce05ff442aa3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationsList.json @@ -1,51 +1,51 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": - [ - { - "Name": "slowpageloadtime", - "Enabled": true, - "SendEmailsToSubscriptionOwners": true, - "CustomEmails": ["foo@microsoft.com", "foo2@microsoft.com"], - "LastUpdatedTime": null, - "RuleDefinitions": { - "Name": "slowpageloadtime", - "DisplayName": "Slow page load time", - "Description": "Smart Detection rules notify you of performance anomaly issues.", - "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", - "IsHidden": false, - "IsEnabledByDefault": true, - "IsInPreview": false, - "SupportsEmailNotifications": true - } - }, - { - "Name": "slowpageloadtime", - "Enabled": true, - "SendEmailsToSubscriptionOwners": true, - "CustomEmails": [], - "LastUpdatedTime": null, - "RuleDefinitions": { - "Name": "slowserverresponsetime", - "DisplayName": "Slow server response time", - "Description": "Smart Detection rules notify you of performance anomaly issues.", - "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", - "IsHidden": false, - "IsEnabledByDefault": true, - "IsInPreview": false, - "SupportsEmailNotifications": true - } - } - ] - + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": [ + { + "Name": "slowpageloadtime", + "Enabled": true, + "SendEmailsToSubscriptionOwners": true, + "CustomEmails": [ + "foo@microsoft.com", + "foo2@microsoft.com" + ], + "LastUpdatedTime": null, + "RuleDefinitions": { + "Name": "slowpageloadtime", + "DisplayName": "Slow page load time", + "Description": "Smart Detection rules notify you of performance anomaly issues.", + "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", + "IsHidden": false, + "IsEnabledByDefault": true, + "IsInPreview": false, + "SupportsEmailNotifications": true + } + }, + { + "Name": "slowpageloadtime", + "Enabled": true, + "SendEmailsToSubscriptionOwners": true, + "CustomEmails": [], + "LastUpdatedTime": null, + "RuleDefinitions": { + "Name": "slowserverresponsetime", + "DisplayName": "Slow server response time", + "Description": "Smart Detection rules notify you of performance anomaly issues.", + "HelpUrl": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics", + "IsHidden": false, + "IsEnabledByDefault": true, + "IsInPreview": false, + "SupportsEmailNotifications": true + } } + ] } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/QuotaStatusGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/QuotaStatusGet.json index df9614547133..9edb320043b0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/QuotaStatusGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/QuotaStatusGet.json @@ -1,18 +1,17 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": { - "AppId":"887f4bfd-b5fd-40d7-9fc3-123456789abc", - "ShouldBeThrottled":true, - "ExpirationTime":"2017-08-10T05:00:00" - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": { + "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc", + "ShouldBeThrottled": true, + "ExpirationTime": "2017-08-10T05:00:00" + } } + } } - diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestCreate.json index c06f7d97d29e..0f912fba34d5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestCreate.json @@ -1,64 +1,64 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "webTestName": "my-webtest-my-component", - "WebTestDefinition": { - "location": "South Central US", - "kind": "ping", - "properties": { - "Name": "my-webtest-my-component", - "SyntheticMonitorId": "my-webtest-my-component", - "Configuration": { - "WebTest": "" - }, - "Description": "Ping web test alert for mytestwebapp", - "Enabled": true, - "Frequency": 900, - "Timeout": 120, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [ - { - "Id": "us-fl-mia-edge" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", - "name": "my-webtest-my-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" - }, - "kind": "ping", - "properties": { - "Name": "my-webtest-my-component", - "SyntheticMonitorId": "my-webtest-my-component", - "Description": "Ping web test alert for mytestwebapp", - "Enabled": true, - "Frequency": 900, - "Timeout": 120, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [ - { - "Id": "us-fl-mia-edge" - } - ], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "webTestName": "my-webtest-my-component", + "WebTestDefinition": { + "location": "South Central US", + "kind": "ping", + "properties": { + "Name": "my-webtest-my-component", + "SyntheticMonitorId": "my-webtest-my-component", + "Configuration": { + "WebTest": "" + }, + "Description": "Ping web test alert for mytestwebapp", + "Enabled": true, + "Frequency": 900, + "Timeout": 120, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [ + { + "Id": "us-fl-mia-edge" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", + "name": "my-webtest-my-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" + }, + "kind": "ping", + "properties": { + "Name": "my-webtest-my-component", + "SyntheticMonitorId": "my-webtest-my-component", + "Description": "Ping web test alert for mytestwebapp", + "Enabled": true, + "Frequency": 900, + "Timeout": 120, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [ + { + "Id": "us-fl-mia-edge" } + ], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestDelete.json index 70e0d4464d09..8d2df397907f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestDelete.json @@ -6,9 +6,7 @@ "webTestName": "my-webtest-01-mywebservice" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestGet.json index 2b471cdaf3e4..0d7e5c1722b0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestGet.json @@ -1,45 +1,45 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "webTestName": "my-webtest-01-mywebservice" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-test-resources/providers/Microsoft.Insights/webtests/my-webtest-01-mywebservice", - "name": "my-webtest-01-mywebservice", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-test-resources/providers/Microsoft.Insights/components/mytester": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-test-resources/providers/Microsoft.Web/sites/mytester": "Resource" - }, - "kind": "ping", - "properties": { - "SyntheticMonitorId": "my-webtest-01-mywebservice", - "Name": "mytest-webtest-01", - "Description": "", - "Enabled": false, - "Frequency": 900, - "Timeout": 30, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [ - { - "Id": "us-fl-mia-edge" - }, - { - "Id": "apac-hk-hkn-azr" - } - ], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "webTestName": "my-webtest-01-mywebservice" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-test-resources/providers/Microsoft.Insights/webtests/my-webtest-01-mywebservice", + "name": "my-webtest-01-mywebservice", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-test-resources/providers/Microsoft.Insights/components/mytester": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-test-resources/providers/Microsoft.Web/sites/mytester": "Resource" + }, + "kind": "ping", + "properties": { + "SyntheticMonitorId": "my-webtest-01-mywebservice", + "Name": "mytest-webtest-01", + "Description": "", + "Enabled": false, + "Frequency": 900, + "Timeout": 30, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [ + { + "Id": "us-fl-mia-edge" + }, + { + "Id": "apac-hk-hkn-azr" } + ], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json index 9ecdfad576d3..c2c5bd98b56c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json @@ -1,68 +1,68 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", - "name": "my-webtest-my-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" - }, - "kind": "ping", - "properties": { - "SyntheticMonitorId": "my-webtest-my-component", - "Name": "my-webtest", - "Description": "", - "Enabled": false, - "Frequency": 900, - "Timeout": 120, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-other-component", - "name": "my-webtest-my-other-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "Test": "You can delete this synthetic monitor anytime", - "hidden-link:/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/components/my-other-component": "Resource" - }, - "kind": "ping", - "properties": { - "SyntheticMonitorId": "my-webtest-my-other-component", - "Name": "342bccf4-722f-496d-b064-123456789abc", - "Description": "", - "Enabled": false, - "Frequency": 900, - "Timeout": 120, - "Kind": "ping", - "RetryEnabled": false, - "Locations": [], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "" + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", + "name": "my-webtest-my-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" + }, + "kind": "ping", + "properties": { + "SyntheticMonitorId": "my-webtest-my-component", + "Name": "my-webtest", + "Description": "", + "Enabled": false, + "Frequency": 900, + "Timeout": 120, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-other-component", + "name": "my-webtest-my-other-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "Test": "You can delete this synthetic monitor anytime", + "hidden-link:/subscriptions/subid/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/components/my-other-component": "Resource" + }, + "kind": "ping", + "properties": { + "SyntheticMonitorId": "my-webtest-my-other-component", + "Name": "342bccf4-722f-496d-b064-123456789abc", + "Description": "", + "Enabled": false, + "Frequency": 900, + "Timeout": 120, + "Kind": "ping", + "RetryEnabled": false, + "Locations": [], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json index 6ae800e333df..e4e158374032 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json @@ -1,47 +1,47 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "componentName": "my-component" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", - "name": "my-webtest-my-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" - }, - "kind": "ping", - "properties": { - "SyntheticMonitorId": "my-webtest-my-component", - "Name": "my-webtest", - "Description": "", - "Enabled": false, - "Frequency": 900, - "Timeout": 120, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [ - { - "Id": "apac-hk-hkn-azr" - } - ], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "" + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "componentName": "my-component" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", + "name": "my-webtest-my-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" + }, + "kind": "ping", + "properties": { + "SyntheticMonitorId": "my-webtest-my-component", + "Name": "my-webtest", + "Description": "", + "Enabled": false, + "Frequency": 900, + "Timeout": 120, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [ + { + "Id": "apac-hk-hkn-azr" + } + ], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json index 5d6ab3be9bf8..8a3e429afa29 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json @@ -1,76 +1,76 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", - "name": "my-webtest-my-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" - }, - "kind": "ping", - "properties": { - "SyntheticMonitorId": "my-webtest-my-component", - "Name": "my-webtest", - "Description": "", - "Enabled": false, - "Frequency": 900, - "Timeout": 120, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [ - { - "Id": "apac-hk-hkn-azr" - } - ], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-other-component", - "name": "my-webtest-my-other-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "Test": "You can delete this synthetic monitor anytime", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-other-component": "Resource" - }, - "kind": "ping", - "properties": { - "SyntheticMonitorId": "my-webtest-my-other-component", - "Name": "342bccf4-722f-496d-b064-123456789abc", - "Description": "", - "Enabled": false, - "Frequency": 300, - "Timeout": 90, - "Kind": "ping", - "RetryEnabled": false, - "Locations": [ - { - "Id": "us-fl-mia-edge" - } - ], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "" + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", + "name": "my-webtest-my-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" + }, + "kind": "ping", + "properties": { + "SyntheticMonitorId": "my-webtest-my-component", + "Name": "my-webtest", + "Description": "", + "Enabled": false, + "Frequency": 900, + "Timeout": 120, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [ + { + "Id": "apac-hk-hkn-azr" + } + ], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-other-component", + "name": "my-webtest-my-other-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "Test": "You can delete this synthetic monitor anytime", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-other-component": "Resource" + }, + "kind": "ping", + "properties": { + "SyntheticMonitorId": "my-webtest-my-other-component", + "Name": "342bccf4-722f-496d-b064-123456789abc", + "Description": "", + "Enabled": false, + "Frequency": 300, + "Timeout": 90, + "Kind": "ping", + "RetryEnabled": false, + "Locations": [ + { + "Id": "us-fl-mia-edge" + } + ], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestLocationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestLocationsList.json index 36cb241e71ae..6496ff230ee1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestLocationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestLocationsList.json @@ -1,78 +1,78 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": [ - { - "DisplayName": "US : IL-Chicago", - "Tag": "us-il-ch1-azr" - }, - { - "DisplayName": "NL : Amsterdam", - "Tag": "emea-nl-ams-azr" - }, - { - "DisplayName": "SG : Singapore", - "Tag": "apac-sg-sin-azr" - }, - { - "DisplayName": "US : CA-San Jose", - "Tag": "us-ca-sjc-azr" - }, - { - "DisplayName": "US : TX-San Antonio", - "Tag": "us-tx-sn1-azr" - }, - { - "DisplayName": "US : VA-Ashburn", - "Tag": "us-va-ash-azr" - }, - { - "DisplayName": "HK : Hong Kong", - "Tag": "apac-hk-hkn-azr" - }, - { - "DisplayName": "IE : Dublin", - "Tag": "emea-gb-db3-azr" - }, - { - "DisplayName": "JP : Kawaguchi", - "Tag": "apac-jp-kaw-edge" - }, - { - "DisplayName": "AU : Sydney", - "Tag": "emea-au-syd-edge" - }, - { - "DisplayName": "CH : Zurich", - "Tag": "emea-ch-zrh-edge" - }, - { - "DisplayName": "FR : Paris", - "Tag": "emea-fr-pra-edge" - }, - { - "DisplayName": "RU : Moscow", - "Tag": "emea-ru-msa-edge" - }, - { - "DisplayName": "SE : Stockholm", - "Tag": "emea-se-sto-edge" - }, - { - "DisplayName": "BR : Sao Paulo", - "Tag": "latam-br-gru-edge" - }, - { - "DisplayName": "US : FL-Miami", - "Tag": "us-fl-mia-edge" - } - ] + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": [ + { + "DisplayName": "US : IL-Chicago", + "Tag": "us-il-ch1-azr" + }, + { + "DisplayName": "NL : Amsterdam", + "Tag": "emea-nl-ams-azr" + }, + { + "DisplayName": "SG : Singapore", + "Tag": "apac-sg-sin-azr" + }, + { + "DisplayName": "US : CA-San Jose", + "Tag": "us-ca-sjc-azr" + }, + { + "DisplayName": "US : TX-San Antonio", + "Tag": "us-tx-sn1-azr" + }, + { + "DisplayName": "US : VA-Ashburn", + "Tag": "us-va-ash-azr" + }, + { + "DisplayName": "HK : Hong Kong", + "Tag": "apac-hk-hkn-azr" + }, + { + "DisplayName": "IE : Dublin", + "Tag": "emea-gb-db3-azr" + }, + { + "DisplayName": "JP : Kawaguchi", + "Tag": "apac-jp-kaw-edge" + }, + { + "DisplayName": "AU : Sydney", + "Tag": "emea-au-syd-edge" + }, + { + "DisplayName": "CH : Zurich", + "Tag": "emea-ch-zrh-edge" + }, + { + "DisplayName": "FR : Paris", + "Tag": "emea-fr-pra-edge" + }, + { + "DisplayName": "RU : Moscow", + "Tag": "emea-ru-msa-edge" + }, + { + "DisplayName": "SE : Stockholm", + "Tag": "emea-se-sto-edge" + }, + { + "DisplayName": "BR : Sao Paulo", + "Tag": "latam-br-gru-edge" + }, + { + "DisplayName": "US : FL-Miami", + "Tag": "us-fl-mia-edge" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdate.json index f821bf78ee86..eb9147be91e8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdate.json @@ -1,67 +1,67 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "webTestName": "my-webtest-my-component", - "WebTestDefinition": { - "location": "South Central US", - "kind": "ping", - "properties": { - "Configuration": { - "WebTest": "" - }, - "Frequency": 600, - "Timeout": 30, - "Locations": [ - { - "Id": "us-fl-mia-edge" - }, - { - "Id": "apac-hk-hkn-azr" - } - ], - "Kind": "ping", - "Name": "my-webtest-my-component", - "SyntheticMonitorId": "my-webtest-my-component" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", - "name": "my-webtest-my-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" - }, - "kind": "ping", - "properties": { - "Name": "my-webtest-my-component", - "SyntheticMonitorId": "my-webtest-my-component", - "Description": "Ping web test alert for mytestwebapp", - "Enabled": true, - "Frequency": 600, - "Timeout": 30, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [ - { - "Id": "us-fl-mia-edge" - }, - { - "Id": "apac-hk-hkn-azr" - } - ], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "webTestName": "my-webtest-my-component", + "WebTestDefinition": { + "location": "South Central US", + "kind": "ping", + "properties": { + "Configuration": { + "WebTest": "" + }, + "Frequency": 600, + "Timeout": 30, + "Locations": [ + { + "Id": "us-fl-mia-edge" + }, + { + "Id": "apac-hk-hkn-azr" + } + ], + "Kind": "ping", + "Name": "my-webtest-my-component", + "SyntheticMonitorId": "my-webtest-my-component" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", + "name": "my-webtest-my-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource" + }, + "kind": "ping", + "properties": { + "Name": "my-webtest-my-component", + "SyntheticMonitorId": "my-webtest-my-component", + "Description": "Ping web test alert for mytestwebapp", + "Enabled": true, + "Frequency": 600, + "Timeout": 30, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [ + { + "Id": "us-fl-mia-edge" + }, + { + "Id": "apac-hk-hkn-azr" } + ], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdateTagsOnly.json index 0e886fa9e6ea..dbab36828ffc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdateTagsOnly.json @@ -1,57 +1,57 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "webTestName": "my-webtest-my-component", - "WebTestTags": { - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource", - "CustomField-01": "This is a random value", - "SystemType": "A08", - "Color": "AzureBlue" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", - "name": "my-webtest-my-component", - "type": "Microsoft.Insights/webtests", - "location": "southcentralus", - "tags": { - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", - "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource", - "CustomField-01": "This is a random value", - "SystemType": "A08", - "Color": "AzureBlue" - }, - "kind": "ping", - "properties": { - "Name": "my-webtest-my-component", - "SyntheticMonitorId": "my-webtest-my-component", - "Description": "Ping web test alert for mytestwebapp", - "Enabled": true, - "Frequency": 600, - "Timeout": 30, - "Kind": "ping", - "RetryEnabled": true, - "Locations": [ - { - "Id": "us-fl-mia-edge" - }, - { - "Id": "apac-hk-hkn-azr" - } - ], - "Configuration": { - "WebTest": "" - }, - "provisioningState": "Succeeded" - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "webTestName": "my-webtest-my-component", + "WebTestTags": { + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource", + "CustomField-01": "This is a random value", + "SystemType": "A08", + "Color": "AzureBlue" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-my-component", + "name": "my-webtest-my-component", + "type": "Microsoft.Insights/webtests", + "location": "southcentralus", + "tags": { + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component": "Resource", + "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp": "Resource", + "CustomField-01": "This is a random value", + "SystemType": "A08", + "Color": "AzureBlue" + }, + "kind": "ping", + "properties": { + "Name": "my-webtest-my-component", + "SyntheticMonitorId": "my-webtest-my-component", + "Description": "Ping web test alert for mytestwebapp", + "Enabled": true, + "Frequency": 600, + "Timeout": 30, + "Kind": "ping", + "RetryEnabled": true, + "Locations": [ + { + "Id": "us-fl-mia-edge" + }, + { + "Id": "apac-hk-hkn-azr" } + ], + "Configuration": { + "WebTest": "" + }, + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDefaultGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDefaultGet.json index 0091ef21820a..9d046cf40bd6 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDefaultGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDefaultGet.json @@ -7,7 +7,13 @@ }, "responses": { "200": { - "body": {"ConnectorId":"d334e2a4-6733-488e-8645-a9fdc1694f41","IsDefault":true,"ConfigDisplayName":"Visual Studio Team Services","Id":"Visual Studio Team Services","ConfigProperties":"{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}"} + "body": { + "ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41", + "IsDefault": true, + "ConfigDisplayName": "Visual Studio Team Services", + "Id": "Visual Studio Team Services", + "ConfigProperties": "{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}" + } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json index 015d47baa0a8..0742113a565c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json @@ -8,7 +8,7 @@ }, "responses": { "200": { - "body": {} + "body": {} } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsCreate.json index 48be36a02728..aa1a78b8ea77 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsCreate.json @@ -4,11 +4,31 @@ "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", - "WorkItemConfigurationProperties": {"ConnectorId":"d334e2a4-6733-488e-8645-a9fdc1694f41","ConnectorDataConfiguration":{"VSOAccountBaseUrl":"https://testtodelete.visualstudio.com","ProjectCollection":"DefaultCollection","Project":"todeletefirst","ResourceId":"d0662b05-439a-4a1b-840b-33a7f8b42ebf","Custom":"{\"/fields/System.WorkItemType\":\"Bug\",\"/fields/System.AreaPath\":\"todeletefirst\",\"/fields/System.AssignedTo\":\"\"}"},"WorkItemProperties":[{"name":"Title","value":"Validate Only Title"},{"name":"Description","value":"Validate Only Description"}],"ValidateOnly":"true"} + "WorkItemConfigurationProperties": { + "ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41", + "ConnectorDataConfiguration": { + "VSOAccountBaseUrl": "https://testtodelete.visualstudio.com", + "ProjectCollection": "DefaultCollection", + "Project": "todeletefirst", + "ResourceId": "d0662b05-439a-4a1b-840b-33a7f8b42ebf", + "Custom": "{\"/fields/System.WorkItemType\":\"Bug\",\"/fields/System.AreaPath\":\"todeletefirst\",\"/fields/System.AssignedTo\":\"\"}" + }, + "WorkItemProperties": [ + { + "name": "Title", + "value": "Validate Only Title" + }, + { + "name": "Description", + "value": "Validate Only Description" + } + ], + "ValidateOnly": "true" + } }, "responses": { "200": { "body": {} } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsGet.json index 7ad77c1dfc2f..5df7a559815a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsGet.json @@ -7,7 +7,22 @@ }, "responses": { "200": { - "body": [{"ConnectorId":"d334e2a4-6733-488e-8645-a9fdc1694f41","IsDefault":true,"ConfigDisplayName":"Visual Studio Team Services","Id":"Visual Studio Team Services","ConfigProperties":"{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"b370eeb2-5dff-4838-8253-ec3014b2c706\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}"},{"ConnectorId":"4C89E219-D47E-4C14-866A-018D6D634CF3","IsDefault":false,"ConfigDisplayName":"GitHub","Id":"GitHub","ConfigProperties":"{\"GitHubAccountUrl\":\"https://github.com/jpiyali/testrepository\",\"ResourceId\":\"b370eeb2-5dff-4838-8253-ec3014b2c706\"}"}] + "body": [ + { + "ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41", + "IsDefault": true, + "ConfigDisplayName": "Visual Studio Team Services", + "Id": "Visual Studio Team Services", + "ConfigProperties": "{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"b370eeb2-5dff-4838-8253-ec3014b2c706\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}" + }, + { + "ConnectorId": "4C89E219-D47E-4C14-866A-018D6D634CF3", + "IsDefault": false, + "ConfigDisplayName": "GitHub", + "Id": "GitHub", + "ConfigProperties": "{\"GitHubAccountUrl\":\"https://github.com/jpiyali/testrepository\",\"ResourceId\":\"b370eeb2-5dff-4838-8253-ec3014b2c706\"}" + } + ] } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookAdd.json index 6a4d5b893386..2d65bd888055 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookAdd.json @@ -1,73 +1,73 @@ { - "parameters": { - "api-version": "2015-05-01", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "subscriptionId": "subid", - "workbookProperties": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "location": "west us", - "properties": { - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "name": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } + "parameters": { + "api-version": "2015-05-01", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "subscriptionId": "subid", + "workbookProperties": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "location": "west us", + "properties": { + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "name": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "properties": { + "name": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "version": "ME", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } }, - "responses": { - "200": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "properties": { - "name": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } - }, - "201": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "properties": { - "name": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } - } + "201": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "properties": { + "name": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "version": "ME", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookDelete.json index c9fc249f8b4c..0f0066656add 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookDelete.json @@ -1,14 +1,12 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "201": { - }, - "204": { - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "201": {}, + "204": {} + } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookGet.json index 2ca735abb836..f7d346745481 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookGet.json @@ -1,32 +1,32 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "200": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "", - "location": "westus", - "properties": { - "name": "My New Workbook", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "", + "location": "westus", + "properties": { + "name": "My New Workbook", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "version": "ME", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookUpdate.json index 472a88653122..3fb288e830cf 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbookUpdate.json @@ -1,50 +1,50 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "workbookProperties": { - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "location": "west us", - "tags": [ - "TagSample01", - "TagSample02" - ], - "properties": { - "name": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - } -} - }, - "responses": { - "200": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": [ - "TagSample01", - "TagSample02" - ], - "properties": { - "name": "Blah Blah Blah", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - } - } + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "workbookProperties": { + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "location": "west us", + "tags": [ + "TagSample01", + "TagSample02" + ], + "properties": { + "name": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "version": "ME", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null + } + } + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [ + "TagSample01", + "TagSample02" + ], + "properties": { + "name": "Blah Blah Blah", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "version": "ME", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null } + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbooksList.json index f9ed6a892437..2aedf6c99cec 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkbooksList.json @@ -1,48 +1,51 @@ { - "parameters": { - "api-version": "2015-05-01", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "category": "workbook" - }, - "responses": { - "200": { - "body": [ - { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": [], - "properties": { - "name": "My Workbook 1", - "userId": "userId", - "serializedData": "{\"verion\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - } - }, - { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": ["SampleTag01", "SampleTag2"], - "properties": { - "name": "My Workbook 2", - "userId": "userId", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", - "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null - } - } - ] + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "category": "workbook" + }, + "responses": { + "200": { + "body": [ + { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [], + "properties": { + "name": "My Workbook 1", + "userId": "userId", + "serializedData": "{\"verion\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "version": "ME", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null + } + }, + { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [ + "SampleTag01", + "SampleTag2" + ], + "properties": { + "name": "My Workbook 2", + "userId": "userId", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", + "version": "ME", + "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/favorites_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/favorites_API.json index cfeccb8a8944..83461c19d2eb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/favorites_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/favorites_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites": { "get": { "description": "Gets a list of favorites defined within an Application Insights component.", "operationId": "Favorites_List", @@ -82,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}": { "get": { "description": "Get a single favorite by its FavoriteId, defined within an Application Insights component.", "operationId": "Favorites_Get", @@ -107,7 +107,7 @@ "200": { "description": "A favorite definition associated to the Application Insights component.", "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" } } }, @@ -150,7 +150,7 @@ "200": { "description": "The newly created favorite that is associated to the Application Insights component.", "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" } } }, @@ -193,7 +193,7 @@ "200": { "description": "The favorite definition updated.", "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" } } }, @@ -323,7 +323,7 @@ "x-ms-enum": { "name": "FavoriteType", "modelAsString": false - }, + }, "description": "The type of favorite. Value can be either shared or user.", "x-ms-parameter-location": "method" }, @@ -349,7 +349,7 @@ "userflows", "funnel", "impact", - "segmentation" + "segmentation" ], "x-ms-enum": { "name": "FavoriteSourceType", @@ -379,4 +379,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json index 0d35cf7a8a30..89279d98d2ab 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json @@ -114,4 +114,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json index c396c3f53b8d..d2accdc7df35 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json @@ -488,4 +488,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/workbooks_API.json index 13d1ce91baf4..3586ec6c86b1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/workbooks_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks": { + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", "operationId": "Workbooks_ListByResourceGroup", @@ -82,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", @@ -104,7 +104,7 @@ "200": { "description": "A workbook definition.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "default": { @@ -129,7 +129,7 @@ }, { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, + }, { "$ref": "#/parameters/WorkbookResourceNameParameter" }, @@ -160,7 +160,7 @@ "put": { "description": "Create a new workbook.", "operationId": "Workbooks_CreateOrUpdate", - "parameters": [ + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, @@ -187,13 +187,13 @@ "200": { "description": "The newly created workbook.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "201": { "description": "The newly created workbook.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "default": { @@ -212,7 +212,7 @@ "patch": { "description": "Updates a workbook that has already been added.", "operationId": "Workbooks_Update", - "parameters": [ + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, @@ -239,7 +239,7 @@ "200": { "description": "The workbook definition updated.", "schema": { - "$ref": "#/definitions/Workbook" + "$ref": "#/definitions/Workbook" } }, "default": { @@ -315,7 +315,7 @@ ], "properties": { "kind": { - "type": "string", + "type": "string", "description": "The kind of workbook. Choices are user and shared.", "enum": [ "user", @@ -395,7 +395,7 @@ "type": "string", "description": "Date and time in UTC of the last modification that was made to this workbook definition.", "readOnly": true - }, + }, "category": { "type": "string", "description": "Workbook category, as defined by the user at creation time." @@ -489,7 +489,7 @@ "type": "string", "description": "Azure Resource Id that will fetch all linked workbooks.", "x-ms-parameter-location": "method" - }, + }, "ResourceIdParameter": { "name": "resourceId", "in": "query", @@ -497,7 +497,7 @@ "type": "string", "description": "Azure Resource Id or any target workbook resource id.", "x-ms-parameter-location": "method" - }, + }, "CanFetchWorkbookContentParameter": { "name": "canFetchContent", "in": "query",