swagger: "2.0"
schemes:
  - https
host: management.azure.com
info:
  description: Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and VirtualNetworkRules resources.
  title: EventHub2018PreviewManagementClient
  version: 2018-01-01-preview
  x-apisguru-categories:
    - cloud
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png
  x-origin:
    - format: swagger
      url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json
      version: "2.0"
  x-providerName: azure.com
  x-serviceName: eventhub-EventHub-preview
  x-tags:
    - Azure
    - Microsoft
consumes:
  - application/json
produces:
  - application/json
securityDefinitions:
  azure_auth:
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    description: Azure Active Directory OAuth2 Flow
    flow: implicit
    scopes:
      user_impersonation: impersonate your user account
    type: oauth2
security:
  - azure_auth:
      - user_impersonation
parameters:
  apiVersionParameter:
    description: Client API version.
    in: query
    name: api-version
    required: true
    type: string
  authorizationRuleNameParameter:
    description: The authorization rule name.
    in: path
    minLength: 1
    name: authorizationRuleName
    required: true
    type: string
    x-ms-parameter-location: method
  clusterNameParameter:
    description: The name of the Event Hubs Cluster.
    in: path
    maxLength: 50
    minLength: 6
    name: clusterName
    required: true
    type: string
    x-ms-parameter-location: method
  ipFilterRuleNameParameter:
    description: The IP Filter Rule name.
    in: path
    minLength: 1
    name: ipFilterRuleName
    required: true
    type: string
    x-ms-parameter-location: method
  namespaceNameParameter:
    description: The Namespace name
    in: path
    maxLength: 50
    minLength: 6
    name: namespaceName
    required: true
    type: string
    x-ms-parameter-location: method
  resourceGroupNameParameter:
    description: Name of the resource group within the Azure subscription.
    in: path
    maxLength: 90
    minLength: 1
    name: resourceGroupName
    required: true
    type: string
    x-ms-parameter-location: method
  skipParameter:
    description: Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
    in: query
    maximum: 1000
    minimum: 0
    name: $skip
    required: false
    type: integer
    x-ms-parameter-location: method
  skuNameParameter:
    description: The sku type.
    in: path
    maxLength: 50
    minLength: 1
    name: sku
    required: true
    type: string
    x-ms-parameter-location: method
  subscriptionIdParameter:
    description: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    in: path
    name: subscriptionId
    required: true
    type: string
  topParameter:
    description: May be used to limit the number of results to the most recent N usageDetails.
    in: query
    maximum: 1000
    minimum: 1
    name: $top
    required: false
    type: integer
    x-ms-parameter-location: method
  virtualNetworkRuleNameParameter:
    description: The Virtual Network Rule name.
    in: path
    minLength: 1
    name: virtualNetworkRuleName
    required: true
    type: string
    x-ms-parameter-location: method
paths:
  /providers/Microsoft.EventHub/operations:
    get:
      description: Lists all of the available Event Hub REST API operations.
      operationId: Operations_List
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: OK. The request has succeeded.
          schema:
            $ref: "#/definitions/OperationListResult"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Operations
      x-ms-examples:
        EHOperations_List:
          parameters:
            api-version: 2018-01-01-preview
          responses:
            "200":
              body:
                value:
                  - display:
                      operation: Get namespace availability.
                      provider: Microsoft Azure EventHub
                      resource: Non Resource Operation
                    name: Microsoft.EventHub/checkNameAvailability/action
                  - display:
                      operation: Registers the EventHub Resource Provider
                      provider: Microsoft Azure EventHub
                      resource: EventHub Resource Provider
                    name: Microsoft.EventHub/register/action
                  - display:
                      operation: "Create Or Update Namespace "
                      provider: Microsoft Azure EventHub
                      resource: Namespace
                    name: Microsoft.EventHub/namespaces/write
                  - display:
                      operation: Get Namespace Resource
                      provider: Microsoft Azure EventHub
                      resource: Namespace
                    name: Microsoft.EventHub/namespaces/read
                  - display:
                      operation: Delete Namespace
                      provider: Microsoft Azure EventHub
                      resource: Namespace
                    name: Microsoft.EventHub/namespaces/Delete
                  - display:
                      operation: Get Namespace Authorization Rules
                      provider: Microsoft Azure EventHub
                      resource: AuthorizationRules
                    name: Microsoft.EventHub/namespaces/authorizationRules/read
                  - display:
                      operation: Create or Update Namespace Authorization Rules
                      provider: Microsoft Azure EventHub
                      resource: AuthorizationRules
                    name: Microsoft.EventHub/namespaces/authorizationRules/write
                  - display:
                      operation: Delete Namespace Authorization Rule
                      provider: Microsoft Azure EventHub
                      resource: AuthorizationRules
                    name: Microsoft.EventHub/namespaces/authorizationRules/delete
                  - display:
                      operation: Get Namespace Listkeys
                      provider: Microsoft Azure EventHub
                      resource: AuthorizationRules
                    name: Microsoft.EventHub/namespaces/authorizationRules/listkeys/action
                  - display:
                      operation: Resource Regeneratekeys
                      provider: Microsoft Azure EventHub
                      resource: AuthorizationRules
                    name: Microsoft.EventHub/namespaces/authorizationRules/regenerateKeys/action
                  - display:
                      operation: Create or Update EventHub
                      provider: Microsoft Azure EventHub
                      resource: EventHub
                    name: Microsoft.EventHub/namespaces/eventhubs/write
                  - display:
                      operation: Get EventHub
                      provider: Microsoft Azure EventHub
                      resource: EventHub
                    name: Microsoft.EventHub/namespaces/eventhubs/read
                  - display:
                      operation: Delete EventHub
                      provider: Microsoft Azure EventHub
                      resource: EventHub
                    name: Microsoft.EventHub/namespaces/eventhubs/Delete
                  - display:
                      operation: " Get EventHub Authorization Rules"
                      provider: Microsoft Azure EventHub
                      resource: EventHub AuthorizationRules
                    name: Microsoft.EventHub/namespaces/eventhubs/authorizationRules/read
                  - display:
                      operation: Create or Update EventHub Authorization Rule
                      provider: Microsoft Azure EventHub
                      resource: EventHub AuthorizationRules
                    name: Microsoft.EventHub/namespaces/eventhubs/authorizationRules/write
                  - display:
                      operation: Delete EventHub Authorization Rules
                      provider: Microsoft Azure EventHub
                      resource: EventHub AuthorizationRules
                    name: Microsoft.EventHub/namespaces/eventhubs/authorizationRules/delete
                  - display:
                      operation: List EventHub keys
                      provider: Microsoft Azure EventHub
                      resource: EventHub AuthorizationRules
                    name: Microsoft.EventHub/namespaces/eventhubs/authorizationRules/listkeys/action
                  - display:
                      operation: Resource Regeneratekeys
                      provider: Microsoft Azure EventHub
                      resource: EventHub AuthorizationRules
                    name: Microsoft.EventHub/namespaces/eventhubs/authorizationRules/regenerateKeys/action
                  - display:
                      operation: Create or Update ConsumerGroup
                      provider: Microsoft Azure EventHub
                      resource: ConsumerGroup
                    name: Microsoft.EventHub/namespaces/eventHubs/consumergroups/write
                  - display:
                      operation: Get ConsumerGroup
                      provider: Microsoft Azure EventHub
                      resource: ConsumerGroup
                    name: Microsoft.EventHub/namespaces/eventHubs/consumergroups/read
                  - display:
                      operation: Delete ConsumerGroup
                      provider: Microsoft Azure EventHub
                      resource: ConsumerGroup
                    name: Microsoft.EventHub/namespaces/eventHubs/consumergroups/Delete
                  - display:
                      operation: Get Namespace metrics
                      provider: Microsoft Azure EventHub
                      resource: Namespace metrics
                    name: Microsoft.EventHub/namespaces/metricDefinitions/read
                  - display:
                      operation: Get Namespace diagnostic settings
                      provider: Microsoft Azure EventHub
                      resource: Namespace diagnostic settings
                    name: Microsoft.EventHub/namespaces/diagnosticSettings/read
                  - display:
                      operation: Create or Update Namespace diagnostic settings
                      provider: Microsoft Azure EventHub
                      resource: Namespace diagnostic settings
                    name: Microsoft.EventHub/namespaces/diagnosticSettings/write
                  - display:
                      operation: Get Namespace logs
                      provider: Microsoft Azure EventHub
                      resource: Namespace logs
                    name: Microsoft.EventHub/namespaces/logDefinitions/read
                  - display:
                      operation: Get Event Hubs Clusters
                      provider: Microsoft Azure EventHub
                      resource: Cluster
                    name: Microsoft.EventHub/clusters/read
                  - display:
                      operation: Update Cluster
                      provider: Microsoft Azure EventHub
                      resource: Cluster
                    name: Microsoft.EventHub/clusters/write
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/availableClusterRegions":
    get:
      description: List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.
      operationId: Clusters_ListAvailableClusters
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Available clusters listed successfully.
          schema:
            $ref: "#/definitions/AvailableClustersList"
        default:
          description: Error response describing why available clusters could not be successfully listed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Clusters
      x-ms-examples:
        ListAvailableClusters:
          parameters:
            api-version: 2018-01-01-preview
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - location: westus
                  - location: eastus
  "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces":
    get:
      description: Lists all the available Namespaces within a subscription, irrespective of the resource groups.
      operationId: Namespaces_List
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespaces returned successfully.
          schema:
            $ref: "#/definitions/EHNamespaceListResult"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NamespacesListBySubscription:
          parameters:
            api-version: 2017-04-01
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/sadfsadfsadf/providers/Microsoft.EventHub/namespaces/eh-ns1
                    location: South Central US
                    name: eh-ns1
                    properties:
                      createdAt: 2016-08-23T04:15:35.263Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:eh-ns1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://eh-ns1.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T20:13:04.007Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace1
                    location: South Central US
                    name: ehnamespace1
                    properties:
                      createdAt: 2016-08-05T16:56:48.657Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 20
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://ehnamespace1.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-03T23:49:12.69Z
                    sku:
                      capacity: 9
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95
                    location: South Central US
                    name: NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95
                    properties:
                      createdAt: 2016-09-16T01:10:00.96Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T11:15:32.313Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-027302b7-df82-43a1-abf7-b6a2e2429115
                    location: South Central US
                    name: NS-027302b7-df82-43a1-abf7-b6a2e2429115
                    properties:
                      createdAt: 2016-08-05T04:13:34.727Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-027302b7-df82-43a1-abf7-b6a2e2429115
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-027302b7-df82-43a1-abf7-b6a2e2429115.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T10:35:30.053Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/abc-7-14
                    location: South Central US
                    name: abc-7-14
                    properties:
                      createdAt: 2017-05-05T17:58:58.433Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 14
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc-7-14
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://abc-7-14.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-05T17:59:20Z
                    sku:
                      capacity: 7
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3054
                    location: South Central US
                    name: sdk-Namespace-3054
                    properties:
                      createdAt: 2017-05-24T18:43:53.58Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3054
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-3054.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:44:16.657Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/namespace1asdfsa
                    location: South Central US
                    name: namespace1asdfsa
                    properties:
                      createdAt: 2016-09-12T18:23:15.833Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:namespace1asdfsa
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://namespace1asdfsa.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-04T01:58:49.523Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/hello1-3-8
                    location: South Central US
                    name: hello1-3-8
                    properties:
                      createdAt: 2017-05-05T19:23:18.96Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 8
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:hello1-3-8
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://hello1-3-8.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-05T19:23:42.497Z
                    sku:
                      capacity: 3
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBPerplexed
                    location: South Central US
                    name: SBPerplexed
                    properties:
                      createdAt: 2016-10-10T19:18:57.773Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbperplexed
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://SBPerplexed.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T23:46:15.22Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace123
                    location: South Central US
                    name: ehnamespace123
                    properties:
                      createdAt: 2016-08-05T16:57:09Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace123
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://ehnamespace123.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T08:25:30.093Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/oaisdjfoiasdjfoiajsdfoijasd
                    location: South Central US
                    name: oaisdjfoiasdjfoiajsdfoijasd
                    properties:
                      createdAt: 2017-05-03T22:05:29.61Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:oaisdjfoiasdjfoiajsdfoijasd
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://oaisdjfoiasdjfoiajsdfoijasd.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-03T22:05:51.593Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ns3
                    location: South Central US
                    name: rrama-ns3
                    properties:
                      createdAt: 2016-08-23T04:22:40.633Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ns3
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-ns3.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T12:52:58.277Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/abc123
                    location: South Central US
                    name: abc123
                    properties:
                      createdAt: 2017-05-04T19:06:00.813Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc123
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://abc123.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-04T19:06:23.71Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace21
                    location: South Central US
                    name: ehnamespace21
                    properties:
                      createdAt: 2016-08-05T16:57:00.377Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace21
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://ehnamespace21.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T09:50:32.86Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBFlerbederp
                    location: South Central US
                    name: SBFlerbederp
                    properties:
                      createdAt: 2016-10-10T19:32:17.56Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbflerbederp
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://SBFlerbederp.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T20:46:59.227Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/aaa-001-9-11
                    location: South Central US
                    name: aaa-001-9-11
                    properties:
                      createdAt: 2017-05-05T17:32:22.37Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 11
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:aaa-001-9-11
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://aaa-001-9-11.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-05T17:32:44.76Z
                    sku:
                      capacity: 9
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-47a32389-7331-47c8-9228-4c145b2650d7
                    location: South Central US
                    name: NS-47a32389-7331-47c8-9228-4c145b2650d7
                    properties:
                      createdAt: 2016-09-16T01:41:51.857Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-47a32389-7331-47c8-9228-4c145b2650d7
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-47a32389-7331-47c8-9228-4c145b2650d7.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T08:28:03.157Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7
                    location: South Central US
                    name: NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7
                    properties:
                      createdAt: 2016-08-05T03:39:52.323Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T04:40:32.24Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBFeasible
                    location: South Central US
                    name: SBFeasible
                    properties:
                      createdAt: 2016-10-10T19:05:24.76Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbfeasible
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://SBFeasible.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T19:51:55.893Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-3b72258b-a8a1-4250-8952-e89a15af71fc
                    location: South Central US
                    name: NS-3b72258b-a8a1-4250-8952-e89a15af71fc
                    properties:
                      createdAt: 2016-09-16T17:59:27.227Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-3b72258b-a8a1-4250-8952-e89a15af71fc
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-3b72258b-a8a1-4250-8952-e89a15af71fc.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-27T19:34:26.633Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849
                    location: South Central US
                    name: sdk-Namespace-5849
                    properties:
                      createdAt: 2017-05-24T23:23:27.877Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-5849.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T23:23:50.467Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags:
                      tag1: value1
                      tag2: value2
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/testDC/providers/Microsoft.EventHub/namespaces/TestNamespace1
                    location: South Central US
                    name: TestNamespace1
                    properties:
                      createdAt: 2017-04-25T00:28:00.243Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 10
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:testnamespace1
                      provisioningState: Updating
                      serviceBusEndpoint: https://TestNamespace1.servicebus.windows-int.net:443/
                      updatedAt: 2017-04-26T20:54:41.18Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns
                    location: South Central US
                    name: rrama-ehns
                    properties:
                      createdAt: 2016-08-23T04:22:49.74Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ehns
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-ehns.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T07:03:51.793Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/testDC/providers/Microsoft.EventHub/namespaces/TestNamespace3
                    location: South Central US
                    name: TestNamespace3
                    properties:
                      createdAt: 2017-05-03T22:33:17.84Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:testnamespace3
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://TestNamespace3.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-03T22:33:40.087Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4984
                    location: South Central US
                    name: sdk-Namespace-4984
                    properties:
                      createdAt: 2017-05-24T21:31:03.587Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4984
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-4984.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T21:31:24.967Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-19df9616-54d6-47c9-8779-a4651835a95c
                    location: South Central US
                    name: NS-19df9616-54d6-47c9-8779-a4651835a95c
                    properties:
                      createdAt: 2016-08-23T02:38:33.8Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-19df9616-54d6-47c9-8779-a4651835a95c
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-19df9616-54d6-47c9-8779-a4651835a95c.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T04:28:01.093Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-463af3de-8c87-4347-a614-a4c24f748109
                    location: South Central US
                    name: NS-463af3de-8c87-4347-a614-a4c24f748109
                    properties:
                      createdAt: 2016-08-05T00:55:04.807Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-463af3de-8c87-4347-a614-a4c24f748109
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-463af3de-8c87-4347-a614-a4c24f748109.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:13:53.343Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5606
                    location: South Central US
                    name: sdk-Namespace-5606
                    properties:
                      createdAt: 2017-05-24T18:56:05.093Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5606
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-5606.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:56:27.32Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3
                    location: South Central US
                    name: NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3
                    properties:
                      createdAt: 2016-08-05T04:18:53.27Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:49:39.877Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-7703
                    location: South Central US
                    name: sdk-Namespace-7703
                    properties:
                      createdAt: 2017-05-24T19:05:23.817Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-7703
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-7703.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T19:05:44.717Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/zzzzzzzzzzzzzzzzzzzzzz-00001
                    location: South Central US
                    name: zzzzzzzzzzzzzzzzzzzzzz-00001
                    properties:
                      createdAt: 2017-05-04T21:35:49.383Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 11
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:zzzzzzzzzzzzzzzzzzzzzz-00001
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://zzzzzzzzzzzzzzzzzzzzzz-00001.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-05T17:01:20.733Z
                    sku:
                      capacity: 3
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBQuestionable
                    location: South Central US
                    name: SBQuestionable
                    properties:
                      createdAt: 2016-10-10T18:56:24.723Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbquestionable
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://SBQuestionable.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T19:51:46.983Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace1234
                    location: South Central US
                    name: ehnamespace1234
                    properties:
                      createdAt: 2016-08-05T16:57:17.863Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace1234
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://ehnamespace1234.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T10:35:33.817Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3919
                    location: South Central US
                    name: sdk-Namespace-3919
                    properties:
                      createdAt: 2017-05-24T02:08:20.15Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3919
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-3919.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T02:08:41.313Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/arunarchivetest
                    location: South Central US
                    name: arunarchivetest
                    properties:
                      createdAt: 2017-03-08T19:25:49.897Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:arunarchivetest
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://arunarchivetest.servicebus.windows-int.net:443/
                      updatedAt: 2017-03-08T19:26:17.49Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/aiosdjfaoidjasdoijasdfoijasdfofijsdf
                    location: South Central US
                    name: aiosdjfaoidjasdoijasdfoijasdfofijsdf
                    properties:
                      createdAt: 2017-05-04T21:23:23.9Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:aiosdjfaoidjasdoijasdfoijasdfofijsdf
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://aiosdjfaoidjasdoijasdfoijasdfofijsdf.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-04T21:23:46.78Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3413
                    location: South Central US
                    name: sdk-Namespace-3413
                    properties:
                      createdAt: 2017-05-24T19:02:15.45Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3413
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-3413.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T19:02:38.047Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBConfuzzled
                    location: South Central US
                    name: SBConfuzzled
                    properties:
                      createdAt: 2016-10-10T19:30:45.71Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbconfuzzled
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://SBConfuzzled.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T22:49:17.82Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8695
                    location: South Central US
                    name: sdk-Namespace-8695
                    properties:
                      createdAt: 2017-05-24T20:03:43.81Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-8695
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-8695.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T20:04:05.88Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/aaa-11-17
                    location: South Central US
                    name: aaa-11-17
                    properties:
                      createdAt: 2017-05-08T18:47:07.64Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 17
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:aaa-11-17
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://aaa-11-17.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-08T18:47:29.587Z
                    sku:
                      capacity: 11
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/hello1-4-14
                    location: South Central US
                    name: hello1-4-14
                    properties:
                      createdAt: 2017-05-05T18:54:20.563Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 14
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:hello1-4-14
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://hello1-4-14.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-05T18:54:42.507Z
                    sku:
                      capacity: 4
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4801
                    location: South Central US
                    name: sdk-Namespace-4801
                    properties:
                      createdAt: 2017-05-24T18:39:39.213Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4801
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-4801.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:40:00.087Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/RichardsEventHub1
                    location: South Central US
                    name: RichardsEventHub1
                    properties:
                      createdAt: 2017-04-27T19:15:13.05Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 15
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:richardseventhub1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://RichardsEventHub1.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-09T19:34:41.127Z
                    sku:
                      capacity: 8
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-test
                    location: South Central US
                    name: rrama-autoinflate-test
                    properties:
                      createdAt: 2017-05-01T16:58:11.34Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 10
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-test
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-autoinflate-test.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-08T21:52:42.663Z
                    sku:
                      capacity: 7
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/foofoofoofoof
                    location: South Central US
                    name: foofoofoofoof
                    properties:
                      createdAt: 2017-04-29T02:47:53.523Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:foofoofoofoof
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://foofoofoofoof.servicebus.windows-int.net:443/
                      updatedAt: 2017-04-29T02:48:17.95Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/asdf1234asdf
                    location: South Central US
                    name: asdf1234asdf
                    properties:
                      createdAt: 2016-09-13T01:45:40.58Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:asdf1234asdf
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://asdf1234asdf.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:54:38.623Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2812
                    location: South Central US
                    name: sdk-Namespace-2812
                    properties:
                      createdAt: 2017-05-24T18:55:44.687Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2812
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-2812.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:56:05.587Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c
                    location: South Central US
                    name: NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c
                    properties:
                      createdAt: 2016-08-05T04:02:53.43Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-4aadc830-1029-49b8-8fbd-dd0130e7a84c
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T05:13:02.697Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-5e79a429-aa52-42b9-8120-2fe72fc00727
                    location: South Central US
                    name: NS-5e79a429-aa52-42b9-8120-2fe72fc00727
                    properties:
                      createdAt: 2016-08-05T01:13:41.527Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-5e79a429-aa52-42b9-8120-2fe72fc00727
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-5e79a429-aa52-42b9-8120-2fe72fc00727.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T04:24:44.797Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-df-ns1
                    location: South Central US
                    name: rrama-df-ns1
                    properties:
                      createdAt: 2016-10-27T23:35:05.453Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-df-ns1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-df-ns1.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T20:23:49.533Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/bbbb-9-12
                    location: South Central US
                    name: bbbb-9-12
                    properties:
                      createdAt: 2017-05-05T17:47:35.123Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 12
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:bbbb-9-12
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://bbbb-9-12.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-05T17:47:56.1Z
                    sku:
                      capacity: 9
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/eh-autoInflate/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-template1
                    location: South Central US
                    name: rrama-autoinflate-template1
                    properties:
                      createdAt: 2017-05-03T17:46:36.71Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 10
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-template1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-autoinflate-template1.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-03T17:47:00.163Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/RandomPlotTwists
                    location: South Central US
                    name: RandomPlotTwists
                    properties:
                      createdAt: 2017-05-18T00:37:26.13Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:randomplottwists
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://RandomPlotTwists.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-18T00:37:49.533Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-1862d295-09cc-4e54-b23d-a2bc3bab2392
                    location: South Central US
                    name: NS-1862d295-09cc-4e54-b23d-a2bc3bab2392
                    properties:
                      createdAt: 2016-08-05T04:08:14.253Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-1862d295-09cc-4e54-b23d-a2bc3bab2392
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-1862d295-09cc-4e54-b23d-a2bc3bab2392.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T04:33:53.34Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-MigrateThis
                    location: South Central US
                    name: NS-MigrateThis
                    properties:
                      createdAt: 2016-08-06T00:23:12.3Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-migratethis
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-MigrateThis.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-04T00:25:08.043Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-5e01d977-125c-4fd2-8a78-cc50be544d1f
                    location: South Central US
                    name: NS-5e01d977-125c-4fd2-8a78-cc50be544d1f
                    properties:
                      createdAt: 2016-08-05T04:34:33.617Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-5e01d977-125c-4fd2-8a78-cc50be544d1f
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-5e01d977-125c-4fd2-8a78-cc50be544d1f.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T05:54:42.25Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-2b17fb74-2719-4c68-9ba3-13a018485b1f
                    location: South Central US
                    name: NS-2b17fb74-2719-4c68-9ba3-13a018485b1f
                    properties:
                      createdAt: 2016-08-05T04:29:17.147Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 10
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-2b17fb74-2719-4c68-9ba3-13a018485b1f
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-2b17fb74-2719-4c68-9ba3-13a018485b1f.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-02T19:52:53.243Z
                    sku:
                      capacity: 10
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ehns123
                    location: South Central US
                    name: rrama-int7-ehns123
                    properties:
                      createdAt: 2016-09-13T23:35:15.473Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ehns123
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-int7-ehns123.servicebus.int7.windows-int.net:443/
                      updatedAt: 2016-09-13T23:35:38.63Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-test
                    location: South Central US
                    name: rrama-autoinflate-test
                    properties:
                      createdAt: 2017-05-01T17:48:04.55Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 10
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-test
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-autoinflate-test.servicebus.int7.windows-int.net:443/
                      updatedAt: 2017-05-04T21:15:36.013Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate2
                    location: North Europe
                    name: rrama-autoinflate2
                    properties:
                      createdAt: 2017-05-01T20:50:00.22Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 10
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate2
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-autoinflate2.servicebus.int7.windows-int.net:443/
                      updatedAt: 2017-05-01T20:50:24.687Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1
                    location: North Europe
                    name: db3-rrama-foo1
                    properties:
                      createdAt: 2017-04-28T23:47:36.503Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:db3-rrama-foo1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://db3-rrama-foo1.servicebus.int7.windows-int.net:443/
                      updatedAt: 2017-05-01T21:14:37.133Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ehns1
                    location: South Central US
                    name: rrama-int7-ehns1
                    properties:
                      createdAt: 2016-09-13T23:20:44.853Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ehns1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-int7-ehns1.servicebus.int7.windows-int.net:443/
                      updatedAt: 2016-09-13T23:20:47.35Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1
                    location: South Central US
                    name: rrama-int7-ns1
                    properties:
                      createdAt: 2016-09-13T23:17:25.24Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ns1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-int7-ns1.servicebus.int7.windows-int.net:443/
                      updatedAt: 2016-09-13T23:17:28.223Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7
                    location: South Central US
                    name: rrama-ehns2-int7
                    properties:
                      createdAt: 2016-09-13T23:26:21.64Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ehns2-int7
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-ehns2-int7.servicebus.int7.windows-int.net:443/
                      updatedAt: 2016-09-13T23:26:37.95Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters":
    get:
      description: Lists the available Event Hubs Clusters within an ARM resource group.
      operationId: Clusters_ListByResourceGroup
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Clusters returned successfully.
          schema:
            $ref: "#/definitions/ClusterListResult"
        default:
          description: Event Hub Cluster error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Clusters
      x-ms-examples:
        ClustersListByResourceGroup:
          parameters:
            api-version: 2017-04-01
            resourceGroupName: myResourceGroup
            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
                    location: South Central US
                    name: testCluster
                    properties:
                      created: 2016-09-13T23:17:25.24Z
                      metricId: SN6-008
                      updated: 2016-09-13T23:17:28.223Z
                    sku:
                      capacity: 4
                      name: Dedicated
                    tags: {}
                    type: Microsoft.EventHub/Clusters
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}":
    delete:
      description: Deletes an existing Event Hubs Cluster. This operation is idempotent.
      operationId: Clusters_Delete
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/clusterNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Event Hubs Cluster successfully deleted.
        "202":
          description: Event Hubs Cluster delete request accepted.
        "204":
          description: No content.
        default:
          description: Event Hubs error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Cluster
      x-ms-examples:
        ClusterDelete:
          parameters:
            api-version: 2018-01-01-preview
            clusterName: testCluster
            resourceGroupName: myResourceGroup
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
            "202": {}
            "204": {}
      x-ms-long-running-operation: true
    get:
      description: Gets the resource description of the specified Event Hubs Cluster.
      operationId: Clusters_Get
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/clusterNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Event Hubs Cluster resource description returned successfully.
          schema:
            $ref: "#/definitions/Cluster"
        default:
          description: Event Hubs Cluster error response describing why the cluster description get operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Cluster
      x-ms-examples:
        ClusterGet:
          parameters:
            api-version: 2018-01-01-preview
            clusterName: testCluster
            resourceGroupName: myResourceGroup
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster
                location: South Central US
                name: testCluster
                properties:
                  created: 2017-05-24T23:23:27.877Z
                  metricId: SN6-008
                  updated: 2017-05-24T23:23:27.877Z
                sku:
                  capacity: 4
                  name: Dedicated
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.EventHub/Clusters
    patch:
      description: Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      operationId: Clusters_Patch
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/clusterNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - description: The properties of the Event Hubs Cluster which should be updated.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/Cluster"
      responses:
        "200":
          description: Event Hubs Cluster successfully created.
          schema:
            $ref: "#/definitions/Cluster"
        "201":
          description: Event Hubs Cluster update request accepted.
          schema:
            $ref: "#/definitions/Cluster"
        "202":
          description: Event Hubs Cluster update request accepted.
        default:
          description: Event Hubs error response detailing why the Event Hubs Cluster update operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Cluster
      x-ms-examples:
        ClusterPatch:
          parameters:
            api-version: 2018-01-01-preview
            clusterName: testCluster
            parameters:
              location: South Central US
              tags:
                tag3: value3
                tag4: value4
            resourceGroupName: myResourceGroup
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster
                location: South Central US
                name: testCluster
                properties:
                  created: 2017-06-01T21:37:04.46Z
                  metricId: SN6-008
                  updated: 2017-06-01T21:37:53.413Z
                sku:
                  capacity: 4
                  name: Dedicated
                tags:
                  tag3: value3
                  tag4: value4
                type: Microsoft.EventHub/Clusters
            "201":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster
                location: South Central US
                name: testCluster
                properties:
                  created: 2017-06-01T21:37:04.46Z
                  metricId: SN6-008
                  updated: 2017-06-01T21:37:53.413Z
                sku:
                  capacity: 4
                  name: Dedicated
                tags:
                  tag3: value3
                  tag4: value4
                type: Microsoft.EventHub/Clusters
            "202": {}
      x-ms-long-running-operation: true
    put:
      description: Creates or updates an instance of an Event Hubs Cluster.
      operationId: Clusters_Put
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/clusterNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Event Hubs Cluster successfully created or updated.
          schema:
            $ref: "#/definitions/Cluster"
        "201":
          description: Event Hubs Cluster create or update request accepted.
          schema:
            $ref: "#/definitions/Cluster"
        "202":
          description: Event Hubs Cluster create or update request accepted.
        default:
          description: Event Hubs error response detailing why the Event Hubs Cluster create or update operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Cluster
      x-ms-examples:
        ClusterPut:
          parameters:
            api-version: 2018-01-01-preview
            clusterName: testCluster
            parameters:
              location: South Central US
              sku:
                capacity: 1
                tier: Dedicated
              tags:
                tag1: value1
                tag2: value2
            resourceGroupName: myResourceGroup
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster
                location: South Central US
                name: testCluster
                properties:
                  created: 2017-05-24T23:23:27.877Z
                  metricId: SN6-008
                  updated: 2017-05-24T23:23:27.877Z
                sku:
                  capacity: 1
                  name: Dedicated
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.EventHub/Clusters
            "201":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster
                location: South Central US
                name: testCluster
                properties:
                  created: 2017-05-24T23:23:27.877Z
                  metricId: SN6-008
                  updated: 2017-05-24T23:23:27.877Z
                sku:
                  capacity: 1
                  name: Dedicated
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.EventHub/Clusters
            "202": {}
      x-ms-long-running-operation: true
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}/namespaces":
    get:
      description: List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.
      operationId: Clusters_ListNamespaces
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/clusterNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: List of Namespace IDs in Cluster successfully delivered.
          schema:
            $ref: "#/definitions/EHNamespaceIdListResult"
        default:
          description: Event Hubs Cluster error response detailing why this operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Namespace Enumeration in Cluster
      x-ms-examples:
        ListNamespacesInCluster:
          parameters:
            api-version: 2018-01-01-preview
            clusterName: testCluster
            resourceGroupName: myResourceGroup
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}/quotaConfiguration/default":
    get:
      description: Get all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings imposed on the cluster.
      operationId: Configuration_Get
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/clusterNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Event Hubs Cluster settings configuration returned.
          schema:
            $ref: "#/definitions/ClusterQuotaConfigurationProperties"
        default:
          description: Event Hubs Cluster error response describing why the get cluster quotas and settings operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Cluster Configuration
      x-ms-examples:
        ClustersQuotasConfigurationGet:
          parameters:
            api-version: 2018-01-01-preview
            clusterName: testCluster
            resourceGroupName: myResourceGroup
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                settings:
                  eventhub-per-namespace-quota: "20"
                  namespaces-per-cluster-quota: "200"
    patch:
      description: Replace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings not specified in the request body unmodified.
      operationId: Configuration_Patch
      parameters:
        - $ref: "#/parameters/subscriptionIdParameter"
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/clusterNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - description: Parameters for creating an Event Hubs Cluster resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/ClusterQuotaConfigurationProperties"
            required:
              - settings
      responses:
        "200":
          description: Event Hubs Cluster settings configuration returned.
          schema:
            $ref: "#/definitions/ClusterQuotaConfigurationProperties"
        "201":
          description: Event Hubs Cluster setting configuration request successfully accepted.
          schema:
            $ref: "#/definitions/ClusterQuotaConfigurationProperties"
        "202":
          description: Event Hubs Cluster update request accepted.
        default:
          description: Event Hubs Cluster error response describing why the get cluster quotas and settings operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Event Hubs Cluster Configuration
      x-ms-examples:
        ClustersQuotasConfigurationPatch:
          parameters:
            api-version: 2018-01-01-preview
            clusterName: testCluster
            parameters:
              settings:
                eventhub-per-namespace-quota: "20"
                namespaces-per-cluster-quota: "200"
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                settings:
                  eventhub-per-namespace-quota: "20"
                  namespaces-per-cluster-quota: "200"
            "201":
              body:
                settings:
                  eventhub-per-namespace-quota: "20"
                  namespaces-per-cluster-quota: "200"
            "202": {}
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces":
    get:
      description: Lists the available Namespaces within a resource group.
      operationId: Namespaces_ListByResourceGroup
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespaces returned successfully.
          schema:
            $ref: "#/definitions/EHNamespaceListResult"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NamespaceListByResourceGroup:
          parameters:
            api-version: 2017-04-01
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3054
                    location: South Central US
                    name: sdk-Namespace-3054
                    properties:
                      createdAt: 2017-05-24T18:43:53.58Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3054
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-3054.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:44:16.657Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/oaisdjfoiasdjfoiajsdfoijasd
                    location: South Central US
                    name: oaisdjfoiasdjfoiajsdfoijasd
                    properties:
                      createdAt: 2017-05-03T22:05:29.61Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:oaisdjfoiasdjfoiajsdfoijasd
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://oaisdjfoiasdjfoiajsdfoijasd.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-03T22:05:51.593Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/abc123
                    location: South Central US
                    name: abc123
                    properties:
                      createdAt: 2017-05-04T19:06:00.813Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc123
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://abc123.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-04T19:06:23.71Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849
                    location: South Central US
                    name: sdk-Namespace-5849
                    properties:
                      createdAt: 2017-05-24T23:23:27.877Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-5849.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T23:23:50.467Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags:
                      tag1: value1
                      tag2: value2
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4984
                    location: South Central US
                    name: sdk-Namespace-4984
                    properties:
                      createdAt: 2017-05-24T21:31:03.587Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4984
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-4984.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T21:31:24.967Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5606
                    location: South Central US
                    name: sdk-Namespace-5606
                    properties:
                      createdAt: 2017-05-24T18:56:05.093Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5606
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-5606.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:56:27.32Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-7703
                    location: South Central US
                    name: sdk-Namespace-7703
                    properties:
                      createdAt: 2017-05-24T19:05:23.817Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-7703
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-7703.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T19:05:44.717Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/zzzzzzzzzzzzzzzzzzzzzz-00001
                    location: South Central US
                    name: zzzzzzzzzzzzzzzzzzzzzz-00001
                    properties:
                      createdAt: 2017-05-04T21:35:49.383Z
                      isAutoInflateEnabled: true
                      maximumThroughputUnits: 11
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:zzzzzzzzzzzzzzzzzzzzzz-00001
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://zzzzzzzzzzzzzzzzzzzzzz-00001.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-05T17:01:20.733Z
                    sku:
                      capacity: 3
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3919
                    location: South Central US
                    name: sdk-Namespace-3919
                    properties:
                      createdAt: 2017-05-24T02:08:20.15Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3919
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-3919.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T02:08:41.313Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/aiosdjfaoidjasdoijasdfoijasdfofijsdf
                    location: South Central US
                    name: aiosdjfaoidjasdoijasdfoijasdfofijsdf
                    properties:
                      createdAt: 2017-05-04T21:23:23.9Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:aiosdjfaoidjasdoijasdfoijasdfofijsdf
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://aiosdjfaoidjasdoijasdfoijasdfofijsdf.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-04T21:23:46.78Z
                    sku:
                      capacity: 0
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3413
                    location: South Central US
                    name: sdk-Namespace-3413
                    properties:
                      createdAt: 2017-05-24T19:02:15.45Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3413
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-3413.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T19:02:38.047Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8695
                    location: South Central US
                    name: sdk-Namespace-8695
                    properties:
                      createdAt: 2017-05-24T20:03:43.81Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-8695
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-8695.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T20:04:05.88Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4801
                    location: South Central US
                    name: sdk-Namespace-4801
                    properties:
                      createdAt: 2017-05-24T18:39:39.213Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4801
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-4801.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:40:00.087Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2812
                    location: South Central US
                    name: sdk-Namespace-2812
                    properties:
                      createdAt: 2017-05-24T18:55:44.687Z
                      isAutoInflateEnabled: false
                      maximumThroughputUnits: 0
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2812
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-2812.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-24T18:56:05.587Z
                    sku:
                      capacity: 1
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.EventHub/Namespaces
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}":
    delete:
      description: Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      operationId: Namespaces_Delete
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace successfully deleted.
        "202":
          description: Namespace delete request accepted.
        "204":
          description: No content.
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceDelete:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-5849
            resourceGroupName: SouthCentralUS
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
            "202": {}
            "204": {}
      x-ms-long-running-operation: true
    get:
      description: Gets the description of the specified namespace.
      operationId: Namespaces_Get
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace returned successfully.
          schema:
            $ref: "#/definitions/EHNamespace"
        "201":
          description: Namespace update request accepted.
          schema:
            $ref: "#/definitions/EHNamespace"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceGet:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-5849
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849
                location: South Central US
                name: sdk-Namespace-5849
                properties:
                  createdAt: 2017-05-24T23:23:27.877Z
                  isAutoInflateEnabled: false
                  maximumThroughputUnits: 0
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849
                  provisioningState: Created
                  serviceBusEndpoint: https://sdk-Namespace-5849.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-24T23:23:27.877Z
                sku:
                  capacity: 1
                  name: Standard
                  tier: Standard
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.EventHub/Namespaces
            "201":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849
                location: South Central US
                name: sdk-Namespace-5849
                properties:
                  createdAt: 2017-05-24T23:23:27.877Z
                  isAutoInflateEnabled: false
                  maximumThroughputUnits: 0
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849
                  provisioningState: Created
                  serviceBusEndpoint: https://sdk-Namespace-5849.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-24T23:23:27.877Z
                sku:
                  capacity: 1
                  name: Standard
                  tier: Standard
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.EventHub/Namespaces
    patch:
      description: Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      operationId: Namespaces_Update
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - description: Parameters for updating a namespace resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/EHNamespace"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace successfully updated.
          schema:
            $ref: "#/definitions/EHNamespace"
        "201":
          description: Namespace update request accepted.
          schema:
            $ref: "#/definitions/EHNamespace"
        "202":
          description: Namespace create or update request accepted.
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NamespacesUpdate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-3668
            parameters:
              location: South Central US
              tags:
                tag3: value3
                tag4: value4
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668
                location: South Central US
                name: sdk-Namespace-3668
                properties:
                  createdAt: 2017-06-01T21:37:04.46Z
                  isAutoInflateEnabled: false
                  maximumThroughputUnits: 0
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668
                  provisioningState: Updating
                  serviceBusEndpoint: https://sdk-Namespace-3668.servicebus.windows-int.net:443/
                  updatedAt: 2017-06-01T21:37:53.413Z
                sku:
                  capacity: 1
                  name: Standard
                  tier: Standard
                tags:
                  tag3: value3
                  tag4: value4
                type: Microsoft.EventHub/Namespaces
            "201":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668
                location: South Central US
                name: sdk-Namespace-3668
                properties:
                  createdAt: 2017-06-01T21:37:04.46Z
                  isAutoInflateEnabled: false
                  maximumThroughputUnits: 0
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668
                  provisioningState: Updating
                  serviceBusEndpoint: https://sdk-Namespace-3668.servicebus.windows-int.net:443/
                  updatedAt: 2017-06-01T21:37:53.413Z
                sku:
                  capacity: 1
                  name: Standard
                  tier: Standard
                tags:
                  tag3: value3
                  tag4: value4
                type: Microsoft.EventHub/Namespaces
            "202": {}
    put:
      description: Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      operationId: Namespaces_CreateOrUpdate
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - description: Parameters for creating a namespace resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/EHNamespace"
            required:
              - location
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace successfully created.
          schema:
            $ref: "#/definitions/EHNamespace"
        "201":
          description: Namespace create request accepted.
          schema:
            $ref: "#/definitions/EHNamespace"
        "202":
          description: Namespace create or update request accepted.
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NamespaceCreate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-5849
            parameters:
              location: South Central US
              sku:
                name: Standard
                tier: Standard
              tags:
                tag1: value1
                tag2: value2
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849
                location: South Central US
                name: sdk-Namespace-5849
                properties:
                  createdAt: 2017-05-24T23:23:27.877Z
                  isAutoInflateEnabled: false
                  maximumThroughputUnits: 0
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849
                  provisioningState: Created
                  serviceBusEndpoint: https://sdk-Namespace-5849.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-24T23:23:27.877Z
                sku:
                  capacity: 1
                  name: Standard
                  tier: Standard
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.EventHub/Namespaces
            "201":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849
                location: South Central US
                name: sdk-Namespace-5849
                properties:
                  createdAt: 2017-05-24T23:23:27.877Z
                  isAutoInflateEnabled: false
                  maximumThroughputUnits: 0
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849
                  provisioningState: Created
                  serviceBusEndpoint: https://sdk-Namespace-5849.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-24T23:23:27.877Z
                sku:
                  capacity: 1
                  name: Standard
                  tier: Standard
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.EventHub/Namespaces
            "202": {}
      x-ms-long-running-operation: true
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules":
    get:
      description: Gets a list of IP Filter rules for a Namespace.
      operationId: Namespaces_ListIPFilterRules
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace IpFilterRule successfully returned.
          schema:
            $ref: "#/definitions/IpFilterRuleListResult"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        ListIpFilterRules:
          parameters:
            api-version: 2018-01-01-preview
            namespaceName: sdk-Namespace-5232
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337
                    name: sdk-IPFilterRules-7337
                    properties:
                      action: Accept
                      filterName: sdk-IPFilterRules-7337
                      ipMask: 13.78.143.246/32
                    type: Microsoft.EventHub/Namespaces/IpFilterRules
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}":
    delete:
      description: Deletes an IpFilterRule for a Namespace.
      operationId: Namespaces_DeleteIpFilterRule
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/ipFilterRuleNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace IpFilterRule successfully deleted.
        "204":
          description: No content.
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceIpFilterRuleDelete:
          parameters:
            api-version: 2018-01-01-preview
            ipFilterRuleName: sdk-IPFilterRules-7337
            namespaceName: sdk-Namespace-5232
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200": {}
            "204": {}
    get:
      description: Gets an IpFilterRule for a Namespace by rule name.
      operationId: Namespaces_GetIpFilterRule
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/ipFilterRuleNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace IpFilterRule returned successfully.
          schema:
            $ref: "#/definitions/IpFilterRule"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceIpFilterRuleGet:
          parameters:
            api-version: 2018-01-01-preview
            ipFilterRuleName: sdk-IPFilterRules-7337
            namespaceName: sdk-Namespace-5232
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                id: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337
                name: sdk-IPFilterRules-7337
                properties:
                  action: Accept
                  filterName: sdk-IPFilterRules-7337
                  ipMask: 13.78.143.246/32
                type: Microsoft.EventHub/Namespaces/IpFilterRules
    put:
      description: Creates or updates an IpFilterRule for a Namespace.
      operationId: Namespaces_CreateOrUpdateIpFilterRule
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/ipFilterRuleNameParameter"
        - description: The Namespace IpFilterRule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/IpFilterRule"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace IpFilterRule created
          schema:
            $ref: "#/definitions/IpFilterRule"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceIpFilterRuleCreate:
          parameters:
            api-version: 2018-01-01-preview
            ipFilterRuleName: sdk-IPFilterRules-7337
            namespaceName: sdk-Namespace-5232
            parameters:
              properties:
                action: Accept
                filterName: sdk-IPFilterRules-7337
                ipMask: 13.78.143.246/32
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                id: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337
                name: sdk-IPFilterRules-7337
                properties:
                  action: Accept
                  filterName: sdk-IPFilterRules-7337
                  ipMask: 13.78.143.246/32
                type: Microsoft.EventHub/Namespaces/IpFilterRules
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default":
    get:
      description: Gets NetworkRuleSet for a Namespace.
      operationId: Namespaces_GetNetworkRuleSet
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace NetworkRuleSet successfully returned.
          schema:
            $ref: "#/definitions/NetworkRuleSet"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceNetworkRuleSetGet:
          parameters:
            api-version: 2018-01-01-preview
            namespaceName: sdk-Namespace-6019
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                id: /subscriptions/subscriptionid/resourceGroups/resourcegroupid/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9659/networkruleset/default
                name: default
                properties:
                  defaultAction: Deny
                  ipRules:
                    - action: Allow
                      ipMask: 1.1.1.1
                    - action: Allow
                      ipMask: 1.1.1.2
                    - action: Allow
                      ipMask: 1.1.1.3
                    - action: Allow
                      ipMask: 1.1.1.4
                    - action: Allow
                      ipMask: 1.1.1.5
                  virtualNetworkRules:
                    - ignoreMissingVnetServiceEndpoint: true
                      subnet:
                        id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2
                    - ignoreMissingVnetServiceEndpoint: false
                      subnet:
                        id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3
                    - ignoreMissingVnetServiceEndpoint: false
                      subnet:
                        id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6
                type: Microsoft.EventHub/Namespaces/NetworkRuleSet
    put:
      description: Create or update NetworkRuleSet for a Namespace.
      operationId: Namespaces_CreateOrUpdateNetworkRuleSet
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
        - description: The Namespace IpFilterRule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/NetworkRuleSet"
      responses:
        "200":
          description: Namespace NetworkRuleSet successfully returned.
          schema:
            $ref: "#/definitions/NetworkRuleSet"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceNetworkRuleSetCreate:
          parameters:
            api-version: 2018-01-01-preview
            namespaceName: sdk-Namespace-6019
            parameters:
              properties:
                defaultAction: Deny
                ipRules:
                  - action: Allow
                    ipMask: 1.1.1.1
                  - action: Allow
                    ipMask: 1.1.1.2
                  - action: Allow
                    ipMask: 1.1.1.3
                  - action: Allow
                    ipMask: 1.1.1.4
                  - action: Allow
                    ipMask: 1.1.1.5
                virtualNetworkRules:
                  - ignoreMissingVnetServiceEndpoint: true
                    subnet:
                      id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2
                  - ignoreMissingVnetServiceEndpoint: false
                    subnet:
                      id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3
                  - ignoreMissingVnetServiceEndpoint: false
                    subnet:
                      id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                id: /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/resourcegroupid/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9659/networkruleset/default
                name: default
                properties:
                  defaultAction: Deny
                  ipRules:
                    - action: Allow
                      ipMask: 1.1.1.1
                    - action: Allow
                      ipMask: 1.1.1.2
                    - action: Allow
                      ipMask: 1.1.1.3
                    - action: Allow
                      ipMask: 1.1.1.4
                    - action: Allow
                      ipMask: 1.1.1.5
                  virtualNetworkRules:
                    - ignoreMissingVnetServiceEndpoint: true
                      subnet:
                        id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2
                    - ignoreMissingVnetServiceEndpoint: false
                      subnet:
                        id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3
                    - ignoreMissingVnetServiceEndpoint: false
                      subnet:
                        id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6
                type: Microsoft.EventHub/Namespaces/NetworkRuleSet
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules":
    get:
      description: Gets a list of VirtualNetwork rules for a Namespace.
      operationId: Namespaces_ListVirtualNetworkRules
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace VirtualNetworkRule successfully returned.
          schema:
            $ref: "#/definitions/VirtualNetworkRuleListResult"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        ListIpFilterRules:
          parameters:
            api-version: 2018-01-01-preview
            namespaceName: sdk-Namespace-6019
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191
                    name: sdk-VirtualNetworkRules-9191
                    properties:
                      virtualNetworkSubnetId: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default
                    type: Microsoft.EventHub/Namespaces/VirtualNetworkRules
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}":
    delete:
      description: Deletes an VirtualNetworkRule for a Namespace.
      operationId: Namespaces_DeleteVirtualNetworkRule
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/virtualNetworkRuleNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace VirtualNetworkRule successfully deleted.
        "204":
          description: No content.
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceVirtualNetworkRuleDelete:
          parameters:
            api-version: 2018-01-01-preview
            namespaceName: sdk-Namespace-6019
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
            virtualNetworkRuleName: sdk-VirtualNetworkRules-9191
          responses:
            "200": {}
            "204": {}
    get:
      description: Gets an VirtualNetworkRule for a Namespace by rule name.
      operationId: Namespaces_GetVirtualNetworkRule
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/virtualNetworkRuleNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
      responses:
        "200":
          description: Namespace VirtualNetworkRule returned successfully.
          schema:
            $ref: "#/definitions/VirtualNetworkRule"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceVirtualNetworkRuleGet:
          parameters:
            api-version: 2018-01-01-preview
            namespaceName: sdk-Namespace-6019
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
            virtualNetworkRuleName: sdk-VirtualNetworkRules-9191
          responses:
            "200":
              body:
                id: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191
                name: sdk-VirtualNetworkRules-9191
                properties:
                  virtualNetworkSubnetId: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default
                type: Microsoft.EventHub/Namespaces/VirtualNetworkRules
    put:
      description: Creates or updates an VirtualNetworkRule for a Namespace.
      operationId: Namespaces_CreateOrUpdateVirtualNetworkRule
      parameters:
        - $ref: "#/parameters/resourceGroupNameParameter"
        - $ref: "#/parameters/namespaceNameParameter"
        - $ref: "#/parameters/virtualNetworkRuleNameParameter"
        - $ref: "#/parameters/apiVersionParameter"
        - $ref: "#/parameters/subscriptionIdParameter"
        - description: The Namespace VirtualNetworkRule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/VirtualNetworkRule"
      responses:
        "200":
          description: Namespace VirtualNetworkRule created
          schema:
            $ref: "#/definitions/VirtualNetworkRule"
        default:
          description: Eventhub error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceVirtualNetworkRuleCreate:
          parameters:
            api-version: 2018-01-01-preview
            namespaceName: sdk-Namespace-6019
            parameters:
              properties:
                virtualNetworkSubnetId: /subscriptions/Subscription/resourceGroups/sbehvnettest/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
            virtualNetworkRuleName: sdk-VirtualNetworkRules-9191
          responses:
            "200":
              body:
                id: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191
                name: sdk-VirtualNetworkRules-9191
                properties:
                  virtualNetworkSubnetId: /subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default
                type: Microsoft.EventHub/Namespaces/VirtualNetworkRules
definitions:
  AvailableCluster:
    description: Pre-provisioned and readily available Event Hubs Cluster count per region.
    properties:
      location:
        description: Location fo the Available Cluster
        type: string
  AvailableClustersList:
    description: The response of the List Available Clusters operation.
    properties:
      value:
        description: The count of readily available and pre-provisioned Event Hubs Clusters per region.
        items:
          $ref: "#/definitions/AvailableCluster"
        type: array
  Cluster:
    allOf:
      - $ref: "#/definitions/TrackedResource"
    description: Single Event Hubs Cluster resource in List or Get operations.
    properties:
      properties:
        description: Event Hubs Cluster properties supplied in responses in List or Get operations.
        properties:
          created:
            description: The UTC time when the Event Hubs Cluster was created.
            readOnly: true
            type: string
          metricId:
            description: The metric ID of the cluster resource. Provided by the service and not modifiable by the user.
            readOnly: true
            type: string
          status:
            description: Status of the Cluster resource
            readOnly: true
            type: string
          updated:
            description: The UTC time when the Event Hubs Cluster was last updated.
            readOnly: true
            type: string
        x-ms-client-flatten: true
      sku:
        $ref: "#/definitions/ClusterSku"
        description: Properties of the cluster SKU.
  ClusterListResult:
    description: The response of the List Event Hubs Clusters operation.
    properties:
      nextLink:
        description: Link to the next set of results. Empty unless the value parameter contains an incomplete list of Event Hubs Clusters.
        type: string
      value:
        description: The Event Hubs Clusters present in the List Event Hubs operation results.
        items:
          $ref: "#/definitions/Cluster"
        type: array
  ClusterQuotaConfigurationProperties:
    description: Contains all settings for the cluster.
    properties:
      settings:
        additionalProperties:
          type: string
        description: All possible Cluster settings - a collection of key/value paired settings which apply to quotas and configurations imposed on the cluster.
        type: object
  ClusterSku:
    description: SKU parameters particular to a cluster instance.
    properties:
      capacity:
        description: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.
        format: int32
        maximum: 32
        minimum: 1
        type: integer
      name:
        description: Name of this SKU.
        enum:
          - Dedicated
        type: string
        x-ms-enum:
          modelAsString: true
          name: SkuName
    required:
      - name
    type: object
  EHNamespace:
    allOf:
      - $ref: "#/definitions/TrackedResource"
    description: Single Namespace item in List or Get Operation
    properties:
      properties:
        description: Namespace properties supplied for create namespace operation.
        properties:
          clusterArmId:
            description: Cluster ARM ID of the Namespace.
            type: string
          createdAt:
            description: The time the Namespace was created.
            format: date-time
            readOnly: true
            type: string
          encryption:
            $ref: "#/definitions/Encryption"
            description: Properties of BYOK Encryption description
          identity:
            $ref: "#/definitions/Identity"
            description: Properties of BYOK Identity description
          isAutoInflateEnabled:
            description: Value that indicates whether AutoInflate is enabled for eventhub namespace.
            type: boolean
          kafkaEnabled:
            description: Value that indicates whether Kafka is enabled for eventhub namespace.
            type: boolean
          maximumThroughputUnits:
            description: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)
            format: int32
            maximum: 20
            minimum: 0
            type: integer
          metricId:
            description: Identifier for Azure Insights metrics.
            readOnly: true
            type: string
          provisioningState:
            description: Provisioning state of the Namespace.
            readOnly: true
            type: string
          serviceBusEndpoint:
            description: Endpoint you can use to perform Service Bus operations.
            readOnly: true
            type: string
          updatedAt:
            description: The time the Namespace was updated.
            format: date-time
            readOnly: true
            type: string
          zoneRedundant:
            description: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.
            type: boolean
        x-ms-client-flatten: true
      sku:
        $ref: "#/definitions/Sku"
        description: Properties of sku resource
  EHNamespaceIdContainer:
    description: The full ARM ID of an Event Hubs Namespace
    properties:
      id:
        description: id parameter
        type: string
    type: object
  EHNamespaceIdListResult:
    description: The response of the List Namespace IDs operation
    properties:
      value:
        description: Result of the List Namespace IDs operation
        items:
          $ref: "#/definitions/EHNamespaceIdContainer"
        type: array
  EHNamespaceListResult:
    description: The response of the List Namespace operation
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of namespaces.
        type: string
      value:
        description: Result of the List Namespace operation
        items:
          $ref: "#/definitions/EHNamespace"
        type: array
  Encryption:
    description: Properties to configure Encryption
    properties:
      keySource:
        default: Microsoft.KeyVault
        description: Enumerates the possible value of keySource for Encryption
        enum:
          - Microsoft.KeyVault
        type: string
        x-ms-enum:
          modelAsString: false
          name: keySource
      keyVaultProperties:
        $ref: "#/definitions/KeyVaultProperties"
        description: Properties of KeyVault
    x-ms-client-flatten: true
  ErrorResponse:
    description: Error response that indicates the service is not able to process the incoming request. The reason is provided in the error message.
    properties:
      code:
        description: Error code.
        type: string
      message:
        description: Error message indicating why the operation failed.
        type: string
    type: object
  Identity:
    description: Properties to configure Identity for Bring your Own Keys
    properties:
      principalId:
        description: ObjectId from the KeyVault
        type: string
      tenantId:
        description: TenantId from the KeyVault
        type: string
      type:
        default: SystemAssigned
        description: Enumerates the possible value Identity type, which currently supports only 'SystemAssigned'
        enum:
          - SystemAssigned
        type: string
        x-ms-enum:
          modelAsString: false
          name: IdentityType
    x-ms-client-flatten: true
  IpFilterRule:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Single item in a List or Get IpFilterRules operation
    properties:
      properties:
        description: Properties supplied to create or update IpFilterRules
        properties:
          action:
            description: The IP Filter Action
            enum:
              - Accept
              - Reject
            type: string
            x-ms-enum:
              modelAsString: true
              name: IPAction
          filterName:
            description: IP Filter name
            type: string
          ipMask:
            description: IP Mask
            type: string
        x-ms-client-flatten: true
  IpFilterRuleListResult:
    description: The response from the List namespace operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains an incomplete list of IpFilter Rules
        type: string
      value:
        description: Result of the List IpFilter Rules operation.
        items:
          $ref: "#/definitions/IpFilterRule"
        type: array
  KeyVaultProperties:
    description: Properties to configure keyVault Properties
    properties:
      keyName:
        description: Name of the Key from KeyVault
        type: string
      keyVaultUri:
        description: Uri of KeyVault
        type: string
  NWRuleSetIpRules:
    description: The response from the List namespace operation.
    properties:
      action:
        description: The IP Filter Action
        enum:
          - Allow
        type: string
        x-ms-enum:
          modelAsString: true
          name: NetworkRuleIPAction
      ipMask:
        description: IP Mask
        type: string
    x-ms-client-flatten: true
  NWRuleSetVirtualNetworkRules:
    description: The response from the List namespace operation.
    properties:
      ignoreMissingVnetServiceEndpoint:
        description: Value that indicates whether to ignore missing Vnet Service Endpoint
        type: boolean
      subnet:
        $ref: "#/definitions/Subnet"
        description: Subnet properties
    x-ms-client-flatten: true
  NetworkRuleSet:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Description of topic resource.
    properties:
      properties:
        description: NetworkRuleSet properties
        properties:
          defaultAction:
            description: Default Action for Network Rule Set
            enum:
              - Allow
              - Deny
            type: string
            x-ms-enum:
              modelAsString: true
              name: DefaultAction
          ipRules:
            description: List of IpRules
            items:
              $ref: "#/definitions/NWRuleSetIpRules"
            type: array
          virtualNetworkRules:
            description: List VirtualNetwork Rules
            items:
              $ref: "#/definitions/NWRuleSetVirtualNetworkRules"
            type: array
        x-ms-client-flatten: true
  Operation:
    description: A Event Hub REST API operation
    properties:
      display:
        description: The object that represents the operation.
        properties:
          operation:
            description: "Operation type: Read, write, delete, etc."
            readOnly: true
            type: string
          provider:
            description: "Service provider: Microsoft.EventHub"
            readOnly: true
            type: string
          resource:
            description: "Resource on which the operation is performed: Invoice, etc."
            readOnly: true
            type: string
      name:
        description: "Operation name: {provider}/{resource}/{operation}"
        readOnly: true
        type: string
    type: object
  OperationListResult:
    description: Result of the request to list Event Hub operations. It contains a list of operations and a URL link to get the next set of results.
    properties:
      nextLink:
        description: URL to get the next set of operation list results if there are any.
        readOnly: true
        type: string
      value:
        description: List of Event Hub operations supported by the Microsoft.EventHub resource provider.
        items:
          $ref: "#/definitions/Operation"
        readOnly: true
        type: array
  Resource:
    description: The Resource definition
    properties:
      id:
        description: Resource Id
        readOnly: true
        type: string
      name:
        description: Resource name
        readOnly: true
        type: string
      type:
        description: Resource type
        readOnly: true
        type: string
    x-ms-azure-resource: true
  Sku:
    description: SKU parameters supplied to the create namespace operation
    properties:
      capacity:
        description: The Event Hubs throughput units, value should be 0 to 20 throughput units.
        format: int32
        maximum: 20
        minimum: 0
        type: integer
      name:
        description: Name of this SKU.
        enum:
          - Basic
          - Standard
        type: string
        x-ms-enum:
          modelAsString: true
          name: SkuName
      tier:
        description: The billing tier of this particular SKU.
        enum:
          - Basic
          - Standard
        type: string
        x-ms-enum:
          modelAsString: true
          name: SkuTier
    required:
      - name
    type: object
  Subnet:
    description: Properties supplied for Subnet
    properties:
      id:
        description: Resource ID of Virtual Network Subnet
        type: string
  TrackedResource:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Definition of an Azure resource.
    properties:
      location:
        description: Resource location
        type: string
        x-ms-mutability:
          - read
          - create
      tags:
        additionalProperties:
          type: string
        description: Resource tags
        type: object
        x-ms-mutability:
          - read
          - create
          - update
  VirtualNetworkRule:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Single item in a List or Get VirtualNetworkRules operation
    properties:
      properties:
        description: Properties supplied to create or update VirtualNetworkRules
        properties:
          virtualNetworkSubnetId:
            description: ARM ID of Virtual Network Subnet
            type: string
        x-ms-client-flatten: true
  VirtualNetworkRuleListResult:
    description: The response from the List namespace operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains an incomplete list of VirtualNetwork Rules
        type: string
      value:
        description: Result of the List VirtualNetwork Rules operation.
        items:
          $ref: "#/definitions/VirtualNetworkRule"
        type: array
