diff --git a/specification/applicationinsights/resource-manager/readme.azureresourceschema.md b/specification/applicationinsights/resource-manager/readme.azureresourceschema.md index 12a53d8275a8..3e051fab68f4 100644 --- a/specification/applicationinsights/resource-manager/readme.azureresourceschema.md +++ b/specification/applicationinsights/resource-manager/readme.azureresourceschema.md @@ -11,7 +11,6 @@ batch: - tag: schema-insights-2020-02-10-preview - tag: schema-insights-2020-02-02-preview - tag: schema-insights-2019-10-17-preview - - tag: schema-insights-2019-09-01-preview - tag: schema-insights-2018-06-17-preview - tag: schema-insights-2018-05-01-preview - tag: schema-insights-2017-10-01 @@ -76,18 +75,6 @@ input-file: ``` -### Tag: schema-insights-2019-09-01-preview and azureresourceschema - -``` yaml $(tag) == 'schema-insights-2019-09-01-preview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas - -# all the input files in this apiVersion -input-file: - - Microsoft.Insights/preview/2019-09-01-preview/QueryPackQueries_API.json - - Microsoft.Insights/preview/2019-09-01-preview/QueryPacks_API.json - -``` - ### Tag: schema-insights-2018-06-17-preview and azureresourceschema ``` yaml $(tag) == 'schema-insights-2018-06-17-preview' && $(azureresourceschema) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index d1aac3e4b801..ce6ed5cc0774 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -336,16 +336,6 @@ input-file: - Microsoft.Insights/preview/2018-05-01-preview/components_API.json ``` -### Tag: package-2019-09-01-preview - -These settings apply only when `--tag=package-2019-09-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2019-09-01-preview' -input-file: -- Microsoft.Insights/preview/2019-09-01-preview/QueryPackQueries_API.json -- Microsoft.Insights/preview/2019-09-01-preview/QueryPacks_API.json -``` - ### Tag: package-2020-02-02-preview These settings apply only when `--tag=package-2020-02-02-preview` is specified on the command line. diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index b7462eaaf2d0..e391cfa7ddd3 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -21,7 +21,6 @@ batch: - tag: package-2017-10 - tag: package-2018-05-01-preview - tag: package-2018-06-17-preview - - tag: package-2019-09-01-preview - tag: package-2019-10-17-preview - tag: package-2020-02-02-preview - tag: package-2020-03-01-preview @@ -78,16 +77,6 @@ python: output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview ``` -### Tag: package-2019-09-01-preview and python - -These settings apply only when `--tag=package-2019-09-01-preview --python` is specified on the command line. - -``` yaml $(tag) == 'package-2019-09-01-preview' && $(python) -python: - namespace: azure.mgmt.applicationinsights.v2019_09_01_preview - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_09_01_preview -``` - ### Tag: package-2020-02-02-preview and python These settings apply only when `--tag=package-2020-02-02-preview --python` is specified on the command line. diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/QueryPackQueries_API.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPackQueries_API.json similarity index 98% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/QueryPackQueries_API.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPackQueries_API.json index 6c1383c0621b..56a3408ca6cc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/QueryPackQueries_API.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPackQueries_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/queryPacks/{queryPackName}/queries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries": { "get": { "description": "Gets a list of Queries defined within a Log Analytics QueryPack.", "operationId": "Queries_List", @@ -85,7 +85,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/queryPacks/{queryPackName}/queries/search": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/search": { "post": { "description": "Search a list of Queries defined within a Log Analytics QueryPack according to given search properties.", "operationId": "Queries_Search", @@ -145,7 +145,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/queryPacks/{queryPackName}/queries/{id}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}": { "get": { "description": "Gets a specific Log Analytics Query defined within a Log Analytics QueryPack.", "operationId": "Queries_Get", @@ -445,10 +445,12 @@ "$ref": "#/definitions/AzureResourceProperties" } ], - "description": "A Log Analytics QueryPack-Query definition." + "description": "A Log Analytics QueryPack-Query definition.", + "x-ms-azure-resource": true }, "LogAnalyticsQueryPackQueryProperties": { "description": "Properties that define an Log Analytics QueryPack-Query resource.", + "x-ms-azure-resource": true, "properties": { "id": { "type": "string", @@ -672,6 +674,7 @@ "in": "query", "required": false, "type": "integer", + "format": "int64", "description": "Maximum items returned in page.", "x-ms-parameter-location": "method" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/QueryPacks_API.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPacks_API.json similarity index 98% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/QueryPacks_API.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPacks_API.json index 58d3e127d4db..b801dbeafb58 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/QueryPacks_API.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPacks_API.json @@ -34,7 +34,7 @@ } }, "paths": { - "/providers/Microsoft.Insights/operations": { + "/providers/Microsoft.OperationalInsights/operations": { "get": { "tags": [ "Operations" @@ -71,7 +71,7 @@ ] } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/queryPacks": { + "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks": { "get": { "description": "Gets a list of all Log Analytics QueryPacks within a subscription.", "operationId": "QueryPacks_List", @@ -107,7 +107,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/queryPacks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks": { "get": { "description": "Gets a list of Log Analytics QueryPacks within a resource group.", "operationId": "QueryPacks_ListByResourceGroup", @@ -146,7 +146,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/queryPacks/{queryPackName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}": { "delete": { "description": "Deletes a Log Analytics QueryPack.", "operationId": "QueryPacks_Delete", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesDelete.json similarity index 100% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesDelete.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesDelete.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json similarity index 88% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json index c2666213a43f..abee6d675884 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json similarity index 82% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json index 657b2d706e0f..1e52e1f83c82 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", "name": "4337bb16-d6fe-4ff7-97cf-59df25941476", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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.operationalinsights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", "name": "bf015bf7-be70-49c2-8d52-4cce85c42ef1", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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.operationalinsights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", "name": "8d91c6ca-9c56-49c6-b3ae-112a68871acd", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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.operationalinsights/queryPacks/my-querypack/queries/a5a9010e-e4b7-45ad-8b14-09d7e6082819", "name": "a5a9010e-e4b7-45ad-8b14-09d7e6082819", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json similarity index 92% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json index 7146d0101472..d9917e6603df 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesPut.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json similarity index 86% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json index 7a5d2118c10d..1a41feb44028 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesSearch.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack/queries/4337bb16-d6fe-4ff7-97cf-59df25941476", "name": "4337bb16-d6fe-4ff7-97cf-59df25941476", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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.operationalinsights/queryPacks/my-querypack/queries/bf015bf7-be70-49c2-8d52-4cce85c42ef1", "name": "bf015bf7-be70-49c2-8d52-4cce85c42ef1", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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.operationalinsights/queryPacks/my-querypack/queries/8d91c6ca-9c56-49c6-b3ae-112a68871acd", "name": "8d91c6ca-9c56-49c6-b3ae-112a68871acd", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json similarity index 92% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json index 7146d0101472..d9917e6603df 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPackQueriesUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack/queries/a449f8af-8e64-4b3a-9b16-5a7165ff98c4", "name": "a449f8af-8e64-4b3a-9b16-5a7165ff98c4", - "type": "microsoft.insights/queryPacks/queries", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksCreate.json similarity index 83% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksCreate.json index d8054fd78907..8ebfb1c4570f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksCreate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/querypacks", "location": "South Central US", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksDelete.json similarity index 100% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksDelete.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksDelete.json diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksGet.json similarity index 80% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksGet.json index 47c957673279..8241e5bb36cf 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/querypacks", "location": "southcentralus", "tags": {}, "properties": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksList.json similarity index 81% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksList.json index 5e49a3fcf051..837f7419654b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/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.operationalinsights/queryPacks/my-other-querypack", "name": "my-other-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json similarity index 78% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json index 62c49b8fc66c..5c5ef2bc3212 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksListByResourceGroup.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/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.operationalinsights/queryPacks/my-other-querypack", "name": "my-other-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json similarity index 84% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json index 8dbdca0b6b48..370aea09af1e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/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/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json similarity index 86% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json index 5ad012214e92..59a4d34d52d5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-09-01-preview/examples/QueryPacksUpdateTagsOnly.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/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.operationalinsights/queryPacks/my-querypack", "name": "my-querypack", - "type": "microsoft.insights/querypacks", + "type": "microsoft.operationalinsights/querypacks", "location": "South Central US", "tags": { "Tag1": "Value1", diff --git a/specification/operationalinsights/resource-manager/readme.azureresourceschema.md b/specification/operationalinsights/resource-manager/readme.azureresourceschema.md index bccbbe033234..d10682ba189e 100644 --- a/specification/operationalinsights/resource-manager/readme.azureresourceschema.md +++ b/specification/operationalinsights/resource-manager/readme.azureresourceschema.md @@ -10,6 +10,7 @@ batch: - tag: schema-operationalinsights-2020-10-01 - tag: schema-operationalinsights-2020-03-01-preview - tag: schema-operationalinsights-2019-08-01-preview + - tag: schema-operationalinsights-2019-09-01-preview - tag: schema-operationalinsights-2015-11-01-preview - tag: schema-operationalinsights-2015-03-20 @@ -102,6 +103,18 @@ input-file: ``` +### Tag: schema-operationalinsights-2019-09-01-preview and azureresourceschema + +``` yaml $(tag) == 'schema-operationalinsights-2019-09-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas + +# all the input files in this apiVersion +input-file: + - Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPacks_API.json + - Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPackQueries_API.json + +``` + ### Tag: schema-operationalinsights-2015-11-01-preview and azureresourceschema ``` yaml $(tag) == 'schema-operationalinsights-2015-11-01-preview' && $(azureresourceschema) diff --git a/specification/operationalinsights/resource-manager/readme.go.md b/specification/operationalinsights/resource-manager/readme.go.md index 3d36aacd8cee..1406d6f8c58c 100644 --- a/specification/operationalinsights/resource-manager/readme.go.md +++ b/specification/operationalinsights/resource-manager/readme.go.md @@ -29,6 +29,15 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-09-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-09-01-preview/$(namespace) +``` + ### Tag: package-2015-11-preview and go These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index bfb16710d35e..0c5faf797f76 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -62,6 +62,16 @@ input-file: - Microsoft.OperationalInsights/preview/2019-08-01-preview/OperationalInsights.json ``` +### Tag: package-2019-09-preview + +These settings apply only when `--tag=package-2019-09-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-09-preview' +input-file: +- Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPacks_API.json +- Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPackQueries_API.json +``` + ### Tag: package-2020-03-preview These settings apply only when `--tag=package-2020-03-preview` is specified on the command line.