Skip to content

Commit

Permalink
Adding preview version of Event Hubs Cluster to Azure REST API specs. (
Browse files Browse the repository at this point in the history
…#2272)

* Adding preview version of Event Hubs Cluster to Azure REST API specs.

* Adding capacity property to EH Cluster examples.

* Differentiating update semantics with patch semantics.

* RP-Cluster API: Revamping namespaces enumeration in cluster.

* Adding cluster sku property bag and moving capacity to sku. Also adding metricId property to the custom properties bag.

* RP-Cluster: Modifiying EHCluster references to Cluster references. Adding changes to readme file as well.

* RP-Cluster: Adding Event Hubs operations API to Cluster swagger.

* RP-Cluster: Removing leftover EHNamespaces definitions.

* Cluster: Distinguishing between Cluster and Configuration clients in operation ids.
  • Loading branch information
biberli authored and jhendrixMSFT committed Mar 15, 2018
1 parent d35165f commit 8e0356f
Show file tree
Hide file tree
Showing 9 changed files with 1,029 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
},
"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": 4
},
"properties": {
"created": "2017-05-24T23:23:27.877Z",
"updated": "2017-05-24T23:23:27.877Z",
"metricId": "SN6-008"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"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"
},
"sku": {
"name": "Dedicated",
"capacity": 4
},
"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"
},
"sku": {
"name": "Dedicated",
"capacity": 4
},
"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
@@ -0,0 +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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"clusterName": "testCluster",
"resourceGroupName": "ArunMonocle",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters": {
"settings": {
"namespaces-per-cluster-quota": "200",
"eventhub-per-namespace-quota": "20"
}
}
},
"responses": {
"200": {
"body": {
"settings": {
"namespaces-per-cluster-quota": "200",
"eventhub-per-namespace-quota": "20"
}
}
},
"201": {
"body": {
"settings": {
"namespaces-per-cluster-quota": "200",
"eventhub-per-namespace-quota": "20"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
},
"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 8e0356f

Please sign in to comment.