Skip to content

Commit 8d19734

Browse files
olterner00Kai0
authored andcommitted
Change AI linked storage data source type to enum (Azure#8806)
* Change storage type to enum * Update parameter names * Update parameter names 2 * Change enum modeling
1 parent a9e86c7 commit 8d19734

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,14 @@
282282
"in": "path",
283283
"required": true,
284284
"type": "string",
285-
"description": "The type of the Application Insights component linked storage account.",
285+
"enum": [
286+
"ServiceProfiler"
287+
],
288+
"x-ms-enum": {
289+
"name": "StorageType",
290+
"modelAsString": true
291+
},
292+
"description": "The type of the Application Insights component data source for the linked storage account.",
286293
"x-ms-parameter-location": "method"
287294
}
288295
}

specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918",
55
"resourceGroupName": "someResourceGroupName",
66
"resourceName": "myComponent",
7-
"storageType": "serviceprofiler",
7+
"storageType": "ServiceProfiler",
88
"LinkedStorageAccountsProperties": {
99
"properties": {
1010
"linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname"

specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsDelete.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918",
55
"resourceGroupName": "someResourceGroupName",
66
"resourceName": "myComponent",
7-
"storageType": "serviceprofiler"
7+
"storageType": "ServiceProfiler"
88
},
99
"responses": {
1010
"200": {},

specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918",
55
"resourceGroupName": "someResourceGroupName",
66
"resourceName": "myComponent",
7-
"storageType": "serviceprofiler"
7+
"storageType": "ServiceProfiler"
88
},
99
"responses": {
1010
"200": {

specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918",
55
"resourceGroupName": "someResourceGroupName",
66
"resourceName": "myComponent",
7-
"storageType": "serviceprofiler",
7+
"storageType": "ServiceProfiler",
88
"LinkedStorageAccountsProperties": {
99
"properties": {
1010
"linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname"

0 commit comments

Comments
 (0)