From 7417d46430632d8b49076a1b13e15c4420b0f5fd Mon Sep 17 00:00:00 2001 From: Bruck Woldeyes Date: Wed, 14 May 2025 13:00:04 -0400 Subject: [PATCH] Add missing LinkedStoragesProperty to components API swagger --- .../stable/2020-02-02/components_API.json | 15 +++++++++++++++ .../2020-02-02/examples/ComponentsCreate.json | 7 +++++-- .../stable/2020-02-02/examples/ComponentsGet.json | 7 +++++-- .../2020-02-02/examples/ComponentsList.json | 12 +++++++++--- .../examples/ComponentsListByResourceGroup.json | 12 +++++++++--- .../2020-02-02/examples/ComponentsUpdate.json | 7 +++++-- .../examples/ComponentsUpdateTagsOnly.json | 7 +++++-- 7 files changed, 53 insertions(+), 14 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json index b85c8147e78a..d315ec3b231b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json @@ -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": [ @@ -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": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json index e47be170ccc3..23c4f3f7df74 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json @@ -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" + } } } } } -} +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json index 92fc3f43beb7..7f75e63d5418 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json @@ -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" + } } } } } -} +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json index 4d5b050bbcbc..68c825e72031 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json @@ -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" + } } }, { @@ -60,7 +63,10 @@ "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", "publicNetworkAccessForIngestion": "Enabled", - "IngestionMode": "LogAnalytics" + "IngestionMode": "LogAnalytics", + "LinkedStorages": { + "ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } } } ], @@ -68,4 +74,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsListByResourceGroup.json index e7cfff55f02e..a0e42be944ba 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsListByResourceGroup.json @@ -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" + } } }, { @@ -61,7 +64,10 @@ "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", "publicNetworkAccessForIngestion": "Enabled", - "IngestionMode": "LogAnalytics" + "IngestionMode": "LogAnalytics", + "LinkedStorages": { + "ServiceProfilerLinkedStorage": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } } } ], @@ -69,4 +75,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdate.json index 5130daaccc3c..2f20dd27b1d2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdate.json @@ -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" + } } } } } -} +} \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json index a01dea72ce89..6077640c26b2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json @@ -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" + } } } } } -} +} \ No newline at end of file