Skip to content

Add missing LinkedStoragesProperty to components API swagger #34687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "ApplicationInsightsManagementClient",
Expand Down Expand Up @@ -632,6 +632,10 @@
"ForceCustomerStorageForProfiler": {
"type": "boolean",
"description": "Force users to create their own storage account for profiler and debugger."
},
"LinkedStorages": {
"$ref": "#/definitions/LinkedStorages",
"description": "Linked storage accounts for Application Insights component."
}
},
"required": [
Expand Down Expand Up @@ -765,6 +769,17 @@
}
]
}
},
"LinkedStorages": {
"type": "object",
"description": "Linked storage accounts for Application Insights component.",
"properties": {
"ServiceProfilerLinkedStorage": {
"type": "string",
"format": "arm-id",
"description": "Resource ID of the linked storage account for Service Profiler."
}
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json#L1

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json
"parameters": {
"api-version": "2020-02-02",
"subscriptionId": "subid",
Expand Down Expand Up @@ -42,9 +42,12 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json#L1

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json
"parameters": {
"api-version": "2020-02-02",
"subscriptionId": "subid",
Expand Down Expand Up @@ -32,9 +32,12 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json#L1

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json
"parameters": {
"api-version": "2020-02-02",
"subscriptionId": "subid"
Expand Down Expand Up @@ -32,7 +32,10 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
},
{
Expand Down Expand Up @@ -60,12 +63,15 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
}
],
"nextLink": null
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
},
{
Expand Down Expand Up @@ -61,12 +64,15 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
}
],
"nextLink": null
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@
"DisableIpMasking": false,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled",
"IngestionMode": "LogAnalytics"
"IngestionMode": "LogAnalytics",
"LinkedStorages": {
"ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
}
}
}
}
}
}
}
Loading