From 16f8cc5ef2c2dd6e49c37e3adc382459b12758fd Mon Sep 17 00:00:00 2001 From: "Ajit Maruti Navasare (MINDTREE LIMITED)" Date: Fri, 6 Apr 2018 14:42:40 -0700 Subject: [PATCH] reverted removal of Messaging plan from namespace --- .../stable/2017-04-01/EventHub.json | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json index a56cce85a321..cd181e9329e6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json @@ -391,6 +391,37 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/messagingplan": { + "get": { + "tags": [ + "MessagingPlan" + ], + "operationId": "Namespaces_MessagingPlanGet", + "description": "Gets a description for the specified namespace.", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/namespaceNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Messaging Plan successfully returned.", + "schema": { + "$ref": "#/definitions/MessagingPlan" + } + } + } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/AuthorizationRules": { "get": { @@ -2503,6 +2534,47 @@ } }, "description": "The response of the List MessagingRegions operation." + }, + "MessagingPlanproperties": { + "properties": { + "sku": { + "format": "int32", + "type": "integer", + "description": "Sku type" + }, + "selectedEventHubUnit": { + "format": "int32", + "type": "integer", + "description": "Selected event hub unit" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The exact time the messaging plan was updated." + }, + "revision": { + "format": "int64", + "type": "integer", + "description": "revision number" + } + }, + "description": "Messaging Region" + }, + "MessagingPlan": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MessagingPlanproperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "Messaging" } }, "parameters": {