-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding preview version of Event Hubs Cluster to Azure REST API specs. (…
…#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
1 parent
d35165f
commit 8e0356f
Showing
9 changed files
with
1,029 additions
and
0 deletions.
There are no files selected for viewing
560 changes: 560 additions & 0 deletions
560
...nthub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHubCluster.json
Large diffs are not rendered by default.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
...e-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...t.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...oft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.