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..7bd13dc4e8b1 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 @@ -392,6 +392,46 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/messagingplan": { + "get": { + "tags": [ + "Namespaces" + ], + "operationId": "Namespaces_GetMessagingPlan", + "x-ms-examples": { + "GetNamespaceMessagingPlan": { "$ref": "./examples/NameSpaces/EHNameSpaceGetMessagningPlan.json" } + }, + "description": "Gets messaging plan for 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" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/AuthorizationRules": { "get": { "tags": [ @@ -1770,6 +1810,10 @@ "Regions" ], "operationId": "Regions_ListBySku", + "x-ms-examples": { + "RegionsListBySkuBasic": { "$ref": "./examples/EHRegionsListBySkuBasic.json" }, + "RegionsListBySkuStandard": { "$ref": "./examples/EHRegionsListBySkuStandard.json" } + }, "description": "Gets the available Regions for a given sku", "parameters": [ { @@ -2503,6 +2547,45 @@ } }, "description": "The response of the List MessagingRegions operation." + }, + "MessagingPlan": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "properties": { + "sku": { + "format": "int32", + "readOnly": true, + "type": "integer", + "description": "Sku type" + }, + "selectedEventHubUnit": { + "format": "int32", + "readOnly": true, + "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", + "readOnly": true, + "type": "integer", + "description": "revision number" + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "Messaging Plan for the namespace" } }, "parameters": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHRegionsListBySkuBasic.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHRegionsListBySkuBasic.json new file mode 100644 index 000000000000..d932a2881069 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHRegionsListBySkuBasic.json @@ -0,0 +1,390 @@ +{ + "parameters": { + "sku": "Basic", + "api-version": "2017-04-01", + "subscriptionId": "subscriptionid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/CentralUS", + "name": "Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Central US", + "fullName": "Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/EastUS", + "name": "East US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "East US", + "fullName": "East US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/EastUS2", + "name": "East US 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "East US 2", + "fullName": "East US 2" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/NorthCentralUS", + "name": "North Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "North Central US", + "fullName": "North Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/SouthCentralUS", + "name": "South Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "South Central US", + "fullName": "South Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/WestUS", + "name": "West US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West US", + "fullName": "West US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/WestUS2", + "name": "West US 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West US 2", + "fullName": "West US 2" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/WestCentralUS", + "name": "West Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West Central US", + "fullName": "West Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/NorthEurope", + "name": "North Europe", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "North Europe", + "fullName": "North Europe" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/WestEurope", + "name": "West Europe", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West Europe", + "fullName": "West Europe" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/EastAsia", + "name": "East Asia", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "East Asia", + "fullName": "East Asia" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/SoutheastAsia", + "name": "Southeast Asia", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Southeast Asia", + "fullName": "Southeast Asia" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/BrazilSouth", + "name": "Brazil South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Brazil South", + "fullName": "Brazil South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/JapanEast", + "name": "Japan East", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Japan East", + "fullName": "Japan East" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/JapanWest", + "name": "Japan West", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Japan West", + "fullName": "Japan West" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/CentralIndia", + "name": "Central India", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Central India", + "fullName": "Central India" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/SouthIndia", + "name": "South India", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "South India", + "fullName": "South India" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/WestIndia", + "name": "West India", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West India", + "fullName": "West India" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/UKSouth2", + "name": "UK South 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK South 2", + "fullName": "UK South 2" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/UKNorth", + "name": "UK North", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK North", + "fullName": "UK North" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/CanadaCentral", + "name": "Canada Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Canada Central", + "fullName": "Canada Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/CanadaEast", + "name": "Canada East", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Canada East", + "fullName": "Canada East" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/AustraliaEast", + "name": "Australia East", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia East", + "fullName": "Australia East" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/AustraliaSoutheast", + "name": "Australia Southeast", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia Southeast", + "fullName": "Australia Southeast" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/UKSouth", + "name": "UK South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK South", + "fullName": "UK South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/UKWest", + "name": "UK West", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK West", + "fullName": "UK West" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/EASTUS2EUAP", + "name": "EAST US 2 EUAP", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "EAST US 2 EUAP", + "fullName": "EAST US 2 EUAP" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/CentralUSEUAP", + "name": "Central US EUAP", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Central US EUAP", + "fullName": "Central US EUAP" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/KoreaCentral", + "name": "Korea Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Korea Central", + "fullName": "Korea Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/KoreaSouth", + "name": "Korea South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Korea South", + "fullName": "Korea South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/FranceCentral", + "name": "France Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "France Central", + "fullName": "France Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/FranceSouth", + "name": "France South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "France South", + "fullName": "France South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/AustraliaCentral", + "name": "Australia Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia Central", + "fullName": "Australia Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Basic/regions/AustraliaCentral2", + "name": "Australia Central 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia Central 2", + "fullName": "Australia Central 2" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHRegionsListBySkuStandard.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHRegionsListBySkuStandard.json new file mode 100644 index 000000000000..e25a5b79351c --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHRegionsListBySkuStandard.json @@ -0,0 +1,390 @@ +{ + "parameters": { + "sku": "Standard", + "api-version": "2017-04-01", + "subscriptionId": "subscriptionid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/CentralUS", + "name": "Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Central US", + "fullName": "Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/EastUS", + "name": "East US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "East US", + "fullName": "East US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/EastUS2", + "name": "East US 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "East US 2", + "fullName": "East US 2" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/NorthCentralUS", + "name": "North Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "North Central US", + "fullName": "North Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/SouthCentralUS", + "name": "South Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "South Central US", + "fullName": "South Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/WestUS", + "name": "West US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West US", + "fullName": "West US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/WestUS2", + "name": "West US 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West US 2", + "fullName": "West US 2" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/WestCentralUS", + "name": "West Central US", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West Central US", + "fullName": "West Central US" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/NorthEurope", + "name": "North Europe", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "North Europe", + "fullName": "North Europe" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/WestEurope", + "name": "West Europe", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West Europe", + "fullName": "West Europe" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/EastAsia", + "name": "East Asia", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "East Asia", + "fullName": "East Asia" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/SoutheastAsia", + "name": "Southeast Asia", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Southeast Asia", + "fullName": "Southeast Asia" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/BrazilSouth", + "name": "Brazil South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Brazil South", + "fullName": "Brazil South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/JapanEast", + "name": "Japan East", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Japan East", + "fullName": "Japan East" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/JapanWest", + "name": "Japan West", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Japan West", + "fullName": "Japan West" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/CentralIndia", + "name": "Central India", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Central India", + "fullName": "Central India" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/SouthIndia", + "name": "South India", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "South India", + "fullName": "South India" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/WestIndia", + "name": "West India", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "West India", + "fullName": "West India" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/UKSouth2", + "name": "UK South 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK South 2", + "fullName": "UK South 2" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/UKNorth", + "name": "UK North", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK North", + "fullName": "UK North" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/CanadaCentral", + "name": "Canada Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Canada Central", + "fullName": "Canada Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/CanadaEast", + "name": "Canada East", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Canada East", + "fullName": "Canada East" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/AustraliaEast", + "name": "Australia East", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia East", + "fullName": "Australia East" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/AustraliaSoutheast", + "name": "Australia Southeast", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia Southeast", + "fullName": "Australia Southeast" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/UKSouth", + "name": "UK South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK South", + "fullName": "UK South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/UKWest", + "name": "UK West", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "UK West", + "fullName": "UK West" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/EASTUS2EUAP", + "name": "EAST US 2 EUAP", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "EAST US 2 EUAP", + "fullName": "EAST US 2 EUAP" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/CentralUSEUAP", + "name": "Central US EUAP", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Central US EUAP", + "fullName": "Central US EUAP" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/KoreaCentral", + "name": "Korea Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Korea Central", + "fullName": "Korea Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/KoreaSouth", + "name": "Korea South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Korea South", + "fullName": "Korea South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/FranceCentral", + "name": "France Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "France Central", + "fullName": "France Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/FranceSouth", + "name": "France South", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "France South", + "fullName": "France South" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/AustraliaCentral", + "name": "Australia Central", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia Central", + "fullName": "Australia Central" + } + }, + { + "id": "/subscriptions/subscriptionid/providers/Microsoft.EventHub/sku/Standard/regions/AustraliaCentral2", + "name": "Australia Central 2", + "type": "Microsoft.EventHub/sku/Regions", + "location": null, + "tags": null, + "properties": { + "code": "Australia Central 2", + "fullName": "Australia Central 2" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGetMessagningPlan.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGetMessagningPlan.json new file mode 100644 index 000000000000..26779a9b18a2 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGetMessagningPlan.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5849", + "resourceGroupName": "ResourceGroup", + "api-version": "2017-04-01", + "subscriptionId": "subscriptionid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849/messagingplan", + "name": "2", + "type": "Microsoft.EventHub/MessagingSKUPlan", + "location": null, + "tags": null, + "properties": { + "sku": 2, + "selectedEventHubUnit": 1, + "updatedAt": "2018-04-10T17:55:54.4048325Z", + "revision": 1 + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleGet.json index e45d326de240..5b68f17551f9 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleGet.json @@ -13,7 +13,6 @@ "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", "name": "sdk-Authrules-4879", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "location": "South Central US", "properties": { "rights": [ "Listen", "Send" ] } } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleListAll.json index f08585936efe..4cf93f185ee6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAutorizationRuleListAll.json @@ -14,28 +14,24 @@ "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey", "name": "RootManageSharedAccessKey", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "location": "South Central US", "properties": { "rights": [ "Listen", "Manage", "Send" ] } }, { "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067", "name": "sdk-Authrules-1067", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "location": "South Central US", "properties": { "rights": [ "Listen", "Send" ] } }, { "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684", "name": "sdk-Authrules-1684", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "location": "South Central US", "properties": { "rights": [ "Listen", "Send" ] } }, { "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", "name": "sdk-Authrules-4879", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "location": "South Central US", "properties": { "rights": [ "Listen", "Send" ] } } ] diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json index 7b18cc73f8dc..f856b118c127 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json @@ -5,9 +5,7 @@ "namespaceName": "sdk-Namespace-9080", "resourceGroupName": "exampleResourceGroup", "parameters": { - "properties": { - "name": "sdk-DisasterRecovery-9474" - } + "name": "sdk-DisasterRecovery-9474" } }, "responses": {