Skip to content

Commit

Permalink
Fix list respone examples (#12646)
Browse files Browse the repository at this point in the history
* Fix list respone examples

* Fix prettier
  • Loading branch information
yoramsinger authored Jan 26, 2021
1 parent 784f872 commit 03af722
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,28 @@
},
"responses": {
"200": {
"body": [
{
"properties": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount",
"provisioningState": "Succeeded"
"body": {
"value": [
{
"properties": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation",
"name": "TestLinkWS/Automation",
"type": "Microsoft.OperationalInsights/workspaces/linkedServices"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation",
"name": "TestLinkWS/Automation",
"type": "Microsoft.OperationalInsights/workspaces/linkedServices"
},
{
"properties": {
"writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/TestCluster",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster",
"name": "TestLinkWS/Cluster",
"type": "Microsoft.OperationalInsights/workspaces/linkedServices"
}
]
{
"properties": {
"writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/TestCluster",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster",
"name": "TestLinkWS/Cluster",
"type": "Microsoft.OperationalInsights/workspaces/linkedServices"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,31 @@
},
"responses": {
"200": {
"body": [
{
"properties": {
"retentionInDays": 7
"body": {
"value": [
{
"properties": {
"retentionInDays": 7
},
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock/tables/table1",
"name": "table1"
},
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock/tables/table1",
"name": "table1"
},
{
"properties": {
"retentionInDays": 7
{
"properties": {
"retentionInDays": 7
},
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock/tables/table2",
"name": "table2"
},
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock/tables/table2",
"name": "table2"
},
{
"properties": {
"retentionInDays": 7
},
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock/tables/table3",
"name": "table3"
}
]
{
"properties": {
"retentionInDays": 7
},
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock/tables/table3",
"name": "table3"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,29 @@
},
"responses": {
"200": {
"body": [
{
"properties": {
"customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f",
"provisioningState": "Succeeded",
"sku": {
"name": "PerGB2018"
"body": {
"value": [
{
"properties": {
"customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f",
"provisioningState": "Succeeded",
"sku": {
"name": "PerGB2018"
},
"retentionInDays": 30,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled"
},
"retentionInDays": 30,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170",
"name": "AzTest2170",
"type": "Microsoft.OperationalInsights/workspaces",
"location": "australiasoutheast",
"tags": {
"tag1": "val1"
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170",
"name": "AzTest2170",
"type": "Microsoft.OperationalInsights/workspaces",
"location": "australiasoutheast",
"tags": {
"tag1": "val1"
}
}
}
]
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,29 @@
},
"responses": {
"200": {
"body": [
{
"properties": {
"customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f",
"provisioningState": "Succeeded",
"sku": {
"name": "PerGB2018"
"body": {
"value": [
{
"properties": {
"customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f",
"provisioningState": "Succeeded",
"sku": {
"name": "PerGB2018"
},
"retentionInDays": 30,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled"
},
"retentionInDays": 30,
"publicNetworkAccessForQuery": "Enabled",
"publicNetworkAccessForIngestion": "Enabled"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170",
"name": "AzTest2170",
"type": "Microsoft.OperationalInsights/workspaces",
"location": "australiasoutheast",
"tags": {
"tag1": "val1"
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170",
"name": "AzTest2170",
"type": "Microsoft.OperationalInsights/workspaces",
"location": "australiasoutheast",
"tags": {
"tag1": "val1"
}
}
}
]
]
}
}
}
}

0 comments on commit 03af722

Please sign in to comment.