From 981a3b0a4c637a2ee5cfd8d3d0d13291edcdd63f Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 13:31:15 -0700 Subject: [PATCH 01/65] added new folder for swagger api version --- .../stable/2020-10-20/aiOperations_API.json | 128 ++++ .../stable/2020-10-20/analyticsItems_API.json | 380 ++++++++++ .../2020-10-20/componentAnnotations_API.json | 324 +++++++++ .../2020-10-20/componentApiKeys_API.json | 281 ++++++++ .../componentContinuousExport_API.json | 392 ++++++++++ .../componentFeaturesAndPricing_API.json | 484 +++++++++++++ .../componentProactiveDetection_API.json | 259 +++++++ .../componentWorkItemConfigs_API.json | 379 ++++++++++ .../stable/2020-10-20/components_API.json | 668 ++++++++++++++++++ .../2020-10-20/examples/APIKeysCreate.json | 35 + .../2020-10-20/examples/APIKeysDelete.json | 27 + .../2020-10-20/examples/APIKeysGet.json | 27 + .../2020-10-20/examples/APIKeysList.json | 46 ++ .../examples/AnalyticsItemDelete.json | 14 + .../2020-10-20/examples/AnalyticsItemGet.json | 25 + .../examples/AnalyticsItemList.json | 85 +++ .../2020-10-20/examples/AnalyticsItemPut.json | 31 + .../examples/AnnotationsCreate.json | 29 + .../examples/AnnotationsDelete.json | 12 + .../2020-10-20/examples/AnnotationsGet.json | 23 + .../2020-10-20/examples/AnnotationsList.json | 32 + .../examples/AvailableBillingFeaturesGet.json | 280 ++++++++ .../2020-10-20/examples/ComponentsCreate.json | 48 ++ .../2020-10-20/examples/ComponentsDelete.json | 12 + .../2020-10-20/examples/ComponentsGet.json | 39 + .../2020-10-20/examples/ComponentsList.json | 69 ++ .../ComponentsListByResourceGroup.json | 70 ++ .../2020-10-20/examples/ComponentsPurge.json | 28 + .../examples/ComponentsPurgeStatus.json | 16 + .../2020-10-20/examples/ComponentsUpdate.json | 50 ++ .../examples/ComponentsUpdateTagsOnly.json | 54 ++ .../examples/CurrentBillingFeaturesGet.json | 25 + .../CurrentBillingFeaturesUpdate.json | 36 + .../examples/ExportConfigurationDelete.json | 34 + .../examples/ExportConfigurationGet.json | 34 + .../examples/ExportConfigurationUpdate.json | 45 ++ .../examples/ExportConfigurationsList.json | 35 + .../examples/ExportConfigurationsPost.json | 46 ++ .../2020-10-20/examples/FavoriteAdd.json | 43 ++ .../2020-10-20/examples/FavoriteDelete.json | 12 + .../2020-10-20/examples/FavoriteGet.json | 28 + .../2020-10-20/examples/FavoriteUpdate.json | 45 ++ .../2020-10-20/examples/FavoritesList.json | 41 ++ .../examples/FeatureCapabilitiesGet.json | 30 + .../2020-10-20/examples/MyWorkbookAdd.json | 66 ++ .../2020-10-20/examples/MyWorkbookDelete.json | 12 + .../2020-10-20/examples/MyWorkbookGet.json | 32 + .../2020-10-20/examples/MyWorkbookUpdate.json | 46 ++ .../2020-10-20/examples/MyWorkbooksList.json | 51 ++ .../ProactiveDetectionConfigurationGet.json | 33 + ...ProactiveDetectionConfigurationUpdate.json | 53 ++ .../ProactiveDetectionConfigurationsList.json | 51 ++ .../2020-10-20/examples/QuotaStatusGet.json | 17 + .../2020-10-20/examples/WebTestCreate.json | 64 ++ .../2020-10-20/examples/WebTestDelete.json | 12 + .../2020-10-20/examples/WebTestGet.json | 45 ++ .../2020-10-20/examples/WebTestList.json | 68 ++ .../examples/WebTestListByComponent.json | 47 ++ .../examples/WebTestListByResourceGroup.json | 76 ++ .../examples/WebTestLocationsList.json | 78 ++ .../2020-10-20/examples/WebTestUpdate.json | 67 ++ .../examples/WebTestUpdateTagsOnly.json | 57 ++ .../examples/WorkItemConfigCreate.json | 28 + .../examples/WorkItemConfigDefaultGet.json | 19 + .../examples/WorkItemConfigDelete.json | 12 + .../examples/WorkItemConfigGet.json | 20 + .../examples/WorkItemConfigUpdate.json | 35 + .../examples/WorkItemConfigsGet.json | 28 + .../2020-10-20/examples/WorkbookAdd.json | 73 ++ .../2020-10-20/examples/WorkbookDelete.json | 12 + .../2020-10-20/examples/WorkbookGet.json | 32 + .../2020-10-20/examples/WorkbookUpdate.json | 50 ++ .../2020-10-20/examples/WorkbooksList.json | 51 ++ .../stable/2020-10-20/favorites_API.json | 382 ++++++++++ .../stable/2020-10-20/myworkbooks_API.json | 539 ++++++++++++++ .../2020-10-20/webTestLocations_API.json | 117 +++ .../stable/2020-10-20/webTests_API.json | 491 +++++++++++++ .../stable/2020-10-20/workbooks_API copy.json | 522 ++++++++++++++ .../stable/2020-10-20/workbooks_API.json | 542 ++++++++++++++ 79 files changed, 8629 insertions(+) create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json new file mode 100644 index 000000000000..c71db9292334 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json @@ -0,0 +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" + } + } + }, + "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" + } + } + } + } + }, + "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." + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json new file mode 100644 index 000000000000..50515b97884d --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json @@ -0,0 +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" + } + } + }, + "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" + } + } + }, + "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" + } + } + } + } + }, + "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" + } + } + }, + "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" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json new file mode 100644 index 000000000000..bb5b9116c39c --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json @@ -0,0 +1,324 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for Annotations for 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" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations": { + "get": { + "description": "Gets the list of annotations for a component for given time range", + "operationId": "Annotations_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" + }, + { + "$ref": "#/parameters/StartParameter" + }, + { + "$ref": "#/parameters/EndParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AnnotationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AnnotationError" + } + } + }, + "x-ms-examples": { + "AnnotationsList": { + "$ref": "./examples/AnnotationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + }, + "put": { + "description": "Create an Annotation of an Application Insights component.", + "operationId": "Annotations_Create", + "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" + }, + { + "name": "AnnotationProperties", + "description": "Properties that need to be specified to create an annotation of a Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Annotation" + } + } + ], + "responses": { + "200": { + "description": "An object containing the annotation definition created by this PUT call.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Annotation" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AnnotationError" + } + } + }, + "x-ms-examples": { + "AnnotationsCreate": { + "$ref": "./examples/AnnotationsCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}": { + "delete": { + "description": "Delete an Annotation of an Application Insights component.", + "operationId": "Annotations_Delete", + "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/AnnotationIdParameter" + } + ], + "responses": { + "200": { + "description": "The annotation that was successfully deleted." + } + }, + "x-ms-examples": { + "AnnotationsDelete": { + "$ref": "./examples/AnnotationsDelete.json" + } + } + }, + "get": { + "description": "Get the annotation for given id.", + "operationId": "Annotations_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/AnnotationIdParameter" + } + ], + "responses": { + "200": { + "description": "The Annotation object for this id.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Annotation" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AnnotationError" + } + } + }, + "x-ms-examples": { + "AnnotationsGet": { + "$ref": "./examples/AnnotationsGet.json" + } + } + } + } + }, + "definitions": { + "Annotation": { + "type": "object", + "description": "Annotation associated with an application insights resource.", + "properties": { + "AnnotationName": { + "type": "string", + "description": "Name of annotation" + }, + "Category": { + "type": "string", + "description": "Category of annotation, free form" + }, + "EventTime": { + "type": "string", + "format": "date-time", + "description": "Time when event occurred" + }, + "Id": { + "type": "string", + "description": "Unique Id for annotation" + }, + "Properties": { + "type": "string", + "description": "Serialized JSON object for detailed properties" + }, + "RelatedAnnotation": { + "type": "string", + "description": "Related parent annotation if any", + "default": "null" + } + } + }, + "AnnotationsListResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Annotation" + }, + "description": "An array of annotations." + } + }, + "description": "Annotations list result." + }, + "InnerError": { + "type": "object", + "description": "Inner error", + "properties": { + "diagnosticcontext": { + "type": "string", + "description": "Provides correlation for request" + }, + "time": { + "type": "string", + "format": "date-time", + "description": "Request time" + } + } + }, + "AnnotationError": { + "type": "object", + "description": "Error associated with trying to create annotation with Id that already exist", + "properties": { + "code": { + "type": "string", + "description": "Error detail code and explanation" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "innererror": { + "$ref": "#/definitions/InnerError" + } + } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "AnnotationIdParameter": { + "name": "annotationId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique annotation ID. This is unique within a Application Insights component.", + "x-ms-parameter-location": "method" + }, + "StartParameter": { + "name": "start", + "in": "query", + "required": true, + "type": "string", + "description": "The start time to query from for annotations, cannot be older than 90 days from current date.", + "x-ms-parameter-location": "method" + }, + "EndParameter": { + "name": "end", + "in": "query", + "required": true, + "type": "string", + "description": "The end time to query for annotations.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json new file mode 100644 index 000000000000..0f9b5145ee6d --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json @@ -0,0 +1,281 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for API keys 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" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys": { + "get": { + "description": "Gets a list of API keys of an Application Insights component.", + "operationId": "APIKeys_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 API key definitions of an Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAPIKeyListResult" + } + } + }, + "x-ms-examples": { + "APIKeysList": { + "$ref": "./examples/APIKeysList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + }, + "post": { + "description": "Create an API Key of an Application Insights component.", + "operationId": "APIKeys_Create", + "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" + }, + { + "name": "APIKeyProperties", + "description": "Properties that need to be specified to create an API key of a Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/APIKeyRequest" + } + } + ], + "responses": { + "200": { + "description": "An object containing the API Key definition created by this POST call.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" + } + } + }, + "x-ms-examples": { + "APIKeyCreate": { + "$ref": "./examples/APIKeysCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}": { + "delete": { + "description": "Delete an API Key of an Application Insights component.", + "operationId": "APIKeys_Delete", + "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/KeyId" + } + ], + "responses": { + "200": { + "description": "The API Key that was successfully deleted.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" + } + } + }, + "x-ms-examples": { + "APIKeyDelete": { + "$ref": "./examples/APIKeysDelete.json" + } + } + }, + "get": { + "description": "Get the API Key for this key id.", + "operationId": "APIKeys_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/KeyId" + } + ], + "responses": { + "200": { + "description": "The API Key for this key id.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" + } + } + }, + "x-ms-examples": { + "APIKeysGet": { + "$ref": "./examples/APIKeysGet.json" + } + } + } + } + }, + "definitions": { + "APIKeyRequest": { + "description": "An Application Insights component API Key creation request definition.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the API Key." + }, + "linkedReadProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The read access rights of this API Key." + }, + "linkedWriteProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The write access rights of this API Key." + } + } + }, + "ApplicationInsightsComponentAPIKeyListResult": { + "description": "Describes the list of API Keys of an Application Insights Component.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of API Key definitions.", + "items": { + "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" + } + } + } + }, + "ApplicationInsightsComponentAPIKey": { + "description": "Properties that define an API key of an Application Insights Component.", + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The unique ID of the API key inside an Application Insights component. It is auto generated when the API key is created." + }, + "apiKey": { + "type": "string", + "readOnly": true, + "description": "The API key value. It will be only return once when the API Key was created." + }, + "createdDate": { + "type": "string", + "description": "The create date of this API key." + }, + "name": { + "type": "string", + "description": "The name of the API key." + }, + "linkedReadProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The read access rights of this API Key." + }, + "linkedWriteProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The write access rights of this API Key." + } + } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "KeyId": { + "name": "keyId", + "in": "path", + "required": true, + "type": "string", + "description": "The API Key ID. This is unique within a Application Insights component.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json new file mode 100644 index 000000000000..ef0d51e98d36 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json @@ -0,0 +1,392 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for Continuous Export 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" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration": { + "get": { + "description": "Gets a list of Continuous Export configuration of an Application Insights component.", + "operationId": "ExportConfigurations_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 Continuous Export configuration definitions of an Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentExportConfigurationListResult" + } + } + }, + "x-ms-examples": { + "ExportConfigurationsList": { + "$ref": "./examples/ExportConfigurationsList.json" + } + } + }, + "post": { + "description": "Create a Continuous Export configuration of an Application Insights component.", + "operationId": "ExportConfigurations_Create", + "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" + }, + { + "name": "ExportProperties", + "description": "Properties that need to be specified to create a Continuous Export configuration of a Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentExportRequest" + } + } + ], + "responses": { + "200": { + "description": "A list containing the Continuous Export configuration definition created by this POST call.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentExportConfigurationListResult" + } + } + }, + "x-ms-examples": { + "ExportConfigurationPost": { + "$ref": "./examples/ExportConfigurationsPost.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}": { + "delete": { + "description": "Delete a Continuous Export configuration of an Application Insights component.", + "operationId": "ExportConfigurations_Delete", + "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/ExportId" + } + ], + "responses": { + "200": { + "description": "The Continuous Export configuration that was successfully deleted.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" + } + } + }, + "x-ms-examples": { + "ExportConfigurationDelete": { + "$ref": "./examples/ExportConfigurationDelete.json" + } + } + }, + "get": { + "description": "Get the Continuous Export configuration for this export id.", + "operationId": "ExportConfigurations_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/ExportId" + } + ], + "responses": { + "200": { + "description": "The Continuous Export configuration for this export id.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" + } + } + }, + "x-ms-examples": { + "ExportConfigurationGet": { + "$ref": "./examples/ExportConfigurationGet.json" + } + } + }, + "put": { + "description": "Update the Continuous Export configuration for this export id.", + "operationId": "ExportConfigurations_Update", + "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/ExportId" + }, + { + "name": "ExportProperties", + "description": "Properties that need to be specified to update the Continuous Export configuration.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentExportRequest" + } + } + ], + "responses": { + "200": { + "description": "The Continuous Export configuration that was successfully updated.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" + } + } + }, + "x-ms-examples": { + "ExportConfigurationUpdate": { + "$ref": "./examples/ExportConfigurationUpdate.json" + } + } + } + } + }, + "definitions": { + "ApplicationInsightsComponentExportRequest": { + "description": "An Application Insights component Continuous Export configuration request definition.", + "type": "object", + "properties": { + "RecordTypes": { + "type": "string", + "description": "The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'." + }, + "DestinationType": { + "type": "string", + "description": "The Continuous Export destination type. This has to be 'Blob'." + }, + "DestinationAddress": { + "type": "string", + "description": "The SAS URL for the destination storage container. It must grant write permission." + }, + "IsEnabled": { + "type": "string", + "description": "Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'." + }, + "NotificationQueueEnabled": { + "type": "string", + "description": "Deprecated" + }, + "NotificationQueueUri": { + "type": "string", + "description": "Deprecated" + }, + "DestinationStorageSubscriptionId": { + "type": "string", + "description": "The subscription ID of the destination storage container." + }, + "DestinationStorageLocationId": { + "type": "string", + "description": "The location ID of the destination storage container." + }, + "DestinationAccountId": { + "type": "string", + "description": "The name of destination storage account." + } + } + }, + "ApplicationInsightsComponentExportConfigurationListResult": { + "description": "A list of Continuous Export configurations.", + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" + } + }, + "ApplicationInsightsComponentExportConfiguration": { + "description": "Properties that define a Continuous Export configuration.", + "type": "object", + "properties": { + "ExportId": { + "type": "string", + "readOnly": true, + "description": "The unique ID of the export configuration inside an Application Insights component. It is auto generated when the Continuous Export configuration is created." + }, + "InstrumentationKey": { + "type": "string", + "readOnly": true, + "description": "The instrumentation key of the Application Insights component." + }, + "RecordTypes": { + "type": "string", + "description": "This comma separated list of document types that will be exported. The possible values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'." + }, + "ApplicationName": { + "type": "string", + "readOnly": true, + "description": "The name of the Application Insights component." + }, + "SubscriptionId": { + "type": "string", + "readOnly": true, + "description": "The subscription of the Application Insights component." + }, + "ResourceGroup": { + "type": "string", + "readOnly": true, + "description": "The resource group of the Application Insights component." + }, + "DestinationStorageSubscriptionId": { + "type": "string", + "readOnly": true, + "description": "The destination storage account subscription ID." + }, + "DestinationStorageLocationId": { + "type": "string", + "readOnly": true, + "description": "The destination account location ID." + }, + "DestinationAccountId": { + "type": "string", + "readOnly": true, + "description": "The name of destination account." + }, + "DestinationType": { + "type": "string", + "readOnly": true, + "description": "The destination type." + }, + "IsUserEnabled": { + "type": "string", + "readOnly": true, + "description": "This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'." + }, + "LastUserUpdate": { + "type": "string", + "readOnly": true, + "description": "Last time the Continuous Export configuration was updated." + }, + "NotificationQueueEnabled": { + "type": "string", + "description": "Deprecated" + }, + "ExportStatus": { + "type": "string", + "readOnly": true, + "description": "This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'." + }, + "LastSuccessTime": { + "type": "string", + "readOnly": true, + "description": "The last time data was successfully delivered to the destination storage container for this Continuous Export configuration." + }, + "LastGapTime": { + "type": "string", + "readOnly": true, + "description": "The last time the Continuous Export configuration started failing." + }, + "PermanentErrorReason": { + "type": "string", + "readOnly": true, + "description": "This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'." + }, + "StorageName": { + "type": "string", + "readOnly": true, + "description": "The name of the destination storage account." + }, + "ContainerName": { + "type": "string", + "readOnly": true, + "description": "The name of the destination storage container." + } + } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "ExportId": { + "name": "exportId", + "in": "path", + "required": true, + "type": "string", + "description": "The Continuous Export configuration ID. This is unique within a Application Insights component.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json new file mode 100644 index 000000000000..b141ef967b0f --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json @@ -0,0 +1,484 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for selecting pricing plans and options.", + "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}/currentbillingfeatures": { + "get": { + "description": "Returns current billing features for an Application Insights component.", + "operationId": "ComponentCurrentBillingFeatures_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" + } + ], + "responses": { + "200": { + "description": "An Application Insights component billing features definition.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentBillingFeatures" + } + } + }, + "x-ms-examples": { + "ComponentCurrentBillingFeaturesGet": { + "$ref": "./examples/CurrentBillingFeaturesGet.json" + } + } + }, + "put": { + "description": "Update current billing features for an Application Insights component.", + "operationId": "ComponentCurrentBillingFeatures_Update", + "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" + }, + { + "name": "BillingFeaturesProperties", + "description": "Properties that need to be specified to update billing features for an Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentBillingFeatures" + } + } + ], + "responses": { + "200": { + "description": "Successful request when updating billing features for an Application Insights component. The updated current billing features are returned.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentBillingFeatures" + } + } + }, + "x-ms-examples": { + "ComponentCurrentBillingFeaturesUpdate": { + "$ref": "./examples/CurrentBillingFeaturesUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/quotastatus": { + "get": { + "description": "Returns daily data volume cap (quota) status for an Application Insights component.", + "operationId": "ComponentQuotaStatus_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" + } + ], + "responses": { + "200": { + "description": "An Application Insights component daily data volume cap status definition.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentQuotaStatus" + } + } + }, + "x-ms-examples": { + "ComponentCurrentBillingFeaturesGet": { + "$ref": "./examples/QuotaStatusGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/featurecapabilities": { + "get": { + "description": "Returns feature capabilities of the application insights component.", + "operationId": "ComponentFeatureCapabilities_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" + } + ], + "responses": { + "200": { + "description": "An Application Insights component feature capabilities definition.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentFeatureCapabilities" + } + } + }, + "x-ms-examples": { + "ComponentCurrentBillingFeaturesGet": { + "$ref": "./examples/FeatureCapabilitiesGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures": { + "get": { + "description": "Returns all available features of the application insights component.", + "operationId": "ComponentAvailableFeatures_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" + } + ], + "responses": { + "200": { + "description": "An Application Insights component available features definition.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentAvailableFeatures" + } + } + }, + "x-ms-examples": { + "ComponentCurrentBillingFeaturesGet": { + "$ref": "./examples/AvailableBillingFeaturesGet.json" + } + } + } + } + }, + "definitions": { + "ApplicationInsightsComponentBillingFeatures": { + "type": "object", + "description": "An Application Insights component billing features", + "properties": { + "DataVolumeCap": { + "description": "An Application Insights component daily data volume cap", + "$ref": "#/definitions/ApplicationInsightsComponentDataVolumeCap" + }, + "CurrentBillingFeatures": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'." + } + } + }, + "ApplicationInsightsComponentDataVolumeCap": { + "type": "object", + "description": "An Application Insights component daily data volume cap", + "properties": { + "Cap": { + "type": "number", + "description": "Daily data volume cap in GB." + }, + "ResetTime": { + "type": "integer", + "readOnly": true, + "description": "Daily data volume cap UTC reset hour." + }, + "WarningThreshold": { + "type": "integer", + "description": "Reserved, not used for now." + }, + "StopSendNotificationWhenHitThreshold": { + "type": "boolean", + "description": "Reserved, not used for now." + }, + "StopSendNotificationWhenHitCap": { + "type": "boolean", + "description": "Do not send a notification email when the daily data volume cap is met." + }, + "MaxHistoryCap": { + "type": "number", + "readOnly": true, + "description": "Maximum daily data volume cap that the user can set for this component." + } + } + }, + "ApplicationInsightsComponentQuotaStatus": { + "type": "object", + "description": "An Application Insights component daily data volume cap status", + "properties": { + "AppId": { + "type": "string", + "readOnly": true, + "description": "The Application ID for the Application Insights component." + }, + "ShouldBeThrottled": { + "type": "boolean", + "readOnly": true, + "description": "The daily data volume cap is met, and data ingestion will be stopped." + }, + "ExpirationTime": { + "type": "string", + "readOnly": true, + "description": "Date and time when the daily data volume cap will be reset, and data ingestion will resume." + } + } + }, + "ApplicationInsightsComponentFeatureCapabilities": { + "type": "object", + "description": "An Application Insights component feature capabilities", + "properties": { + "SupportExportData": { + "type": "boolean", + "readOnly": true, + "description": "Whether allow to use continuous export feature." + }, + "BurstThrottlePolicy": { + "type": "string", + "readOnly": true, + "description": "Reserved, not used now." + }, + "MetadataClass": { + "type": "string", + "readOnly": true, + "description": "Reserved, not used now." + }, + "LiveStreamMetrics": { + "type": "boolean", + "readOnly": true, + "description": "Reserved, not used now." + }, + "ApplicationMap": { + "type": "boolean", + "readOnly": true, + "description": "Reserved, not used now." + }, + "WorkItemIntegration": { + "type": "boolean", + "readOnly": true, + "description": "Whether allow to use work item integration feature." + }, + "PowerBIIntegration": { + "type": "boolean", + "readOnly": true, + "description": "Reserved, not used now." + }, + "OpenSchema": { + "type": "boolean", + "readOnly": true, + "description": "Reserved, not used now." + }, + "ProactiveDetection": { + "type": "boolean", + "readOnly": true, + "description": "Reserved, not used now." + }, + "AnalyticsIntegration": { + "type": "boolean", + "readOnly": true, + "description": "Reserved, not used now." + }, + "MultipleStepWebTest": { + "type": "boolean", + "readOnly": true, + "description": "Whether allow to use multiple steps web test feature." + }, + "ApiAccessLevel": { + "type": "string", + "readOnly": true, + "description": "Reserved, not used now." + }, + "TrackingType": { + "type": "string", + "readOnly": true, + "description": "The application insights component used tracking type." + }, + "DailyCap": { + "type": "number", + "readOnly": true, + "description": "Daily data volume cap in GB." + }, + "DailyCapResetTime": { + "type": "number", + "readOnly": true, + "description": "Daily data volume cap UTC reset hour." + }, + "ThrottleRate": { + "type": "number", + "readOnly": true, + "description": "Reserved, not used now." + } + } + }, + "ApplicationInsightsComponentAvailableFeatures": { + "type": "object", + "description": "An Application Insights component available features.", + "properties": { + "Result": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ApplicationInsightsComponentFeature" + }, + "readOnly": true, + "description": "A list of Application Insights component feature." + } + } + }, + "ApplicationInsightsComponentFeature": { + "type": "object", + "description": "An Application Insights component daily data volume cap status", + "properties": { + "FeatureName": { + "type": "string", + "readOnly": true, + "description": "The pricing feature name." + }, + "MeterId": { + "type": "string", + "readOnly": true, + "description": "The meter id used for the feature." + }, + "MeterRateFrequency": { + "type": "string", + "readOnly": true, + "description": "The meter rate for the feature's meter." + }, + "ResouceId": { + "type": "string", + "readOnly": true, + "description": "Reserved, not used now." + }, + "IsHidden": { + "type": "boolean", + "readOnly": true, + "description": "Reserved, not used now." + }, + "Capabilities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ApplicationInsightsComponentFeatureCapability" + }, + "readOnly": true, + "description": "A list of Application Insights component feature capability." + }, + "Title": { + "type": "string", + "readOnly": true, + "description": "Display name of the feature." + }, + "IsMainFeature": { + "type": "boolean", + "readOnly": true, + "description": "Whether can apply addon feature on to it." + }, + "SupportedAddonFeatures": { + "type": "string", + "readOnly": true, + "description": "The add on features on main feature." + } + } + }, + "ApplicationInsightsComponentFeatureCapability": { + "type": "object", + "description": "An Application Insights component feature capability", + "properties": { + "Name": { + "type": "string", + "readOnly": true, + "description": "The name of the capability." + }, + "Description": { + "type": "string", + "readOnly": true, + "description": "The description of the capability." + }, + "Value": { + "type": "string", + "readOnly": true, + "description": "The value of the capability." + }, + "Unit": { + "type": "string", + "readOnly": true, + "description": "The unit of the capability." + }, + "MeterId": { + "type": "string", + "readOnly": true, + "description": "The meter used for the capability." + }, + "MeterRateFrequency": { + "type": "string", + "readOnly": true, + "description": "The meter rate of the meter." + } + } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json new file mode 100644 index 000000000000..967bc3168689 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json @@ -0,0 +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" + ] + } + ], + "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" + } + } + } + }, + "/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" + } + } + }, + "x-ms-examples": { + "ProactiveDetectionConfigurationGet": { + "$ref": "./examples/ProactiveDetectionConfigurationGet.json" + } + } + }, + "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" + }, + { + "$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" + } + } + }, + "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" + }, + "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" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json new file mode 100644 index 000000000000..d018d4f8d6a3 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json @@ -0,0 +1,379 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for work item configurations for 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" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs": { + "get": { + "description": "Gets the list work item configurations that exist for the application", + "operationId": "WorkItemConfigurations_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": "successful operation", + "schema": { + "$ref": "#/definitions/WorkItemConfigurationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkItemConfigurationError" + } + } + }, + "x-ms-examples": { + "WorkItemConfigurationsList": { + "$ref": "./examples/WorkItemConfigsGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + }, + "post": { + "description": "Create a work item configuration for an Application Insights component.", + "operationId": "WorkItemConfigurations_Create", + "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" + }, + { + "name": "WorkItemConfigurationProperties", + "description": "Properties that need to be specified to create a work item configuration of a Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkItemCreateConfiguration" + } + } + ], + "responses": { + "200": { + "description": "An object containing the work item configuration definition created by this PUT call.", + "schema": { + "$ref": "#/definitions/WorkItemConfiguration" + } + } + }, + "x-ms-examples": { + "WorkItemConfigurationsCreate": { + "$ref": "./examples/WorkItemConfigCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/DefaultWorkItemConfig": { + "get": { + "description": "Gets default work item configurations that exist for the application", + "operationId": "WorkItemConfigurations_GetDefault", + "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": "successful operation", + "schema": { + "$ref": "#/definitions/WorkItemConfiguration" + } + } + }, + "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.", + "operationId": "WorkItemConfigurations_Delete", + "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/WorkItemConfigIdParameter" + } + ], + "responses": { + "200": { + "description": "The work item configuration that was successfully deleted." + } + }, + "x-ms-examples": { + "WorkItemConfigurationDelete": { + "$ref": "./examples/WorkItemConfigDelete.json" + } + } + }, + "get": { + "description": "Gets specified work item configuration for an Application Insights component.", + "operationId": "WorkItemConfigurations_GetItem", + "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/WorkItemConfigIdParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkItemConfiguration" + } + } + }, + "x-ms-examples": { + "WorkItemConfigurationsGetDefault": { + "$ref": "./examples/WorkItemConfigGet.json" + } + } + }, + "patch": { + "description": "Update a work item configuration for an Application Insights component.", + "operationId": "WorkItemConfigurations_UpdateItem", + "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/WorkItemConfigIdParameter" + }, + { + "name": "WorkItemConfigurationProperties", + "description": "Properties that need to be specified to update a work item configuration for this Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkItemCreateConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Successful operation indicating the config updated by this PATCH call.", + "schema": { + "$ref": "#/definitions/WorkItemConfiguration" + } + } + }, + "x-ms-examples": { + "WorkItemConfigurationsCreate": { + "$ref": "./examples/WorkItemConfigUpdate.json" + } + } + } + } + }, + "definitions": { + "WorkItemConfiguration": { + "type": "object", + "description": "Work item configuration associated with an application insights resource.", + "properties": { + "ConnectorId": { + "type": "string", + "description": "Connector identifier where work item is created" + }, + "ConfigDisplayName": { + "type": "string", + "description": "Configuration friendly name" + }, + "IsDefault": { + "type": "boolean", + "description": "Boolean value indicating whether configuration is default" + }, + "Id": { + "type": "string", + "description": "Unique Id for work item" + }, + "ConfigProperties": { + "type": "string", + "description": "Serialized JSON object for detailed properties" + } + } + }, + "WorkItemConfigurationsListResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkItemConfiguration" + }, + "description": "An array of work item configurations." + } + }, + "description": "Work item configuration list result." + }, + "WorkItemCreateConfiguration": { + "type": "object", + "description": "Work item configuration creation payload", + "properties": { + "ConnectorId": { + "type": "string", + "description": "Unique connector id" + }, + "ConnectorDataConfiguration": { + "type": "string", + "description": "Serialized JSON object for detailed properties" + }, + "ValidateOnly": { + "type": "boolean", + "description": "Boolean indicating validate only" + }, + "WorkItemProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom work item properties" + } + } + }, + "InnerError": { + "type": "object", + "description": "Inner error", + "properties": { + "diagnosticcontext": { + "type": "string", + "description": "Provides correlation for request" + }, + "time": { + "type": "string", + "format": "date-time", + "description": "Request time" + } + } + }, + "WorkItemConfigurationError": { + "type": "object", + "description": "Error associated with trying to get work item configuration or configurations", + "properties": { + "code": { + "type": "string", + "description": "Error detail code and explanation" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "innererror": { + "$ref": "#/definitions/InnerError" + } + } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "WorkItemConfigIdParameter": { + "name": "workItemConfigId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json new file mode 100644 index 000000000000..73eb9e993907 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json @@ -0,0 +1,668 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for Components.", + "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}/providers/Microsoft.Insights/components": { + "get": { + "description": "Gets a list of all Application Insights components within a subscription.", + "operationId": "Components_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Application Insights component definitions.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentListResult" + } + } + }, + "x-ms-examples": { + "ComponentsList.json": { + "$ref": "./examples/ComponentsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components": { + "get": { + "description": "Gets a list of Application Insights components within a resource group.", + "operationId": "Components_ListByResourceGroup", + "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" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Application Insights component definitions.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentListResult" + } + } + }, + "x-ms-examples": { + "ComponentListByResourceGroup": { + "$ref": "./examples/ComponentsListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}": { + "delete": { + "description": "Deletes an Application Insights component.", + "operationId": "Components_Delete", + "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": "Successful request when deleting an Application Insights component." + }, + "204": { + "description": "The specified component does not exist." + } + }, + "x-ms-examples": { + "ComponentsDelete": { + "$ref": "./examples/ComponentsDelete.json" + } + } + }, + "get": { + "description": "Returns an Application Insights component.", + "operationId": "Components_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" + } + ], + "responses": { + "200": { + "description": "An Application Insights Component definition.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponent" + } + } + }, + "x-ms-examples": { + "ComponentGet": { + "$ref": "./examples/ComponentsGet.json" + } + } + }, + "put": { + "description": "Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", + "operationId": "Components_CreateOrUpdate", + "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" + }, + { + "name": "InsightProperties", + "description": "Properties that need to be specified to create an Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponent" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating an Application Insights component. The updated component is returned.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponent" + } + } + }, + "x-ms-examples": { + "ComponentCreate": { + "$ref": "./examples/ComponentsCreate.json" + }, + "ComponentUpdate": { + "$ref": "./examples/ComponentsUpdate.json" + } + } + }, + "patch": { + "description": "Updates an existing component's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "Components_UpdateTags", + "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" + }, + { + "name": "ComponentTags", + "description": "Updated tag information to set into the component instance.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Updating the Application Insights component's tags was successful. Component tags are updated and returned with the rest of the Component's object properties.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponent" + } + } + }, + "x-ms-examples": { + "ComponentUpdateTagsOnly": { + "$ref": "./examples/ComponentsUpdateTagsOnly.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge": { + "post": { + "description": "Purges data in an Application Insights component by a set of user-defined filters.\n\nIn order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.", + "operationId": "Components_Purge", + "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/ComponentPurgeParameter" + } + ], + "responses": { + "202": { + "description": "Accepted request for purging an Application Insights component.", + "schema": { + "$ref": "#/definitions/ComponentPurgeResponse" + } + } + }, + "x-ms-examples": { + "ComponentPurge": { + "$ref": "./examples/ComponentsPurge.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}": { + "get": { + "description": "Get status for an ongoing purge operation.", + "operationId": "Components_GetPurgeStatus", + "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/ComponentPurgeIdParameter" + } + ], + "responses": { + "200": { + "description": "Returns status of purge operation in body of response. e.g.: running, completed.", + "schema": { + "$ref": "#/definitions/ComponentPurgeStatusResponse" + } + } + }, + "x-ms-examples": { + "ComponentPurge": { + "$ref": "./examples/ComponentsPurgeStatus.json" + } + } + } + } + }, + "definitions": { + "ComponentsResource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "TagsResource": { + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a WebTest instance." + }, + "ApplicationInsightsComponent": { + "properties": { + "kind": { + "type": "string", + "description": "The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone." + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties that define an Application Insights component resource.", + "$ref": "#/definitions/ApplicationInsightsComponentProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ComponentsResource" + } + ], + "required": [ + "kind" + ], + "description": "An Application Insights component definition." + }, + "ApplicationInsightsComponentProperties": { + "description": "Properties that define an Application Insights component resource.", + "properties": { + "ApplicationId": { + "type": "string", + "description": "The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.", + "readOnly": true + }, + "AppId": { + "type": "string", + "readOnly": true, + "description": "Application Insights Unique ID for your Application." + }, + "Application_Type": { + "type": "string", + "description": "Type of application being monitored.", + "default": "web", + "enum": [ + "web", + "other" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "Flow_Type": { + "type": "string", + "description": "Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.", + "default": "Bluefield", + "enum": [ + "Bluefield" + ], + "x-ms-enum": { + "name": "FlowType", + "modelAsString": true + } + }, + "Request_Source": { + "type": "string", + "description": "Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.", + "default": "rest", + "enum": [ + "rest" + ], + "x-ms-enum": { + "name": "RequestSource", + "modelAsString": true + } + }, + "InstrumentationKey": { + "type": "string", + "readOnly": true, + "description": "Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component." + }, + "CreationDate": { + "type": "string", + "readOnly": true, + "description": "Creation Date for the Application Insights component, in ISO 8601 format.", + "format": "date-time" + }, + "TenantId": { + "type": "string", + "readOnly": true, + "description": "Azure Tenant Id." + }, + "HockeyAppId": { + "type": "string", + "description": "The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.", + "externalDocs": { + "url": "https://aka.ms/ewjuel" + } + }, + "HockeyAppToken": { + "type": "string", + "description": "Token used to authenticate communications with between Application Insights and HockeyApp.", + "readOnly": true, + "externalDocs": { + "url": "https://aka.ms/sls76s" + } + }, + "provisioningState": { + "type": "string", + "description": "Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.", + "readOnly": true + }, + "SamplingPercentage": { + "type": "number", + "format": "double", + "description": "Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.", + "externalDocs": { + "url": "https://aka.ms/sl0yqd" + } + }, + "ConnectionString": { + "type": "string", + "readOnly": true, + "description": "Application Insights component connection string." + }, + "RetentionInDays": { + "type": "integer", + "description": "Retention period in days.", + "default": 90 + }, + "DisableIpMasking": { + "type": "boolean", + "description": "Disable IP masking." + }, + "ImmediatePurgeDataOn30Days": { + "type": "boolean", + "description": "Purge data immediately after 30 days." + }, + "PrivateLinkScopedResources": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkScopedResource" + }, + "description": "List of linked private link scope resources." + }, + "IngestionMode": { + "type": "string", + "description": "Indicates the flow of the ingestion.", + "default": "ApplicationInsights", + "enum": [ + "ApplicationInsights", + "ApplicationInsightsWithDiagnosticSettings", + "LogAnalytics" + ], + "x-ms-enum": { + "name": "IngestionMode", + "modelAsString": true + } + } + }, + "required": [ + "Application_Type" + ] + }, + "PrivateLinkScopedResource": { + "properties": { + "ResourceId": { + "type": "string", + "description": "The full resource Id of the private link scope resource." + }, + "ScopeId": { + "type": "string", + "description": "The private link scope unique Identifier." + } + }, + "description": "The private link scope resource reference." + }, + "ApplicationInsightsComponentListResult": { + "description": "Describes the list of Application Insights Resources.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Application Insights component definitions.", + "items": { + "$ref": "#/definitions/ApplicationInsightsComponent" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to get the next set of Application Insights component definitions if too many components where returned in the result set." + } + } + }, + "ComponentPurgeBody": { + "description": "Describes the body of a purge request for an App Insights component", + "required": [ + "table", + "filters" + ], + "properties": { + "table": { + "type": "string", + "description": "Table from which to purge data." + }, + "filters": { + "type": "array", + "description": "The set of columns and filters (queries) to run over them to purge the resulting data.", + "items": { + "$ref": "#/definitions/ComponentPurgeBodyFilters" + } + } + } + }, + "ComponentPurgeBodyFilters": { + "description": "User-defined filters to return data which will be purged from the table.", + "properties": { + "column": { + "description": "The column of the table over which the given query should run", + "type": "string" + }, + "operator": { + "description": "A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.", + "type": "string" + }, + "value": { + "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.", + "type": "string" + } + } + }, + "ComponentPurgeResponse": { + "description": "Response containing operationId for a specific purge action.", + "properties": { + "operationId": { + "description": "Id to use when querying for status for a particular purge operation.", + "type": "string" + } + }, + "required": [ + "operationId" + ] + }, + "ComponentPurgeStatusResponse": { + "description": "Response containing status for a specific purge operation.", + "properties": { + "status": { + "description": "Status of the operation represented by the requested Id.", + "type": "string", + "enum": [ + "pending", + "completed" + ], + "x-ms-enum": { + "name": "PurgeState", + "modelAsString": true + } + } + }, + "required": [ + "status" + ] + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "ComponentPurgeParameter": { + "name": "body", + "in": "body", + "description": "Describes the body of a request to purge data in a single table of an Application Insights component", + "required": true, + "schema": { + "$ref": "#/definitions/ComponentPurgeBody" + }, + "x-ms-parameter-location": "method" + }, + "ComponentPurgeIdParameter": { + "name": "purgeId", + "in": "path", + "required": true, + "type": "string", + "description": "In a purge status request, this is the Id of the operation the status of which is returned.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json new file mode 100644 index 000000000000..ca44f85cbb91 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "APIKeyProperties": { + "name": "test2", + "linkedReadProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" + ], + "linkedWriteProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/annotations" + ] + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/fe2e0138-47c1-46c5-8726-872f54c1ca08", + "name": "test", + "linkedReadProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" + ], + "linkedWriteProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/annotations" + ], + "apiKey": "eip8wlzuzlf4wzczhnzao54zcswew25azs4kadhb", + "createdDate": "Thu, 28 Sep 2017 16:58:52 GMT" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json new file mode 100644 index 000000000000..e89849dea962 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "keyId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a", + "name": "test2", + "linkedReadProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" + ], + "linkedWriteProperties": [], + "createdDate": "Thu, 28 Sep 2017 16:59:18 GMT" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json new file mode 100644 index 000000000000..e89849dea962 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "keyId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a", + "name": "test2", + "linkedReadProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" + ], + "linkedWriteProperties": [], + "createdDate": "Thu, 28 Sep 2017 16:59:18 GMT" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json new file mode 100644 index 000000000000..e0a8e27ebeef --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/fe2e0138-47c1-46c5-8726-872f54c1ca08", + "name": "test", + "linkedReadProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" + ], + "linkedWriteProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/annotations" + ], + "createdDate": "Thu, 28 Sep 2017 16:58:52 GMT" + }, + { + "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a", + "name": "test2", + "linkedReadProperties": [ + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", + "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" + ], + "linkedWriteProperties": [], + "createdDate": "Thu, 28 Sep 2017 16:59:18 GMT" + } + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json new file mode 100644 index 000000000000..00b093d991be --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json @@ -0,0 +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": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json new file mode 100644 index 000000000000..018eb5251362 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json new file mode 100644 index 000000000000..38ad53232b04 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json @@ -0,0 +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" + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json new file mode 100644 index 000000000000..420dccd9a6de --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json new file mode 100644 index 000000000000..0761868d78ab --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "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\"}" + } + }, + "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 + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json new file mode 100644 index 000000000000..1bde68cbeec6 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "annotationId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a" + }, + "responses": { + "200": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json new file mode 100644 index 000000000000..53db7fb2286e --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "annotationId": "444e2c08-274a-4bbb-a89e-d77bb720f44a" + }, + "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 + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json new file mode 100644 index 000000000000..05fb9133dbce --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "start": "2018-02-05T00%253A30%253A00.000Z", + "end": "2018-02-06T00%253A33A00.000Z" + }, + "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 + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json new file mode 100644 index 000000000000..35f4f6fd15be --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json @@ -0,0 +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 + } + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json new file mode 100644 index 000000000000..88bcfebb39ce --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "InsightProperties": { + "location": "South Central US", + "kind": "web", + "properties": { + "Application_Type": "web", + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json new file mode 100644 index 000000000000..e2993692d798 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json new file mode 100644 index 000000000000..c00693fd1988 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json @@ -0,0 +1,39 @@ +{ + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json new file mode 100644 index 000000000000..3b8fbf90a8ee --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json @@ -0,0 +1,69 @@ +{ + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + }, + { + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json new file mode 100644 index 000000000000..92bc4f1c5498 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json @@ -0,0 +1,70 @@ +{ + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + }, + { + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json new file mode 100644 index 000000000000..e99c48948e38 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json new file mode 100644 index 000000000000..8d80f4b96b7d --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json new file mode 100644 index 000000000000..9ab62afd13e7 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "InsightProperties": { + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json new file mode 100644 index 000000000000..8bbbfec88eb7 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json @@ -0,0 +1,54 @@ +{ + "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, + "RetentionInDays": 90, + "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", + "DisableIpMasking": false, + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json new file mode 100644 index 000000000000..15c2b95b0290 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json @@ -0,0 +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 + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json new file mode 100644 index 000000000000..9a50270eafd5 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json @@ -0,0 +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 + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json new file mode 100644 index 000000000000..2df18ceeeb44 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json new file mode 100644 index 000000000000..2df18ceeeb44 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json new file mode 100644 index 000000000000..1ea700d72826 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json new file mode 100644 index 000000000000..58ef5216b176 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json @@ -0,0 +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" + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json new file mode 100644 index 000000000000..a915f5ac07c8 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json @@ -0,0 +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" + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json new file mode 100644 index 000000000000..cc3232385ead --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json @@ -0,0 +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 + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json new file mode 100644 index 000000000000..8df29a5ba724 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json @@ -0,0 +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": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json new file mode 100644 index 000000000000..6766f23b0174 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json @@ -0,0 +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 + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json new file mode 100644 index 000000000000..1af12d664042 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json @@ -0,0 +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 + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json new file mode 100644 index 000000000000..8631db11c6d5 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json @@ -0,0 +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 + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json new file mode 100644 index 000000000000..8ecba8336f2a --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json @@ -0,0 +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 + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json new file mode 100644 index 000000000000..44b33f169d2d --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "subscriptionId": "00000000-0000-0000-0000-00000000", + "workbookProperties": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "location": "west us", + "kind": "user", + "properties": { + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "displayName": "Blah Blah Blah", + "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" + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", + "properties": { + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "displayName": "Blah Blah Blah", + "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", + "category": "workbook" + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", + "properties": { + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "displayName": "Blah Blah Blah", + "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", + "category": "workbook" + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json new file mode 100644 index 000000000000..0f0066656add --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json @@ -0,0 +1,12 @@ +{ + "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/2020-10-20/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json new file mode 100644 index 000000000000..640ff6b08c01 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json @@ -0,0 +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": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "kind": "user", + "properties": { + "displayName": "My New Workbook", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "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", + "category": "workbook", + "timeModified": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json new file mode 100644 index 000000000000..6df92009e06e --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json @@ -0,0 +1,46 @@ +{ + "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" + ], + "kind": "user", + "properties": { + "displayName": "Blah Blah Blah", + "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", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook" + } + } + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [ + "TagSample01", + "TagSample02" + ], + "kind": "user", + "properties": { + "displayName": "Blah Blah Blah", + "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", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json new file mode 100644 index 000000000000..5aca7c5f3e07 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "category": "workbook" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [], + "kind": "user", + "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}", + "version": "ME", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook", + "timeModified": null + } + }, + { + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", + "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}", + "version": "ME", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook", + "timeModified": null + } + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json new file mode 100644 index 000000000000..96c336ec224d --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json @@ -0,0 +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 + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json new file mode 100644 index 000000000000..2b3574974183 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json @@ -0,0 +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 + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json new file mode 100644 index 000000000000..ce05ff442aa3 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json @@ -0,0 +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 + } + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json new file mode 100644 index 000000000000..9edb320043b0 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json @@ -0,0 +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" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json new file mode 100644 index 000000000000..0f912fba34d5 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json @@ -0,0 +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" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json new file mode 100644 index 000000000000..8d2df397907f --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "webTestName": "my-webtest-01-mywebservice" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json new file mode 100644 index 000000000000..0d7e5c1722b0 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json @@ -0,0 +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" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json new file mode 100644 index 000000000000..b2475e0bc144 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json @@ -0,0 +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": null + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json new file mode 100644 index 000000000000..de83204af8b6 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json @@ -0,0 +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": null + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json new file mode 100644 index 000000000000..19547fede910 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json @@ -0,0 +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": null + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json new file mode 100644 index 000000000000..6496ff230ee1 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json @@ -0,0 +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" + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json new file mode 100644 index 000000000000..eb9147be91e8 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json @@ -0,0 +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" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json new file mode 100644 index 000000000000..dbab36828ffc --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json @@ -0,0 +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" + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json new file mode 100644 index 000000000000..306927f7a422 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "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 + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json new file mode 100644 index 000000000000..9d046cf40bd6 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "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\":\"\"}" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json new file mode 100644 index 000000000000..250fe7dcfafb --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "workItemConfigId": "Visual Studio Team Services" + }, + "responses": { + "200": {} + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json new file mode 100644 index 000000000000..29ebaa16c45a --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "workItemConfigId": "Visual Studio Team Services" + }, + "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\":\"\"}" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json new file mode 100644 index 000000000000..9b262e56fb36 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component", + "workItemConfigId": "Visual Studio Team Services", + "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": { + "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\":\"\"}" + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json new file mode 100644 index 000000000000..5df7a559815a --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2015-05-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "my-component" + }, + "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\"}" + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json new file mode 100644 index 000000000000..2d65bd888055 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -0,0 +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" + ] + } + }, + "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" + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json new file mode 100644 index 000000000000..0f0066656add --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json @@ -0,0 +1,12 @@ +{ + "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/2020-10-20/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json new file mode 100644 index 000000000000..f7d346745481 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json @@ -0,0 +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" + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json new file mode 100644 index 000000000000..3fb288e830cf --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json @@ -0,0 +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 + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json new file mode 100644 index 000000000000..2aedf6c99cec --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json @@ -0,0 +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 + } + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json new file mode 100644 index 000000000000..83461c19d2eb --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json @@ -0,0 +1,382 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for favorites.", + "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}/favorites": { + "get": { + "description": "Gets a list of favorites defined within an Application Insights component.", + "operationId": "Favorites_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" + }, + { + "$ref": "#/parameters/FavoriteTypeParameter" + }, + { + "$ref": "#/parameters/SourceTypeParameter" + }, + { + "$ref": "#/parameters/CanFetchFavoriteContentParameter" + }, + { + "$ref": "#/parameters/TagsFilterParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more favorite definitions associated to the Application Insights component.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + } + } + } + }, + "x-ms-examples": { + "FavoritesList": { + "$ref": "./examples/FavoritesList.json" + } + } + } + }, + "/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", + "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/FavoriteIdParameter" + } + ], + "responses": { + "200": { + "description": "A favorite definition associated to the Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + } + } + }, + "x-ms-examples": { + "FavoriteGet": { + "$ref": "./examples/FavoriteGet.json" + } + } + }, + "put": { + "description": "Adds a new favorites to an Application Insights component.", + "operationId": "Favorites_Add", + "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/FavoriteIdParameter" + }, + { + "name": "favoriteProperties", + "description": "Properties that need to be specified to create a new favorite and add it to an Application Insights component.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + } + } + ], + "responses": { + "200": { + "description": "The newly created favorite that is associated to the Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + } + } + }, + "x-ms-examples": { + "FavoriteAdd": { + "$ref": "./examples/FavoriteAdd.json" + } + } + }, + "patch": { + "description": "Updates a favorite that has already been added to an Application Insights component.", + "operationId": "Favorites_Update", + "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/FavoriteIdParameter" + }, + { + "name": "favoriteProperties", + "description": "Properties that need to be specified to update the existing favorite.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + } + } + ], + "responses": { + "200": { + "description": "The favorite definition updated.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsComponentFavorite" + } + } + }, + "x-ms-examples": { + "FavoriteList": { + "$ref": "./examples/FavoriteUpdate.json" + } + } + }, + "delete": { + "description": "Remove a favorite that is associated to an Application Insights component.", + "operationId": "Favorites_Delete", + "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/FavoriteIdParameter" + } + ], + "responses": { + "200": { + "description": "The favorite has been successfully removed from the Application Insights component." + } + }, + "x-ms-examples": { + "FavoriteList": { + "$ref": "./examples/FavoriteDelete.json" + } + } + } + } + }, + "definitions": { + "ApplicationInsightsComponentFavorite": { + "description": "Properties that define a favorite that is associated to an Application Insights component.", + "properties": { + "Name": { + "type": "string", + "description": "The user-defined name of the favorite." + }, + "Config": { + "type": "string", + "description": "Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON" + }, + "Version": { + "type": "string", + "description": "This instance's version of the data model. This can change as new features are added that can be marked favorite. Current examples include MetricsExplorer (ME) and Search." + }, + "FavoriteId": { + "type": "string", + "description": "Internally assigned unique id of the favorite definition.", + "readOnly": true + }, + "FavoriteType": { + "description": "Enum indicating if this favorite 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": "FavoriteType", + "modelAsString": false + } + }, + "SourceType": { + "type": "string", + "description": "The source of the favorite definition." + }, + "TimeModified": { + "type": "string", + "description": "Date and time in UTC of the last modification that was made to this favorite definition.", + "readOnly": true + }, + "Tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of 0 or more tags that are associated with this favorite definition" + }, + "Category": { + "type": "string", + "description": "Favorite category, as defined by the user at creation time." + }, + "IsGeneratedFromTemplate": { + "type": "boolean", + "description": "Flag denoting wether or not this favorite was generated from a template." + }, + "UserId": { + "type": "string", + "readOnly": true, + "description": "Unique user id of the specific user that owns this favorite." + } + } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "FavoriteTypeParameter": { + "name": "favoriteType", + "in": "query", + "required": false, + "type": "string", + "default": "shared", + "enum": [ + "shared", + "user" + ], + "x-ms-enum": { + "name": "FavoriteType", + "modelAsString": false + }, + "description": "The type of favorite. Value can be either shared or user.", + "x-ms-parameter-location": "method" + }, + "FavoriteIdParameter": { + "name": "favoriteId", + "in": "path", + "required": true, + "type": "string", + "description": "The Id of a specific favorite defined in the Application Insights component", + "x-ms-parameter-location": "method" + }, + "SourceTypeParameter": { + "name": "sourceType", + "in": "query", + "required": false, + "type": "string", + "allowEmptyValue": true, + "enum": [ + "retention", + "notebook", + "sessions", + "events", + "userflows", + "funnel", + "impact", + "segmentation" + ], + "x-ms-enum": { + "name": "FavoriteSourceType", + "modelAsString": true + }, + "description": "Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum).", + "x-ms-parameter-location": "method" + }, + "CanFetchFavoriteContentParameter": { + "name": "canFetchContent", + "in": "query", + "required": false, + "type": "boolean", + "description": "Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites.", + "x-ms-parameter-location": "method" + }, + "TagsFilterParameter": { + "name": "tags", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv", + "description": "Tags that must be present on each favorite returned.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json new file mode 100644 index 000000000000..3f3d5067ce54 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -0,0 +1,539 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights private workbook type.", + "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/myWorkbooks": { + "get": { + "description": "Get all private workbooks defined within a specified resource group and category.", + "operationId": "MyWorkbooks_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + }, + { + "$ref": "#/parameters/CanFetchWorkbookContentParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more private workbook definitions.", + "schema": { + "$ref": "#/definitions/MyWorkbooksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "WorkbooksList": { + "$ref": "./examples/MyWorkbooksList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks": { + "get": { + "description": "Get all private workbooks defined within a specified subscription and category.", + "operationId": "MyWorkbooks_ListBySubscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + }, + { + "$ref": "#/parameters/CanFetchWorkbookContentParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more private workbook definitions.", + "schema": { + "$ref": "#/definitions/MyWorkbooksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "WorkbooksList": { + "$ref": "./examples/MyWorkbooksList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}": { + "get": { + "description": "Get a single private workbook by its resourceName.", + "operationId": "MyWorkbooks_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A private workbook definition.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookGet": { + "$ref": "./examples/MyWorkbookGet.json" + } + } + }, + "delete": { + "description": "Delete a private workbook.", + "operationId": "MyWorkbooks_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "The private workbook has been successfully deleted." + }, + "204": { + "description": "The resource doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookDelete": { + "$ref": "./examples/MyWorkbookDelete.json" + } + } + }, + "put": { + "description": "Create a new private workbook.", + "operationId": "MyWorkbooks_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "workbookProperties", + "description": "Properties that need to be specified to create a new private workbook.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + } + ], + "responses": { + "200": { + "description": "The newly created private workbook.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "201": { + "description": "The newly created private workbook.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookAdd": { + "$ref": "./examples/MyWorkbookAdd.json" + } + } + }, + "patch": { + "description": "Updates a private workbook that has already been added.", + "operationId": "MyWorkbooks_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "workbookProperties", + "description": "Properties that need to be specified to create a new private workbook.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + } + ], + "responses": { + "200": { + "description": "The private workbook definition updated.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookUpdate": { + "$ref": "./examples/MyWorkbookUpdate.json" + } + } + } + } + }, + "definitions": { + "MyWorkbookResource": { + "properties": { + "id": { + "type": "string", + "description": "Azure resource Id", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "name": { + "type": "string", + "description": "Azure resource name", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "type": { + "type": "string", + "description": "Azure resource type", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "MyWorkbooksListResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/MyWorkbook" + }, + "description": "An array of private workbooks." + } + }, + "description": "Workbook list result." + }, + "MyWorkbook": { + "description": "An Application Insights private workbook definition.", + "allOf": [ + { + "$ref": "#/definitions/MyWorkbookResource" + } + ], + "properties": { + "kind": { + "type": "string", + "description": "The kind of workbook. Choices are user and shared.", + "enum": [ + "user", + "shared" + ], + "x-ms-enum": { + "name": "SharedTypeKind", + "modelAsString": true + } + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Metadata describing a workbook for an Azure resource.", + "$ref": "#/definitions/MyWorkbookProperties" + } + } + }, + "MyWorkbookProperties": { + "description": "Properties that contain a private workbook.", + "required": [ + "displayName", + "category", + "serializedData" + ], + "properties": { + "displayName": { + "type": "string", + "description": "The user-defined name of the private workbook." + }, + "serializedData": { + "type": "string", + "description": "Configuration of this particular private workbook. Configuration data is a string containing valid JSON" + }, + "version": { + "type": "string", + "description": "This instance's version of the data model. This can change as new features are added that can be marked private workbook." + }, + "timeModified": { + "type": "string", + "description": "Date and time in UTC of the last modification that was made to this private workbook definition.", + "readOnly": true + }, + "category": { + "type": "string", + "description": "Workbook category, as defined by the user at creation time." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of 0 or more tags that are associated with this private workbook definition" + }, + "userId": { + "type": "string", + "description": "Unique user id of the specific user that owns this private workbook.", + "readOnly": true + }, + "sourceId": { + "type": "string", + "description": "Optional resourceId for a source resource." + } + } + }, + "ErrorFieldContract": { + "properties": { + "code": { + "type": "string", + "description": "Property level error code." + }, + "message": { + "type": "string", + "description": "Human-readable representation of property-level error." + }, + "target": { + "type": "string", + "description": "Property name." + } + }, + "description": "Error Field contract." + }, + "MyWorkbookError": { + "properties": { + "code": { + "type": "string", + "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response." + }, + "message": { + "type": "string", + "description": "Human-readable representation of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorFieldContract" + }, + "description": "The list of invalid fields send in request, in case of validation error." + } + }, + "description": "Error message body that will indicate why the operation failed." + } + }, + "parameters": { + "WorkbookResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "name": "category", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "workbook", + "TSG", + "performance", + "retention" + ], + "x-ms-enum": { + "name": "CategoryType", + "modelAsString": true + }, + "description": "Category of workbook to return.", + "x-ms-parameter-location": "method" + }, + "SourceIdParameter": { + "name": "sourceId", + "in": "query", + "required": true, + "type": "string", + "description": "Azure Resource Id that will fetch all linked workbooks.", + "x-ms-parameter-location": "method" + }, + "ResourceIdParameter": { + "name": "resourceId", + "in": "query", + "required": true, + "type": "string", + "description": "Azure Resource Id or any target workbook resource id.", + "x-ms-parameter-location": "method" + }, + "CanFetchWorkbookContentParameter": { + "name": "canFetchContent", + "in": "query", + "required": false, + "type": "boolean", + "description": "Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.", + "x-ms-parameter-location": "method" + }, + "TagsParameter": { + "name": "tags", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv", + "description": "Tags presents on each workbook returned.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json new file mode 100644 index 000000000000..89279d98d2ab --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json @@ -0,0 +1,117 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for web test locations.", + "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}/syntheticmonitorlocations": { + "get": { + "description": "Gets a list of web test locations available to this Application Insights component.", + "operationId": "webTestLocations_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 web test location names available to the Application Insights component.", + "schema": { + "$ref": "#/definitions/ApplicationInsightsWebTestLocationsListResult" + } + } + }, + "x-ms-examples": { + "WebTestLocationsList": { + "$ref": "./examples/WebTestLocationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "ApplicationInsightsWebTestLocationsListResult": { + "description": "Describes the list of web test locations available to an Application Insights Component.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of web test locations.", + "items": { + "$ref": "#/definitions/ApplicationInsightsComponentWebTestLocation" + } + } + } + }, + "ApplicationInsightsComponentWebTestLocation": { + "description": "Properties that define a web test location available to an Application Insights Component.", + "type": "object", + "properties": { + "DisplayName": { + "type": "string", + "readOnly": true, + "description": "The display name of the web test location." + }, + "Tag": { + "type": "string", + "readOnly": true, + "description": "Internally defined geographic location tag." + } + } + } + }, + "parameters": { + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json new file mode 100644 index 000000000000..d2accdc7df35 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json @@ -0,0 +1,491 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for web test based alerting.", + "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/webtests": { + "get": { + "description": "Get all Application Insights web tests defined within a specified resource group.", + "operationId": "WebTests_ListByResourceGroup", + "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" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more web test definitions.", + "schema": { + "$ref": "#/definitions/webTestListResult" + } + } + }, + "x-ms-examples": { + "webTestListByResourceGroup": { + "$ref": "./examples/WebTestListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}": { + "get": { + "description": "Get a specific Application Insights web test definition.", + "operationId": "WebTests_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/WebTestNameParameter" + } + ], + "responses": { + "200": { + "description": "Ann Application Insights web test definition.", + "schema": { + "$ref": "#/definitions/WebTest" + } + } + }, + "x-ms-examples": { + "webTestGet": { + "$ref": "./examples/WebTestGet.json" + } + } + }, + "put": { + "description": "Creates or updates an Application Insights web test definition.", + "operationId": "WebTests_CreateOrUpdate", + "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/WebTestNameParameter" + }, + { + "name": "WebTestDefinition", + "description": "Properties that need to be specified to create or update an Application Insights web test definition.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebTest" + } + } + ], + "responses": { + "200": { + "description": "Adding the Application Insights web test was successful. Web test properties are updated and returned.", + "schema": { + "$ref": "#/definitions/WebTest" + } + } + }, + "x-ms-examples": { + "webTestCreate": { + "$ref": "./examples/WebTestCreate.json" + }, + "webTestUpdate": { + "$ref": "./examples/WebTestUpdate.json" + } + } + }, + "patch": { + "description": "Creates or updates an Application Insights web test definition.", + "operationId": "WebTests_UpdateTags", + "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/WebTestNameParameter" + }, + { + "name": "WebTestTags", + "description": "Updated tag information to set into the web test instance.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Updating the Application Insights web test tags was successful. Web test tags are updated and returned with the rest of the WebTest object properties.", + "schema": { + "$ref": "#/definitions/WebTest" + } + } + }, + "x-ms-examples": { + "webTestUpdateTags": { + "$ref": "./examples/WebTestUpdateTagsOnly.json" + } + } + }, + "delete": { + "description": "Deletes an Application Insights web test.", + "operationId": "WebTests_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WebTestNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No content: the request was successful, but the response is empty (the request to delete failed because the specified web test does not exist)." + }, + "200": { + "description": "Successful request to delete a web test definition." + } + }, + "x-ms-examples": { + "webTestDelete": { + "$ref": "./examples/WebTestDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests": { + "get": { + "description": "Get all Application Insights web test alerts definitions within a subscription.", + "operationId": "WebTests_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list of 0 or more Application Insights web test definitions.", + "schema": { + "$ref": "#/definitions/webTestListResult" + } + } + }, + "x-ms-examples": { + "webTestList": { + "$ref": "./examples/WebTestList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests": { + "get": { + "description": "Get all Application Insights web tests defined for the specified component.", + "operationId": "WebTests_ListByComponent", + "parameters": [ + { + "$ref": "#/parameters/ComponentNameParameter" + }, + { + "$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" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more web test definitions.", + "schema": { + "$ref": "#/definitions/webTestListResult" + } + } + }, + "x-ms-examples": { + "webTestListByComponent": { + "$ref": "./examples/WebTestListByComponent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "WebtestsResource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "TagsResource": { + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a WebTest instance." + }, + "webTestListResult": { + "description": "A list of 0 or more Application Insights web test definitions.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "Set of Application Insights web test definitions.", + "items": { + "$ref": "#/definitions/WebTest" + } + }, + "nextLink": { + "type": "string", + "description": "The link to get the next part of the returned list of web tests, should the return set be too large for a single request. May be null." + } + } + }, + "WebTest": { + "description": "An Application Insights web test definition.", + "allOf": [ + { + "$ref": "#/definitions/WebtestsResource" + } + ], + "properties": { + "kind": { + "type": "string", + "description": "The kind of web test that this web test watches. Choices are ping and multistep.", + "default": "ping", + "enum": [ + "ping", + "multistep" + ], + "x-ms-enum": { + "name": "WebTestKind", + "modelAsString": false + } + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Metadata describing a web test for an Azure resource.", + "$ref": "#/definitions/WebTestProperties" + } + } + }, + "WebTestProperties": { + "description": "Metadata describing a web test for an Azure resource.", + "required": [ + "Name", + "Kind", + "Locations", + "SyntheticMonitorId" + ], + "properties": { + "SyntheticMonitorId": { + "type": "string", + "description": "Unique ID of this WebTest. This is typically the same value as the Name field." + }, + "Name": { + "x-ms-client-name": "WebTestName", + "type": "string", + "description": "User defined name if this WebTest." + }, + "Description": { + "type": "string", + "description": "Purpose/user defined descriptive test for this WebTest." + }, + "Enabled": { + "type": "boolean", + "description": "Is the test actively being monitored." + }, + "Frequency": { + "type": "integer", + "format": "int32", + "description": "Interval in seconds between test runs for this WebTest. Default value is 300.", + "default": 300 + }, + "Timeout": { + "type": "integer", + "format": "int32", + "description": "Seconds until this WebTest will timeout and fail. Default value is 30.", + "default": 30 + }, + "Kind": { + "x-ms-client-name": "WebTestKind", + "type": "string", + "description": "The kind of web test this is, valid choices are ping and multistep.", + "default": "ping", + "enum": [ + "ping", + "multistep" + ], + "x-ms-enum": { + "name": "WebTestKind", + "modelAsString": false + } + }, + "RetryEnabled": { + "type": "boolean", + "description": "Allow for retries should this WebTest fail." + }, + "Locations": { + "type": "array", + "description": "A list of where to physically run the tests from to give global coverage for accessibility of your application.", + "items": { + "$ref": "#/definitions/WebTestGeolocation" + } + }, + "Configuration": { + "type": "object", + "description": "An XML configuration specification for a WebTest.", + "properties": { + "WebTest": { + "type": "string", + "description": "The XML specification of a WebTest to run against an application." + } + } + }, + "provisioningState": { + "type": "string", + "description": "Current state of this component, whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.", + "readOnly": true + } + } + }, + "WebTestGeolocation": { + "description": "Geo-physical location to run a web test from. You must specify one or more locations for the test to run from.", + "type": "object", + "properties": { + "Id": { + "x-ms-client-name": "location", + "type": "string", + "description": "Location ID for the webtest to run from." + } + } + } + }, + "parameters": { + "ComponentNameParameter": { + "name": "componentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "WebTestNameParameter": { + "name": "webTestName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights webtest resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json new file mode 100644 index 000000000000..f3fb7bdc4e2d --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json @@ -0,0 +1,522 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights workbook type.", + "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/workbooks": { + "get": { + "description": "Get all Workbooks defined within a specified resource group and category.", + "operationId": "Workbooks_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + }, + { + "$ref": "#/parameters/CanFetchWorkbookContentParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more workbook definitions.", + "schema": { + "$ref": "#/definitions/WorkbooksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "WorkbooksList": { + "$ref": "./examples/WorkbooksList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { + "get": { + "description": "Get a single workbook by its resourceName.", + "operationId": "Workbooks_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A workbook definition.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookGet": { + "$ref": "./examples/WorkbookGet.json" + } + } + }, + "delete": { + "description": "Delete a workbook.", + "operationId": "Workbooks_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "The workbook has been successfully deleted." + }, + "204": { + "description": "The resource doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookDelete": { + "$ref": "./examples/WorkbookDelete.json" + } + } + }, + "put": { + "description": "Create a new workbook.", + "operationId": "Workbooks_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "workbookProperties", + "description": "Properties that need to be specified to create a new workbook.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workbook" + } + } + ], + "responses": { + "200": { + "description": "The newly created workbook.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "201": { + "description": "The newly created workbook.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookAdd": { + "$ref": "./examples/WorkbookAdd.json" + } + } + }, + "patch": { + "description": "Updates a workbook that has already been added.", + "operationId": "Workbooks_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "workbookProperties", + "description": "Properties that need to be specified to create a new workbook.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workbook" + } + } + ], + "responses": { + "200": { + "description": "The workbook definition updated.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookUpdate": { + "$ref": "./examples/WorkbookUpdate.json" + } + } + } + } + }, + "definitions": { + "WorkbookResource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "WorkbooksListResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Workbook" + }, + "description": "An array of workbooks." + } + }, + "description": "Workbook list result." + }, + "Workbook": { + "description": "An Application Insights workbook definition.", + "allOf": [ + { + "$ref": "#/definitions/WorkbookResource" + } + ], + "properties": { + "kind": { + "type": "string", + "description": "The kind of workbook. Choices are user and shared.", + "enum": [ + "user", + "shared" + ], + "x-ms-enum": { + "name": "SharedTypeKind", + "modelAsString": true + } + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Metadata describing a web test for an Azure resource.", + "$ref": "#/definitions/WorkbookProperties" + } + } + }, + "LinkProperties": { + "description": "Contains a sourceId and workbook resource id to link two resources.", + "properties": { + "sourceId": { + "type": "string", + "description": "The source Azure resource id" + }, + "targetId": { + "type": "string", + "description": "The workbook Azure resource id" + }, + "category": { + "type": "string", + "description": "The category of workbook" + } + } + }, + "WorkbookProperties": { + "description": "Properties that contain a workbook.", + "required": [ + "name", + "kind", + "category", + "workbookId", + "serializedData", + "userId" + ], + "properties": { + "name": { + "type": "string", + "description": "The user-defined name of the workbook." + }, + "serializedData": { + "type": "string", + "description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON" + }, + "version": { + "type": "string", + "description": "This instance's version of the data model. This can change as new features are added that can be marked workbook." + }, + "workbookId": { + "type": "string", + "description": "Internally assigned unique id of the workbook definition." + }, + "kind": { + "description": "Enum indicating if this workbook definition is owned by a specific user or is shared between all users with access to the Application Insights component.", + "x-ms-client-name": "SharedTypeKind", + "default": "shared", + "type": "string", + "enum": [ + "shared", + "user" + ], + "x-ms-enum": { + "name": "SharedTypeKind", + "modelAsString": true + } + }, + "timeModified": { + "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." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of 0 or more tags that are associated with this workbook definition" + }, + "userId": { + "type": "string", + "description": "Unique user id of the specific user that owns this workbook." + }, + "sourceResourceId": { + "type": "string", + "description": "Optional resourceId for a source resource." + } + } + }, + "ErrorFieldContract": { + "properties": { + "code": { + "type": "string", + "description": "Property level error code." + }, + "message": { + "type": "string", + "description": "Human-readable representation of property-level error." + }, + "target": { + "type": "string", + "description": "Property name." + } + }, + "description": "Error Field contract." + }, + "WorkbookError": { + "properties": { + "code": { + "type": "string", + "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response." + }, + "message": { + "type": "string", + "description": "Human-readable representation of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorFieldContract" + }, + "description": "The list of invalid fields send in request, in case of validation error." + } + }, + "description": "Error message body that will indicate why the operation failed." + } + }, + "parameters": { + "WorkbookResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "name": "category", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "workbook", + "TSG", + "performance", + "retention" + ], + "x-ms-enum": { + "name": "CategoryType", + "modelAsString": true + }, + "description": "Category of workbook to return.", + "x-ms-parameter-location": "method" + }, + "SourceIdParameter": { + "name": "sourceId", + "in": "query", + "required": true, + "type": "string", + "description": "Azure Resource Id that will fetch all linked workbooks.", + "x-ms-parameter-location": "method" + }, + "ResourceIdParameter": { + "name": "resourceId", + "in": "query", + "required": true, + "type": "string", + "description": "Azure Resource Id or any target workbook resource id.", + "x-ms-parameter-location": "method" + }, + "CanFetchWorkbookContentParameter": { + "name": "canFetchContent", + "in": "query", + "required": false, + "type": "boolean", + "description": "Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.", + "x-ms-parameter-location": "method" + }, + "TagsParameter": { + "name": "tags", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv", + "description": "Tags presents on each workbook returned.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json new file mode 100644 index 000000000000..cdf1e0cec2c2 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -0,0 +1,542 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights workbook type.", + "version": "2018-06-17-preview" + }, + "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/workbooks": { + "get": { + "description": "Get all Workbooks defined within a specified resource group and category.", + "operationId": "Workbooks_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + }, + { + "$ref": "#/parameters/SourceIdParameter" + }, + { + "$ref": "#/parameters/CanFetchWorkbookContentParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more workbook definitions.", + "schema": { + "$ref": "#/definitions/WorkbooksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "WorkbooksList": { + "$ref": "./examples/WorkbooksList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { + "get": { + "description": "Get a single workbook by its resourceName.", + "operationId": "Workbooks_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A workbook definition.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookGet": { + "$ref": "./examples/WorkbookGet.json" + } + } + }, + "delete": { + "description": "Delete a workbook.", + "operationId": "Workbooks_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "The workbook has been successfully deleted." + }, + "204": { + "description": "The resource doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookDelete": { + "$ref": "./examples/WorkbookDelete.json" + } + } + }, + "put": { + "description": "Create a new workbook.", + "operationId": "Workbooks_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "#/parameters/SourceIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "workbookProperties", + "description": "Properties that need to be specified to create a new workbook.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workbook" + } + } + ], + "responses": { + "200": { + "description": "The newly created workbook.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "201": { + "description": "The newly created workbook.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookAdd": { + "$ref": "./examples/WorkbookAdd.json" + } + } + }, + "patch": { + "description": "Updates a workbook that has already been added.", + "operationId": "Workbooks_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "#/parameters/SourceIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "WorkbookUpdateParameters", + "description": "Properties that need to be specified to create a new workbook.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/WorkbookUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The workbook definition updated.", + "schema": { + "$ref": "#/definitions/Workbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/WorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookUpdate": { + "$ref": "./examples/WorkbookUpdate.json" + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name. This is GUID value. The display name should be assigned within properties field." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "kind": { + "type": "string", + "description": "The kind of workbook. Choices are user and shared.", + "enum": [ + "user", + "shared" + ], + "x-ms-enum": { + "name": "SharedTypeKind", + "modelAsString": true + } + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "WorkbooksListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Workbook" + }, + "description": "An array of workbooks." + } + }, + "description": "Workbook list result." + }, + "Workbook": { + "description": "An Application Insights workbook definition.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Metadata describing a workbook for an Azure resource.", + "$ref": "#/definitions/WorkbookProperties" + } + } + }, + "WorkbookProperties": { + "description": "Properties that contain a workbook.", + "required": [ + "displayName", + "category", + "serializedData" + ], + "properties": { + "displayName": { + "type": "string", + "description": "The user-defined name (display name) of the workbook." + }, + "serializedData": { + "type": "string", + "description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON" + }, + "timeModified": { + "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." + }, + "version": { + "type": "string", + "description": "Workbook version" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of 0 or more tags that are associated with this workbook definition" + }, + "userId": { + "type": "string", + "description": "Unique user id of the specific user that owns this workbook.", + "readOnly": true + }, + "sourceId": { + "type": "string", + "description": "ResourceId for a source resource." + } + } + }, + "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 + } + }, + "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" + } + }, + "description": "The parameters that can be provided when updating workbook properties properties." + }, + "WorkbookPropertiesUpdateParameters": { + "description": "Properties that contain a workbook for PATCH operation.", + "properties": { + "displayName": { + "type": "string", + "description": "The user-defined name (display name) of the workbook." + }, + "serializedData": { + "type": "string", + "description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON" + }, + "category": { + "type": "string", + "description": "Workbook category, as defined by the user at creation time." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of 0 or more tags that are associated with this workbook definition" + } + } + }, + "ErrorFieldContract": { + "properties": { + "code": { + "type": "string", + "description": "Property level error code." + }, + "message": { + "type": "string", + "description": "Human-readable representation of property-level error." + }, + "target": { + "type": "string", + "description": "Property name." + } + }, + "description": "Error Field contract." + }, + "WorkbookError": { + "properties": { + "code": { + "type": "string", + "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response." + }, + "message": { + "type": "string", + "description": "Human-readable representation of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorFieldContract" + }, + "description": "The list of invalid fields send in request, in case of validation error." + } + }, + "description": "Error message body that will indicate why the operation failed." + } + }, + "parameters": { + "WorkbookResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "name": "category", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "workbook", + "TSG", + "performance", + "retention" + ], + "x-ms-enum": { + "name": "CategoryType", + "modelAsString": true + }, + "description": "Category of workbook to return.", + "x-ms-parameter-location": "method" + }, + "SourceIdParameter": { + "name": "sourceId", + "in": "query", + "required": true, + "type": "string", + "description": "Azure Resource Id that will fetch all related workbooks.", + "x-ms-parameter-location": "method" + }, + "CanFetchWorkbookContentParameter": { + "name": "canFetchContent", + "in": "query", + "required": false, + "type": "boolean", + "description": "Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.", + "x-ms-parameter-location": "method" + }, + "TagsParameter": { + "name": "tags", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv", + "description": "Tags presents on each workbook returned.", + "x-ms-parameter-location": "method" + } + } +} From 42a1f38803299c38b33d043474be85aaa618e148 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 15:52:50 -0700 Subject: [PATCH 02/65] updated api with current request/responses --- .../2020-10-20/examples/WorkbookAdd.json | 6 +- .../2020-10-20/examples/WorkbookGet.json | 3 +- .../examples/WorkbookManagedAdd.json | 70 +++ .../examples/WorkbookManagedGet.json | 47 ++ .../examples/WorkbookManagedUpdate.json | 66 +++ .../2020-10-20/examples/WorkbookUpdate.json | 3 +- .../2020-10-20/examples/WorkbooksList.json | 6 +- .../examples/WorkbooksManagedList.json | 79 +++ .../stable/2020-10-20/workbooks_API copy.json | 522 ------------------ .../stable/2020-10-20/workbooks_API.json | 29 +- 10 files changed, 301 insertions(+), 530 deletions(-) create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 2d65bd888055..8122b8763e92 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -39,7 +39,8 @@ "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "category": "workbook", - "timeModified": null + "timeModified": null, + "storageUri": null }, "tags": [ "TagSample01", @@ -61,7 +62,8 @@ "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "category": "workbook", - "timeModified": null + "timeModified": null, + "storageUri": null }, "tags": [ "TagSample01", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json index f7d346745481..a99e069a3235 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json @@ -20,7 +20,8 @@ "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "category": "workbook", - "timeModified": null + "timeModified": null, + "storageUri": null }, "tags": [ "TagSample01", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json new file mode 100644 index 000000000000..aedd50cca43f --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "type": "microsoft.insights/workbooks", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", + "properties": { + "displayName": "tttt", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", + "timeModified": "2020-10-20T22:15:08.1875458Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "type": "microsoft.insights/workbooks", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", + "properties": { + "displayName": "tttt", + "serializedData": null, + "version": "Notebook/1.0", + "category": "workbook", + "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", + "timeModified": "2020-10-20T22:00:26.4229554Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json new file mode 100644 index 000000000000..b7fc9b63daaa --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "8980832b-9589-4ac2-b322-a6ae6a97f02b", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } + }, + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/microsoft.insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", + "name": "76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", + "type": "microsoft.insights/workbooks", + "location": "westcentralus", + "tags": { + "hidden-title": "azuremon" + }, + "kind": "shared", + "etag": "\"0c003cb4-0000-0600-0000-5f5203c60000\"", + "properties": { + "displayName": "azuremon", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"testing1\"},\"showPin\":false,\"name\":\"text - 0\"}],\"isLocked\":true,\"fallbackResourceIds\":[\"Azure Monitor\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "userId": "51d1409c-d725-4550-ac03-98c0bef9ef07", + "sourceId": "azure monitor", + "timeModified": "2020-09-04T09:07:17.735638Z", + "tags": [], + "storageUri": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/VuTest1/providers/Microsoft.Storage/storageAccounts/vutest1/blobServices/default/containers/testcmk2" + } + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json new file mode 100644 index 000000000000..153e35e28ca4 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "id": "e378d137-1243-4256-b5c4-562a937cae79", + "name": "e378d137-1243-4256-b5c4-562a937cae79", + "location": "westus", + "tags": null, + "type": "microsoft.insights/workbooks", + "kind": "user", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + } + }, + "properties": { + "displayName": "tttt", + "version": "Notebook/1.0", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/MyGroup\"]}", + "category": "workbook", + "isPersisted": true, + "timeModified": "2020-10-20T22:00:26.4229554Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } + }, + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", + "name": "e378d137-1243-4256-b5c4-562a937cae79", + "type": "microsoft.insights/workbooks", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f78d-0000-0700-0000-5f8f616c0000\"", + "properties": { + "displayName": "tttt", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/MyGroup\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "userId": "70d90f65-8a70-4e42-b8d5-863725e0a90f", + "sourceId": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup", + "timeModified": "2020-10-20T22:15:08.1875458Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json index 3fb288e830cf..9c1041809329 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json @@ -42,7 +42,8 @@ "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "category": "workbook", - "timeModified": null + "timeModified": null, + "storageUri": null } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json index 2aedf6c99cec..bf0260b44337 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json @@ -22,7 +22,8 @@ "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "category": "workbook", - "timeModified": null + "timeModified": null, + "storageUri": null } }, { @@ -42,7 +43,8 @@ "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "category": "workbook", - "timeModified": null + "timeModified": null, + "storageUri": null } } ] diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json new file mode 100644 index 000000000000..f62cd28c03ea --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac119r124af", + "resourceGroupName": "my-resource-group", + "category": "workbook" + }, + "responses": { + "200": { + "body": [ + { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270433", + "principalId": "075a0ca6-4326-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b12d-4752-8e66-c999d560326e0" + } + } + }, + "id": "c0deea5e-3344-40f2-96f8-6f8e1cdd5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4ddq-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-4ddq-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null, + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + }, + { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3230432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b73f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } + }, + "id": "c0deea5e-3344-40f2-96f8-6f8e1cdd5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4ddq-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-4ddq-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null, + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + } + ] + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json deleted file mode 100644 index f3fb7bdc4e2d..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API copy.json +++ /dev/null @@ -1,522 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights workbook type.", - "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/workbooks": { - "get": { - "description": "Get all Workbooks defined within a specified resource group and category.", - "operationId": "Workbooks_ListByResourceGroup", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/CategoryParameter" - }, - { - "$ref": "#/parameters/TagsParameter" - }, - { - "$ref": "#/parameters/CanFetchWorkbookContentParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more workbook definitions.", - "schema": { - "$ref": "#/definitions/WorkbooksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/WorkbookError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-examples": { - "WorkbooksList": { - "$ref": "./examples/WorkbooksList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { - "get": { - "description": "Get a single workbook by its resourceName.", - "operationId": "Workbooks_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A workbook definition.", - "schema": { - "$ref": "#/definitions/Workbook" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/WorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookGet": { - "$ref": "./examples/WorkbookGet.json" - } - } - }, - "delete": { - "description": "Delete a workbook.", - "operationId": "Workbooks_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "201": { - "description": "The workbook has been successfully deleted." - }, - "204": { - "description": "The resource doesn't exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/WorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookDelete": { - "$ref": "./examples/WorkbookDelete.json" - } - } - }, - "put": { - "description": "Create a new workbook.", - "operationId": "Workbooks_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "workbookProperties", - "description": "Properties that need to be specified to create a new workbook.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Workbook" - } - } - ], - "responses": { - "200": { - "description": "The newly created workbook.", - "schema": { - "$ref": "#/definitions/Workbook" - } - }, - "201": { - "description": "The newly created workbook.", - "schema": { - "$ref": "#/definitions/Workbook" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/WorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookAdd": { - "$ref": "./examples/WorkbookAdd.json" - } - } - }, - "patch": { - "description": "Updates a workbook that has already been added.", - "operationId": "Workbooks_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "workbookProperties", - "description": "Properties that need to be specified to create a new workbook.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Workbook" - } - } - ], - "responses": { - "200": { - "description": "The workbook definition updated.", - "schema": { - "$ref": "#/definitions/Workbook" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/WorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookUpdate": { - "$ref": "./examples/WorkbookUpdate.json" - } - } - } - } - }, - "definitions": { - "WorkbookResource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "WorkbooksListResult": { - "properties": { - "value": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Workbook" - }, - "description": "An array of workbooks." - } - }, - "description": "Workbook list result." - }, - "Workbook": { - "description": "An Application Insights workbook definition.", - "allOf": [ - { - "$ref": "#/definitions/WorkbookResource" - } - ], - "properties": { - "kind": { - "type": "string", - "description": "The kind of workbook. Choices are user and shared.", - "enum": [ - "user", - "shared" - ], - "x-ms-enum": { - "name": "SharedTypeKind", - "modelAsString": true - } - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Metadata describing a web test for an Azure resource.", - "$ref": "#/definitions/WorkbookProperties" - } - } - }, - "LinkProperties": { - "description": "Contains a sourceId and workbook resource id to link two resources.", - "properties": { - "sourceId": { - "type": "string", - "description": "The source Azure resource id" - }, - "targetId": { - "type": "string", - "description": "The workbook Azure resource id" - }, - "category": { - "type": "string", - "description": "The category of workbook" - } - } - }, - "WorkbookProperties": { - "description": "Properties that contain a workbook.", - "required": [ - "name", - "kind", - "category", - "workbookId", - "serializedData", - "userId" - ], - "properties": { - "name": { - "type": "string", - "description": "The user-defined name of the workbook." - }, - "serializedData": { - "type": "string", - "description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON" - }, - "version": { - "type": "string", - "description": "This instance's version of the data model. This can change as new features are added that can be marked workbook." - }, - "workbookId": { - "type": "string", - "description": "Internally assigned unique id of the workbook definition." - }, - "kind": { - "description": "Enum indicating if this workbook definition is owned by a specific user or is shared between all users with access to the Application Insights component.", - "x-ms-client-name": "SharedTypeKind", - "default": "shared", - "type": "string", - "enum": [ - "shared", - "user" - ], - "x-ms-enum": { - "name": "SharedTypeKind", - "modelAsString": true - } - }, - "timeModified": { - "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." - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of 0 or more tags that are associated with this workbook definition" - }, - "userId": { - "type": "string", - "description": "Unique user id of the specific user that owns this workbook." - }, - "sourceResourceId": { - "type": "string", - "description": "Optional resourceId for a source resource." - } - } - }, - "ErrorFieldContract": { - "properties": { - "code": { - "type": "string", - "description": "Property level error code." - }, - "message": { - "type": "string", - "description": "Human-readable representation of property-level error." - }, - "target": { - "type": "string", - "description": "Property name." - } - }, - "description": "Error Field contract." - }, - "WorkbookError": { - "properties": { - "code": { - "type": "string", - "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response." - }, - "message": { - "type": "string", - "description": "Human-readable representation of the error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ErrorFieldContract" - }, - "description": "The list of invalid fields send in request, in case of validation error." - } - }, - "description": "Error message body that will indicate why the operation failed." - } - }, - "parameters": { - "WorkbookResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "CategoryParameter": { - "name": "category", - "in": "query", - "required": true, - "type": "string", - "enum": [ - "workbook", - "TSG", - "performance", - "retention" - ], - "x-ms-enum": { - "name": "CategoryType", - "modelAsString": true - }, - "description": "Category of workbook to return.", - "x-ms-parameter-location": "method" - }, - "SourceIdParameter": { - "name": "sourceId", - "in": "query", - "required": true, - "type": "string", - "description": "Azure Resource Id that will fetch all linked workbooks.", - "x-ms-parameter-location": "method" - }, - "ResourceIdParameter": { - "name": "resourceId", - "in": "query", - "required": true, - "type": "string", - "description": "Azure Resource Id or any target workbook resource id.", - "x-ms-parameter-location": "method" - }, - "CanFetchWorkbookContentParameter": { - "name": "canFetchContent", - "in": "query", - "required": false, - "type": "boolean", - "description": "Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.", - "x-ms-parameter-location": "method" - }, - "TagsParameter": { - "name": "tags", - "in": "query", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "csv", - "description": "Tags presents on each workbook returned.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index cdf1e0cec2c2..7de4bbac90c3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights workbook type.", - "version": "2018-06-17-preview" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ @@ -269,6 +269,10 @@ "definitions": { "Resource": { "properties": { + "identity": { + "description": "Identity used for BYOS", + "$ref": "#/definitions/ManagedIdentity" + }, "id": { "type": "string", "readOnly": true, @@ -389,6 +393,10 @@ "sourceId": { "type": "string", "description": "ResourceId for a source resource." + }, + "storageUri": { + "type": "string", + "description": "BYOS Storage Account URI" } } }, @@ -481,6 +489,23 @@ } }, "description": "Error message body that will indicate why the operation failed." + }, + "ManagedIdentity": { + "descriptions": "Customer Managed Identity", + "properties": { + "type": { + "type": "string", + "description": "identity type: \"systemAssigned\", \"userAssigned\", \"systemAssigned,userAssigned\", or \"None\"" + }, + "principalId": { + "type": "string", + "description": "principalId used for the managed identity" + }, + "tenantId": { + "type": "string", + "description": "tenantId used for the managed identity" + } + } } }, "parameters": { @@ -539,4 +564,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file From 29756da61849dcc2315d7d5b253a6ae5b9bdad59 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 15:56:25 -0700 Subject: [PATCH 03/65] updated api version --- .../Microsoft.Insights/stable/2020-10-20/aiOperations_API.json | 2 +- .../stable/2020-10-20/analyticsItems_API.json | 2 +- .../stable/2020-10-20/componentAnnotations_API.json | 2 +- .../stable/2020-10-20/componentApiKeys_API.json | 2 +- .../stable/2020-10-20/componentContinuousExport_API.json | 2 +- .../stable/2020-10-20/componentFeaturesAndPricing_API.json | 2 +- .../stable/2020-10-20/componentProactiveDetection_API.json | 2 +- .../stable/2020-10-20/componentWorkItemConfigs_API.json | 2 +- .../Microsoft.Insights/stable/2020-10-20/components_API.json | 2 +- .../stable/2020-10-20/examples/APIKeysCreate.json | 2 +- .../stable/2020-10-20/examples/APIKeysDelete.json | 2 +- .../stable/2020-10-20/examples/APIKeysGet.json | 2 +- .../stable/2020-10-20/examples/APIKeysList.json | 2 +- .../stable/2020-10-20/examples/AnalyticsItemDelete.json | 2 +- .../stable/2020-10-20/examples/AnalyticsItemGet.json | 2 +- .../stable/2020-10-20/examples/AnalyticsItemList.json | 2 +- .../stable/2020-10-20/examples/AnalyticsItemPut.json | 2 +- .../stable/2020-10-20/examples/AnnotationsCreate.json | 2 +- .../stable/2020-10-20/examples/AnnotationsDelete.json | 2 +- .../stable/2020-10-20/examples/AnnotationsGet.json | 2 +- .../stable/2020-10-20/examples/AnnotationsList.json | 2 +- .../stable/2020-10-20/examples/AvailableBillingFeaturesGet.json | 2 +- .../stable/2020-10-20/examples/ComponentsCreate.json | 2 +- .../stable/2020-10-20/examples/ComponentsDelete.json | 2 +- .../stable/2020-10-20/examples/ComponentsGet.json | 2 +- .../stable/2020-10-20/examples/ComponentsList.json | 2 +- .../2020-10-20/examples/ComponentsListByResourceGroup.json | 2 +- .../stable/2020-10-20/examples/ComponentsPurge.json | 2 +- .../stable/2020-10-20/examples/ComponentsPurgeStatus.json | 2 +- .../stable/2020-10-20/examples/ComponentsUpdate.json | 2 +- .../stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json | 2 +- .../stable/2020-10-20/examples/CurrentBillingFeaturesGet.json | 2 +- .../2020-10-20/examples/CurrentBillingFeaturesUpdate.json | 2 +- .../stable/2020-10-20/examples/ExportConfigurationDelete.json | 2 +- .../stable/2020-10-20/examples/ExportConfigurationGet.json | 2 +- .../stable/2020-10-20/examples/ExportConfigurationUpdate.json | 2 +- .../stable/2020-10-20/examples/ExportConfigurationsList.json | 2 +- .../stable/2020-10-20/examples/ExportConfigurationsPost.json | 2 +- .../stable/2020-10-20/examples/FavoriteAdd.json | 2 +- .../stable/2020-10-20/examples/FavoriteDelete.json | 2 +- .../stable/2020-10-20/examples/FavoriteGet.json | 2 +- .../stable/2020-10-20/examples/FavoriteUpdate.json | 2 +- .../stable/2020-10-20/examples/FavoritesList.json | 2 +- .../stable/2020-10-20/examples/FeatureCapabilitiesGet.json | 2 +- .../stable/2020-10-20/examples/MyWorkbookAdd.json | 2 +- .../stable/2020-10-20/examples/MyWorkbookDelete.json | 2 +- .../stable/2020-10-20/examples/MyWorkbookGet.json | 2 +- .../stable/2020-10-20/examples/MyWorkbookUpdate.json | 2 +- .../stable/2020-10-20/examples/MyWorkbooksList.json | 2 +- .../2020-10-20/examples/ProactiveDetectionConfigurationGet.json | 2 +- .../examples/ProactiveDetectionConfigurationUpdate.json | 2 +- .../examples/ProactiveDetectionConfigurationsList.json | 2 +- .../stable/2020-10-20/examples/QuotaStatusGet.json | 2 +- .../stable/2020-10-20/examples/WebTestCreate.json | 2 +- .../stable/2020-10-20/examples/WebTestDelete.json | 2 +- .../stable/2020-10-20/examples/WebTestGet.json | 2 +- .../stable/2020-10-20/examples/WebTestList.json | 2 +- .../stable/2020-10-20/examples/WebTestListByComponent.json | 2 +- .../stable/2020-10-20/examples/WebTestListByResourceGroup.json | 2 +- .../stable/2020-10-20/examples/WebTestLocationsList.json | 2 +- .../stable/2020-10-20/examples/WebTestUpdate.json | 2 +- .../stable/2020-10-20/examples/WebTestUpdateTagsOnly.json | 2 +- .../stable/2020-10-20/examples/WorkItemConfigCreate.json | 2 +- .../stable/2020-10-20/examples/WorkItemConfigDefaultGet.json | 2 +- .../stable/2020-10-20/examples/WorkItemConfigDelete.json | 2 +- .../stable/2020-10-20/examples/WorkItemConfigGet.json | 2 +- .../stable/2020-10-20/examples/WorkItemConfigUpdate.json | 2 +- .../stable/2020-10-20/examples/WorkItemConfigsGet.json | 2 +- .../stable/2020-10-20/examples/WorkbookAdd.json | 2 +- .../stable/2020-10-20/examples/WorkbookDelete.json | 2 +- .../stable/2020-10-20/examples/WorkbookGet.json | 2 +- .../stable/2020-10-20/examples/WorkbookUpdate.json | 2 +- .../stable/2020-10-20/examples/WorkbooksList.json | 2 +- .../Microsoft.Insights/stable/2020-10-20/favorites_API.json | 2 +- .../Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json | 2 +- .../stable/2020-10-20/webTestLocations_API.json | 2 +- .../Microsoft.Insights/stable/2020-10-20/webTests_API.json | 2 +- 77 files changed, 77 insertions(+), 77 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json index c71db9292334..79e17ddcabe3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2015-05-01", + "version": "2020-10-20", "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for web test based alerting." }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json index 50515b97884d..d6ebc0da3929 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for saved items.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json index bb5b9116c39c..c891abb68ffd 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for Annotations for a component.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json index 0f9b5145ee6d..725ceb6d1766 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for API keys of a component.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json index ef0d51e98d36..35b1118a6643 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for Continuous Export of a component.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json index b141ef967b0f..c93846b454bc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for selecting pricing plans and options.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json index 967bc3168689..fb8f5a2767d6 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for ProactiveDetection configurations of a component.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json index d018d4f8d6a3..db8cf01ad1ad 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for work item configurations for a component.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json index 73eb9e993907..f87102482b79 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for Components.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json index ca44f85cbb91..826c59e06d8f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json index e89849dea962..30aaddb38ba2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json index e89849dea962..30aaddb38ba2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json index e0a8e27ebeef..f4fe6448016a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json index 00b093d991be..f37dbd723189 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json index 018eb5251362..0e671bdba17c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json index 38ad53232b04..bca5a3ffd06d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json index 420dccd9a6de..265acd120d5d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json index 0761868d78ab..ae0ce564d786 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json index 1bde68cbeec6..fdcdd85b1e59 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json index 53db7fb2286e..967a7270f66f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json index 05fb9133dbce..22000f4f60a1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json index 35f4f6fd15be..b9cfc9c39628 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json index 88bcfebb39ce..73e4499443c5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json index e2993692d798..2fb05403aefb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json index c00693fd1988..5dfd93498f44 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json index 3b8fbf90a8ee..9768370d94f4 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid" }, "responses": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json index 92bc4f1c5498..2ae9676abf68 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json index e99c48948e38..55bcc58eaf27 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json @@ -18,7 +18,7 @@ "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" + "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=2020-10-20" }, "body": { "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json index 8d80f4b96b7d..98902df6ccd0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "OIAutoRest5123", "resourceName": "aztest5048", - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "00000000-0000-0000-0000-00000000000", "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json index 9ab62afd13e7..33453db0093f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json index 8bbbfec88eb7..249ce0e4a904 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json index 15c2b95b0290..01a6b27c0587 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json index 9a50270eafd5..7510e6d5f7d9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json index 2df18ceeeb44..4d750621adff 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json index 2df18ceeeb44..4d750621adff 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json index 1ea700d72826..ead4ca8a6c57 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json index 58ef5216b176..b82e6fb34d0f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json index a915f5ac07c8..6951a3f80c44 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json index cc3232385ead..004447a59ec7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "resourceGroupName": "my-resource-group", "resourceName": "my-ai-component", "subscriptionId": "subid", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json index 8df29a5ba724..acb7d76adf43 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-ai-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json index 6766f23b0174..e4abc89c7314 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-ai-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json index 1af12d664042..c40fd53b5fe0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-ai-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json index 8631db11c6d5..7131367ff5f7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-ai-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json index 8ecba8336f2a..7025eaab0e4d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json index 44b33f169d2d..978d468095dc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", "subscriptionId": "00000000-0000-0000-0000-00000000", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json index 0f0066656add..19d4cd9b5a38 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json index 640ff6b08c01..d0bc2a0993af 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json index 6df92009e06e..64b3e6ac0141 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json index 5aca7c5f3e07..3d244eac8f8f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "category": "workbook" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json index 96c336ec224d..09a7391db839 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json index 2b3574974183..0014e93fd3b7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json index ce05ff442aa3..babc86782db9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json index 9edb320043b0..cb6cc303cca6 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json index 0f912fba34d5..ae5e81478cf3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "webTestName": "my-webtest-my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json index 8d2df397907f..e9dffab3d00e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "webTestName": "my-webtest-01-mywebservice" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json index 0d7e5c1722b0..4fe233e3a873 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "webTestName": "my-webtest-01-mywebservice" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json index b2475e0bc144..e9d470b810b7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json index de83204af8b6..d78e9f0f5a19 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "componentName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json index 19547fede910..3275f3a6d120 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json index 6496ff230ee1..b9369124234f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json index eb9147be91e8..34066d858e9e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "webTestName": "my-webtest-my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json index dbab36828ffc..4e234c30bf9e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "webTestName": "my-webtest-my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json index 306927f7a422..86d3a43e079d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json index 9d046cf40bd6..f5857ce3c397 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json index 250fe7dcfafb..123fd9b80180 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json index 29ebaa16c45a..14840fdee7db 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json index 9b262e56fb36..ccb158a805e7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json index 5df7a559815a..aa541f99135b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 8122b8763e92..f5603b6168df 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", "subscriptionId": "subid", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json index 0f0066656add..19d4cd9b5a38 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json index a99e069a3235..b59c9f649c89 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json index 9c1041809329..23379ef74610 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json index bf0260b44337..79f54dc171f9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-05-01", + "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "category": "workbook" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json index 83461c19d2eb..3796c97fb574 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for favorites.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index 3f3d5067ce54..7f0f413a8bda 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights private workbook type.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json index 89279d98d2ab..ab748ca207b2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for web test locations.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json index d2accdc7df35..bf768fa424e1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json @@ -3,7 +3,7 @@ "info": { "title": "ApplicationInsightsManagementClient", "description": "Azure Application Insights client for web test based alerting.", - "version": "2015-05-01" + "version": "2020-10-20" }, "host": "management.azure.com", "schemes": [ From 2c156695b2cc6af9964b9e99fd8c19b4906ab2f5 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 16:11:46 -0700 Subject: [PATCH 04/65] updated readme --- .../applicationinsights/resource-manager/readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 5c0ad5cb963a..81a2ac731c26 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -105,6 +105,15 @@ directive: reason: 'delete API returns empty response and is already part of the previous api, cannot change it' ``` +### Tag: package-2020-10-20 + +These settings apply only when `--tag=package-2020-10-20` is specified on the command line. + +``` yaml $(tag) == 'package-2020-10-20' +input-file: + - Microsoft.Insights/stable/2020-10-20/workbooks_API.json +``` + ### Tag: package-preview-2020-06-only These settings apply only when `--tag=package-preview-2020-06-only` is specified on the command line. From ea6fb34d8e2173e3614597969034362aa974f7cd Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 16:20:16 -0700 Subject: [PATCH 05/65] fixed typo --- .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 7de4bbac90c3..a7d4c4fd55eb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -491,7 +491,7 @@ "description": "Error message body that will indicate why the operation failed." }, "ManagedIdentity": { - "descriptions": "Customer Managed Identity", + "description": "Customer Managed Identity", "properties": { "type": { "type": "string", From 3492d336b305847d4f569c48af12b29cf39a1426 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 16:40:30 -0700 Subject: [PATCH 06/65] added operation list --- .../stable/2020-10-20/workbooks_API.json | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index a7d4c4fd55eb..ac812a957c2a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -34,6 +34,37 @@ } }, "paths": { + "/providers/Microsoft.insights/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available Insights operations.", + "operationId": "ListInsightsOperations", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", @@ -506,6 +537,22 @@ "description": "tenantId used for the managed identity" } } + }, + "OperationListResult": { + "description": "Result of the request to list Microsoft.Insights 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/Workbook" + }, + "description": "List of Resource Provider operations supported by the Resource Provider resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } } }, "parameters": { From fc5ed544264991bebd234c2171548581e17c0e4e Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 16:52:33 -0700 Subject: [PATCH 07/65] added error to operation list --- .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index ac812a957c2a..6f64e0c182bd 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -56,7 +56,7 @@ "default": { "description": "Resource Provider error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/WorkbookError" } } }, From f81a2de2ce2084b7fcf7846c19860ca9d6d506a5 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 17:07:02 -0700 Subject: [PATCH 08/65] removed redundant files --- .../stable/2020-10-20/aiOperations_API.json | 128 ---- .../stable/2020-10-20/analyticsItems_API.json | 380 ---------- .../2020-10-20/componentAnnotations_API.json | 324 --------- .../2020-10-20/componentApiKeys_API.json | 281 -------- .../componentContinuousExport_API.json | 392 ---------- .../componentFeaturesAndPricing_API.json | 484 ------------- .../componentProactiveDetection_API.json | 259 ------- .../componentWorkItemConfigs_API.json | 379 ---------- .../stable/2020-10-20/components_API.json | 668 ------------------ .../2020-10-20/examples/APIKeysCreate.json | 35 - .../2020-10-20/examples/APIKeysDelete.json | 27 - .../2020-10-20/examples/APIKeysGet.json | 27 - .../2020-10-20/examples/APIKeysList.json | 46 -- .../examples/AnalyticsItemDelete.json | 14 - .../2020-10-20/examples/AnalyticsItemGet.json | 25 - .../examples/AnalyticsItemList.json | 85 --- .../2020-10-20/examples/AnalyticsItemPut.json | 31 - .../examples/AnnotationsCreate.json | 29 - .../examples/AnnotationsDelete.json | 12 - .../2020-10-20/examples/AnnotationsGet.json | 23 - .../2020-10-20/examples/AnnotationsList.json | 32 - .../examples/AvailableBillingFeaturesGet.json | 280 -------- .../2020-10-20/examples/ComponentsCreate.json | 48 -- .../2020-10-20/examples/ComponentsDelete.json | 12 - .../2020-10-20/examples/ComponentsGet.json | 39 - .../2020-10-20/examples/ComponentsList.json | 69 -- .../ComponentsListByResourceGroup.json | 70 -- .../2020-10-20/examples/ComponentsPurge.json | 28 - .../examples/ComponentsPurgeStatus.json | 16 - .../2020-10-20/examples/ComponentsUpdate.json | 50 -- .../examples/ComponentsUpdateTagsOnly.json | 54 -- .../examples/CurrentBillingFeaturesGet.json | 25 - .../CurrentBillingFeaturesUpdate.json | 36 - .../examples/ExportConfigurationDelete.json | 34 - .../examples/ExportConfigurationGet.json | 34 - .../examples/ExportConfigurationUpdate.json | 45 -- .../examples/ExportConfigurationsList.json | 35 - .../examples/ExportConfigurationsPost.json | 46 -- .../2020-10-20/examples/FavoriteAdd.json | 43 -- .../2020-10-20/examples/FavoriteDelete.json | 12 - .../2020-10-20/examples/FavoriteGet.json | 28 - .../2020-10-20/examples/FavoriteUpdate.json | 45 -- .../2020-10-20/examples/FavoritesList.json | 41 -- .../examples/FeatureCapabilitiesGet.json | 30 - .../2020-10-20/examples/MyWorkbookAdd.json | 66 -- .../2020-10-20/examples/MyWorkbookDelete.json | 12 - .../2020-10-20/examples/MyWorkbookGet.json | 32 - .../2020-10-20/examples/MyWorkbookUpdate.json | 46 -- .../2020-10-20/examples/MyWorkbooksList.json | 51 -- .../ProactiveDetectionConfigurationGet.json | 33 - ...ProactiveDetectionConfigurationUpdate.json | 53 -- .../ProactiveDetectionConfigurationsList.json | 51 -- .../2020-10-20/examples/QuotaStatusGet.json | 17 - .../2020-10-20/examples/WebTestCreate.json | 64 -- .../2020-10-20/examples/WebTestDelete.json | 12 - .../2020-10-20/examples/WebTestGet.json | 45 -- .../2020-10-20/examples/WebTestList.json | 68 -- .../examples/WebTestListByComponent.json | 47 -- .../examples/WebTestListByResourceGroup.json | 76 -- .../examples/WebTestLocationsList.json | 78 -- .../2020-10-20/examples/WebTestUpdate.json | 67 -- .../examples/WebTestUpdateTagsOnly.json | 57 -- .../examples/WorkItemConfigCreate.json | 28 - .../examples/WorkItemConfigDefaultGet.json | 19 - .../examples/WorkItemConfigDelete.json | 12 - .../examples/WorkItemConfigGet.json | 20 - .../examples/WorkItemConfigUpdate.json | 35 - .../examples/WorkItemConfigsGet.json | 28 - .../stable/2020-10-20/favorites_API.json | 382 ---------- .../stable/2020-10-20/myworkbooks_API.json | 539 -------------- .../2020-10-20/webTestLocations_API.json | 117 --- .../stable/2020-10-20/webTests_API.json | 491 ------------- 72 files changed, 7347 deletions(-) delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json deleted file mode 100644 index 79e17ddcabe3..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2020-10-20", - "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" - } - } - }, - "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" - } - } - } - } - }, - "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." - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json deleted file mode 100644 index d6ebc0da3929..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/analyticsItems_API.json +++ /dev/null @@ -1,380 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for saved items.", - "version": "2020-10-20" - }, - "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" - } - } - } - }, - "/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" - } - } - } - } - }, - "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" - } - } - }, - "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" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json deleted file mode 100644 index c891abb68ffd..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentAnnotations_API.json +++ /dev/null @@ -1,324 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for Annotations for a component.", - "version": "2020-10-20" - }, - "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}/Annotations": { - "get": { - "description": "Gets the list of annotations for a component for given time range", - "operationId": "Annotations_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" - }, - { - "$ref": "#/parameters/StartParameter" - }, - { - "$ref": "#/parameters/EndParameter" - } - ], - "responses": { - "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/AnnotationsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/AnnotationError" - } - } - }, - "x-ms-examples": { - "AnnotationsList": { - "$ref": "./examples/AnnotationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - }, - "put": { - "description": "Create an Annotation of an Application Insights component.", - "operationId": "Annotations_Create", - "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" - }, - { - "name": "AnnotationProperties", - "description": "Properties that need to be specified to create an annotation of a Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Annotation" - } - } - ], - "responses": { - "200": { - "description": "An object containing the annotation definition created by this PUT call.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Annotation" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/AnnotationError" - } - } - }, - "x-ms-examples": { - "AnnotationsCreate": { - "$ref": "./examples/AnnotationsCreate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}": { - "delete": { - "description": "Delete an Annotation of an Application Insights component.", - "operationId": "Annotations_Delete", - "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/AnnotationIdParameter" - } - ], - "responses": { - "200": { - "description": "The annotation that was successfully deleted." - } - }, - "x-ms-examples": { - "AnnotationsDelete": { - "$ref": "./examples/AnnotationsDelete.json" - } - } - }, - "get": { - "description": "Get the annotation for given id.", - "operationId": "Annotations_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/AnnotationIdParameter" - } - ], - "responses": { - "200": { - "description": "The Annotation object for this id.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Annotation" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/AnnotationError" - } - } - }, - "x-ms-examples": { - "AnnotationsGet": { - "$ref": "./examples/AnnotationsGet.json" - } - } - } - } - }, - "definitions": { - "Annotation": { - "type": "object", - "description": "Annotation associated with an application insights resource.", - "properties": { - "AnnotationName": { - "type": "string", - "description": "Name of annotation" - }, - "Category": { - "type": "string", - "description": "Category of annotation, free form" - }, - "EventTime": { - "type": "string", - "format": "date-time", - "description": "Time when event occurred" - }, - "Id": { - "type": "string", - "description": "Unique Id for annotation" - }, - "Properties": { - "type": "string", - "description": "Serialized JSON object for detailed properties" - }, - "RelatedAnnotation": { - "type": "string", - "description": "Related parent annotation if any", - "default": "null" - } - } - }, - "AnnotationsListResult": { - "properties": { - "value": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Annotation" - }, - "description": "An array of annotations." - } - }, - "description": "Annotations list result." - }, - "InnerError": { - "type": "object", - "description": "Inner error", - "properties": { - "diagnosticcontext": { - "type": "string", - "description": "Provides correlation for request" - }, - "time": { - "type": "string", - "format": "date-time", - "description": "Request time" - } - } - }, - "AnnotationError": { - "type": "object", - "description": "Error associated with trying to create annotation with Id that already exist", - "properties": { - "code": { - "type": "string", - "description": "Error detail code and explanation" - }, - "message": { - "type": "string", - "description": "Error message" - }, - "innererror": { - "$ref": "#/definitions/InnerError" - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "AnnotationIdParameter": { - "name": "annotationId", - "in": "path", - "required": true, - "type": "string", - "description": "The unique annotation ID. This is unique within a Application Insights component.", - "x-ms-parameter-location": "method" - }, - "StartParameter": { - "name": "start", - "in": "query", - "required": true, - "type": "string", - "description": "The start time to query from for annotations, cannot be older than 90 days from current date.", - "x-ms-parameter-location": "method" - }, - "EndParameter": { - "name": "end", - "in": "query", - "required": true, - "type": "string", - "description": "The end time to query for annotations.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json deleted file mode 100644 index 725ceb6d1766..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentApiKeys_API.json +++ /dev/null @@ -1,281 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for API keys of a component.", - "version": "2020-10-20" - }, - "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}/ApiKeys": { - "get": { - "description": "Gets a list of API keys of an Application Insights component.", - "operationId": "APIKeys_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 API key definitions of an Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAPIKeyListResult" - } - } - }, - "x-ms-examples": { - "APIKeysList": { - "$ref": "./examples/APIKeysList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - }, - "post": { - "description": "Create an API Key of an Application Insights component.", - "operationId": "APIKeys_Create", - "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" - }, - { - "name": "APIKeyProperties", - "description": "Properties that need to be specified to create an API key of a Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/APIKeyRequest" - } - } - ], - "responses": { - "200": { - "description": "An object containing the API Key definition created by this POST call.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" - } - } - }, - "x-ms-examples": { - "APIKeyCreate": { - "$ref": "./examples/APIKeysCreate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}": { - "delete": { - "description": "Delete an API Key of an Application Insights component.", - "operationId": "APIKeys_Delete", - "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/KeyId" - } - ], - "responses": { - "200": { - "description": "The API Key that was successfully deleted.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" - } - } - }, - "x-ms-examples": { - "APIKeyDelete": { - "$ref": "./examples/APIKeysDelete.json" - } - } - }, - "get": { - "description": "Get the API Key for this key id.", - "operationId": "APIKeys_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/KeyId" - } - ], - "responses": { - "200": { - "description": "The API Key for this key id.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" - } - } - }, - "x-ms-examples": { - "APIKeysGet": { - "$ref": "./examples/APIKeysGet.json" - } - } - } - } - }, - "definitions": { - "APIKeyRequest": { - "description": "An Application Insights component API Key creation request definition.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the API Key." - }, - "linkedReadProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The read access rights of this API Key." - }, - "linkedWriteProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The write access rights of this API Key." - } - } - }, - "ApplicationInsightsComponentAPIKeyListResult": { - "description": "Describes the list of API Keys of an Application Insights Component.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of API Key definitions.", - "items": { - "$ref": "#/definitions/ApplicationInsightsComponentAPIKey" - } - } - } - }, - "ApplicationInsightsComponentAPIKey": { - "description": "Properties that define an API key of an Application Insights Component.", - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The unique ID of the API key inside an Application Insights component. It is auto generated when the API key is created." - }, - "apiKey": { - "type": "string", - "readOnly": true, - "description": "The API key value. It will be only return once when the API Key was created." - }, - "createdDate": { - "type": "string", - "description": "The create date of this API key." - }, - "name": { - "type": "string", - "description": "The name of the API key." - }, - "linkedReadProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The read access rights of this API Key." - }, - "linkedWriteProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The write access rights of this API Key." - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "KeyId": { - "name": "keyId", - "in": "path", - "required": true, - "type": "string", - "description": "The API Key ID. This is unique within a Application Insights component.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json deleted file mode 100644 index 35b1118a6643..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentContinuousExport_API.json +++ /dev/null @@ -1,392 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for Continuous Export of a component.", - "version": "2020-10-20" - }, - "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}/exportconfiguration": { - "get": { - "description": "Gets a list of Continuous Export configuration of an Application Insights component.", - "operationId": "ExportConfigurations_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 Continuous Export configuration definitions of an Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentExportConfigurationListResult" - } - } - }, - "x-ms-examples": { - "ExportConfigurationsList": { - "$ref": "./examples/ExportConfigurationsList.json" - } - } - }, - "post": { - "description": "Create a Continuous Export configuration of an Application Insights component.", - "operationId": "ExportConfigurations_Create", - "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" - }, - { - "name": "ExportProperties", - "description": "Properties that need to be specified to create a Continuous Export configuration of a Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentExportRequest" - } - } - ], - "responses": { - "200": { - "description": "A list containing the Continuous Export configuration definition created by this POST call.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentExportConfigurationListResult" - } - } - }, - "x-ms-examples": { - "ExportConfigurationPost": { - "$ref": "./examples/ExportConfigurationsPost.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}": { - "delete": { - "description": "Delete a Continuous Export configuration of an Application Insights component.", - "operationId": "ExportConfigurations_Delete", - "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/ExportId" - } - ], - "responses": { - "200": { - "description": "The Continuous Export configuration that was successfully deleted.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" - } - } - }, - "x-ms-examples": { - "ExportConfigurationDelete": { - "$ref": "./examples/ExportConfigurationDelete.json" - } - } - }, - "get": { - "description": "Get the Continuous Export configuration for this export id.", - "operationId": "ExportConfigurations_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/ExportId" - } - ], - "responses": { - "200": { - "description": "The Continuous Export configuration for this export id.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" - } - } - }, - "x-ms-examples": { - "ExportConfigurationGet": { - "$ref": "./examples/ExportConfigurationGet.json" - } - } - }, - "put": { - "description": "Update the Continuous Export configuration for this export id.", - "operationId": "ExportConfigurations_Update", - "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/ExportId" - }, - { - "name": "ExportProperties", - "description": "Properties that need to be specified to update the Continuous Export configuration.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentExportRequest" - } - } - ], - "responses": { - "200": { - "description": "The Continuous Export configuration that was successfully updated.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" - } - } - }, - "x-ms-examples": { - "ExportConfigurationUpdate": { - "$ref": "./examples/ExportConfigurationUpdate.json" - } - } - } - } - }, - "definitions": { - "ApplicationInsightsComponentExportRequest": { - "description": "An Application Insights component Continuous Export configuration request definition.", - "type": "object", - "properties": { - "RecordTypes": { - "type": "string", - "description": "The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'." - }, - "DestinationType": { - "type": "string", - "description": "The Continuous Export destination type. This has to be 'Blob'." - }, - "DestinationAddress": { - "type": "string", - "description": "The SAS URL for the destination storage container. It must grant write permission." - }, - "IsEnabled": { - "type": "string", - "description": "Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'." - }, - "NotificationQueueEnabled": { - "type": "string", - "description": "Deprecated" - }, - "NotificationQueueUri": { - "type": "string", - "description": "Deprecated" - }, - "DestinationStorageSubscriptionId": { - "type": "string", - "description": "The subscription ID of the destination storage container." - }, - "DestinationStorageLocationId": { - "type": "string", - "description": "The location ID of the destination storage container." - }, - "DestinationAccountId": { - "type": "string", - "description": "The name of destination storage account." - } - } - }, - "ApplicationInsightsComponentExportConfigurationListResult": { - "description": "A list of Continuous Export configurations.", - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" - } - }, - "ApplicationInsightsComponentExportConfiguration": { - "description": "Properties that define a Continuous Export configuration.", - "type": "object", - "properties": { - "ExportId": { - "type": "string", - "readOnly": true, - "description": "The unique ID of the export configuration inside an Application Insights component. It is auto generated when the Continuous Export configuration is created." - }, - "InstrumentationKey": { - "type": "string", - "readOnly": true, - "description": "The instrumentation key of the Application Insights component." - }, - "RecordTypes": { - "type": "string", - "description": "This comma separated list of document types that will be exported. The possible values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'." - }, - "ApplicationName": { - "type": "string", - "readOnly": true, - "description": "The name of the Application Insights component." - }, - "SubscriptionId": { - "type": "string", - "readOnly": true, - "description": "The subscription of the Application Insights component." - }, - "ResourceGroup": { - "type": "string", - "readOnly": true, - "description": "The resource group of the Application Insights component." - }, - "DestinationStorageSubscriptionId": { - "type": "string", - "readOnly": true, - "description": "The destination storage account subscription ID." - }, - "DestinationStorageLocationId": { - "type": "string", - "readOnly": true, - "description": "The destination account location ID." - }, - "DestinationAccountId": { - "type": "string", - "readOnly": true, - "description": "The name of destination account." - }, - "DestinationType": { - "type": "string", - "readOnly": true, - "description": "The destination type." - }, - "IsUserEnabled": { - "type": "string", - "readOnly": true, - "description": "This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'." - }, - "LastUserUpdate": { - "type": "string", - "readOnly": true, - "description": "Last time the Continuous Export configuration was updated." - }, - "NotificationQueueEnabled": { - "type": "string", - "description": "Deprecated" - }, - "ExportStatus": { - "type": "string", - "readOnly": true, - "description": "This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'." - }, - "LastSuccessTime": { - "type": "string", - "readOnly": true, - "description": "The last time data was successfully delivered to the destination storage container for this Continuous Export configuration." - }, - "LastGapTime": { - "type": "string", - "readOnly": true, - "description": "The last time the Continuous Export configuration started failing." - }, - "PermanentErrorReason": { - "type": "string", - "readOnly": true, - "description": "This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'." - }, - "StorageName": { - "type": "string", - "readOnly": true, - "description": "The name of the destination storage account." - }, - "ContainerName": { - "type": "string", - "readOnly": true, - "description": "The name of the destination storage container." - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "ExportId": { - "name": "exportId", - "in": "path", - "required": true, - "type": "string", - "description": "The Continuous Export configuration ID. This is unique within a Application Insights component.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json deleted file mode 100644 index c93846b454bc..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentFeaturesAndPricing_API.json +++ /dev/null @@ -1,484 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for selecting pricing plans and options.", - "version": "2020-10-20" - }, - "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}/currentbillingfeatures": { - "get": { - "description": "Returns current billing features for an Application Insights component.", - "operationId": "ComponentCurrentBillingFeatures_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" - } - ], - "responses": { - "200": { - "description": "An Application Insights component billing features definition.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentBillingFeatures" - } - } - }, - "x-ms-examples": { - "ComponentCurrentBillingFeaturesGet": { - "$ref": "./examples/CurrentBillingFeaturesGet.json" - } - } - }, - "put": { - "description": "Update current billing features for an Application Insights component.", - "operationId": "ComponentCurrentBillingFeatures_Update", - "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" - }, - { - "name": "BillingFeaturesProperties", - "description": "Properties that need to be specified to update billing features for an Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentBillingFeatures" - } - } - ], - "responses": { - "200": { - "description": "Successful request when updating billing features for an Application Insights component. The updated current billing features are returned.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentBillingFeatures" - } - } - }, - "x-ms-examples": { - "ComponentCurrentBillingFeaturesUpdate": { - "$ref": "./examples/CurrentBillingFeaturesUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/quotastatus": { - "get": { - "description": "Returns daily data volume cap (quota) status for an Application Insights component.", - "operationId": "ComponentQuotaStatus_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" - } - ], - "responses": { - "200": { - "description": "An Application Insights component daily data volume cap status definition.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentQuotaStatus" - } - } - }, - "x-ms-examples": { - "ComponentCurrentBillingFeaturesGet": { - "$ref": "./examples/QuotaStatusGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/featurecapabilities": { - "get": { - "description": "Returns feature capabilities of the application insights component.", - "operationId": "ComponentFeatureCapabilities_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" - } - ], - "responses": { - "200": { - "description": "An Application Insights component feature capabilities definition.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFeatureCapabilities" - } - } - }, - "x-ms-examples": { - "ComponentCurrentBillingFeaturesGet": { - "$ref": "./examples/FeatureCapabilitiesGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures": { - "get": { - "description": "Returns all available features of the application insights component.", - "operationId": "ComponentAvailableFeatures_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" - } - ], - "responses": { - "200": { - "description": "An Application Insights component available features definition.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentAvailableFeatures" - } - } - }, - "x-ms-examples": { - "ComponentCurrentBillingFeaturesGet": { - "$ref": "./examples/AvailableBillingFeaturesGet.json" - } - } - } - } - }, - "definitions": { - "ApplicationInsightsComponentBillingFeatures": { - "type": "object", - "description": "An Application Insights component billing features", - "properties": { - "DataVolumeCap": { - "description": "An Application Insights component daily data volume cap", - "$ref": "#/definitions/ApplicationInsightsComponentDataVolumeCap" - }, - "CurrentBillingFeatures": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'." - } - } - }, - "ApplicationInsightsComponentDataVolumeCap": { - "type": "object", - "description": "An Application Insights component daily data volume cap", - "properties": { - "Cap": { - "type": "number", - "description": "Daily data volume cap in GB." - }, - "ResetTime": { - "type": "integer", - "readOnly": true, - "description": "Daily data volume cap UTC reset hour." - }, - "WarningThreshold": { - "type": "integer", - "description": "Reserved, not used for now." - }, - "StopSendNotificationWhenHitThreshold": { - "type": "boolean", - "description": "Reserved, not used for now." - }, - "StopSendNotificationWhenHitCap": { - "type": "boolean", - "description": "Do not send a notification email when the daily data volume cap is met." - }, - "MaxHistoryCap": { - "type": "number", - "readOnly": true, - "description": "Maximum daily data volume cap that the user can set for this component." - } - } - }, - "ApplicationInsightsComponentQuotaStatus": { - "type": "object", - "description": "An Application Insights component daily data volume cap status", - "properties": { - "AppId": { - "type": "string", - "readOnly": true, - "description": "The Application ID for the Application Insights component." - }, - "ShouldBeThrottled": { - "type": "boolean", - "readOnly": true, - "description": "The daily data volume cap is met, and data ingestion will be stopped." - }, - "ExpirationTime": { - "type": "string", - "readOnly": true, - "description": "Date and time when the daily data volume cap will be reset, and data ingestion will resume." - } - } - }, - "ApplicationInsightsComponentFeatureCapabilities": { - "type": "object", - "description": "An Application Insights component feature capabilities", - "properties": { - "SupportExportData": { - "type": "boolean", - "readOnly": true, - "description": "Whether allow to use continuous export feature." - }, - "BurstThrottlePolicy": { - "type": "string", - "readOnly": true, - "description": "Reserved, not used now." - }, - "MetadataClass": { - "type": "string", - "readOnly": true, - "description": "Reserved, not used now." - }, - "LiveStreamMetrics": { - "type": "boolean", - "readOnly": true, - "description": "Reserved, not used now." - }, - "ApplicationMap": { - "type": "boolean", - "readOnly": true, - "description": "Reserved, not used now." - }, - "WorkItemIntegration": { - "type": "boolean", - "readOnly": true, - "description": "Whether allow to use work item integration feature." - }, - "PowerBIIntegration": { - "type": "boolean", - "readOnly": true, - "description": "Reserved, not used now." - }, - "OpenSchema": { - "type": "boolean", - "readOnly": true, - "description": "Reserved, not used now." - }, - "ProactiveDetection": { - "type": "boolean", - "readOnly": true, - "description": "Reserved, not used now." - }, - "AnalyticsIntegration": { - "type": "boolean", - "readOnly": true, - "description": "Reserved, not used now." - }, - "MultipleStepWebTest": { - "type": "boolean", - "readOnly": true, - "description": "Whether allow to use multiple steps web test feature." - }, - "ApiAccessLevel": { - "type": "string", - "readOnly": true, - "description": "Reserved, not used now." - }, - "TrackingType": { - "type": "string", - "readOnly": true, - "description": "The application insights component used tracking type." - }, - "DailyCap": { - "type": "number", - "readOnly": true, - "description": "Daily data volume cap in GB." - }, - "DailyCapResetTime": { - "type": "number", - "readOnly": true, - "description": "Daily data volume cap UTC reset hour." - }, - "ThrottleRate": { - "type": "number", - "readOnly": true, - "description": "Reserved, not used now." - } - } - }, - "ApplicationInsightsComponentAvailableFeatures": { - "type": "object", - "description": "An Application Insights component available features.", - "properties": { - "Result": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/ApplicationInsightsComponentFeature" - }, - "readOnly": true, - "description": "A list of Application Insights component feature." - } - } - }, - "ApplicationInsightsComponentFeature": { - "type": "object", - "description": "An Application Insights component daily data volume cap status", - "properties": { - "FeatureName": { - "type": "string", - "readOnly": true, - "description": "The pricing feature name." - }, - "MeterId": { - "type": "string", - "readOnly": true, - "description": "The meter id used for the feature." - }, - "MeterRateFrequency": { - "type": "string", - "readOnly": true, - "description": "The meter rate for the feature's meter." - }, - "ResouceId": { - "type": "string", - "readOnly": true, - "description": "Reserved, not used now." - }, - "IsHidden": { - "type": "boolean", - "readOnly": true, - "description": "Reserved, not used now." - }, - "Capabilities": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/ApplicationInsightsComponentFeatureCapability" - }, - "readOnly": true, - "description": "A list of Application Insights component feature capability." - }, - "Title": { - "type": "string", - "readOnly": true, - "description": "Display name of the feature." - }, - "IsMainFeature": { - "type": "boolean", - "readOnly": true, - "description": "Whether can apply addon feature on to it." - }, - "SupportedAddonFeatures": { - "type": "string", - "readOnly": true, - "description": "The add on features on main feature." - } - } - }, - "ApplicationInsightsComponentFeatureCapability": { - "type": "object", - "description": "An Application Insights component feature capability", - "properties": { - "Name": { - "type": "string", - "readOnly": true, - "description": "The name of the capability." - }, - "Description": { - "type": "string", - "readOnly": true, - "description": "The description of the capability." - }, - "Value": { - "type": "string", - "readOnly": true, - "description": "The value of the capability." - }, - "Unit": { - "type": "string", - "readOnly": true, - "description": "The unit of the capability." - }, - "MeterId": { - "type": "string", - "readOnly": true, - "description": "The meter used for the capability." - }, - "MeterRateFrequency": { - "type": "string", - "readOnly": true, - "description": "The meter rate of the meter." - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json deleted file mode 100644 index fb8f5a2767d6..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentProactiveDetection_API.json +++ /dev/null @@ -1,259 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for ProactiveDetection configurations of a component.", - "version": "2020-10-20" - }, - "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}/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" - } - } - } - }, - "/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" - } - } - }, - "x-ms-examples": { - "ProactiveDetectionConfigurationGet": { - "$ref": "./examples/ProactiveDetectionConfigurationGet.json" - } - } - }, - "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" - }, - { - "$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" - } - } - }, - "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" - }, - "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" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json deleted file mode 100644 index db8cf01ad1ad..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/componentWorkItemConfigs_API.json +++ /dev/null @@ -1,379 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for work item configurations for a component.", - "version": "2020-10-20" - }, - "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}/WorkItemConfigs": { - "get": { - "description": "Gets the list work item configurations that exist for the application", - "operationId": "WorkItemConfigurations_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": "successful operation", - "schema": { - "$ref": "#/definitions/WorkItemConfigurationsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/WorkItemConfigurationError" - } - } - }, - "x-ms-examples": { - "WorkItemConfigurationsList": { - "$ref": "./examples/WorkItemConfigsGet.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - }, - "post": { - "description": "Create a work item configuration for an Application Insights component.", - "operationId": "WorkItemConfigurations_Create", - "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" - }, - { - "name": "WorkItemConfigurationProperties", - "description": "Properties that need to be specified to create a work item configuration of a Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WorkItemCreateConfiguration" - } - } - ], - "responses": { - "200": { - "description": "An object containing the work item configuration definition created by this PUT call.", - "schema": { - "$ref": "#/definitions/WorkItemConfiguration" - } - } - }, - "x-ms-examples": { - "WorkItemConfigurationsCreate": { - "$ref": "./examples/WorkItemConfigCreate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/DefaultWorkItemConfig": { - "get": { - "description": "Gets default work item configurations that exist for the application", - "operationId": "WorkItemConfigurations_GetDefault", - "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": "successful operation", - "schema": { - "$ref": "#/definitions/WorkItemConfiguration" - } - } - }, - "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.", - "operationId": "WorkItemConfigurations_Delete", - "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/WorkItemConfigIdParameter" - } - ], - "responses": { - "200": { - "description": "The work item configuration that was successfully deleted." - } - }, - "x-ms-examples": { - "WorkItemConfigurationDelete": { - "$ref": "./examples/WorkItemConfigDelete.json" - } - } - }, - "get": { - "description": "Gets specified work item configuration for an Application Insights component.", - "operationId": "WorkItemConfigurations_GetItem", - "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/WorkItemConfigIdParameter" - } - ], - "responses": { - "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkItemConfiguration" - } - } - }, - "x-ms-examples": { - "WorkItemConfigurationsGetDefault": { - "$ref": "./examples/WorkItemConfigGet.json" - } - } - }, - "patch": { - "description": "Update a work item configuration for an Application Insights component.", - "operationId": "WorkItemConfigurations_UpdateItem", - "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/WorkItemConfigIdParameter" - }, - { - "name": "WorkItemConfigurationProperties", - "description": "Properties that need to be specified to update a work item configuration for this Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WorkItemCreateConfiguration" - } - } - ], - "responses": { - "200": { - "description": "Successful operation indicating the config updated by this PATCH call.", - "schema": { - "$ref": "#/definitions/WorkItemConfiguration" - } - } - }, - "x-ms-examples": { - "WorkItemConfigurationsCreate": { - "$ref": "./examples/WorkItemConfigUpdate.json" - } - } - } - } - }, - "definitions": { - "WorkItemConfiguration": { - "type": "object", - "description": "Work item configuration associated with an application insights resource.", - "properties": { - "ConnectorId": { - "type": "string", - "description": "Connector identifier where work item is created" - }, - "ConfigDisplayName": { - "type": "string", - "description": "Configuration friendly name" - }, - "IsDefault": { - "type": "boolean", - "description": "Boolean value indicating whether configuration is default" - }, - "Id": { - "type": "string", - "description": "Unique Id for work item" - }, - "ConfigProperties": { - "type": "string", - "description": "Serialized JSON object for detailed properties" - } - } - }, - "WorkItemConfigurationsListResult": { - "properties": { - "value": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/WorkItemConfiguration" - }, - "description": "An array of work item configurations." - } - }, - "description": "Work item configuration list result." - }, - "WorkItemCreateConfiguration": { - "type": "object", - "description": "Work item configuration creation payload", - "properties": { - "ConnectorId": { - "type": "string", - "description": "Unique connector id" - }, - "ConnectorDataConfiguration": { - "type": "string", - "description": "Serialized JSON object for detailed properties" - }, - "ValidateOnly": { - "type": "boolean", - "description": "Boolean indicating validate only" - }, - "WorkItemProperties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Custom work item properties" - } - } - }, - "InnerError": { - "type": "object", - "description": "Inner error", - "properties": { - "diagnosticcontext": { - "type": "string", - "description": "Provides correlation for request" - }, - "time": { - "type": "string", - "format": "date-time", - "description": "Request time" - } - } - }, - "WorkItemConfigurationError": { - "type": "object", - "description": "Error associated with trying to get work item configuration or configurations", - "properties": { - "code": { - "type": "string", - "description": "Error detail code and explanation" - }, - "message": { - "type": "string", - "description": "Error message" - }, - "innererror": { - "$ref": "#/definitions/InnerError" - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "WorkItemConfigIdParameter": { - "name": "workItemConfigId", - "in": "path", - "required": true, - "type": "string", - "description": "The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json deleted file mode 100644 index f87102482b79..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/components_API.json +++ /dev/null @@ -1,668 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for Components.", - "version": "2020-10-20" - }, - "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}/providers/Microsoft.Insights/components": { - "get": { - "description": "Gets a list of all Application Insights components within a subscription.", - "operationId": "Components_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more Application Insights component definitions.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentListResult" - } - } - }, - "x-ms-examples": { - "ComponentsList.json": { - "$ref": "./examples/ComponentsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components": { - "get": { - "description": "Gets a list of Application Insights components within a resource group.", - "operationId": "Components_ListByResourceGroup", - "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" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more Application Insights component definitions.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentListResult" - } - } - }, - "x-ms-examples": { - "ComponentListByResourceGroup": { - "$ref": "./examples/ComponentsListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}": { - "delete": { - "description": "Deletes an Application Insights component.", - "operationId": "Components_Delete", - "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": "Successful request when deleting an Application Insights component." - }, - "204": { - "description": "The specified component does not exist." - } - }, - "x-ms-examples": { - "ComponentsDelete": { - "$ref": "./examples/ComponentsDelete.json" - } - } - }, - "get": { - "description": "Returns an Application Insights component.", - "operationId": "Components_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" - } - ], - "responses": { - "200": { - "description": "An Application Insights Component definition.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponent" - } - } - }, - "x-ms-examples": { - "ComponentGet": { - "$ref": "./examples/ComponentsGet.json" - } - } - }, - "put": { - "description": "Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", - "operationId": "Components_CreateOrUpdate", - "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" - }, - { - "name": "InsightProperties", - "description": "Properties that need to be specified to create an Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponent" - } - } - ], - "responses": { - "200": { - "description": "Successful request when creating or updating an Application Insights component. The updated component is returned.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponent" - } - } - }, - "x-ms-examples": { - "ComponentCreate": { - "$ref": "./examples/ComponentsCreate.json" - }, - "ComponentUpdate": { - "$ref": "./examples/ComponentsUpdate.json" - } - } - }, - "patch": { - "description": "Updates an existing component's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "Components_UpdateTags", - "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" - }, - { - "name": "ComponentTags", - "description": "Updated tag information to set into the component instance.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsResource" - } - } - ], - "responses": { - "200": { - "description": "Updating the Application Insights component's tags was successful. Component tags are updated and returned with the rest of the Component's object properties.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponent" - } - } - }, - "x-ms-examples": { - "ComponentUpdateTagsOnly": { - "$ref": "./examples/ComponentsUpdateTagsOnly.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge": { - "post": { - "description": "Purges data in an Application Insights component by a set of user-defined filters.\n\nIn order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.", - "operationId": "Components_Purge", - "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/ComponentPurgeParameter" - } - ], - "responses": { - "202": { - "description": "Accepted request for purging an Application Insights component.", - "schema": { - "$ref": "#/definitions/ComponentPurgeResponse" - } - } - }, - "x-ms-examples": { - "ComponentPurge": { - "$ref": "./examples/ComponentsPurge.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}": { - "get": { - "description": "Get status for an ongoing purge operation.", - "operationId": "Components_GetPurgeStatus", - "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/ComponentPurgeIdParameter" - } - ], - "responses": { - "200": { - "description": "Returns status of purge operation in body of response. e.g.: running, completed.", - "schema": { - "$ref": "#/definitions/ComponentPurgeStatusResponse" - } - } - }, - "x-ms-examples": { - "ComponentPurge": { - "$ref": "./examples/ComponentsPurgeStatus.json" - } - } - } - } - }, - "definitions": { - "ComponentsResource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "TagsResource": { - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a WebTest instance." - }, - "ApplicationInsightsComponent": { - "properties": { - "kind": { - "type": "string", - "description": "The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone." - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Properties that define an Application Insights component resource.", - "$ref": "#/definitions/ApplicationInsightsComponentProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ComponentsResource" - } - ], - "required": [ - "kind" - ], - "description": "An Application Insights component definition." - }, - "ApplicationInsightsComponentProperties": { - "description": "Properties that define an Application Insights component resource.", - "properties": { - "ApplicationId": { - "type": "string", - "description": "The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.", - "readOnly": true - }, - "AppId": { - "type": "string", - "readOnly": true, - "description": "Application Insights Unique ID for your Application." - }, - "Application_Type": { - "type": "string", - "description": "Type of application being monitored.", - "default": "web", - "enum": [ - "web", - "other" - ], - "x-ms-enum": { - "name": "ApplicationType", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "Flow_Type": { - "type": "string", - "description": "Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.", - "default": "Bluefield", - "enum": [ - "Bluefield" - ], - "x-ms-enum": { - "name": "FlowType", - "modelAsString": true - } - }, - "Request_Source": { - "type": "string", - "description": "Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.", - "default": "rest", - "enum": [ - "rest" - ], - "x-ms-enum": { - "name": "RequestSource", - "modelAsString": true - } - }, - "InstrumentationKey": { - "type": "string", - "readOnly": true, - "description": "Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component." - }, - "CreationDate": { - "type": "string", - "readOnly": true, - "description": "Creation Date for the Application Insights component, in ISO 8601 format.", - "format": "date-time" - }, - "TenantId": { - "type": "string", - "readOnly": true, - "description": "Azure Tenant Id." - }, - "HockeyAppId": { - "type": "string", - "description": "The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.", - "externalDocs": { - "url": "https://aka.ms/ewjuel" - } - }, - "HockeyAppToken": { - "type": "string", - "description": "Token used to authenticate communications with between Application Insights and HockeyApp.", - "readOnly": true, - "externalDocs": { - "url": "https://aka.ms/sls76s" - } - }, - "provisioningState": { - "type": "string", - "description": "Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.", - "readOnly": true - }, - "SamplingPercentage": { - "type": "number", - "format": "double", - "description": "Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.", - "externalDocs": { - "url": "https://aka.ms/sl0yqd" - } - }, - "ConnectionString": { - "type": "string", - "readOnly": true, - "description": "Application Insights component connection string." - }, - "RetentionInDays": { - "type": "integer", - "description": "Retention period in days.", - "default": 90 - }, - "DisableIpMasking": { - "type": "boolean", - "description": "Disable IP masking." - }, - "ImmediatePurgeDataOn30Days": { - "type": "boolean", - "description": "Purge data immediately after 30 days." - }, - "PrivateLinkScopedResources": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkScopedResource" - }, - "description": "List of linked private link scope resources." - }, - "IngestionMode": { - "type": "string", - "description": "Indicates the flow of the ingestion.", - "default": "ApplicationInsights", - "enum": [ - "ApplicationInsights", - "ApplicationInsightsWithDiagnosticSettings", - "LogAnalytics" - ], - "x-ms-enum": { - "name": "IngestionMode", - "modelAsString": true - } - } - }, - "required": [ - "Application_Type" - ] - }, - "PrivateLinkScopedResource": { - "properties": { - "ResourceId": { - "type": "string", - "description": "The full resource Id of the private link scope resource." - }, - "ScopeId": { - "type": "string", - "description": "The private link scope unique Identifier." - } - }, - "description": "The private link scope resource reference." - }, - "ApplicationInsightsComponentListResult": { - "description": "Describes the list of Application Insights Resources.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of Application Insights component definitions.", - "items": { - "$ref": "#/definitions/ApplicationInsightsComponent" - } - }, - "nextLink": { - "type": "string", - "description": "The URI to get the next set of Application Insights component definitions if too many components where returned in the result set." - } - } - }, - "ComponentPurgeBody": { - "description": "Describes the body of a purge request for an App Insights component", - "required": [ - "table", - "filters" - ], - "properties": { - "table": { - "type": "string", - "description": "Table from which to purge data." - }, - "filters": { - "type": "array", - "description": "The set of columns and filters (queries) to run over them to purge the resulting data.", - "items": { - "$ref": "#/definitions/ComponentPurgeBodyFilters" - } - } - } - }, - "ComponentPurgeBodyFilters": { - "description": "User-defined filters to return data which will be purged from the table.", - "properties": { - "column": { - "description": "The column of the table over which the given query should run", - "type": "string" - }, - "operator": { - "description": "A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.", - "type": "string" - }, - "value": { - "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.", - "type": "string" - } - } - }, - "ComponentPurgeResponse": { - "description": "Response containing operationId for a specific purge action.", - "properties": { - "operationId": { - "description": "Id to use when querying for status for a particular purge operation.", - "type": "string" - } - }, - "required": [ - "operationId" - ] - }, - "ComponentPurgeStatusResponse": { - "description": "Response containing status for a specific purge operation.", - "properties": { - "status": { - "description": "Status of the operation represented by the requested Id.", - "type": "string", - "enum": [ - "pending", - "completed" - ], - "x-ms-enum": { - "name": "PurgeState", - "modelAsString": true - } - } - }, - "required": [ - "status" - ] - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "ComponentPurgeParameter": { - "name": "body", - "in": "body", - "description": "Describes the body of a request to purge data in a single table of an Application Insights component", - "required": true, - "schema": { - "$ref": "#/definitions/ComponentPurgeBody" - }, - "x-ms-parameter-location": "method" - }, - "ComponentPurgeIdParameter": { - "name": "purgeId", - "in": "path", - "required": true, - "type": "string", - "description": "In a purge status request, this is the Id of the operation the status of which is returned.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json deleted file mode 100644 index 826c59e06d8f..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysCreate.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "APIKeyProperties": { - "name": "test2", - "linkedReadProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" - ], - "linkedWriteProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/annotations" - ] - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/fe2e0138-47c1-46c5-8726-872f54c1ca08", - "name": "test", - "linkedReadProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" - ], - "linkedWriteProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/annotations" - ], - "apiKey": "eip8wlzuzlf4wzczhnzao54zcswew25azs4kadhb", - "createdDate": "Thu, 28 Sep 2017 16:58:52 GMT" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json deleted file mode 100644 index 30aaddb38ba2..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysDelete.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "keyId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a", - "name": "test2", - "linkedReadProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" - ], - "linkedWriteProperties": [], - "createdDate": "Thu, 28 Sep 2017 16:59:18 GMT" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json deleted file mode 100644 index 30aaddb38ba2..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysGet.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "keyId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a", - "name": "test2", - "linkedReadProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" - ], - "linkedWriteProperties": [], - "createdDate": "Thu, 28 Sep 2017 16:59:18 GMT" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json deleted file mode 100644 index f4fe6448016a..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/APIKeysList.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/fe2e0138-47c1-46c5-8726-872f54c1ca08", - "name": "test", - "linkedReadProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" - ], - "linkedWriteProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/annotations" - ], - "createdDate": "Thu, 28 Sep 2017 16:58:52 GMT" - }, - { - "id": "/subscriptions/subid/resourcegroups/my-resource-group/providers/Microsoft.Insights/components/my-component/apikeys/bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a", - "name": "test2", - "linkedReadProperties": [ - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/api", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/draft", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/extendqueries", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/search", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/aggregate", - "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/agentconfig" - ], - "linkedWriteProperties": [], - "createdDate": "Thu, 28 Sep 2017 16:59:18 GMT" - } - ] - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json deleted file mode 100644 index f37dbd723189..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/AnalyticsItemGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json deleted file mode 100644 index 0e671bdba17c..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemGet.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json deleted file mode 100644 index bca5a3ffd06d..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemList.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json deleted file mode 100644 index 265acd120d5d..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnalyticsItemPut.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/AnnotationsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json deleted file mode 100644 index ae0ce564d786..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsCreate.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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\"}" - } - }, - "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 - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json deleted file mode 100644 index fdcdd85b1e59..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "annotationId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a" - }, - "responses": { - "200": {} - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json deleted file mode 100644 index 967a7270f66f..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsGet.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "annotationId": "444e2c08-274a-4bbb-a89e-d77bb720f44a" - }, - "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 - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json deleted file mode 100644 index 22000f4f60a1..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AnnotationsList.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "start": "2018-02-05T00%253A30%253A00.000Z", - "end": "2018-02-06T00%253A33A00.000Z" - }, - "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 - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json deleted file mode 100644 index b9cfc9c39628..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/AvailableBillingFeaturesGet.json +++ /dev/null @@ -1,280 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json deleted file mode 100644 index 73e4499443c5..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsCreate.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "InsightProperties": { - "location": "South Central US", - "kind": "web", - "properties": { - "Application_Type": "web", - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json deleted file mode 100644 index 2fb05403aefb..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json deleted file mode 100644 index 5dfd93498f44..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsGet.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json deleted file mode 100644 index 9768370d94f4..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsList.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - }, - { - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json deleted file mode 100644 index 2ae9676abf68..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsListByResourceGroup.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - }, - { - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json deleted file mode 100644 index 55bcc58eaf27..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurge.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "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=2020-10-20" - }, - "body": { - "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json deleted file mode 100644 index 98902df6ccd0..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsPurgeStatus.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "resourceName": "aztest5048", - "api-version": "2020-10-20", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" - }, - "responses": { - "200": { - "body": { - "status": "completed" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json deleted file mode 100644 index 33453db0093f..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdate.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "InsightProperties": { - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json deleted file mode 100644 index 249ce0e4a904..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ComponentsUpdateTagsOnly.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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, - "RetentionInDays": 90, - "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", - "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false, - "IngestionMode": "ApplicationInsights" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json deleted file mode 100644 index 01a6b27c0587..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesGet.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/CurrentBillingFeaturesUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json deleted file mode 100644 index 7510e6d5f7d9..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/CurrentBillingFeaturesUpdate.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ExportConfigurationDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json deleted file mode 100644 index 4d750621adff..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationDelete.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ExportConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json deleted file mode 100644 index 4d750621adff..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationGet.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ExportConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json deleted file mode 100644 index ead4ca8a6c57..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationUpdate.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ExportConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json deleted file mode 100644 index b82e6fb34d0f..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsList.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ExportConfigurationsPost.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json deleted file mode 100644 index 6951a3f80c44..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ExportConfigurationsPost.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/FavoriteAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json deleted file mode 100644 index 004447a59ec7..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteAdd.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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 - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json deleted file mode 100644 index acb7d76adf43..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/FavoriteGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json deleted file mode 100644 index e4abc89c7314..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteGet.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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 - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json deleted file mode 100644 index c40fd53b5fe0..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoriteUpdate.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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 - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json deleted file mode 100644 index 7131367ff5f7..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FavoritesList.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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 - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json deleted file mode 100644 index 7025eaab0e4d..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/FeatureCapabilitiesGet.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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 - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json deleted file mode 100644 index 978d468095dc..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "subscriptionId": "00000000-0000-0000-0000-00000000", - "workbookProperties": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "location": "west us", - "kind": "user", - "properties": { - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "displayName": "Blah Blah Blah", - "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" - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "user", - "properties": { - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "displayName": "Blah Blah Blah", - "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", - "category": "workbook" - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "user", - "properties": { - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "displayName": "Blah Blah Blah", - "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", - "category": "workbook" - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json deleted file mode 100644 index 19d4cd9b5a38..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json deleted file mode 100644 index d0bc2a0993af..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", - "location": "westus", - "kind": "user", - "properties": { - "displayName": "My New Workbook", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "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", - "category": "workbook", - "timeModified": null - }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json deleted file mode 100644 index 64b3e6ac0141..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - ], - "kind": "user", - "properties": { - "displayName": "Blah Blah Blah", - "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", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "category": "workbook" - } - } - }, - "responses": { - "200": { - "body": { - "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": [ - "TagSample01", - "TagSample02" - ], - "kind": "user", - "properties": { - "displayName": "Blah Blah Blah", - "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", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "category": "workbook" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json deleted file mode 100644 index 3d244eac8f8f..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceGroupName": "my-resource-group", - "category": "workbook" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "tags": [], - "kind": "user", - "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}", - "version": "ME", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "category": "workbook", - "timeModified": null - } - }, - { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", - "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "user", - "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}", - "version": "ME", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "category": "workbook", - "timeModified": null - } - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json deleted file mode 100644 index 09a7391db839..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationGet.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json deleted file mode 100644 index 0014e93fd3b7..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationUpdate.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/ProactiveDetectionConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json deleted file mode 100644 index babc86782db9..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/ProactiveDetectionConfigurationsList.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/QuotaStatusGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json deleted file mode 100644 index cb6cc303cca6..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/QuotaStatusGet.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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/2020-10-20/examples/WebTestCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json deleted file mode 100644 index ae5e81478cf3..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestCreate.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json deleted file mode 100644 index e9dffab3d00e..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "webTestName": "my-webtest-01-mywebservice" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json deleted file mode 100644 index 4fe233e3a873..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestGet.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json deleted file mode 100644 index e9d470b810b7..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestList.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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": null - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json deleted file mode 100644 index d78e9f0f5a19..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByComponent.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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": null - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json deleted file mode 100644 index 3275f3a6d120..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestListByResourceGroup.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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": null - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json deleted file mode 100644 index b9369124234f..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestLocationsList.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json deleted file mode 100644 index 34066d858e9e..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdate.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json deleted file mode 100644 index 4e234c30bf9e..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WebTestUpdateTagsOnly.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json deleted file mode 100644 index 86d3a43e079d..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigCreate.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "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 - } - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json deleted file mode 100644 index f5857ce3c397..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDefaultGet.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "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\":\"\"}" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json deleted file mode 100644 index 123fd9b80180..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "workItemConfigId": "Visual Studio Team Services" - }, - "responses": { - "200": {} - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json deleted file mode 100644 index 14840fdee7db..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigGet.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "workItemConfigId": "Visual Studio Team Services" - }, - "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\":\"\"}" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json deleted file mode 100644 index ccb158a805e7..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigUpdate.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component", - "workItemConfigId": "Visual Studio Team Services", - "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": { - "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\":\"\"}" - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json deleted file mode 100644 index aa541f99135b..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkItemConfigsGet.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "my-component" - }, - "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\"}" - } - ] - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json deleted file mode 100644 index 3796c97fb574..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/favorites_API.json +++ /dev/null @@ -1,382 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for favorites.", - "version": "2020-10-20" - }, - "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}/favorites": { - "get": { - "description": "Gets a list of favorites defined within an Application Insights component.", - "operationId": "Favorites_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" - }, - { - "$ref": "#/parameters/FavoriteTypeParameter" - }, - { - "$ref": "#/parameters/SourceTypeParameter" - }, - { - "$ref": "#/parameters/CanFetchFavoriteContentParameter" - }, - { - "$ref": "#/parameters/TagsFilterParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more favorite definitions associated to the Application Insights component.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" - } - } - } - }, - "x-ms-examples": { - "FavoritesList": { - "$ref": "./examples/FavoritesList.json" - } - } - } - }, - "/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", - "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/FavoriteIdParameter" - } - ], - "responses": { - "200": { - "description": "A favorite definition associated to the Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" - } - } - }, - "x-ms-examples": { - "FavoriteGet": { - "$ref": "./examples/FavoriteGet.json" - } - } - }, - "put": { - "description": "Adds a new favorites to an Application Insights component.", - "operationId": "Favorites_Add", - "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/FavoriteIdParameter" - }, - { - "name": "favoriteProperties", - "description": "Properties that need to be specified to create a new favorite and add it to an Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" - } - } - ], - "responses": { - "200": { - "description": "The newly created favorite that is associated to the Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" - } - } - }, - "x-ms-examples": { - "FavoriteAdd": { - "$ref": "./examples/FavoriteAdd.json" - } - } - }, - "patch": { - "description": "Updates a favorite that has already been added to an Application Insights component.", - "operationId": "Favorites_Update", - "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/FavoriteIdParameter" - }, - { - "name": "favoriteProperties", - "description": "Properties that need to be specified to update the existing favorite.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" - } - } - ], - "responses": { - "200": { - "description": "The favorite definition updated.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsComponentFavorite" - } - } - }, - "x-ms-examples": { - "FavoriteList": { - "$ref": "./examples/FavoriteUpdate.json" - } - } - }, - "delete": { - "description": "Remove a favorite that is associated to an Application Insights component.", - "operationId": "Favorites_Delete", - "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/FavoriteIdParameter" - } - ], - "responses": { - "200": { - "description": "The favorite has been successfully removed from the Application Insights component." - } - }, - "x-ms-examples": { - "FavoriteList": { - "$ref": "./examples/FavoriteDelete.json" - } - } - } - } - }, - "definitions": { - "ApplicationInsightsComponentFavorite": { - "description": "Properties that define a favorite that is associated to an Application Insights component.", - "properties": { - "Name": { - "type": "string", - "description": "The user-defined name of the favorite." - }, - "Config": { - "type": "string", - "description": "Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON" - }, - "Version": { - "type": "string", - "description": "This instance's version of the data model. This can change as new features are added that can be marked favorite. Current examples include MetricsExplorer (ME) and Search." - }, - "FavoriteId": { - "type": "string", - "description": "Internally assigned unique id of the favorite definition.", - "readOnly": true - }, - "FavoriteType": { - "description": "Enum indicating if this favorite 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": "FavoriteType", - "modelAsString": false - } - }, - "SourceType": { - "type": "string", - "description": "The source of the favorite definition." - }, - "TimeModified": { - "type": "string", - "description": "Date and time in UTC of the last modification that was made to this favorite definition.", - "readOnly": true - }, - "Tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of 0 or more tags that are associated with this favorite definition" - }, - "Category": { - "type": "string", - "description": "Favorite category, as defined by the user at creation time." - }, - "IsGeneratedFromTemplate": { - "type": "boolean", - "description": "Flag denoting wether or not this favorite was generated from a template." - }, - "UserId": { - "type": "string", - "readOnly": true, - "description": "Unique user id of the specific user that owns this favorite." - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "FavoriteTypeParameter": { - "name": "favoriteType", - "in": "query", - "required": false, - "type": "string", - "default": "shared", - "enum": [ - "shared", - "user" - ], - "x-ms-enum": { - "name": "FavoriteType", - "modelAsString": false - }, - "description": "The type of favorite. Value can be either shared or user.", - "x-ms-parameter-location": "method" - }, - "FavoriteIdParameter": { - "name": "favoriteId", - "in": "path", - "required": true, - "type": "string", - "description": "The Id of a specific favorite defined in the Application Insights component", - "x-ms-parameter-location": "method" - }, - "SourceTypeParameter": { - "name": "sourceType", - "in": "query", - "required": false, - "type": "string", - "allowEmptyValue": true, - "enum": [ - "retention", - "notebook", - "sessions", - "events", - "userflows", - "funnel", - "impact", - "segmentation" - ], - "x-ms-enum": { - "name": "FavoriteSourceType", - "modelAsString": true - }, - "description": "Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum).", - "x-ms-parameter-location": "method" - }, - "CanFetchFavoriteContentParameter": { - "name": "canFetchContent", - "in": "query", - "required": false, - "type": "boolean", - "description": "Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites.", - "x-ms-parameter-location": "method" - }, - "TagsFilterParameter": { - "name": "tags", - "in": "query", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "csv", - "description": "Tags that must be present on each favorite returned.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json deleted file mode 100644 index 7f0f413a8bda..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights private workbook type.", - "version": "2020-10-20" - }, - "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/myWorkbooks": { - "get": { - "description": "Get all private workbooks defined within a specified resource group and category.", - "operationId": "MyWorkbooks_ListByResourceGroup", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/CategoryParameter" - }, - { - "$ref": "#/parameters/TagsParameter" - }, - { - "$ref": "#/parameters/CanFetchWorkbookContentParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more private workbook definitions.", - "schema": { - "$ref": "#/definitions/MyWorkbooksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MyWorkbookError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-examples": { - "WorkbooksList": { - "$ref": "./examples/MyWorkbooksList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks": { - "get": { - "description": "Get all private workbooks defined within a specified subscription and category.", - "operationId": "MyWorkbooks_ListBySubscription", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/CategoryParameter" - }, - { - "$ref": "#/parameters/TagsParameter" - }, - { - "$ref": "#/parameters/CanFetchWorkbookContentParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more private workbook definitions.", - "schema": { - "$ref": "#/definitions/MyWorkbooksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MyWorkbookError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-examples": { - "WorkbooksList": { - "$ref": "./examples/MyWorkbooksList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}": { - "get": { - "description": "Get a single private workbook by its resourceName.", - "operationId": "MyWorkbooks_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A private workbook definition.", - "schema": { - "$ref": "#/definitions/MyWorkbook" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MyWorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookGet": { - "$ref": "./examples/MyWorkbookGet.json" - } - } - }, - "delete": { - "description": "Delete a private workbook.", - "operationId": "MyWorkbooks_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "201": { - "description": "The private workbook has been successfully deleted." - }, - "204": { - "description": "The resource doesn't exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MyWorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookDelete": { - "$ref": "./examples/MyWorkbookDelete.json" - } - } - }, - "put": { - "description": "Create a new private workbook.", - "operationId": "MyWorkbooks_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "workbookProperties", - "description": "Properties that need to be specified to create a new private workbook.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/MyWorkbook" - } - } - ], - "responses": { - "200": { - "description": "The newly created private workbook.", - "schema": { - "$ref": "#/definitions/MyWorkbook" - } - }, - "201": { - "description": "The newly created private workbook.", - "schema": { - "$ref": "#/definitions/MyWorkbook" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MyWorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookAdd": { - "$ref": "./examples/MyWorkbookAdd.json" - } - } - }, - "patch": { - "description": "Updates a private workbook that has already been added.", - "operationId": "MyWorkbooks_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkbookResourceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "workbookProperties", - "description": "Properties that need to be specified to create a new private workbook.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/MyWorkbook" - } - } - ], - "responses": { - "200": { - "description": "The private workbook definition updated.", - "schema": { - "$ref": "#/definitions/MyWorkbook" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MyWorkbookError" - } - } - }, - "x-ms-examples": { - "WorkbookUpdate": { - "$ref": "./examples/MyWorkbookUpdate.json" - } - } - } - } - }, - "definitions": { - "MyWorkbookResource": { - "properties": { - "id": { - "type": "string", - "description": "Azure resource Id", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "name": { - "type": "string", - "description": "Azure resource name", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "type": { - "type": "string", - "description": "Azure resource type", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "MyWorkbooksListResult": { - "properties": { - "value": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/MyWorkbook" - }, - "description": "An array of private workbooks." - } - }, - "description": "Workbook list result." - }, - "MyWorkbook": { - "description": "An Application Insights private workbook definition.", - "allOf": [ - { - "$ref": "#/definitions/MyWorkbookResource" - } - ], - "properties": { - "kind": { - "type": "string", - "description": "The kind of workbook. Choices are user and shared.", - "enum": [ - "user", - "shared" - ], - "x-ms-enum": { - "name": "SharedTypeKind", - "modelAsString": true - } - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Metadata describing a workbook for an Azure resource.", - "$ref": "#/definitions/MyWorkbookProperties" - } - } - }, - "MyWorkbookProperties": { - "description": "Properties that contain a private workbook.", - "required": [ - "displayName", - "category", - "serializedData" - ], - "properties": { - "displayName": { - "type": "string", - "description": "The user-defined name of the private workbook." - }, - "serializedData": { - "type": "string", - "description": "Configuration of this particular private workbook. Configuration data is a string containing valid JSON" - }, - "version": { - "type": "string", - "description": "This instance's version of the data model. This can change as new features are added that can be marked private workbook." - }, - "timeModified": { - "type": "string", - "description": "Date and time in UTC of the last modification that was made to this private workbook definition.", - "readOnly": true - }, - "category": { - "type": "string", - "description": "Workbook category, as defined by the user at creation time." - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of 0 or more tags that are associated with this private workbook definition" - }, - "userId": { - "type": "string", - "description": "Unique user id of the specific user that owns this private workbook.", - "readOnly": true - }, - "sourceId": { - "type": "string", - "description": "Optional resourceId for a source resource." - } - } - }, - "ErrorFieldContract": { - "properties": { - "code": { - "type": "string", - "description": "Property level error code." - }, - "message": { - "type": "string", - "description": "Human-readable representation of property-level error." - }, - "target": { - "type": "string", - "description": "Property name." - } - }, - "description": "Error Field contract." - }, - "MyWorkbookError": { - "properties": { - "code": { - "type": "string", - "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response." - }, - "message": { - "type": "string", - "description": "Human-readable representation of the error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ErrorFieldContract" - }, - "description": "The list of invalid fields send in request, in case of validation error." - } - }, - "description": "Error message body that will indicate why the operation failed." - } - }, - "parameters": { - "WorkbookResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "CategoryParameter": { - "name": "category", - "in": "query", - "required": true, - "type": "string", - "enum": [ - "workbook", - "TSG", - "performance", - "retention" - ], - "x-ms-enum": { - "name": "CategoryType", - "modelAsString": true - }, - "description": "Category of workbook to return.", - "x-ms-parameter-location": "method" - }, - "SourceIdParameter": { - "name": "sourceId", - "in": "query", - "required": true, - "type": "string", - "description": "Azure Resource Id that will fetch all linked workbooks.", - "x-ms-parameter-location": "method" - }, - "ResourceIdParameter": { - "name": "resourceId", - "in": "query", - "required": true, - "type": "string", - "description": "Azure Resource Id or any target workbook resource id.", - "x-ms-parameter-location": "method" - }, - "CanFetchWorkbookContentParameter": { - "name": "canFetchContent", - "in": "query", - "required": false, - "type": "boolean", - "description": "Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.", - "x-ms-parameter-location": "method" - }, - "TagsParameter": { - "name": "tags", - "in": "query", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "csv", - "description": "Tags presents on each workbook returned.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json deleted file mode 100644 index ab748ca207b2..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTestLocations_API.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for web test locations.", - "version": "2020-10-20" - }, - "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}/syntheticmonitorlocations": { - "get": { - "description": "Gets a list of web test locations available to this Application Insights component.", - "operationId": "webTestLocations_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 web test location names available to the Application Insights component.", - "schema": { - "$ref": "#/definitions/ApplicationInsightsWebTestLocationsListResult" - } - } - }, - "x-ms-examples": { - "WebTestLocationsList": { - "$ref": "./examples/WebTestLocationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "ApplicationInsightsWebTestLocationsListResult": { - "description": "Describes the list of web test locations available to an Application Insights Component.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of web test locations.", - "items": { - "$ref": "#/definitions/ApplicationInsightsComponentWebTestLocation" - } - } - } - }, - "ApplicationInsightsComponentWebTestLocation": { - "description": "Properties that define a web test location available to an Application Insights Component.", - "type": "object", - "properties": { - "DisplayName": { - "type": "string", - "readOnly": true, - "description": "The display name of the web test location." - }, - "Tag": { - "type": "string", - "readOnly": true, - "description": "Internally defined geographic location tag." - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json deleted file mode 100644 index bf768fa424e1..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/webTests_API.json +++ /dev/null @@ -1,491 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights client for web test based alerting.", - "version": "2020-10-20" - }, - "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/webtests": { - "get": { - "description": "Get all Application Insights web tests defined within a specified resource group.", - "operationId": "WebTests_ListByResourceGroup", - "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" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more web test definitions.", - "schema": { - "$ref": "#/definitions/webTestListResult" - } - } - }, - "x-ms-examples": { - "webTestListByResourceGroup": { - "$ref": "./examples/WebTestListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}": { - "get": { - "description": "Get a specific Application Insights web test definition.", - "operationId": "WebTests_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/WebTestNameParameter" - } - ], - "responses": { - "200": { - "description": "Ann Application Insights web test definition.", - "schema": { - "$ref": "#/definitions/WebTest" - } - } - }, - "x-ms-examples": { - "webTestGet": { - "$ref": "./examples/WebTestGet.json" - } - } - }, - "put": { - "description": "Creates or updates an Application Insights web test definition.", - "operationId": "WebTests_CreateOrUpdate", - "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/WebTestNameParameter" - }, - { - "name": "WebTestDefinition", - "description": "Properties that need to be specified to create or update an Application Insights web test definition.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WebTest" - } - } - ], - "responses": { - "200": { - "description": "Adding the Application Insights web test was successful. Web test properties are updated and returned.", - "schema": { - "$ref": "#/definitions/WebTest" - } - } - }, - "x-ms-examples": { - "webTestCreate": { - "$ref": "./examples/WebTestCreate.json" - }, - "webTestUpdate": { - "$ref": "./examples/WebTestUpdate.json" - } - } - }, - "patch": { - "description": "Creates or updates an Application Insights web test definition.", - "operationId": "WebTests_UpdateTags", - "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/WebTestNameParameter" - }, - { - "name": "WebTestTags", - "description": "Updated tag information to set into the web test instance.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsResource" - } - } - ], - "responses": { - "200": { - "description": "Updating the Application Insights web test tags was successful. Web test tags are updated and returned with the rest of the WebTest object properties.", - "schema": { - "$ref": "#/definitions/WebTest" - } - } - }, - "x-ms-examples": { - "webTestUpdateTags": { - "$ref": "./examples/WebTestUpdateTagsOnly.json" - } - } - }, - "delete": { - "description": "Deletes an Application Insights web test.", - "operationId": "WebTests_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WebTestNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No content: the request was successful, but the response is empty (the request to delete failed because the specified web test does not exist)." - }, - "200": { - "description": "Successful request to delete a web test definition." - } - }, - "x-ms-examples": { - "webTestDelete": { - "$ref": "./examples/WebTestDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests": { - "get": { - "description": "Get all Application Insights web test alerts definitions within a subscription.", - "operationId": "WebTests_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "A list of 0 or more Application Insights web test definitions.", - "schema": { - "$ref": "#/definitions/webTestListResult" - } - } - }, - "x-ms-examples": { - "webTestList": { - "$ref": "./examples/WebTestList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests": { - "get": { - "description": "Get all Application Insights web tests defined for the specified component.", - "operationId": "WebTests_ListByComponent", - "parameters": [ - { - "$ref": "#/parameters/ComponentNameParameter" - }, - { - "$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" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more web test definitions.", - "schema": { - "$ref": "#/definitions/webTestListResult" - } - } - }, - "x-ms-examples": { - "webTestListByComponent": { - "$ref": "./examples/WebTestListByComponent.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "WebtestsResource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "TagsResource": { - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a WebTest instance." - }, - "webTestListResult": { - "description": "A list of 0 or more Application Insights web test definitions.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Set of Application Insights web test definitions.", - "items": { - "$ref": "#/definitions/WebTest" - } - }, - "nextLink": { - "type": "string", - "description": "The link to get the next part of the returned list of web tests, should the return set be too large for a single request. May be null." - } - } - }, - "WebTest": { - "description": "An Application Insights web test definition.", - "allOf": [ - { - "$ref": "#/definitions/WebtestsResource" - } - ], - "properties": { - "kind": { - "type": "string", - "description": "The kind of web test that this web test watches. Choices are ping and multistep.", - "default": "ping", - "enum": [ - "ping", - "multistep" - ], - "x-ms-enum": { - "name": "WebTestKind", - "modelAsString": false - } - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Metadata describing a web test for an Azure resource.", - "$ref": "#/definitions/WebTestProperties" - } - } - }, - "WebTestProperties": { - "description": "Metadata describing a web test for an Azure resource.", - "required": [ - "Name", - "Kind", - "Locations", - "SyntheticMonitorId" - ], - "properties": { - "SyntheticMonitorId": { - "type": "string", - "description": "Unique ID of this WebTest. This is typically the same value as the Name field." - }, - "Name": { - "x-ms-client-name": "WebTestName", - "type": "string", - "description": "User defined name if this WebTest." - }, - "Description": { - "type": "string", - "description": "Purpose/user defined descriptive test for this WebTest." - }, - "Enabled": { - "type": "boolean", - "description": "Is the test actively being monitored." - }, - "Frequency": { - "type": "integer", - "format": "int32", - "description": "Interval in seconds between test runs for this WebTest. Default value is 300.", - "default": 300 - }, - "Timeout": { - "type": "integer", - "format": "int32", - "description": "Seconds until this WebTest will timeout and fail. Default value is 30.", - "default": 30 - }, - "Kind": { - "x-ms-client-name": "WebTestKind", - "type": "string", - "description": "The kind of web test this is, valid choices are ping and multistep.", - "default": "ping", - "enum": [ - "ping", - "multistep" - ], - "x-ms-enum": { - "name": "WebTestKind", - "modelAsString": false - } - }, - "RetryEnabled": { - "type": "boolean", - "description": "Allow for retries should this WebTest fail." - }, - "Locations": { - "type": "array", - "description": "A list of where to physically run the tests from to give global coverage for accessibility of your application.", - "items": { - "$ref": "#/definitions/WebTestGeolocation" - } - }, - "Configuration": { - "type": "object", - "description": "An XML configuration specification for a WebTest.", - "properties": { - "WebTest": { - "type": "string", - "description": "The XML specification of a WebTest to run against an application." - } - } - }, - "provisioningState": { - "type": "string", - "description": "Current state of this component, whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.", - "readOnly": true - } - } - }, - "WebTestGeolocation": { - "description": "Geo-physical location to run a web test from. You must specify one or more locations for the test to run from.", - "type": "object", - "properties": { - "Id": { - "x-ms-client-name": "location", - "type": "string", - "description": "Location ID for the webtest to run from." - } - } - } - }, - "parameters": { - "ComponentNameParameter": { - "name": "componentName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "WebTestNameParameter": { - "name": "webTestName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights webtest resource.", - "x-ms-parameter-location": "method" - } - } -} From fd18fb7bc219e9185edaa6e11a446a87c9c267ca Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 20 Oct 2020 17:19:18 -0700 Subject: [PATCH 09/65] removed operations operation from workbooks_api --- .../stable/2020-10-20/workbooks_API.json | 47 ------------------- .../resource-manager/readme.md | 14 ++++++ 2 files changed, 14 insertions(+), 47 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 6f64e0c182bd..a7d4c4fd55eb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -34,37 +34,6 @@ } }, "paths": { - "/providers/Microsoft.insights/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available Insights operations.", - "operationId": "ListInsightsOperations", - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/WorkbookError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", @@ -537,22 +506,6 @@ "description": "tenantId used for the managed identity" } } - }, - "OperationListResult": { - "description": "Result of the request to list Microsoft.Insights 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/Workbook" - }, - "description": "List of Resource Provider operations supported by the Resource Provider resource provider." - }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of operation list results if there are any." - } - } } }, "parameters": { diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 81a2ac731c26..2ad86dc4ed8d 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -111,6 +111,20 @@ These settings apply only when `--tag=package-2020-10-20` is specified on the co ``` yaml $(tag) == 'package-2020-10-20' input-file: + - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json + - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json + - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json + - Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json + - Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json + - Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json + - Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json + - Microsoft.Insights/stable/2015-05-01/components_API.json + - Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json + - Microsoft.Insights/stable/2015-05-01/favorites_API.json + - Microsoft.Insights/stable/2015-05-01/myworkbooks_API.json + - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json + - Microsoft.Insights/stable/2015-05-01/webTests_API.json + - Microsoft.Insights/preview/2018-06-17-preview/workbookOperations_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` From 18a814098de950dd480c6819b6bb3527e49f899a Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 10:13:40 -0700 Subject: [PATCH 10/65] added api version parameters --- .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 4 ++++ .../stable/2020-10-20/examples/WorkbookManagedUpdate.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index aedd50cca43f..4adf1a32fee5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -1,5 +1,9 @@ { "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "identity": { "type": "UserAssigned", "userAssignedIdentities": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index 153e35e28ca4..44d7f135f9dc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -1,5 +1,9 @@ { "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "id": "e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", "location": "westus", From 3d87dfa777d01c35cb98ee66f76bebbdca29b645 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 10:17:31 -0700 Subject: [PATCH 11/65] added references to the new examples --- .../stable/2020-10-20/workbooks_API.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index a7d4c4fd55eb..83c7d8cd5909 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -80,7 +80,7 @@ }, "x-ms-examples": { "WorkbooksList": { - "$ref": "./examples/WorkbooksList.json" + "$ref": "./examples/WorkbooksManagedList.json" } } } @@ -119,7 +119,7 @@ }, "x-ms-examples": { "WorkbookGet": { - "$ref": "./examples/WorkbookGet.json" + "$ref": "./examples/WorkbookManagedGet.json" } } }, @@ -156,7 +156,7 @@ }, "x-ms-examples": { "WorkbookDelete": { - "$ref": "./examples/WorkbookDelete.json" + "$ref": "../2015-05-01/examples/WorkbookDelete.json" } } }, @@ -211,7 +211,7 @@ }, "x-ms-examples": { "WorkbookAdd": { - "$ref": "./examples/WorkbookAdd.json" + "$ref": "./examples/WorkbookManagedAdd.json" } } }, @@ -260,7 +260,7 @@ }, "x-ms-examples": { "WorkbookUpdate": { - "$ref": "./examples/WorkbookUpdate.json" + "$ref": "./examples/WorkbookManagedUpdate.json" } } } From b51a39c3f9f9ec18e0070cba52695c015786e380 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 10:18:54 -0700 Subject: [PATCH 12/65] removed delete since it didn't change from the last api version --- .../stable/2020-10-20/examples/WorkbookDelete.json | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json deleted file mode 100644 index 19d4cd9b5a38..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "subid", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" - }, - "responses": { - "201": {}, - "204": {} - } -} From 259e10b94d87c4f865acf51a85a5ba07df3a8b41 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 10:54:36 -0700 Subject: [PATCH 13/65] added new operations api file for compatibility --- .../2020-10-20/workbookOperations_API.json | 128 ++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json new file mode 100644 index 000000000000..129f9e2702c3 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -0,0 +1,128 @@ +{ + "swagger": "2.0", + "info": { + "version": "2020-10-20", + "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" + } + } + }, + "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" + } + } + } + } + }, + "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." + } + } + } + } +} From d63d861c94f0004da876caeab5c03c910b9d8e3f Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 11:30:54 -0700 Subject: [PATCH 14/65] fixing lint errors --- .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 3 ++- .../stable/2020-10-20/examples/WorkbooksList.json | 5 ++++- .../stable/2020-10-20/examples/WorkbooksManagedList.json | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 4adf1a32fee5..26f87fa0cb8f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -3,7 +3,8 @@ "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",, + "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", "identity": { "type": "UserAssigned", "userAssignedIdentities": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json index 79f54dc171f9..81a32353127f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksList.json @@ -3,7 +3,8 @@ "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", - "category": "workbook" + "category": "workbook", + "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" }, "responses": { "200": { @@ -17,6 +18,7 @@ "properties": { "name": "My Workbook 1", "userId": "userId", + "sourceId": "Azure Monitor", "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", @@ -38,6 +40,7 @@ "properties": { "name": "My Workbook 2", "userId": "userId", + "sourceId": "Azure Monitor", "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", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json index f62cd28c03ea..05cfbf5b9520 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json @@ -3,7 +3,8 @@ "api-version": "2020-10-20", "subscriptionId": "6b643656-33eb-422f-aee8-3ac119r124af", "resourceGroupName": "my-resource-group", - "category": "workbook" + "category": "workbook", + "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" }, "responses": { "200": { @@ -30,6 +31,7 @@ "properties": { "name": "My Workbook 1", "userId": "userId", + "sourceId": "Azure Monitor", "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-4ddq-a059-9be8dac93960", @@ -64,6 +66,7 @@ "properties": { "name": "My Workbook 2", "userId": "userId", + "sourceId": "Azure Monitor", "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-4ddq-a059-9be8dac93960", From 4f94e82a40ea2c366fcb8bb0ba9202e94cd6af1d Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 11:38:11 -0700 Subject: [PATCH 15/65] fix lint errors --- .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 26f87fa0cb8f..4adf1a32fee5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -3,8 +3,7 @@ "api-version": "2020-10-20", "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", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "identity": { "type": "UserAssigned", "userAssignedIdentities": { From edde9b91e15160c31521ff4081ed4bdc4bc360a4 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 12:10:34 -0700 Subject: [PATCH 16/65] fixing model errors --- .../examples/WorkbookManagedAdd.json | 55 ++++++++++--------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 4adf1a32fee5..f155494e8687 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -1,36 +1,39 @@ { "parameters": { "api-version": "2020-10-20", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + "workbookProperties": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "type": "microsoft.insights/workbooks", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + } + }, + "properties": { + "displayName": "tttt", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", + "timeModified": "2020-10-20T22:15:08.1875458Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", - "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", - "location": "westus", - "tags": { - "hidden-title": "tttt" - }, - "kind": "user", - "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", - "properties": { - "displayName": "tttt", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", - "version": "Notebook/1.0", - "category": "workbook", - "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", - "timeModified": "2020-10-20T22:15:08.1875458Z", - "tags": [], - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } + }, "responses": { "200": { From 973c76dd0876d72b2167e9a5f4275d0a13c43487 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 12:22:04 -0700 Subject: [PATCH 17/65] model errors --- .../stable/2020-10-20/examples/WorkbookAdd.json | 1 + .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 4 ++-- .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index f5603b6168df..544691728aff 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -4,6 +4,7 @@ "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", "subscriptionId": "subid", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "workbookProperties": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index f155494e8687..6a3cb522690c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -4,6 +4,7 @@ "resourceGroupName": "my-resource-group", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "workbookProperties": { "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", @@ -27,7 +28,6 @@ "version": "Notebook/1.0", "category": "workbook", "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "timeModified": "2020-10-20T22:15:08.1875458Z", "tags": [], "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" @@ -62,7 +62,7 @@ "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", "properties": { "displayName": "tttt", - "serializedData": null, + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", "version": "Notebook/1.0", "category": "workbook", "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 83c7d8cd5909..9662157d8024 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -210,8 +210,11 @@ } }, "x-ms-examples": { - "WorkbookAdd": { + "WorkbookManagedAdd": { "$ref": "./examples/WorkbookManagedAdd.json" + }, + "WorkbookAdd": { + "$ref": "./examples/WorkbookAdd.json" } } }, From c5575b31a2558abcb9a87fb48b1043136e1d9964 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 12:35:27 -0700 Subject: [PATCH 18/65] fixing modeling errors --- .../stable/2020-10-20/examples/WorkbookAdd.json | 4 +--- .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 544691728aff..209bbbd632f8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -12,12 +12,10 @@ "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 + "category": "workbook" }, "tags": [ "TagSample01", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 6a3cb522690c..3460f1e97ea4 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -27,8 +27,6 @@ "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", "version": "Notebook/1.0", "category": "workbook", - "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", - "timeModified": "2020-10-20T22:15:08.1875458Z", "tags": [], "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } From 8bac85274c8294b36d5a9a95770da28b16840bfe Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 12:52:41 -0700 Subject: [PATCH 19/65] fixing model errors --- .../2020-10-20/examples/WorkbookAdd.json | 4 +- .../examples/WorkbookManagedAdd.json | 37 +++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 209bbbd632f8..2a815082c115 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -9,12 +9,12 @@ "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "location": "west us", + "kind": "user", "properties": { + "displayName": "tttt", "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", "name": "Blah Blah Blah", "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" }, "tags": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 3460f1e97ea4..563dc3ab3adc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -70,6 +70,43 @@ "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } } + }, + "201": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "type": "microsoft.insights/workbooks", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", + "properties": { + "displayName": "tttt", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", + "timeModified": "2020-10-20T22:00:26.4229554Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + } } } } \ No newline at end of file From 8263b230d54137258bf16463239cfde82ac61c40 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 13:13:10 -0700 Subject: [PATCH 20/65] fixing model errors --- .../stable/2020-10-20/examples/WorkbookAdd.json | 1 - .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 2 -- 2 files changed, 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 2a815082c115..7a0b426e55e9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -7,7 +7,6 @@ "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "workbookProperties": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "location": "west us", "kind": "user", "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 563dc3ab3adc..a8fbfe1dbbc6 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -7,8 +7,6 @@ "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "workbookProperties": { "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", - "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" From aa843fb22d103c498057a73ba0f1f21ca1536db8 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 13:26:01 -0700 Subject: [PATCH 21/65] fixing model errors --- .../stable/2020-10-20/examples/WorkbookManagedUpdate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index 44d7f135f9dc..ff1ccd7f0c35 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -4,6 +4,7 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "id": "e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", "location": "westus", From f7cbe4cb743a969995e18272c082a56f1c1e29ec Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 13:41:46 -0700 Subject: [PATCH 22/65] fix model errors --- .../stable/2020-10-20/examples/WorkbookAdd.json | 3 +-- .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 7a0b426e55e9..92f0df92d2e5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -8,11 +8,10 @@ "workbookProperties": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", "location": "west us", + "name": "Blah Blah Blah", "kind": "user", "properties": { "displayName": "tttt", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", - "name": "Blah Blah Blah", "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" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index a8fbfe1dbbc6..1c8d22f79598 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -5,8 +5,10 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", - "workbookProperties": { + "roperties": { "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "type": "microsoft.insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" From 62ccf9a0c4aab564788455a1ce839df618755c5b Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 13:47:30 -0700 Subject: [PATCH 23/65] fix model errors --- .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 1c8d22f79598..563dc3ab3adc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -5,7 +5,7 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", - "roperties": { + "workbookProperties": { "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", "type": "microsoft.insights/workbooks", From 5a00f503cb35686bdfcced5aef0e70217f09c10e Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 13:55:42 -0700 Subject: [PATCH 24/65] fix model errors --- .../stable/2020-10-20/examples/WorkbookAdd.json | 10 ++++------ .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 1 - 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 92f0df92d2e5..4486837ff877 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -28,13 +28,12 @@ "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", "properties": { - "name": "Blah Blah Blah", + "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}", "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", "category": "workbook", "timeModified": null, "storageUri": null @@ -51,13 +50,12 @@ "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", "properties": { - "name": "Blah Blah Blah", + "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}", "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", "category": "workbook", "timeModified": null, "storageUri": null diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 563dc3ab3adc..acf1b6086e2b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -8,7 +8,6 @@ "workbookProperties": { "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" From 4f049604dfc0b4d66996d19c208613b7436f9eff Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 14:10:54 -0700 Subject: [PATCH 25/65] ran prettier --- .../examples/WorkbookManagedAdd.json | 203 +++++++++--------- .../examples/WorkbookManagedGet.json | 22 +- .../examples/WorkbookManagedUpdate.json | 32 +-- .../examples/WorkbooksManagedList.json | 158 +++++++------- .../stable/2020-10-20/workbooks_API.json | 2 +- 5 files changed, 208 insertions(+), 209 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index acf1b6086e2b..f024afc71c66 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -1,111 +1,110 @@ { - "parameters": { - "api-version": "2020-10-20", - "resourceGroupName": "my-resource-group", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", - "workbookProperties": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", - "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "location": "westus", - "tags": { - "hidden-title": "tttt" - }, - "kind": "user", - "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} - } + "parameters": { + "api-version": "2020-10-20", + "resourceGroupName": "my-resource-group", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", + "workbookProperties": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + } + }, + "properties": { + "displayName": "tttt", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" }, - "properties": { - "displayName": "tttt", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", - "version": "Notebook/1.0", - "category": "workbook", - "tags": [], - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "type": "microsoft.insights/workbooks", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", + "properties": { + "displayName": "tttt", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", + "timeModified": "2020-10-20T22:00:26.4229554Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } - + } }, - "responses": { - "200": { - "body": { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } - } - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", - "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", - "location": "westus", - "tags": { - "hidden-title": "tttt" - }, - "kind": "user", - "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", - "properties": { - "displayName": "tttt", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", - "version": "Notebook/1.0", - "category": "workbook", - "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", - "timeModified": "2020-10-20T22:00:26.4229554Z", - "tags": [], - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" - } + "201": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" } + } }, - "201": { - "body": { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } - } - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", - "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", - "location": "westus", - "tags": { - "hidden-title": "tttt" - }, - "kind": "user", - "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", - "properties": { - "displayName": "tttt", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", - "version": "Notebook/1.0", - "category": "workbook", - "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", - "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", - "timeModified": "2020-10-20T22:00:26.4229554Z", - "tags": [], - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" - } - } + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "name": "e378d137-1243-4256-b5c4-ad2a937cae79", + "type": "microsoft.insights/workbooks", + "location": "westus", + "tags": { + "hidden-title": "tttt" + }, + "kind": "user", + "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", + "properties": { + "displayName": "tttt", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", + "version": "Notebook/1.0", + "category": "workbook", + "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", + "timeModified": "2020-10-20T22:00:26.4229554Z", + "tags": [], + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } + } } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json index b7fc9b63daaa..132853469501 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json @@ -9,17 +9,17 @@ "200": { "body": { "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" } + } }, "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/microsoft.insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", "name": "76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index ff1ccd7f0c35..0e121e0145ae 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -12,11 +12,11 @@ "type": "microsoft.insights/workbooks", "kind": "user", "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} - } + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + } }, "properties": { "displayName": "tttt", @@ -33,17 +33,17 @@ "200": { "body": { "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" } + } }, "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json index 05cfbf5b9520..e14e757c52db 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json @@ -1,82 +1,82 @@ { - "parameters": { - "api-version": "2020-10-20", - "subscriptionId": "6b643656-33eb-422f-aee8-3ac119r124af", - "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": [ - { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270433", - "principalId": "075a0ca6-4326-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b12d-4752-8e66-c999d560326e0" - } - } - }, - "id": "c0deea5e-3344-40f2-96f8-6f8e1cdd5722", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4ddq-a059-9be8dac93960", - "tags": [], - "properties": { - "name": "My Workbook 1", - "userId": "userId", - "sourceId": "Azure Monitor", - "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-4ddq-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null, - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" - } - }, - { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3230432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b73f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } - } - }, - "id": "c0deea5e-3344-40f2-96f8-6f8e1cdd5722", - "type": "", - "location": "westus", - "name": "deadb33f-8bee-4ddq-a059-9be8dac93960", - "tags": [ - "SampleTag01", - "SampleTag2" - ], - "properties": { - "name": "My Workbook 2", - "userId": "userId", - "sourceId": "Azure Monitor", - "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-4ddq-a059-9be8dac93960", - "kind": "shared", - "category": "workbook", - "timeModified": null, - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" - } - } - ] + "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac119r124af", + "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": [ + { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270433", + "principalId": "075a0ca6-4326-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b12d-4752-8e66-c999d560326e0" + } + } + }, + "id": "c0deea5e-3344-40f2-96f8-6f8e1cdd5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4ddq-a059-9be8dac93960", + "tags": [], + "properties": { + "name": "My Workbook 1", + "userId": "userId", + "sourceId": "Azure Monitor", + "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-4ddq-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null, + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } + }, + { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3230432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b73f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } + }, + "id": "c0deea5e-3344-40f2-96f8-6f8e1cdd5722", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4ddq-a059-9be8dac93960", + "tags": [ + "SampleTag01", + "SampleTag2" + ], + "properties": { + "name": "My Workbook 2", + "userId": "userId", + "sourceId": "Azure Monitor", + "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-4ddq-a059-9be8dac93960", + "kind": "shared", + "category": "workbook", + "timeModified": null, + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 9662157d8024..57a2761e3ad1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -567,4 +567,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} From 6a540da87849b8123e4feb0e0bf2909b55173486 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 14:20:59 -0700 Subject: [PATCH 26/65] lint error added delete example --- .../stable/2020-10-20/examples/WorkbookDelete.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json new file mode 100644 index 000000000000..19d4cd9b5a38 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "201": {}, + "204": {} + } +} From 8bade7605e07a400285355e45de76183f4cb8fb7 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 14:21:52 -0700 Subject: [PATCH 27/65] lint error added delete example --- .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 57a2761e3ad1..317254814b99 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -156,7 +156,7 @@ }, "x-ms-examples": { "WorkbookDelete": { - "$ref": "../2015-05-01/examples/WorkbookDelete.json" + "$ref": "./examples/WorkbookDelete.json" } } }, From d130cd1cb395c8c7a404f0f77ac28b5da5a61687 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 14:55:58 -0700 Subject: [PATCH 28/65] added unreferenced json files --- .../stable/2020-10-20/workbooks_API.json | 11 ++++++++++- .../applicationinsights/resource-manager/readme.md | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 317254814b99..04e4f0cb0f17 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -80,6 +80,9 @@ }, "x-ms-examples": { "WorkbooksList": { + "$ref": "./examples/WorkbooksList.json" + }, + "WorkbooksManagedList": { "$ref": "./examples/WorkbooksManagedList.json" } } @@ -119,6 +122,9 @@ }, "x-ms-examples": { "WorkbookGet": { + "$ref": "./examples/WorkbookGet.json" + }, + "WorkbookManagedGet": { "$ref": "./examples/WorkbookManagedGet.json" } } @@ -262,8 +268,11 @@ } }, "x-ms-examples": { - "WorkbookUpdate": { + "WorkbookManagedUpdate": { "$ref": "./examples/WorkbookManagedUpdate.json" + }, + "WorkbookUpdate": { + "$ref": "./examples/WorkbookUpdate.json" } } } diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 60c690bc9a84..78a297992a2d 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -124,7 +124,7 @@ input-file: - Microsoft.Insights/stable/2015-05-01/myworkbooks_API.json - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - Microsoft.Insights/stable/2015-05-01/webTests_API.json - - Microsoft.Insights/preview/2018-06-17-preview/workbookOperations_API.json + - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` From 9a185bd0514e3908629f85233135dc966e3b5a6d Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 15:09:57 -0700 Subject: [PATCH 29/65] fixed model errors --- .../stable/2020-10-20/examples/WorkbookGet.json | 5 ++--- .../stable/2020-10-20/examples/WorkbookUpdate.json | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json index b59c9f649c89..73829a5543b5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json @@ -12,13 +12,12 @@ "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "type": "", "location": "westus", + "kind": "user", "properties": { - "name": "My New Workbook", + "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}", "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", "category": "workbook", "timeModified": null, "storageUri": null diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json index 23379ef74610..9455f36045a7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json @@ -7,6 +7,7 @@ "workbookProperties": { "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "location": "west us", + "kind": "User", "tags": [ "TagSample01", "TagSample02" @@ -17,9 +18,9 @@ "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 + "timeModified": null, + "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" } } }, @@ -30,17 +31,16 @@ "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "User", "tags": [ "TagSample01", "TagSample02" ], "properties": { - "name": "Blah Blah Blah", + "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}", "version": "ME", - "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "shared", "category": "workbook", "timeModified": null, "storageUri": null From ea34dd5fc31e569a505b68f76755ab4293f2e424 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 15:26:54 -0700 Subject: [PATCH 30/65] fixed model errors --- .../stable/2020-10-20/examples/WorkbookUpdate.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json index 9455f36045a7..a2683e251cbb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json @@ -4,6 +4,7 @@ "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", "location": "west us", @@ -19,8 +20,7 @@ "version": "ME", "workbookId": "deadb33f-8bee-4d3b-a059-9be8dac93960", "category": "workbook", - "timeModified": null, - "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" + "timeModified": null } } }, From b797e3d9cde2f33495a808f405b06ad3c30d6ec7 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 16:17:25 -0700 Subject: [PATCH 31/65] removed operations from readme --- specification/applicationinsights/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 78a297992a2d..16a63a82285e 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -124,7 +124,6 @@ input-file: - Microsoft.Insights/stable/2015-05-01/myworkbooks_API.json - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - Microsoft.Insights/stable/2015-05-01/webTests_API.json - - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` From 88ad913adde8c7653222e8bf6954c03c08aca191 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Fri, 23 Oct 2020 16:34:21 -0700 Subject: [PATCH 32/65] updated examples --- .../stable/2020-10-20/examples/WorkbookAdd.json | 6 +++--- .../2020-10-20/examples/WorkbookManagedAdd.json | 2 +- .../2020-10-20/examples/WorkbookManagedUpdate.json | 6 +++--- .../stable/2020-10-20/examples/WorkbookUpdate.json | 4 ++-- .../2020-10-20/examples/WorkbooksManagedList.json | 13 ------------- 5 files changed, 9 insertions(+), 22 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json index 4486837ff877..70df230ce76e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookAdd.json @@ -9,7 +9,7 @@ "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", "location": "west us", "name": "Blah Blah Blah", - "kind": "user", + "kind": "shared", "properties": { "displayName": "tttt", "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}", @@ -28,7 +28,7 @@ "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "user", + "kind": "shared", "properties": { "displayName": "Blah Blah Blah", "userId": "userId", @@ -50,7 +50,7 @@ "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "user", + "kind": "shared", "properties": { "displayName": "Blah Blah Blah", "userId": "userId", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index f024afc71c66..5ddf0172fc0b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -12,7 +12,7 @@ "tags": { "hidden-title": "tttt" }, - "kind": "user", + "kind": "shared", "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", "identity": { "type": "UserAssigned", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index 0e121e0145ae..da48cfc07eca 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -10,7 +10,7 @@ "location": "westus", "tags": null, "type": "microsoft.insights/workbooks", - "kind": "user", + "kind": "shared", "identity": { "type": "UserAssigned", "userAssignedIdentities": { @@ -52,7 +52,7 @@ "tags": { "hidden-title": "tttt" }, - "kind": "user", + "kind": "shared", "etag": "\"4a00f78d-0000-0700-0000-5f8f616c0000\"", "properties": { "displayName": "tttt", @@ -68,4 +68,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json index a2683e251cbb..d16fecb33284 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookUpdate.json @@ -8,7 +8,7 @@ "workbookProperties": { "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "location": "west us", - "kind": "User", + "kind": "shared", "tags": [ "TagSample01", "TagSample02" @@ -31,7 +31,7 @@ "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "kind": "User", + "kind": "shared", "tags": [ "TagSample01", "TagSample02" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json index e14e757c52db..be7c4e5916fe 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json @@ -42,19 +42,6 @@ } }, { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3230432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b73f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } - } - }, "id": "c0deea5e-3344-40f2-96f8-6f8e1cdd5722", "type": "", "location": "westus", From 23f4951f0ae9c46bf6fa221af7985ac5d610a42e Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 09:54:22 -0700 Subject: [PATCH 33/65] resolving lint, avocado, prettier issues --- .../2020-10-20/examples/WorkbookGet.json | 2 +- .../examples/WorkbookManagedAdd.json | 11 +- .../examples/WorkbookManagedUpdate.json | 2 +- .../examples/WorkbooksManagedList.json | 4 - .../2020-10-20/workbookOperations_API.json | 128 ------------------ .../resource-manager/readme.md | 1 + 6 files changed, 4 insertions(+), 144 deletions(-) delete mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json index 73829a5543b5..487195c8d5dd 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookGet.json @@ -12,7 +12,7 @@ "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "type": "", "location": "westus", - "kind": "user", + "kind": "shared", "properties": { "displayName": "My New Workbook", "userId": "userId", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 5ddf0172fc0b..188ce37786fa 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -17,8 +17,7 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, "properties": { @@ -40,10 +39,6 @@ "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" } } }, @@ -77,10 +72,6 @@ "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index da48cfc07eca..972f20823b09 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json index be7c4e5916fe..a43bd036f185 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbooksManagedList.json @@ -16,10 +16,6 @@ "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270433", "principalId": "075a0ca6-4326-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b12d-4752-8e66-c999d560326e0" } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json deleted file mode 100644 index 129f9e2702c3..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2020-10-20", - "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" - } - } - }, - "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" - } - } - } - } - }, - "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." - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 16a63a82285e..ac9175aabb45 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -125,6 +125,7 @@ input-file: - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - Microsoft.Insights/stable/2015-05-01/webTests_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json + - Microsoft.Insights\preview\2018-06-17-preview\workbookOperations_API.json ``` ### Tag: package-preview-2020-10 From a2f938dba49d44a24105b8027663252552222e22 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 10:18:04 -0700 Subject: [PATCH 34/65] updated workbook operations api --- .../2020-10-20/workbookOperations_API.json | 157 ++++++++++++++++++ .../stable/2020-10-20/workbooks_API.json | 6 +- .../resource-manager/readme.md | 2 +- 3 files changed, 161 insertions(+), 4 deletions(-) create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json new file mode 100644 index 000000000000..272d67153b2d --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -0,0 +1,157 @@ +{ + "swagger": "2.0", + "info": { + "title": "WorkbookClient", + "description": "Azure client for Workbook.", + "version": "2020-10-20" + }, + "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": { + "/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" + ] + } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.", + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorFieldContract" + }, + "description": "The list of invalid fields send in request, in case of validation error." + } + } + }, + "ErrorFieldContract": { + "properties": { + "code": { + "type": "string", + "description": "Property level error code." + }, + "message": { + "type": "string", + "description": "Human-readable representation of property-level error." + }, + "target": { + "type": "string", + "description": "Property name." + } + }, + "description": "Error Field contract." + }, + "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." + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 04e4f0cb0f17..80b3bd926e96 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -483,6 +483,7 @@ "description": "Error Field contract." }, "WorkbookError": { + "description": "Error message body that will indicate why the operation failed.", "properties": { "code": { "type": "string", @@ -499,8 +500,7 @@ }, "description": "The list of invalid fields send in request, in case of validation error." } - }, - "description": "Error message body that will indicate why the operation failed." + } }, "ManagedIdentity": { "description": "Customer Managed Identity", @@ -552,7 +552,7 @@ "in": "query", "required": true, "type": "string", - "description": "Azure Resource Id that will fetch all related workbooks.", + "description": "Azure Resource Id that will fetch all linked workbooks.", "x-ms-parameter-location": "method" }, "CanFetchWorkbookContentParameter": { diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index ac9175aabb45..5b6d2ef74c7b 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -125,7 +125,7 @@ input-file: - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - Microsoft.Insights/stable/2015-05-01/webTests_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json - - Microsoft.Insights\preview\2018-06-17-preview\workbookOperations_API.json + - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json ``` ### Tag: package-preview-2020-10 From 4fabcc21824828ccc0fd31f5319efd03d96a1136 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 10:43:53 -0700 Subject: [PATCH 35/65] changed operation path --- .../stable/2020-10-20/workbookOperations_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index 272d67153b2d..f42f3041b6ca 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/operations": { + "/providers/Microsoft.Insights/workbookoperations": { "get": { "tags": [ "Operations" From 89dc93257a9e583bc21555ef9de594bae3cba9c4 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 10:52:12 -0700 Subject: [PATCH 36/65] removed aiOperatrions from new api version --- specification/applicationinsights/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 5b6d2ef74c7b..b86c791fb811 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -111,7 +111,6 @@ These settings apply only when `--tag=package-2020-10-20` is specified on the co ``` yaml $(tag) == 'package-2020-10-20' input-file: - - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json - Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json From 076f5919b0d348daad658fdf17c2332a160d488c Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 10:53:17 -0700 Subject: [PATCH 37/65] udpated workbook operations name --- .../stable/2020-10-20/workbookOperations_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index f42f3041b6ca..b6e96bcbebf4 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/workbookoperations": { + "/providers/Microsoft.Insights/workbookOperations": { "get": { "tags": [ "Operations" From 813cacdd7ccc4d591c5da575335282a68ccbdea2 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 11:11:17 -0700 Subject: [PATCH 38/65] pascal case path names --- .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 80b3bd926e96..b85957a6c7dc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/Workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", "operationId": "Workbooks_ListByResourceGroup", @@ -88,7 +88,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/Workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", From 73d80497c080055b505f8a011d4d0603262a9ada Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 15:49:25 -0700 Subject: [PATCH 39/65] added myworkbooks --- .../2020-10-20/examples/MyWorkbookAdd.json | 68 +++ .../2020-10-20/examples/MyWorkbookDelete.json | 12 + .../2020-10-20/examples/MyWorkbookGet.json | 33 + .../2020-10-20/examples/MyWorkbookUpdate.json | 48 ++ .../2020-10-20/examples/MyWorkbooksList.json | 53 ++ .../stable/2020-10-20/myworkbooks_API.json | 564 ++++++++++++++++++ .../resource-manager/readme.md | 2 +- 7 files changed, 779 insertions(+), 1 deletion(-) create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json new file mode 100644 index 000000000000..1eef7ae9b8f1 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "subscriptionId": "00000000-0000-0000-0000-00000000", + "workbookProperties": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "location": "west us", + "kind": "user", + "properties": { + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "displayName": "Blah Blah Blah", + "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" + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", + "properties": { + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "displayName": "Blah Blah Blah", + "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", + "category": "workbook", + "storageUri": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", + "properties": { + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "displayName": "Blah Blah Blah", + "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", + "category": "workbook", + "storageUri": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json new file mode 100644 index 000000000000..19d4cd9b5a38 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "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/2020-10-20/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json new file mode 100644 index 000000000000..e0c512a3fdfe --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "kind": "user", + "properties": { + "displayName": "My New Workbook", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "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", + "category": "workbook", + "timeModified": null, + "storageUri": null + }, + "tags": [ + "TagSample01", + "TagSample02" + ] + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json new file mode 100644 index 000000000000..27567c18f7f2 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "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" + ], + "kind": "user", + "properties": { + "displayName": "Blah Blah Blah", + "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", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook", + "storageUri": null + } + } + }, + "responses": { + "200": { + "body": { + "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [ + "TagSample01", + "TagSample02" + ], + "kind": "user", + "properties": { + "displayName": "Blah Blah Blah", + "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", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook", + "storageUri": null + } + } + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json new file mode 100644 index 000000000000..70533442b673 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2020-10-20", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", + "resourceGroupName": "my-resource-group", + "category": "workbook" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "tags": [], + "kind": "user", + "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}", + "version": "ME", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook", + "timeModified": null, + "storageUri": null + } + }, + { + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", + "location": "westus", + "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "kind": "user", + "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}", + "version": "ME", + "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens", + "category": "workbook", + "timeModified": null, + "storageUri": null + } + } + ] + } + } +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json new file mode 100644 index 000000000000..f85f47d000a5 --- /dev/null +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -0,0 +1,564 @@ +{ + "swagger": "2.0", + "info": { + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights private workbook type.", + "version": "2020-10-20" + }, + "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/myWorkbooks": { + "get": { + "description": "Get all private workbooks defined within a specified resource group and category.", + "operationId": "MyWorkbooks_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + }, + { + "$ref": "#/parameters/CanFetchWorkbookContentParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more private workbook definitions.", + "schema": { + "$ref": "#/definitions/MyWorkbooksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "WorkbooksList": { + "$ref": "./examples/MyWorkbooksList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks": { + "get": { + "description": "Get all private workbooks defined within a specified subscription and category.", + "operationId": "MyWorkbooks_ListBySubscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + }, + { + "$ref": "#/parameters/CanFetchWorkbookContentParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more private workbook definitions.", + "schema": { + "$ref": "#/definitions/MyWorkbooksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "WorkbooksList": { + "$ref": "./examples/MyWorkbooksList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}": { + "get": { + "description": "Get a single private workbook by its resourceName.", + "operationId": "MyWorkbooks_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A private workbook definition.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookGet": { + "$ref": "./examples/MyWorkbookGet.json" + } + } + }, + "delete": { + "description": "Delete a private workbook.", + "operationId": "MyWorkbooks_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "The private workbook has been successfully deleted." + }, + "204": { + "description": "The resource doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookDelete": { + "$ref": "./examples/MyWorkbookDelete.json" + } + } + }, + "put": { + "description": "Create a new private workbook.", + "operationId": "MyWorkbooks_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "workbookProperties", + "description": "Properties that need to be specified to create a new private workbook.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + } + ], + "responses": { + "200": { + "description": "The newly created private workbook.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "201": { + "description": "The newly created private workbook.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookAdd": { + "$ref": "./examples/MyWorkbookAdd.json" + } + } + }, + "patch": { + "description": "Updates a private workbook that has already been added.", + "operationId": "MyWorkbooks_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkbookResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "workbookProperties", + "description": "Properties that need to be specified to create a new private workbook.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + } + ], + "responses": { + "200": { + "description": "The private workbook definition updated.", + "schema": { + "$ref": "#/definitions/MyWorkbook" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MyWorkbookError" + } + } + }, + "x-ms-examples": { + "WorkbookUpdate": { + "$ref": "./examples/MyWorkbookUpdate.json" + } + } + } + } + }, + "definitions": { + "MyWorkbookResource": { + "properties": { + "identity": { + "description": "Identity used for BYOS", + "$ref": "#/definitions/ManagedIdentity" + }, + "id": { + "type": "string", + "description": "Azure resource Id", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "name": { + "type": "string", + "description": "Azure resource name", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "type": { + "type": "string", + "description": "Azure resource type", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "MyWorkbooksListResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/MyWorkbook" + }, + "description": "An array of private workbooks." + } + }, + "description": "Workbook list result." + }, + "MyWorkbook": { + "description": "An Application Insights private workbook definition.", + "allOf": [ + { + "$ref": "#/definitions/MyWorkbookResource" + } + ], + "properties": { + "kind": { + "type": "string", + "description": "The kind of workbook. Choices are user and shared.", + "enum": [ + "user", + "shared" + ], + "x-ms-enum": { + "name": "SharedTypeKind", + "modelAsString": true + } + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Metadata describing a workbook for an Azure resource.", + "$ref": "#/definitions/MyWorkbookProperties" + } + } + }, + "MyWorkbookProperties": { + "description": "Properties that contain a private workbook.", + "required": [ + "displayName", + "category", + "serializedData" + ], + "properties": { + "displayName": { + "type": "string", + "description": "The user-defined name of the private workbook." + }, + "serializedData": { + "type": "string", + "description": "Configuration of this particular private workbook. Configuration data is a string containing valid JSON" + }, + "version": { + "type": "string", + "description": "This instance's version of the data model. This can change as new features are added that can be marked private workbook." + }, + "timeModified": { + "type": "string", + "description": "Date and time in UTC of the last modification that was made to this private workbook definition.", + "readOnly": true + }, + "category": { + "type": "string", + "description": "Workbook category, as defined by the user at creation time." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of 0 or more tags that are associated with this private workbook definition" + }, + "userId": { + "type": "string", + "description": "Unique user id of the specific user that owns this private workbook.", + "readOnly": true + }, + "sourceId": { + "type": "string", + "description": "Optional resourceId for a source resource." + }, + "storageUri": { + "type": "string", + "description": "BYOS Storage Account URI" + } + } + }, + "ErrorFieldContract": { + "properties": { + "code": { + "type": "string", + "description": "Property level error code." + }, + "message": { + "type": "string", + "description": "Human-readable representation of property-level error." + }, + "target": { + "type": "string", + "description": "Property name." + } + }, + "description": "Error Field contract." + }, + "MyWorkbookError": { + "properties": { + "code": { + "type": "string", + "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response." + }, + "message": { + "type": "string", + "description": "Human-readable representation of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorFieldContract" + }, + "description": "The list of invalid fields send in request, in case of validation error." + } + }, + "description": "Error message body that will indicate why the operation failed." + }, + "ManagedIdentity": { + "description": "Customer Managed Identity", + "properties": { + "type": { + "type": "string", + "description": "identity type: \"systemAssigned\", \"userAssigned\", \"systemAssigned,userAssigned\", or \"None\"" + }, + "principalId": { + "type": "string", + "description": "principalId used for the managed identity" + }, + "tenantId": { + "type": "string", + "description": "tenantId used for the managed identity" + } + } + } + }, + "parameters": { + "WorkbookResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Application Insights component resource.", + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "name": "category", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "workbook", + "TSG", + "performance", + "retention" + ], + "x-ms-enum": { + "name": "CategoryType", + "modelAsString": true + }, + "description": "Category of workbook to return.", + "x-ms-parameter-location": "method" + }, + "SourceIdParameter": { + "name": "sourceId", + "in": "query", + "required": true, + "type": "string", + "description": "Azure Resource Id that will fetch all linked workbooks.", + "x-ms-parameter-location": "method" + }, + "ResourceIdParameter": { + "name": "resourceId", + "in": "query", + "required": true, + "type": "string", + "description": "Azure Resource Id or any target workbook resource id.", + "x-ms-parameter-location": "method" + }, + "CanFetchWorkbookContentParameter": { + "name": "canFetchContent", + "in": "query", + "required": false, + "type": "boolean", + "description": "Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.", + "x-ms-parameter-location": "method" + }, + "TagsParameter": { + "name": "tags", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv", + "description": "Tags presents on each workbook returned.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index b86c791fb811..e0efc6d532f0 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -120,9 +120,9 @@ input-file: - Microsoft.Insights/stable/2015-05-01/components_API.json - Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json - Microsoft.Insights/stable/2015-05-01/favorites_API.json - - Microsoft.Insights/stable/2015-05-01/myworkbooks_API.json - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - Microsoft.Insights/stable/2015-05-01/webTests_API.json + - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json ``` From 21f17f5a49c2c328c38cc7de96931facd786cd61 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Mon, 26 Oct 2020 16:53:51 -0700 Subject: [PATCH 40/65] added exclusions --- .../applicationinsights/resource-manager/readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index e0efc6d532f0..037d0ad9a45c 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -103,6 +103,15 @@ directive: - suppress: DeleteOperationResponses from: myworkbooks_API.json reason: 'delete API returns empty response and is already part of the previous api, cannot change it' + - suppress: DefaultErrorResponseSchema + from: workbooks_API.json + reason: 'consistent with existing error response' + - suppress: RequiredDefaultResponse + reason: 'consistent with existing default response' + - suppress: DeleteOperationResponses + reason: 'consistent with existing delete response' + - suppress: PathResourceTypeNameCamelCase + reason: 'consistent with existing path' ``` ### Tag: package-2020-10-20 From 0f7ebd65ce6504be18685bcce173f5626a0dd34e Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 27 Oct 2020 11:30:58 -0700 Subject: [PATCH 41/65] updated exclusions to be more specific --- .../stable/2020-10-20/workbooks_API.json | 2 +- .../resource-manager/readme.md | 91 ++++++++++++++++++- 2 files changed, 87 insertions(+), 6 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index b85957a6c7dc..1f2091bd2c25 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/Workbooks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", "operationId": "Workbooks_ListByResourceGroup", diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 037d0ad9a45c..98ab47483f93 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -103,15 +103,96 @@ directive: - suppress: DeleteOperationResponses from: myworkbooks_API.json reason: 'delete API returns empty response and is already part of the previous api, cannot change it' + - suppress: DeleteOperationResponses + from: analyticsItems_API.json + reason: 'consistent with existing delete response | owned by another team' + - suppress: DeleteOperationResponses + from: componentAnnotations_API.json + reason: 'consistent with existing delete response | owned by another team' + - suppress: DeleteOperationResponses + from: componentApiKeys_API.json + reason: 'consistent with existing delete response | owned by another team' + - suppress: DeleteOperationResponses + from: componentContinuousExport_API.json + reason: 'consistent with existing delete response | owned by another team' + - suppress: DeleteOperationResponses + from: componentWorkItemConfigs_API.json + reason: 'consistent with existing delete response | owned by another team' + - suppress: DeleteOperationResponses + from: favorites_API.json + reason: 'consistent with existing delete response | owned by another team' + - suppress: DeleteOperationResponses + from: workbooks_API.json + reason: 'consistent with existing delete response' + - suppress: DefaultErrorResponseSchema + from: componentAnnotations_API.json + reason: 'consistent with existing default error response | owned by another team' + - suppress: DefaultErrorResponseSchema + from: componentWorkItemConfigs_API.json + reason: 'consistent with existing default error response | owned by another team' - suppress: DefaultErrorResponseSchema from: workbooks_API.json - reason: 'consistent with existing error response' + reason: 'consistent with existing default error response' + - suppress: DefaultErrorResponseSchema + from: workbookOperations_API.json + reason: 'consistent with existing default error response' - suppress: RequiredDefaultResponse - reason: 'consistent with existing default response' - - suppress: DeleteOperationResponses - reason: 'consistent with existing delete response' + from: analyticsItems_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: componentAnnotations_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: componentApiKeys_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: componentContinuousExport_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: componentFeaturesAndPricing_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: componentProactiveDetection_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: components_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: componentWorkItemConfigs_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: favorites_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: webTestLocations_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: webTestLocations_API.json + reason: 'consistent with existing default response | owned by another team' + - suppress: PathResourceTypeNameCamelCase + from: componentAnnotations_API.json + reason: 'consistent with existing path | owned by another team' + - suppress: PathResourceTypeNameCamelCase + from: componentApiKeys_API.json + reason: 'consistent with existing path | owned by another team' - suppress: PathResourceTypeNameCamelCase - reason: 'consistent with existing path' + from: componentProactiveDetection_API.json + reason: 'consistent with existing path | owned by another team' + - suppress: PathResourceTypeNameCamelCase + from: componentWorkItemConfigs_API.json + reason: 'consistent with existing path | owned by another team' + - suppress: PathResourceProviderNamePascalCase + from: analyticsItems_API.json + reason: 'consistent with existing path | owned by another team' + - suppress: GetCollectionResponseSchema + from: componentProactiveDetection_API.json + reason: 'consistent with existing response schema | owned by another team' + - suppress: IntegerTypeMustHaveFormat + from: componentFeaturesAndPricing_API.json + reason: 'consistent with existing format | owned by another team' + - suppress: IntegerTypeMustHaveFormat + from: components_API.json + reason: 'consistent with existing format | owned by another team' ``` ### Tag: package-2020-10-20 From ad993f1b6bb109e5e1ae06c73526200195f4962e Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 27 Oct 2020 13:09:26 -0700 Subject: [PATCH 42/65] added exclusion and updated operations path --- .../stable/2020-10-20/workbookOperations_API.json | 2 +- .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 2 +- specification/applicationinsights/resource-manager/readme.md | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index b6e96bcbebf4..272d67153b2d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/workbookOperations": { + "/providers/Microsoft.Insights/operations": { "get": { "tags": [ "Operations" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 1f2091bd2c25..a5ee6a09b928 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -88,7 +88,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/Workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 98ab47483f93..bd06792ef372 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -193,6 +193,9 @@ directive: - suppress: IntegerTypeMustHaveFormat from: components_API.json reason: 'consistent with existing format | owned by another team' + - suppress: TopLevelResourcesListBySubscription + from: workbooks_API.json + reason: 'get workbook list by subscription is not supported' ``` ### Tag: package-2020-10-20 From 832f2f0b24eafe047a3908fdbf781f471dd445d3 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 27 Oct 2020 14:40:40 -0700 Subject: [PATCH 43/65] updated operations path --- .../stable/2020-10-20/workbookOperations_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index 272d67153b2d..d9a674d84238 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/operations": { + "/providers/microsoft.insights/operations": { "get": { "tags": [ "Operations" From f309e052b1262412f5c2927f38893e40407e0d05 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Tue, 27 Oct 2020 14:45:55 -0700 Subject: [PATCH 44/65] Revert "updated operations path" This reverts commit 832f2f0b24eafe047a3908fdbf781f471dd445d3. --- .../stable/2020-10-20/workbookOperations_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index d9a674d84238..272d67153b2d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/microsoft.insights/operations": { + "/providers/Microsoft.Insights/operations": { "get": { "tags": [ "Operations" From da50e816705341be7a4de8d651fbc9e325f393ad Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 28 Oct 2020 11:23:54 -0700 Subject: [PATCH 45/65] changed operations path case --- .../stable/2020-10-20/workbookOperations_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index 272d67153b2d..d9a674d84238 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/operations": { + "/providers/microsoft.insights/operations": { "get": { "tags": [ "Operations" From 3b47dda7f4a2b3059b9bb4e980f4a69ce78c755b Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 28 Oct 2020 12:03:34 -0700 Subject: [PATCH 46/65] Revert "changed operations path case" This reverts commit da50e816705341be7a4de8d651fbc9e325f393ad. --- .../stable/2020-10-20/workbookOperations_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index d9a674d84238..272d67153b2d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/microsoft.insights/operations": { + "/providers/Microsoft.Insights/operations": { "get": { "tags": [ "Operations" From 6d9a19a8559660d261dd4dc7b8ebd65e28b3f9ff Mon Sep 17 00:00:00 2001 From: tonykslee Date: Thu, 29 Oct 2020 13:07:35 -0700 Subject: [PATCH 47/65] replaced all lowercase microsoft.insights with Pascal Case --- .../componentFeaturesAndPricing_API.json | 2 +- .../2017-10-01/eaSubscriptionMigration_API.json | 6 +++--- .../CurrentPricingPlanCreateAndUpdate.json | 8 ++++---- .../examples/CurrentPricingPlanGet.json | 4 ++-- .../examples/CurrentPricingPlanUpdate.json | 8 ++++---- .../examples/ComponentsPurge.json | 2 +- .../ProactiveDetectionConfigurationGet.json | 2 +- .../ProactiveDetectionConfigurationUpdate.json | 2 +- .../ProactiveDetectionConfigurationsList.json | 4 ++-- .../2018-06-17-preview/workbooks_API.json | 4 ++-- .../examples/QueryPackQueriesGet.json | 4 ++-- .../examples/QueryPackQueriesList.json | 16 ++++++++-------- .../examples/QueryPackQueriesPut.json | 4 ++-- .../examples/QueryPackQueriesSearch.json | 12 ++++++------ .../examples/QueryPackQueriesUpdate.json | 4 ++-- .../examples/QueryPacksCreate.json | 4 ++-- .../examples/QueryPacksGet.json | 4 ++-- .../examples/QueryPacksList.json | 8 ++++---- .../examples/QueryPacksListByResourceGroup.json | 8 ++++---- .../examples/QueryPacksUpdate.json | 4 ++-- .../examples/QueryPacksUpdateTagsOnly.json | 4 ++-- .../examples/WorkbookTemplateAdd.json | 14 +++++++------- .../examples/WorkbookTemplateGet.json | 6 +++--- .../examples/WorkbookTemplateUpdate.json | 10 +++++----- .../examples/WorkbookTemplatesList.json | 12 ++++++------ .../workbookTemplates_API.json | 4 ++-- .../examples/ComponentsPurge.json | 2 +- .../2020-02-10-preview/WebTestResults_API.json | 4 ++-- .../examples/Operations_List.json | 2 +- .../examples/WebTestResultsTestResultFile.json | 2 +- .../componentLinkedStorageAccounts_API.json | 2 +- ...nentLinkedStorageAccountsCreateAndUpdate.json | 4 ++-- .../ComponentLinkedStorageAccountsGet.json | 4 ++-- .../ComponentLinkedStorageAccountsUpdate.json | 4 ++-- .../examples/LiveTokenGet.json | 2 +- .../examples/Operations_List.json | 2 +- .../2020-06-02-preview/livetoken_API.json | 4 ++-- .../stable/2015-05-01/analyticsItems_API.json | 4 ++-- .../2015-05-01/examples/ComponentsPurge.json | 2 +- .../2015-05-01/examples/MyWorkbookAdd.json | 6 +++--- .../2015-05-01/examples/MyWorkbookGet.json | 4 ++-- .../2015-05-01/examples/MyWorkbookUpdate.json | 2 +- .../2015-05-01/examples/MyWorkbooksList.json | 8 ++++---- .../stable/2015-05-01/workbooks_API.json | 4 ++-- .../2020-10-20/examples/MyWorkbookAdd.json | 6 +++--- .../2020-10-20/examples/MyWorkbookGet.json | 4 ++-- .../2020-10-20/examples/MyWorkbookUpdate.json | 2 +- .../2020-10-20/examples/MyWorkbooksList.json | 8 ++++---- .../2020-10-20/examples/WorkbookManagedAdd.json | 10 +++++----- .../2020-10-20/examples/WorkbookManagedGet.json | 4 ++-- .../examples/WorkbookManagedUpdate.json | 6 +++--- 51 files changed, 131 insertions(+), 131 deletions(-) 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 cab88f9dba15..fc7b90bc4990 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 @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/pricingPlans/current": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/pricingPlans/current": { "get": { "description": "Returns the current pricing plan setting for an Application Insights component.", "operationId": "ComponentCurrentPricingPlan_Get", 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 f1cdf9d584bd..41a69215c1bf 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 @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/providers/microsoft.insights/migrateToNewPricingModel": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/migrateToNewPricingModel": { "post": { "description": "Enterprise Agreement Customer opted to use new pricing model.", "operationId": "EASubscriptionMigrateToNewPricingModel_Post", @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/rollbackToLegacyPricingModel": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/rollbackToLegacyPricingModel": { "post": { "description": "Enterprise Agreement Customer roll back to use legacy pricing model.", "operationId": "EASubscriptionRollbackToLegacyPricingModel_Post", @@ -94,7 +94,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/listMigrationdate": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/listMigrationdate": { "post": { "description": "list date to migrate to new pricing model.", "operationId": "EASubscriptionListMigrationDate_Post", 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 6d269785be16..18f1e51631c5 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 @@ -5,9 +5,9 @@ "resourceGroupName": "my-resource-group", "resourceName": "my-component", "PricingPlanProperties": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", "name": "current", - "type": "microsoft.insights/components/pricingPlans", + "type": "Microsoft.Insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, @@ -22,9 +22,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", "name": "current", - "type": "microsoft.insights/components/pricingPlans", + "type": "Microsoft.Insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, 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 c354c39d5102..dd09cd99c03b 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 @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", "name": "current", - "type": "microsoft.insights/components/pricingPlans", + "type": "Microsoft.Insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, 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 fccdba43b6f8..595968aa42d7 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 @@ -5,9 +5,9 @@ "resourceGroupName": "my-resource-group", "resourceName": "my-component", "PricingPlanProperties": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", "name": "current", - "type": "microsoft.insights/components/pricingPlans", + "type": "Microsoft.Insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, @@ -20,9 +20,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", "name": "current", - "type": "microsoft.insights/components/pricingPlans", + "type": "Microsoft.Insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json index 181a3fffda45..90e3aae5f5da 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json @@ -18,7 +18,7 @@ "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=2018-05-01-preview" + "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=2018-05-01-preview" }, "body": { "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json index 3c1672bd1ff2..b4994b8bae3c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowpageloadtime", "location": "South Central US", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json index 67b1b1f8ba85..8ffc2d538f00 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json @@ -32,7 +32,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowpageloadtime", "location": "South Central US", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json index 984c82edae90..c9a22ef5f708 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json @@ -9,7 +9,7 @@ "200": { "body": [ { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowpageloadtime", "location": "South Central US", @@ -35,7 +35,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowserverresponsetime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowserverresponsetime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowserverresponsetime", "location": "South Central US", 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 cdf1e0cec2c2..bea4bc9b3ea8 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}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", "operationId": "Workbooks_ListByResourceGroup", @@ -85,7 +85,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json index c2666213a43f..4e1ac3f21bd0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json index 657b2d706e0f..eb19c9447e70 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json @@ -11,9 +11,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", "name": "4337bb16-d6fe-4ff7-97cf-59df25941476", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -33,9 +33,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", "name": "bf015bf7-be70-49c2-8d52-4cce85c42ef1", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -55,9 +55,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", "name": "8d91c6ca-9c56-49c6-b3ae-112a68871acd", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -77,9 +77,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a5a9010e-e4b7-45ad-8b14-09d7e6082819", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a5a9010e-e4b7-45ad-8b14-09d7e6082819", "name": "a5a9010e-e4b7-45ad-8b14-09d7e6082819", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json index 7146d0101472..cde0d989ad99 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json @@ -29,9 +29,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json index 7a5d2118c10d..445934c80f17 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json @@ -25,9 +25,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", "name": "4337bb16-d6fe-4ff7-97cf-59df25941476", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -60,9 +60,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", "name": "bf015bf7-be70-49c2-8d52-4cce85c42ef1", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -95,9 +95,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", "name": "8d91c6ca-9c56-49c6-b3ae-112a68871acd", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json index 7146d0101472..cde0d989ad99 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json @@ -29,9 +29,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "microsoft.insights/queryPacks/queries", + "type": "Microsoft.Insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json index d8054fd78907..6250d8714a43 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json @@ -12,9 +12,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "South Central US", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json index 47c957673279..3ae7ba68e726 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "southcentralus", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json index 5e49a3fcf051..fbcb7272564b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "South Central US", "tags": {}, "properties": { @@ -21,9 +21,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-other-resource-group/providers/microsoft.insights/queryPacks/my-other-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/queryPacks/my-other-querypack", "name": "my-other-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "South Central US", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json index 62c49b8fc66c..f2fdaf6472b3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json @@ -9,9 +9,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "South Central US", "tags": {}, "properties": { @@ -22,9 +22,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-other-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-other-querypack", "name": "my-other-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "South Central US", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json index 8dbdca0b6b48..2b92aa59f8ed 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "South Central US", "tags": { "Tag1": "Value1" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json index 5ad012214e92..a8dae4f5c8a1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "Microsoft.Insights/querypacks", "location": "South Central US", "tags": { "Tag1": "Value1", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json index 8afc2505a0f1..57805e918d4c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json @@ -14,7 +14,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "microsoft.insights/components", + "resourceType": "Microsoft.Insights/components", "order": 100 } ], @@ -29,8 +29,8 @@ "name": "testtemplate2", "location": "westeurope", "tags": null, - "type": "microsoft.insights/workbooktemplates", - "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2", + "type": "Microsoft.Insights/workbooktemplates", + "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/Microsoft.Insights/workbooktemplates/testtemplate2", "properties": { "priority": 1, "author": "Contoso", @@ -41,7 +41,7 @@ "category": "Failures", "order": 100, "type": "tsg", - "resourceType": "microsoft.insights/components" + "resourceType": "Microsoft.Insights/components" } ], "localized": null @@ -53,8 +53,8 @@ "name": "testtemplate2", "location": "westeurope", "tags": null, - "type": "microsoft.insights/workbooktemplates", - "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2", + "type": "Microsoft.Insights/workbooktemplates", + "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/Microsoft.Insights/workbooktemplates/testtemplate2", "properties": { "priority": 1, "author": "Contoso", @@ -65,7 +65,7 @@ "category": "Failures", "order": 100, "type": "tsg", - "resourceType": "microsoft.insights/components" + "resourceType": "Microsoft.Insights/components" } ], "localized": null diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json index 9cee90ca1109..cd6b4170a605 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json @@ -9,9 +9,9 @@ "200": { "body": { "name": "my-resource-name", - "type": "microsoft.insights/workbooktemplate", + "type": "Microsoft.Insights/workbooktemplate", "location": "westus", - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/workbooktemplates/my-resource-name", "properties": { "priority": 1, "author": "Contoso", @@ -20,7 +20,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "microsoft.insights/components", + "resourceType": "Microsoft.Insights/components", "order": 100 } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json index b410777d4a90..042393d9c9ce 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json @@ -7,7 +7,7 @@ "workbookTemplateProperties": { "name": "display-name-of-template", "location": "west us", - "type": "microsoft.insights/workbooktemplates", + "type": "Microsoft.Insights/workbooktemplates", "properties": { "priority": 1, "author": "Contoso", @@ -16,7 +16,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "microsoft.insights/components", + "resourceType": "Microsoft.Insights/components", "order": 100 } ], @@ -31,8 +31,8 @@ "name": "testtemplate2", "location": "westeurope", "tags": null, - "type": "microsoft.insights/workbooktemplates", - "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2", + "type": "Microsoft.Insights/workbooktemplates", + "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/Microsoft.Insights/workbooktemplates/testtemplate2", "properties": { "priority": 1, "author": "Contoso", @@ -43,7 +43,7 @@ "category": "Failures", "order": 100, "type": "tsg", - "resourceType": "microsoft.insights/components" + "resourceType": "Microsoft.Insights/components" } ], "localized": null diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json index 3e2eaa1e3adb..956f05c77f5a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json @@ -9,9 +9,9 @@ "body": [ { "name": "my-resource-name", - "type": "microsoft.insights/workbooktemplate", + "type": "Microsoft.Insights/workbooktemplate", "location": "westus", - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/workbooktemplates/my-resource-name", "properties": { "priority": 1, "author": "Contoso", @@ -20,7 +20,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "microsoft.insights/components", + "resourceType": "Microsoft.Insights/components", "order": 100 } ], @@ -30,9 +30,9 @@ }, { "name": "my-resource-name2", - "type": "microsoft.insights/workbooktemplate", + "type": "Microsoft.Insights/workbooktemplate", "location": "westus", - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name2", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/workbooktemplates/my-resource-name2", "properties": { "priority": 1, "author": "Contoso", @@ -41,7 +41,7 @@ "name": "Simple Template 2", "category": "Failures", "type": "tsg", - "resourceType": "microsoft.insights/components", + "resourceType": "Microsoft.Insights/components", "order": 100 } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json index 6bc485e75fd9..a9d5b3db7ec3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooktemplates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates": { "get": { "description": "Get all Workbook templates defined within a specified resource group.", "operationId": "WorkbookTemplates_ListByResourceGroup", @@ -73,7 +73,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooktemplates/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}": { "get": { "description": "Get a single workbook template by its resourceName.", "operationId": "WorkbookTemplates_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json index 7d4def360af2..04e6e82ee806 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json @@ -18,7 +18,7 @@ "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" + "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" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json index 7bcea7f72ba3..f48e7e394ddc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/microsoft.insights/operations": { + "/providers/Microsoft.Insights/operations": { "get": { "tags": [ "Operations" @@ -72,7 +72,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/webtests/{webTestName}/getTestResultFile": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}/getTestResultFile": { "post": { "tags": [ "WebTests_GetTestResultFile" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json index 583aa46d8850..668f8ff76335 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json @@ -7,7 +7,7 @@ "body": { "value": [ { - "name": "microsoft.insights/webtests/gettestresultfile", + "name": "Microsoft.Insights/webtests/gettestresultfile", "display": { "provider": "Microsoft Container Instance", "resource": "webtests", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json index 31dc3c9e7a99..786f94d73bda 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json @@ -14,7 +14,7 @@ "200": { "body": { "data": "xxxxxxxxxx", - "nextLink": "https://management.azure.com/subscriptions/123subid/resourcegroups/myresourcegroup/providers/microsoft.insights/webtests/my-test-name/testresultfile?geoLocationId=brs×tamp=1566823240&downloadAs=webtestresult&testSuccessfulCriteria=true&continuationToken=10&api-version=2020-10-01-preview" + "nextLink": "https://management.azure.com/subscriptions/123subid/resourcegroups/myresourcegroup/providers/Microsoft.Insights/webtests/my-test-name/testresultfile?geoLocationId=brs×tamp=1566823240&downloadAs=webtestresult&testSuccessfulCriteria=true&continuationToken=10&api-version=2020-10-01-preview" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json index 22fcf9bfa10f..b2ff8ddcd8b7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/linkedStorageAccounts/{storageType}": { "get": { "description": "Returns the current linked storage settings for an Application Insights component.", "operationId": "ComponentLinkedStorageAccounts_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json index 8283ea527f45..143a711fa323 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupNameproviders/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupNameproviders/Microsoft.Insights/components/myComponent/linkedStorageAccounts/serviceprofiler", "name": "serviceprofile", - "type": "microsoft.insights/components/linkedStorageAccounts", + "type": "Microsoft.Insights/components/linkedStorageAccounts", "properties": { "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json index dedc1b4aa6f0..06053cc8f7bd 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Insights/components/myComponent/linkedStorageAccounts/serviceprofiler", "name": "serviceprofile", - "type": "microsoft.insights/components/linkedStorageAccounts", + "type": "Microsoft.Insights/components/linkedStorageAccounts", "properties": { "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json index e73f9d2db797..d8b14ba325e7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Insights/components/myComponent/linkedStorageAccounts/serviceprofiler", "name": "serviceprofile", - "type": "microsoft.insights/components/linkedStorageAccounts", + "type": "Microsoft.Insights/components/linkedStorageAccounts", "properties": { "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json index abf2f0593a87..46de73ea0033 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json @@ -1,6 +1,6 @@ { "parameters": { - "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/FabrikamFiberApp/providers/microsoft.insights/components/CustomAvailabilityTest/providers/microsoft.insights/generatelivetoken", + "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/FabrikamFiberApp/providers/Microsoft.Insights/components/CustomAvailabilityTest/providers/Microsoft.Insights/generatelivetoken", "api-version": "2020-06-02-preview" }, "responses": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json index fdfbf1775678..5f14524b11ef 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json @@ -7,7 +7,7 @@ "body": { "value": [ { - "name": "microsoft.insights/generatelivetoken", + "name": "Microsoft.Insights/generatelivetoken", "display": { "provider": "Microsoft Container Instance", "resource": "generatelivetoken", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json index bac300f6f969..d1b1a7867a56 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json @@ -36,7 +36,7 @@ } }, "paths": { - "/providers/microsoft.insights/operations": { + "/providers/Microsoft.Insights/operations": { "get": { "tags": [ "Operations" @@ -74,7 +74,7 @@ } } }, - "/{resourceUri}/providers/microsoft.insights/generatelivetoken": { + "/{resourceUri}/providers/Microsoft.Insights/generatelivetoken": { "post": { "tags": [ "LiveToken" 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 50515b97884d..dfbab981dd9f 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 @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}": { + "/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", @@ -82,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item": { + "/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", 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 e99c48948e38..54b5ad31c1e6 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 @@ -18,7 +18,7 @@ "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" + "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" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json index 44b33f169d2d..389d39761d82 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json @@ -24,8 +24,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", @@ -44,7 +44,7 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json index 640ff6b08c01..64071ede7edf 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "kind": "user", "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json index 6df92009e06e..dfa1f3449634 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json @@ -25,7 +25,7 @@ "200": { "body": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json index 5aca7c5f3e07..b15b244d3cfe 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json @@ -9,8 +9,8 @@ "200": { "body": [ { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [], @@ -26,8 +26,8 @@ } }, { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", 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 f3fb7bdc4e2d..0227174b5232 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}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks": { + "/subscriptions/{subscriptionId}/resourceGroups/{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}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json index 1eef7ae9b8f1..8c336dfb16e5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json @@ -24,8 +24,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", @@ -45,7 +45,7 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json index e0c512a3fdfe..a85412167087 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "kind": "user", "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json index 27567c18f7f2..f1d5c52b3916 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json @@ -26,7 +26,7 @@ "200": { "body": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json index 70533442b673..a59c2857a8eb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json @@ -9,8 +9,8 @@ "200": { "body": [ { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [], @@ -27,8 +27,8 @@ } }, { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 188ce37786fa..4ff6f6e5e4dc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -6,7 +6,7 @@ "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "workbookProperties": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", "location": "westus", "tags": { @@ -42,9 +42,9 @@ } } }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" @@ -75,9 +75,9 @@ } } }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json index 132853469501..f0f8cc223160 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json @@ -21,9 +21,9 @@ } } }, - "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/microsoft.insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/Microsoft.Insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", "name": "76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westcentralus", "tags": { "hidden-title": "azuremon" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index 972f20823b09..5ca493f45419 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -9,7 +9,7 @@ "name": "e378d137-1243-4256-b5c4-562a937cae79", "location": "westus", "tags": null, - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "kind": "shared", "identity": { "type": "UserAssigned", @@ -45,9 +45,9 @@ } } }, - "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" From ec081cc18097d09cdbb463d31b98052967624826 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Thu, 29 Oct 2020 13:49:25 -0700 Subject: [PATCH 48/65] Revert "replaced all lowercase microsoft.insights with Pascal Case" This reverts commit 6d9a19a8559660d261dd4dc7b8ebd65e28b3f9ff. --- .../componentFeaturesAndPricing_API.json | 2 +- .../2017-10-01/eaSubscriptionMigration_API.json | 6 +++--- .../CurrentPricingPlanCreateAndUpdate.json | 8 ++++---- .../examples/CurrentPricingPlanGet.json | 4 ++-- .../examples/CurrentPricingPlanUpdate.json | 8 ++++---- .../examples/ComponentsPurge.json | 2 +- .../ProactiveDetectionConfigurationGet.json | 2 +- .../ProactiveDetectionConfigurationUpdate.json | 2 +- .../ProactiveDetectionConfigurationsList.json | 4 ++-- .../2018-06-17-preview/workbooks_API.json | 4 ++-- .../examples/QueryPackQueriesGet.json | 4 ++-- .../examples/QueryPackQueriesList.json | 16 ++++++++-------- .../examples/QueryPackQueriesPut.json | 4 ++-- .../examples/QueryPackQueriesSearch.json | 12 ++++++------ .../examples/QueryPackQueriesUpdate.json | 4 ++-- .../examples/QueryPacksCreate.json | 4 ++-- .../examples/QueryPacksGet.json | 4 ++-- .../examples/QueryPacksList.json | 8 ++++---- .../examples/QueryPacksListByResourceGroup.json | 8 ++++---- .../examples/QueryPacksUpdate.json | 4 ++-- .../examples/QueryPacksUpdateTagsOnly.json | 4 ++-- .../examples/WorkbookTemplateAdd.json | 14 +++++++------- .../examples/WorkbookTemplateGet.json | 6 +++--- .../examples/WorkbookTemplateUpdate.json | 10 +++++----- .../examples/WorkbookTemplatesList.json | 12 ++++++------ .../workbookTemplates_API.json | 4 ++-- .../examples/ComponentsPurge.json | 2 +- .../2020-02-10-preview/WebTestResults_API.json | 4 ++-- .../examples/Operations_List.json | 2 +- .../examples/WebTestResultsTestResultFile.json | 2 +- .../componentLinkedStorageAccounts_API.json | 2 +- ...nentLinkedStorageAccountsCreateAndUpdate.json | 4 ++-- .../ComponentLinkedStorageAccountsGet.json | 4 ++-- .../ComponentLinkedStorageAccountsUpdate.json | 4 ++-- .../examples/LiveTokenGet.json | 2 +- .../examples/Operations_List.json | 2 +- .../2020-06-02-preview/livetoken_API.json | 4 ++-- .../stable/2015-05-01/analyticsItems_API.json | 4 ++-- .../2015-05-01/examples/ComponentsPurge.json | 2 +- .../2015-05-01/examples/MyWorkbookAdd.json | 6 +++--- .../2015-05-01/examples/MyWorkbookGet.json | 4 ++-- .../2015-05-01/examples/MyWorkbookUpdate.json | 2 +- .../2015-05-01/examples/MyWorkbooksList.json | 8 ++++---- .../stable/2015-05-01/workbooks_API.json | 4 ++-- .../2020-10-20/examples/MyWorkbookAdd.json | 6 +++--- .../2020-10-20/examples/MyWorkbookGet.json | 4 ++-- .../2020-10-20/examples/MyWorkbookUpdate.json | 2 +- .../2020-10-20/examples/MyWorkbooksList.json | 8 ++++---- .../2020-10-20/examples/WorkbookManagedAdd.json | 10 +++++----- .../2020-10-20/examples/WorkbookManagedGet.json | 4 ++-- .../examples/WorkbookManagedUpdate.json | 6 +++--- 51 files changed, 131 insertions(+), 131 deletions(-) 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 fc7b90bc4990..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 @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/pricingPlans/current": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/pricingPlans/current": { "get": { "description": "Returns the current pricing plan setting for an Application Insights component.", "operationId": "ComponentCurrentPricingPlan_Get", 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 41a69215c1bf..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 @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/migrateToNewPricingModel": { + "/subscriptions/{subscriptionId}/providers/microsoft.insights/migrateToNewPricingModel": { "post": { "description": "Enterprise Agreement Customer opted to use new pricing model.", "operationId": "EASubscriptionMigrateToNewPricingModel_Post", @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/rollbackToLegacyPricingModel": { + "/subscriptions/{subscriptionId}/providers/microsoft.insights/rollbackToLegacyPricingModel": { "post": { "description": "Enterprise Agreement Customer roll back to use legacy pricing model.", "operationId": "EASubscriptionRollbackToLegacyPricingModel_Post", @@ -94,7 +94,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/listMigrationdate": { + "/subscriptions/{subscriptionId}/providers/microsoft.insights/listMigrationdate": { "post": { "description": "list date to migrate to new pricing model.", "operationId": "EASubscriptionListMigrationDate_Post", 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 18f1e51631c5..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 @@ -5,9 +5,9 @@ "resourceGroupName": "my-resource-group", "resourceName": "my-component", "PricingPlanProperties": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", "name": "current", - "type": "Microsoft.Insights/components/pricingPlans", + "type": "microsoft.insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, @@ -22,9 +22,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", "name": "current", - "type": "Microsoft.Insights/components/pricingPlans", + "type": "microsoft.insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, 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 dd09cd99c03b..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 @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", "name": "current", - "type": "Microsoft.Insights/components/pricingPlans", + "type": "microsoft.insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, 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 595968aa42d7..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 @@ -5,9 +5,9 @@ "resourceGroupName": "my-resource-group", "resourceName": "my-component", "PricingPlanProperties": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", "name": "current", - "type": "Microsoft.Insights/components/pricingPlans", + "type": "microsoft.insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, @@ -20,9 +20,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/pricingPlans/current", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/pricingPlans/current", "name": "current", - "type": "Microsoft.Insights/components/pricingPlans", + "type": "microsoft.insights/components/pricingPlans", "properties": { "planType": "Basic", "cap": 500, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json index 90e3aae5f5da..181a3fffda45 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json @@ -18,7 +18,7 @@ "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=2018-05-01-preview" + "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=2018-05-01-preview" }, "body": { "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json index b4994b8bae3c..3c1672bd1ff2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowpageloadtime", "location": "South Central US", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json index 8ffc2d538f00..67b1b1f8ba85 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationUpdate.json @@ -32,7 +32,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowpageloadtime", "location": "South Central US", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json index c9a22ef5f708..984c82edae90 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ProactiveDetectionConfigurationsList.json @@ -9,7 +9,7 @@ "200": { "body": [ { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowpageloadtime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowpageloadtime", "location": "South Central US", @@ -35,7 +35,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component/ProactiveDetectionConfigs/slowserverresponsetime", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/components/my-component/ProactiveDetectionConfigs/slowserverresponsetime", "type": "Microsoft.Insights/components/ProactiveDetectionConfigs", "name": "slowserverresponsetime", "location": "South Central US", 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 bea4bc9b3ea8..cdf1e0cec2c2 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks": { "get": { "description": "Get all Workbooks defined within a specified resource group and category.", "operationId": "Workbooks_ListByResourceGroup", @@ -85,7 +85,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json index 4e1ac3f21bd0..c2666213a43f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json index eb19c9447e70..657b2d706e0f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json @@ -11,9 +11,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", "name": "4337bb16-d6fe-4ff7-97cf-59df25941476", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -33,9 +33,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", "name": "bf015bf7-be70-49c2-8d52-4cce85c42ef1", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -55,9 +55,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", "name": "8d91c6ca-9c56-49c6-b3ae-112a68871acd", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -77,9 +77,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a5a9010e-e4b7-45ad-8b14-09d7e6082819", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a5a9010e-e4b7-45ad-8b14-09d7e6082819", "name": "a5a9010e-e4b7-45ad-8b14-09d7e6082819", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json index cde0d989ad99..7146d0101472 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json @@ -29,9 +29,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json index 445934c80f17..7a5d2118c10d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json @@ -25,9 +25,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", "name": "4337bb16-d6fe-4ff7-97cf-59df25941476", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -60,9 +60,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", "name": "bf015bf7-be70-49c2-8d52-4cce85c42ef1", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", @@ -95,9 +95,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", "name": "8d91c6ca-9c56-49c6-b3ae-112a68871acd", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json index cde0d989ad99..7146d0101472 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json @@ -29,9 +29,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "Microsoft.Insights/queryPacks/queries", + "type": "microsoft.insights/queryPacks/queries", "systemData": { "createdBy": "string", "createdByType": "application", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json index 6250d8714a43..d8054fd78907 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json @@ -12,9 +12,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "South Central US", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json index 3ae7ba68e726..47c957673279 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "southcentralus", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json index fbcb7272564b..5e49a3fcf051 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "South Central US", "tags": {}, "properties": { @@ -21,9 +21,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-other-resource-group/providers/Microsoft.Insights/queryPacks/my-other-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-other-resource-group/providers/microsoft.insights/queryPacks/my-other-querypack", "name": "my-other-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "South Central US", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json index f2fdaf6472b3..62c49b8fc66c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json @@ -9,9 +9,9 @@ "body": { "value": [ { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "South Central US", "tags": {}, "properties": { @@ -22,9 +22,9 @@ } }, { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-other-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-other-querypack", "name": "my-other-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "South Central US", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json index 2b92aa59f8ed..8dbdca0b6b48 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "South Central US", "tags": { "Tag1": "Value1" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json index a8dae4f5c8a1..5ad012214e92 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/queryPacks/my-querypack", + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/queryPacks/my-querypack", "name": "my-querypack", - "type": "Microsoft.Insights/querypacks", + "type": "microsoft.insights/querypacks", "location": "South Central US", "tags": { "Tag1": "Value1", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json index 57805e918d4c..8afc2505a0f1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json @@ -14,7 +14,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "Microsoft.Insights/components", + "resourceType": "microsoft.insights/components", "order": 100 } ], @@ -29,8 +29,8 @@ "name": "testtemplate2", "location": "westeurope", "tags": null, - "type": "Microsoft.Insights/workbooktemplates", - "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/Microsoft.Insights/workbooktemplates/testtemplate2", + "type": "microsoft.insights/workbooktemplates", + "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2", "properties": { "priority": 1, "author": "Contoso", @@ -41,7 +41,7 @@ "category": "Failures", "order": 100, "type": "tsg", - "resourceType": "Microsoft.Insights/components" + "resourceType": "microsoft.insights/components" } ], "localized": null @@ -53,8 +53,8 @@ "name": "testtemplate2", "location": "westeurope", "tags": null, - "type": "Microsoft.Insights/workbooktemplates", - "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/Microsoft.Insights/workbooktemplates/testtemplate2", + "type": "microsoft.insights/workbooktemplates", + "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2", "properties": { "priority": 1, "author": "Contoso", @@ -65,7 +65,7 @@ "category": "Failures", "order": 100, "type": "tsg", - "resourceType": "Microsoft.Insights/components" + "resourceType": "microsoft.insights/components" } ], "localized": null diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json index cd6b4170a605..9cee90ca1109 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json @@ -9,9 +9,9 @@ "200": { "body": { "name": "my-resource-name", - "type": "Microsoft.Insights/workbooktemplate", + "type": "microsoft.insights/workbooktemplate", "location": "westus", - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/workbooktemplates/my-resource-name", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name", "properties": { "priority": 1, "author": "Contoso", @@ -20,7 +20,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "Microsoft.Insights/components", + "resourceType": "microsoft.insights/components", "order": 100 } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json index 042393d9c9ce..b410777d4a90 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json @@ -7,7 +7,7 @@ "workbookTemplateProperties": { "name": "display-name-of-template", "location": "west us", - "type": "Microsoft.Insights/workbooktemplates", + "type": "microsoft.insights/workbooktemplates", "properties": { "priority": 1, "author": "Contoso", @@ -16,7 +16,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "Microsoft.Insights/components", + "resourceType": "microsoft.insights/components", "order": 100 } ], @@ -31,8 +31,8 @@ "name": "testtemplate2", "location": "westeurope", "tags": null, - "type": "Microsoft.Insights/workbooktemplates", - "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/Microsoft.Insights/workbooktemplates/testtemplate2", + "type": "microsoft.insights/workbooktemplates", + "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2", "properties": { "priority": 1, "author": "Contoso", @@ -43,7 +43,7 @@ "category": "Failures", "order": 100, "type": "tsg", - "resourceType": "Microsoft.Insights/components" + "resourceType": "microsoft.insights/components" } ], "localized": null diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json index 956f05c77f5a..3e2eaa1e3adb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json @@ -9,9 +9,9 @@ "body": [ { "name": "my-resource-name", - "type": "Microsoft.Insights/workbooktemplate", + "type": "microsoft.insights/workbooktemplate", "location": "westus", - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/workbooktemplates/my-resource-name", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name", "properties": { "priority": 1, "author": "Contoso", @@ -20,7 +20,7 @@ "name": "Simple Template", "category": "Failures", "type": "tsg", - "resourceType": "Microsoft.Insights/components", + "resourceType": "microsoft.insights/components", "order": 100 } ], @@ -30,9 +30,9 @@ }, { "name": "my-resource-name2", - "type": "Microsoft.Insights/workbooktemplate", + "type": "microsoft.insights/workbooktemplate", "location": "westus", - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/workbooktemplates/my-resource-name2", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name2", "properties": { "priority": 1, "author": "Contoso", @@ -41,7 +41,7 @@ "name": "Simple Template 2", "category": "Failures", "type": "tsg", - "resourceType": "Microsoft.Insights/components", + "resourceType": "microsoft.insights/components", "order": 100 } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json index a9d5b3db7ec3..6bc485e75fd9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooktemplates": { "get": { "description": "Get all Workbook templates defined within a specified resource group.", "operationId": "WorkbookTemplates_ListByResourceGroup", @@ -73,7 +73,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooktemplates/{resourceName}": { "get": { "description": "Get a single workbook template by its resourceName.", "operationId": "WorkbookTemplates_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json index 04e6e82ee806..7d4def360af2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsPurge.json @@ -18,7 +18,7 @@ "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" + "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" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json index f48e7e394ddc..7bcea7f72ba3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/operations": { + "/providers/microsoft.insights/operations": { "get": { "tags": [ "Operations" @@ -72,7 +72,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}/getTestResultFile": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/webtests/{webTestName}/getTestResultFile": { "post": { "tags": [ "WebTests_GetTestResultFile" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json index 668f8ff76335..583aa46d8850 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/Operations_List.json @@ -7,7 +7,7 @@ "body": { "value": [ { - "name": "Microsoft.Insights/webtests/gettestresultfile", + "name": "microsoft.insights/webtests/gettestresultfile", "display": { "provider": "Microsoft Container Instance", "resource": "webtests", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json index 786f94d73bda..31dc3c9e7a99 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-10-preview/examples/WebTestResultsTestResultFile.json @@ -14,7 +14,7 @@ "200": { "body": { "data": "xxxxxxxxxx", - "nextLink": "https://management.azure.com/subscriptions/123subid/resourcegroups/myresourcegroup/providers/Microsoft.Insights/webtests/my-test-name/testresultfile?geoLocationId=brs×tamp=1566823240&downloadAs=webtestresult&testSuccessfulCriteria=true&continuationToken=10&api-version=2020-10-01-preview" + "nextLink": "https://management.azure.com/subscriptions/123subid/resourcegroups/myresourcegroup/providers/microsoft.insights/webtests/my-test-name/testresultfile?geoLocationId=brs×tamp=1566823240&downloadAs=webtestresult&testSuccessfulCriteria=true&continuationToken=10&api-version=2020-10-01-preview" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json index b2ff8ddcd8b7..22fcf9bfa10f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/linkedStorageAccounts/{storageType}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}": { "get": { "description": "Returns the current linked storage settings for an Application Insights component.", "operationId": "ComponentLinkedStorageAccounts_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json index 143a711fa323..8283ea527f45 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupNameproviders/Microsoft.Insights/components/myComponent/linkedStorageAccounts/serviceprofiler", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupNameproviders/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", "name": "serviceprofile", - "type": "Microsoft.Insights/components/linkedStorageAccounts", + "type": "microsoft.insights/components/linkedStorageAccounts", "properties": { "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json index 06053cc8f7bd..dedc1b4aa6f0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Insights/components/myComponent/linkedStorageAccounts/serviceprofiler", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", "name": "serviceprofile", - "type": "Microsoft.Insights/components/linkedStorageAccounts", + "type": "microsoft.insights/components/linkedStorageAccounts", "properties": { "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json index d8b14ba325e7..e73f9d2db797 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Insights/components/myComponent/linkedStorageAccounts/serviceprofiler", + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", "name": "serviceprofile", - "type": "Microsoft.Insights/components/linkedStorageAccounts", + "type": "microsoft.insights/components/linkedStorageAccounts", "properties": { "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json index 46de73ea0033..abf2f0593a87 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json @@ -1,6 +1,6 @@ { "parameters": { - "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/FabrikamFiberApp/providers/Microsoft.Insights/components/CustomAvailabilityTest/providers/Microsoft.Insights/generatelivetoken", + "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/FabrikamFiberApp/providers/microsoft.insights/components/CustomAvailabilityTest/providers/microsoft.insights/generatelivetoken", "api-version": "2020-06-02-preview" }, "responses": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json index 5f14524b11ef..fdfbf1775678 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/Operations_List.json @@ -7,7 +7,7 @@ "body": { "value": [ { - "name": "Microsoft.Insights/generatelivetoken", + "name": "microsoft.insights/generatelivetoken", "display": { "provider": "Microsoft Container Instance", "resource": "generatelivetoken", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json index d1b1a7867a56..bac300f6f969 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json @@ -36,7 +36,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/operations": { + "/providers/microsoft.insights/operations": { "get": { "tags": [ "Operations" @@ -74,7 +74,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.Insights/generatelivetoken": { + "/{resourceUri}/providers/microsoft.insights/generatelivetoken": { "post": { "tags": [ "LiveToken" 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 dfbab981dd9f..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 @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/{scopePath}": { + "/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", @@ -82,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/{scopePath}/item": { + "/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", 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 54b5ad31c1e6..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 @@ -18,7 +18,7 @@ "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" + "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" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json index 389d39761d82..44b33f169d2d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookAdd.json @@ -24,8 +24,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "Microsoft.Insights/myworkbooks", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", @@ -44,7 +44,7 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json index 64071ede7edf..640ff6b08c01 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "Microsoft.Insights/myworkbooks", + "type": "microsoft.insights/myworkbooks", "location": "westus", "kind": "user", "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json index dfa1f3449634..6df92009e06e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbookUpdate.json @@ -25,7 +25,7 @@ "200": { "body": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "Microsoft.Insights/myworkbooks", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json index b15b244d3cfe..5aca7c5f3e07 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/MyWorkbooksList.json @@ -9,8 +9,8 @@ "200": { "body": [ { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "Microsoft.Insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [], @@ -26,8 +26,8 @@ } }, { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "Microsoft.Insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", 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 0227174b5232..f3fb7bdc4e2d 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks": { + "/subscriptions/{subscriptionId}/resourceGroups/{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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}": { "get": { "description": "Get a single workbook by its resourceName.", "operationId": "Workbooks_Get", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json index 8c336dfb16e5..1eef7ae9b8f1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json @@ -24,8 +24,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "Microsoft.Insights/myworkbooks", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", @@ -45,7 +45,7 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json index a85412167087..e0c512a3fdfe 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "Microsoft.Insights/myworkbooks", + "type": "microsoft.insights/myworkbooks", "location": "westus", "kind": "user", "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json index f1d5c52b3916..27567c18f7f2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json @@ -26,7 +26,7 @@ "200": { "body": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "Microsoft.Insights/myworkbooks", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json index a59c2857a8eb..70533442b673 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json @@ -9,8 +9,8 @@ "200": { "body": [ { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "Microsoft.Insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [], @@ -27,8 +27,8 @@ } }, { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "Microsoft.Insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "microsoft.insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 4ff6f6e5e4dc..188ce37786fa 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -6,7 +6,7 @@ "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "workbookProperties": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", "location": "westus", "tags": { @@ -42,9 +42,9 @@ } } }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "Microsoft.Insights/workbooks", + "type": "microsoft.insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" @@ -75,9 +75,9 @@ } } }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "Microsoft.Insights/workbooks", + "type": "microsoft.insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json index f0f8cc223160..132853469501 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json @@ -21,9 +21,9 @@ } } }, - "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/Microsoft.Insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/microsoft.insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", "name": "76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", - "type": "Microsoft.Insights/workbooks", + "type": "microsoft.insights/workbooks", "location": "westcentralus", "tags": { "hidden-title": "azuremon" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index 5ca493f45419..972f20823b09 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -9,7 +9,7 @@ "name": "e378d137-1243-4256-b5c4-562a937cae79", "location": "westus", "tags": null, - "type": "Microsoft.Insights/workbooks", + "type": "microsoft.insights/workbooks", "kind": "shared", "identity": { "type": "UserAssigned", @@ -45,9 +45,9 @@ } } }, - "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", - "type": "Microsoft.Insights/workbooks", + "type": "microsoft.insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" From e0231d254ba1c1a3611a4b7bdb7090b251afd612 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Thu, 29 Oct 2020 13:52:11 -0700 Subject: [PATCH 49/65] replaced all lowercase microsoft.insights with Pascal Case --- .../stable/2020-10-20/examples/MyWorkbookAdd.json | 6 +++--- .../stable/2020-10-20/examples/MyWorkbookGet.json | 4 ++-- .../stable/2020-10-20/examples/MyWorkbookUpdate.json | 2 +- .../stable/2020-10-20/examples/MyWorkbooksList.json | 8 ++++---- .../stable/2020-10-20/examples/WorkbookManagedAdd.json | 10 +++++----- .../stable/2020-10-20/examples/WorkbookManagedGet.json | 4 ++-- .../2020-10-20/examples/WorkbookManagedUpdate.json | 6 +++--- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json index 1eef7ae9b8f1..8c336dfb16e5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookAdd.json @@ -24,8 +24,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", @@ -45,7 +45,7 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "type": "", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json index e0c512a3fdfe..a85412167087 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", - "type": "microsoft.insights/myworkbooks", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "kind": "user", "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json index 27567c18f7f2..f1d5c52b3916 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbookUpdate.json @@ -26,7 +26,7 @@ "200": { "body": { "id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json index 70533442b673..a59c2857a8eb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/MyWorkbooksList.json @@ -9,8 +9,8 @@ "200": { "body": [ { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "tags": [], @@ -27,8 +27,8 @@ } }, { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", - "type": "microsoft.insights/myworkbooks", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722", + "type": "Microsoft.Insights/myworkbooks", "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "user", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json index 188ce37786fa..4ff6f6e5e4dc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedAdd.json @@ -6,7 +6,7 @@ "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup", "workbookProperties": { - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-ad2a937cae79", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", "location": "westus", "tags": { @@ -42,9 +42,9 @@ } } }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" @@ -75,9 +75,9 @@ } } }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json index 132853469501..f0f8cc223160 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedGet.json @@ -21,9 +21,9 @@ } } }, - "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/microsoft.insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/Microsoft.Insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", "name": "76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westcentralus", "tags": { "hidden-title": "azuremon" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json index 972f20823b09..5ca493f45419 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/examples/WorkbookManagedUpdate.json @@ -9,7 +9,7 @@ "name": "e378d137-1243-4256-b5c4-562a937cae79", "location": "westus", "tags": null, - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "kind": "shared", "identity": { "type": "UserAssigned", @@ -45,9 +45,9 @@ } } }, - "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/microsoft.insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", + "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", - "type": "microsoft.insights/workbooks", + "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { "hidden-title": "tttt" From d8971dd97e8b943d75248fbc5878a33251762bc6 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Thu, 29 Oct 2020 15:47:42 -0700 Subject: [PATCH 50/65] added another exclusijon for webtests default responses --- specification/applicationinsights/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index bd06792ef372..b5c7fdd53ff5 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -169,6 +169,9 @@ directive: - suppress: RequiredDefaultResponse from: webTestLocations_API.json reason: 'consistent with existing default response | owned by another team' + - suppress: RequiredDefaultResponse + from: webTests_API.json + reason: 'consistent with existing default response | owned by another team' - suppress: PathResourceTypeNameCamelCase from: componentAnnotations_API.json reason: 'consistent with existing path | owned by another team' From e00b5766e42bea1ff006e5e90110aec4714cfa20 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Thu, 29 Oct 2020 16:05:47 -0700 Subject: [PATCH 51/65] added exclusion for OperationsAPIImplementation --- specification/applicationinsights/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index b5c7fdd53ff5..4fee2f9c2aac 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -199,6 +199,9 @@ directive: - suppress: TopLevelResourcesListBySubscription from: workbooks_API.json reason: 'get workbook list by subscription is not supported' + - suppress: OperationsAPIImplementation + from: workbookOperations_API.json + reason: 'Previously implemented operation apis are using an incorrect RP case format which I cannot change.' ``` ### Tag: package-2020-10-20 From 3a88b60a9891dba7a25640076b3ffa56a0b92fff Mon Sep 17 00:00:00 2001 From: tonykslee Date: Thu, 29 Oct 2020 16:10:54 -0700 Subject: [PATCH 52/65] updated suppression --- specification/applicationinsights/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 4fee2f9c2aac..d1aac3e4b801 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -200,7 +200,6 @@ directive: from: workbooks_API.json reason: 'get workbook list by subscription is not supported' - suppress: OperationsAPIImplementation - from: workbookOperations_API.json reason: 'Previously implemented operation apis are using an incorrect RP case format which I cannot change.' ``` From 669eed076c8ec5712fef00490922179e49c8215e Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 16:54:45 -0800 Subject: [PATCH 53/65] using existing Identity Definition --- .../stable/2020-10-20/myworkbooks_API.json | 19 +------------------ .../stable/2020-10-20/workbooks_API.json | 19 +------------------ 2 files changed, 2 insertions(+), 36 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index f85f47d000a5..e89f2aac7d2b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -307,7 +307,7 @@ "properties": { "identity": { "description": "Identity used for BYOS", - "$ref": "#/definitions/ManagedIdentity" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Identity" }, "id": { "type": "string", @@ -478,23 +478,6 @@ } }, "description": "Error message body that will indicate why the operation failed." - }, - "ManagedIdentity": { - "description": "Customer Managed Identity", - "properties": { - "type": { - "type": "string", - "description": "identity type: \"systemAssigned\", \"userAssigned\", \"systemAssigned,userAssigned\", or \"None\"" - }, - "principalId": { - "type": "string", - "description": "principalId used for the managed identity" - }, - "tenantId": { - "type": "string", - "description": "tenantId used for the managed identity" - } - } } }, "parameters": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index a5ee6a09b928..83d79956a1ac 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -283,7 +283,7 @@ "properties": { "identity": { "description": "Identity used for BYOS", - "$ref": "#/definitions/ManagedIdentity" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Identity" }, "id": { "type": "string", @@ -501,23 +501,6 @@ "description": "The list of invalid fields send in request, in case of validation error." } } - }, - "ManagedIdentity": { - "description": "Customer Managed Identity", - "properties": { - "type": { - "type": "string", - "description": "identity type: \"systemAssigned\", \"userAssigned\", \"systemAssigned,userAssigned\", or \"None\"" - }, - "principalId": { - "type": "string", - "description": "principalId used for the managed identity" - }, - "tenantId": { - "type": "string", - "description": "tenantId used for the managed identity" - } - } } }, "parameters": { From 940f393527556ebbf98e76b785e50a000ac8b69a Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 16:59:15 -0800 Subject: [PATCH 54/65] remove CDN references from Operations API file --- .../stable/2020-10-20/workbookOperations_API.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index 272d67153b2d..bb4daa5c0056 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -111,7 +111,7 @@ "description": "Error Field contract." }, "Operation": { - "description": "CDN REST API operation", + "description": "Azure Workbooks REST API operation", "type": "object", "properties": { "name": { @@ -122,7 +122,7 @@ "description": "The object that represents the operation.", "properties": { "provider": { - "description": "Service provider: Microsoft.Cdn", + "description": "Service provider: Microsoft.Insights", "type": "string" }, "resource": { @@ -138,14 +138,14 @@ } }, "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.", + "description": "Result of the request to list Azure Workbooks 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." + "description": "List of Workbook operations supported by the Microsoft.Insights resource provider." }, "nextLink": { "type": "string", From be0f772b16bfdf98aa45fcccf4c18152d5e2ad8f Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 17:01:26 -0800 Subject: [PATCH 55/65] added errorResponse type object in operations api --- .../stable/2020-10-20/workbookOperations_API.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json index bb4daa5c0056..64553e8f509f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json @@ -75,6 +75,7 @@ "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.", From ac961cdb3e0893ee27848014238864cd6e6ad48a Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 17:42:30 -0800 Subject: [PATCH 56/65] update to use existing common type --- .../stable/2020-10-20/myworkbooks_API.json | 12 +++++++++++- .../stable/2020-10-20/workbooks_API.json | 12 +++++++++++- .../common-types/resource-management/v2/types.json | 3 ++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index e89f2aac7d2b..3e467e18f25d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -307,7 +307,7 @@ "properties": { "identity": { "description": "Identity used for BYOS", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Identity" + "$ref": "#/definitions/ManagedIdentity" }, "id": { "type": "string", @@ -478,6 +478,16 @@ } }, "description": "Error message body that will indicate why the operation failed." + }, + "ManagedIdentity": { + "description": "Customer Managed Identity", + + "properties": { + "userAssignedIdentities": { + "type": "object", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity" + } + } } }, "parameters": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 83d79956a1ac..dba4e734055d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -283,7 +283,7 @@ "properties": { "identity": { "description": "Identity used for BYOS", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Identity" + "$ref": "#/definitions/ManagedIdentity" }, "id": { "type": "string", @@ -501,6 +501,16 @@ "description": "The list of invalid fields send in request, in case of validation error." } } + }, + "ManagedIdentity": { + "description": "Customer Managed Identity", + + "properties": { + "userAssignedIdentities": { + "type": "object", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity" + } + } } }, "parameters": { diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index 7ef5fc2bb4a0..2dcef721afad 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -231,7 +231,8 @@ "type": "string", "description": "The identity type.", "enum": [ - "SystemAssigned" + "SystemAssigned", + "UserAssigned" ], "x-ms-enum": { "name": "ResourceIdentityType", From ac36c5c72bbb50d60d874cd53ddd003436e465f7 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 17:56:40 -0800 Subject: [PATCH 57/65] ran prettier --- .../Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json | 1 - .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index 3e467e18f25d..edae879bbdcb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -481,7 +481,6 @@ }, "ManagedIdentity": { "description": "Customer Managed Identity", - "properties": { "userAssignedIdentities": { "type": "object", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index dba4e734055d..388b50118f53 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -504,7 +504,6 @@ }, "ManagedIdentity": { "description": "Customer Managed Identity", - "properties": { "userAssignedIdentities": { "type": "object", From e642b0f716df420f3ebe6a1f96e5188b966811ca Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 18:16:04 -0800 Subject: [PATCH 58/65] added enum values to identity types in types.json --- specification/common-types/resource-management/v2/types.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index 2dcef721afad..f8ed87934937 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -232,7 +232,10 @@ "description": "The identity type.", "enum": [ "SystemAssigned", - "UserAssigned" + "UserAssigned", + "Both", + "None", + "Unknown" ], "x-ms-enum": { "name": "ResourceIdentityType", From 338d64270ff5cd73be9f5be006f3f9c352f10ab2 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 18:28:01 -0800 Subject: [PATCH 59/65] removed use of common type for identity --- .../stable/2020-10-20/myworkbooks_API.json | 25 +++++++++++++++++-- .../stable/2020-10-20/workbooks_API.json | 24 ++++++++++++++++-- .../resource-management/v2/types.json | 6 +---- 3 files changed, 46 insertions(+), 9 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index edae879bbdcb..6df3c73d8497 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -483,8 +483,29 @@ "description": "Customer Managed Identity", "properties": { "userAssignedIdentities": { - "type": "object", - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity" + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + } } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 388b50118f53..4fcf4902683f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -506,8 +506,28 @@ "description": "Customer Managed Identity", "properties": { "userAssignedIdentities": { - "type": "object", - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity" + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + } } } } diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index f8ed87934937..7ef5fc2bb4a0 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -231,11 +231,7 @@ "type": "string", "description": "The identity type.", "enum": [ - "SystemAssigned", - "UserAssigned", - "Both", - "None", - "Unknown" + "SystemAssigned" ], "x-ms-enum": { "name": "ResourceIdentityType", From 19020e34c7c89fb5039ffc94cb0b6827656e5839 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 18:32:41 -0800 Subject: [PATCH 60/65] updated identity schema --- .../stable/2020-10-20/myworkbooks_API.json | 6 +----- .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index 6df3c73d8497..17dc885f976b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -500,11 +500,7 @@ "SystemAssigned", "UserAssigned", "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } + ] } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 4fcf4902683f..d36faa92d084 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -522,11 +522,7 @@ "enum": [ "UserAssigned", "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } + ] } } } From 4c2b39aeeddb2c0689114f234688b67e48d48d03 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 18:37:34 -0800 Subject: [PATCH 61/65] updated identity schema --- .../stable/2020-10-20/myworkbooks_API.json | 17 ++++++++--------- .../stable/2020-10-20/workbooks_API.json | 16 ++++++++-------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index 17dc885f976b..bb928efd0a55 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -492,16 +492,15 @@ "readOnly": true, "type": "string", "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "None" - ] } + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "UserAssigned", + "None" + ] } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index d36faa92d084..12073f0eb73c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -515,15 +515,15 @@ "readOnly": true, "type": "string", "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "UserAssigned", - "None" - ] } + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "UserAssigned", + "None" + ] } } } From 6ddf0fa3502046bccfb8604441db02a28f2ec8ef Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 18:46:32 -0800 Subject: [PATCH 62/65] updated identity schema --- .../Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json | 2 ++ .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 1 + 2 files changed, 3 insertions(+) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index bb928efd0a55..c934a0d9dc2a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -482,7 +482,9 @@ "ManagedIdentity": { "description": "Customer Managed Identity", "properties": { + "userAssignedIdentities": { + "type": "object", "principalId": { "readOnly": true, "type": "string", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 12073f0eb73c..c26d25252881 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -506,6 +506,7 @@ "description": "Customer Managed Identity", "properties": { "userAssignedIdentities": { + "type": "object", "principalId": { "readOnly": true, "type": "string", From 04a088e1c23a4717630388900e595404e484751e Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 18:52:20 -0800 Subject: [PATCH 63/65] updated identity schema --- .../stable/2020-10-20/myworkbooks_API.json | 25 +++++++++-------- .../stable/2020-10-20/workbooks_API.json | 27 ++++++++++--------- 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index c934a0d9dc2a..e957feab5909 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -484,17 +484,7 @@ "properties": { "userAssignedIdentities": { - "type": "object", - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - } + "$ref": "#/definitions/UserAssignedIdentities" }, "type": { "type": "string", @@ -505,6 +495,19 @@ ] } } + }, + "UserAssignedIdentities": { + "description": "Customer Managed Identity", + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + } } }, "parameters": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index c26d25252881..d712e5521177 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -505,18 +505,9 @@ "ManagedIdentity": { "description": "Customer Managed Identity", "properties": { + "userAssignedIdentities": { - "type": "object", - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - } + "$ref": "#/definitions/UserAssignedIdentities" }, "type": { "type": "string", @@ -527,7 +518,19 @@ ] } } - } + }, + "UserAssignedIdentities": { + "description": "Customer Managed Identity", + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + } }, "parameters": { "WorkbookResourceNameParameter": { From 48afd0a289bbfe8937b4972ea5d8d270bdc89a10 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 18:58:18 -0800 Subject: [PATCH 64/65] updated identity schema --- .../stable/2020-10-20/myworkbooks_API.json | 20 ++++++++++-------- .../stable/2020-10-20/workbooks_API.json | 21 +++++++++++-------- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index e957feab5909..91f8c5b43e41 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -498,15 +498,17 @@ }, "UserAssignedIdentities": { "description": "Customer Managed Identity", - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + } } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index d712e5521177..5d804a8143c2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -521,16 +521,19 @@ }, "UserAssignedIdentities": { "description": "Customer Managed Identity", - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + } } + } }, "parameters": { "WorkbookResourceNameParameter": { From 6e87f22b77364306c59a5fb2a1c2a38f55f0c387 Mon Sep 17 00:00:00 2001 From: tonykslee Date: Wed, 4 Nov 2020 19:35:16 -0800 Subject: [PATCH 65/65] ran prettier --- .../Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json | 1 - .../Microsoft.Insights/stable/2020-10-20/workbooks_API.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index 91f8c5b43e41..336f2a6b00e3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -482,7 +482,6 @@ "ManagedIdentity": { "description": "Customer Managed Identity", "properties": { - "userAssignedIdentities": { "$ref": "#/definitions/UserAssignedIdentities" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 5d804a8143c2..4a5f1d28cd0e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -505,7 +505,6 @@ "ManagedIdentity": { "description": "Customer Managed Identity", "properties": { - "userAssignedIdentities": { "$ref": "#/definitions/UserAssignedIdentities" },