Skip to content

Commit

Permalink
chore: jsonfmt eventhub (#6063)
Browse files Browse the repository at this point in the history
* fix: Remove "description" for model validation

* fix: Remove type from ArmDisasterRecovery examples for model validation

* chore: jsonfmt eventhub

Ran `jsonfmt -w "specification/eventhub/**/*.json"`
  • Loading branch information
nschonni authored and amarzavery committed Jun 14, 2019
1 parent 7c7e739 commit 8b5cb0f
Show file tree
Hide file tree
Showing 103 changed files with 1,363 additions and 1,082 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,57 @@
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters":{
"location": "South Central US",
"tags": {
"tag3": "value3",
"tag4": "value4"
}
}
"parameters": {
"location": "South Central US",
"tags": {
"tag3": "value3",
"tag4": "value4"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag3": "value3",
"tag4": "value4"
},
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag3": "value3",
"tag4": "value4"
},
"sku": {
"name": "Dedicated",
"capacity": 4
},
"properties": {
"created": "2017-06-01T21:37:04.46Z",
"updated": "2017-06-01T21:37:53.413Z",
"metricId": "SN6-008"
}
}
"properties": {
"created": "2017-06-01T21:37:04.46Z",
"updated": "2017-06-01T21:37:53.413Z",
"metricId": "SN6-008"
}
}
},
"201": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag3": "value3",
"tag4": "value4"
},
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag3": "value3",
"tag4": "value4"
},
"sku": {
"name": "Dedicated",
"capacity": 4
},
"properties": {
"created": "2017-06-01T21:37:04.46Z",
"updated": "2017-06-01T21:37:53.413Z",
"metricId": "SN6-008"
}
}
"properties": {
"created": "2017-06-01T21:37:04.46Z",
"updated": "2017-06-01T21:37:53.413Z",
"metricId": "SN6-008"
}
}
},
"202": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
{
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters": {
"sku": {
"tier": "Dedicated",
"capacity": 1
},
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
}
"sku": {
"tier": "Dedicated",
"capacity": 1
},
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"sku": {
"name": "Dedicated",
"capacity": 1
},
"properties": {
"created": "2017-05-24T23:23:27.877Z",
"updated": "2017-05-24T23:23:27.877Z",
"metricId": "SN6-008"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"sku": {
"name": "Dedicated",
"capacity": 1
},
"properties": {
"created": "2017-05-24T23:23:27.877Z",
"updated": "2017-05-24T23:23:27.877Z",
"metricId": "SN6-008"
}
}
"201": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"201": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"sku": {
"name": "Dedicated",
"capacity": 1
},
"properties": {
"created": "2017-05-24T23:23:27.877Z",
"updated": "2017-05-24T23:23:27.877Z",
"metricId": "SN6-008"
}
}
"sku": {
"name": "Dedicated",
"capacity": 1
},
"202" : {}
}
"properties": {
"created": "2017-05-24T23:23:27.877Z",
"updated": "2017-05-24T23:23:27.877Z",
"metricId": "SN6-008"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
},
"responses": {
"200": {
"body": {
"settings": {
"namespaces-per-cluster-quota": "200",
"eventhub-per-namespace-quota": "20"
}
}
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
},
"responses": {
"200": {
"body": {
"settings": {
"namespaces-per-cluster-quota": "200",
"eventhub-per-namespace-quota": "20"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
},
"202": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"parameters": {
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"resourceGroupName": "myResourceGroup"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {},
"sku": {
"name": "Dedicated",
"capacity": 4
},
"properties": {
"created": "2016-09-13T23:17:25.24Z",
"updated": "2016-09-13T23:17:28.223Z",
"metricId": "SN6-008"
}
}
]
"parameters": {
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"resourceGroupName": "myResourceGroup"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster",
"name": "testCluster",
"type": "Microsoft.EventHub/Clusters",
"location": "South Central US",
"tags": {},
"sku": {
"name": "Dedicated",
"capacity": 4
},
"properties": {
"created": "2016-09-13T23:17:25.24Z",
"updated": "2016-09-13T23:17:28.223Z",
"metricId": "SN6-008"
}
}
}
]
}
}
}
}
}
Loading

0 comments on commit 8b5cb0f

Please sign in to comment.