swagger: "2.0"
schemes:
  - https
host: management.azure.com
info:
  description: Azure Service Bus client
  title: ServiceBusManagementClient
  version: 2017-04-01
  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/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json
      version: "2.0"
  x-preferred: true
  x-providerName: azure.com
  x-serviceName: servicebus
  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:
  AliasNameParameter:
    description: The Disaster Recovery configuration name
    in: path
    maxLength: 50
    minLength: 1
    name: alias
    required: true
    type: string
    x-ms-parameter-location: method
  ApiVersionParameter:
    description: Client API version.
    in: query
    name: api-version
    required: true
    type: string
  AuthorizationRuleNameParameter:
    description: The authorization rule name.
    in: path
    maxLength: 50
    minLength: 1
    name: authorizationRuleName
    required: true
    type: string
    x-ms-parameter-location: method
  ConfigNameParameter:
    description: The configuration name. Should always be "$default".
    enum:
      - $default
    in: path
    name: configName
    required: true
    type: string
    x-ms-enum:
      modelAsString: true
      name: MigrationConfigurationName
    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
  QueueNameParameter:
    description: The queue name.
    in: path
    minLength: 1
    name: queueName
    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
  RuleNameParameter:
    description: The rule name.
    in: path
    maxLength: 50
    minLength: 1
    name: ruleName
    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
  SubscriptionNameParameter:
    description: The subscription name.
    in: path
    maxLength: 50
    minLength: 1
    name: subscriptionName
    required: true
    type: string
    x-ms-parameter-location: method
  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
  TopicNameParameter:
    description: The topic name.
    in: path
    minLength: 1
    name: topicName
    required: true
    type: string
    x-ms-parameter-location: method
paths:
  /providers/Microsoft.ServiceBus/operations:
    get:
      description: Lists all of the available ServiceBus REST API operations.
      operationId: Operations_List
      parameters:
        - $ref: "#/parameters/ApiVersionParameter"
      responses:
        "200":
          description: OK. The request has succeeded.
          schema:
            $ref: "#/definitions/OperationListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Operations
      x-ms-examples:
        OperationsList:
          parameters:
            api-version: 2016-07-01
          responses:
            "200":
              body:
                value:
                  - display:
                      operation: Get namespace availability.
                      provider: Microsoft Azure ServiceBus
                      resource: Non Resource Operation
                    name: Microsoft.ServiceBus/checkNameAvailability/action
                  - display:
                      operation: Registers the ServiceBus Resource Provider
                      provider: Microsoft Azure ServiceBus
                      resource: ServiceBus Resource Provider
                    name: Microsoft.ServiceBus/register/action
                  - display:
                      operation: "Create Or Update Namespace "
                      provider: Microsoft Azure ServiceBus
                      resource: Namespace
                    name: Microsoft.ServiceBus/namespaces/write
                  - display:
                      operation: Get Namespace Resource
                      provider: Microsoft Azure ServiceBus
                      resource: Namespace
                    name: Microsoft.ServiceBus/namespaces/read
                  - display:
                      operation: Delete Namespace
                      provider: Microsoft Azure ServiceBus
                      resource: Namespace
                    name: Microsoft.ServiceBus/namespaces/Delete
                  - display:
                      operation: Create or Update Namespace Authorization Rules
                      provider: Microsoft Azure ServiceBus
                      resource: AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/authorizationRules/write
                  - display:
                      operation: Get Namespace Authorization Rules
                      provider: Microsoft Azure ServiceBus
                      resource: AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/authorizationRules/read
                  - display:
                      operation: Delete Namespace Authorization Rule
                      provider: Microsoft Azure ServiceBus
                      resource: AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/authorizationRules/delete
                  - display:
                      operation: Get Namespace Listkeys
                      provider: Microsoft Azure ServiceBus
                      resource: AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/authorizationRules/listkeys/action
                  - display:
                      operation: Resource Regeneratekeys
                      provider: Microsoft Azure ServiceBus
                      resource: AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/authorizationRules/regenerateKeys/action
                  - display:
                      operation: Create or Update Queue
                      provider: Microsoft Azure ServiceBus
                      resource: Queue
                    name: Microsoft.ServiceBus/namespaces/queues/write
                  - display:
                      operation: Get Queue
                      provider: Microsoft Azure ServiceBus
                      resource: Queue
                    name: Microsoft.ServiceBus/namespaces/queues/read
                  - display:
                      operation: Delete Queue
                      provider: Microsoft Azure ServiceBus
                      resource: Queue
                    name: Microsoft.ServiceBus/namespaces/queues/Delete
                  - display:
                      operation: Create or Update Queue Authorization Rule
                      provider: Microsoft Azure ServiceBus
                      resource: Queue AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/queues/authorizationRules/write
                  - display:
                      operation: " Get Queue Authorization Rules"
                      provider: Microsoft Azure ServiceBus
                      resource: Queue AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/queues/authorizationRules/read
                  - display:
                      operation: Delete Queue Authorization Rules
                      provider: Microsoft Azure ServiceBus
                      resource: Queue AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/queues/authorizationRules/delete
                  - display:
                      operation: List Queue keys
                      provider: Microsoft Azure ServiceBus
                      resource: Queue AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/queues/authorizationRules/listkeys/action
                  - display:
                      operation: Resource Regeneratekeys
                      provider: Microsoft Azure ServiceBus
                      resource: Queue AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/queues/authorizationRules/regenerateKeys/action
                  - display:
                      operation: Create or Update Topic
                      provider: Microsoft Azure ServiceBus
                      resource: Topic
                    name: Microsoft.ServiceBus/namespaces/topics/write
                  - display:
                      operation: Get Topic
                      provider: Microsoft Azure ServiceBus
                      resource: Topic
                    name: Microsoft.ServiceBus/namespaces/topics/read
                  - display:
                      operation: Delete Topic
                      provider: Microsoft Azure ServiceBus
                      resource: Topic
                    name: Microsoft.ServiceBus/namespaces/topics/Delete
                  - display:
                      operation: Create or Update Topic Authorization Rule
                      provider: Microsoft Azure ServiceBus
                      resource: Topic AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/topics/authorizationRules/write
                  - display:
                      operation: " Get Topic Authorization Rules"
                      provider: Microsoft Azure ServiceBus
                      resource: Topic AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/topics/authorizationRules/read
                  - display:
                      operation: Delete Topic Authorization Rules
                      provider: Microsoft Azure ServiceBus
                      resource: Topic AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/topics/authorizationRules/delete
                  - display:
                      operation: List Topic keys
                      provider: Microsoft Azure ServiceBus
                      resource: Topic AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/topics/authorizationRules/listkeys/action
                  - display:
                      operation: Resource Regeneratekeys
                      provider: Microsoft Azure ServiceBus
                      resource: Topic AuthorizationRules
                    name: Microsoft.ServiceBus/namespaces/topics/authorizationRules/regenerateKeys/action
                  - display:
                      operation: Create or Update TopicSubscription
                      provider: Microsoft Azure ServiceBus
                      resource: TopicSubscription
                    name: Microsoft.ServiceBus/namespaces/topics/subscriptions/write
                  - display:
                      operation: Get TopicSubscription
                      provider: Microsoft Azure ServiceBus
                      resource: TopicSubscription
                    name: Microsoft.ServiceBus/namespaces/topics/subscriptions/read
                  - display:
                      operation: Delete TopicSubscription
                      provider: Microsoft Azure ServiceBus
                      resource: TopicSubscription
                    name: Microsoft.ServiceBus/namespaces/topics/subscriptions/Delete
                  - display:
                      operation: Create or Update Rule
                      provider: Microsoft Azure ServiceBus
                      resource: Rule
                    name: Microsoft.ServiceBus/namespaces/topics/subscriptions/rules/write
                  - display:
                      operation: Get Rule
                      provider: Microsoft Azure ServiceBus
                      resource: Rule
                    name: Microsoft.ServiceBus/namespaces/topics/subscriptions/rules/read
                  - display:
                      operation: Delete Rule
                      provider: Microsoft Azure ServiceBus
                      resource: Rule
                    name: Microsoft.ServiceBus/namespaces/topics/subscriptions/rules/Delete
                  - display:
                      operation: Get Namespace metrics
                      provider: Microsoft Azure ServiceBus
                      resource: Namespace metrics
                    name: Microsoft.ServiceBus/namespaces/metricDefinitions/read
                  - display:
                      operation: Get Namespace diagnostic settings
                      provider: Microsoft Azure ServiceBus
                      resource: Namespace diagnostic settings
                    name: Microsoft.ServiceBus/namespaces/diagnosticSettings/read
                  - display:
                      operation: Create or Update Namespace diagnostic settings
                      provider: Microsoft Azure ServiceBus
                      resource: Namespace diagnostic settings
                    name: Microsoft.ServiceBus/namespaces/diagnosticSettings/write
                  - display:
                      operation: Get Namespace logs
                      provider: Microsoft Azure ServiceBus
                      resource: Namespace logs
                    name: Microsoft.ServiceBus/namespaces/logDefinitions/read
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability":
    post:
      description: Check the give namespace name availability.
      operationId: Namespaces_CheckNameAvailability
      parameters:
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - description: Parameters to check availability of the given namespace name
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/CheckNameAvailability"
      responses:
        "200":
          description: check availability returned successfully.
          schema:
            $ref: "#/definitions/CheckNameAvailabilityResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceCheckNameAvailability:
          parameters:
            api-version: 2017-04-01
            parameters:
              name: sdk-Namespace-2924
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                message: ""
                nameAvailable: true
                reason: None
  "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces":
    get:
      description: Gets all the available namespaces within the subscription, irrespective of the resource groups.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639412.aspx
      operationId: Namespaces_List
      parameters:
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespaces successfully returned.
          schema:
            $ref: "#/definitions/SBNamespaceListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceList:
          parameters:
            api-version: 2017-04-01
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-91f08e47-2b04-4943-b0cd-a5fb02b88f20
                    location: South Central US
                    name: NS-91f08e47-2b04-4943-b0cd-a5fb02b88f20
                    properties:
                      createdAt: 2016-08-23T02:40:17.27Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-91f08e47-2b04-4943-b0cd-a5fb02b88f20
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-91f08e47-2b04-4943-b0cd-a5fb02b88f20.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T07:15:30.78Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-41dc63f4-0b08-4029-b3ef-535a131bfa65
                    location: South Central US
                    name: NS-41dc63f4-0b08-4029-b3ef-535a131bfa65
                    properties:
                      createdAt: 2016-08-23T03:50:38.98Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-41dc63f4-0b08-4029-b3ef-535a131bfa65
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-41dc63f4-0b08-4029-b3ef-535a131bfa65.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T10:42:58.003Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-df52cf51-e831-4bf2-bd92-e9885f68a996
                    location: South Central US
                    name: NS-df52cf51-e831-4bf2-bd92-e9885f68a996
                    properties:
                      createdAt: 2016-09-16T01:17:54.997Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-df52cf51-e831-4bf2-bd92-e9885f68a996
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-df52cf51-e831-4bf2-bd92-e9885f68a996.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:44:39.737Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/SBPremium
                    location: South Central US
                    name: SBPremium
                    properties:
                      createdAt: 2016-10-10T22:01:00.42Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbpremium
                      provisioningState: Created
                      serviceBusEndpoint: https://SBPremium.servicebus.windows-int.net:443/
                      updatedAt: 2016-10-10T22:01:00.42Z
                    sku:
                      capacity: 1
                      name: Premium
                      tier: Premium
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/sadfsadfsadf/providers/Microsoft.ServiceBus/namespaces/rrama-ns2
                    location: South Central US
                    name: rrama-ns2
                    properties:
                      createdAt: 2016-08-23T04:14:00.013Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ns2
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-ns2.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-03T22:53:32.927Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-20e57600-29d0-4035-ac85-74f4c54dcda1
                    location: South Central US
                    name: NS-20e57600-29d0-4035-ac85-74f4c54dcda1
                    properties:
                      createdAt: 2016-08-23T03:30:49.16Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-20e57600-29d0-4035-ac85-74f4c54dcda1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-20e57600-29d0-4035-ac85-74f4c54dcda1.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T04:17:58.483Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-3e538a1a-58fb-4315-b2ce-76f5c944114c
                    location: South Central US
                    name: NS-3e538a1a-58fb-4315-b2ce-76f5c944114c
                    properties:
                      createdAt: 2016-09-16T18:07:30.05Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-3e538a1a-58fb-4315-b2ce-76f5c944114c
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-3e538a1a-58fb-4315-b2ce-76f5c944114c.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T10:42:57.747Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/prem-ns123
                    location: South Central US
                    name: prem-ns123
                    properties:
                      createdAt: 2016-09-13T00:02:39.997Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:prem-ns123
                      provisioningState: Created
                      serviceBusEndpoint: https://prem-ns123.servicebus.windows-int.net:443/
                      updatedAt: 2016-09-13T00:02:39.997Z
                    sku:
                      capacity: 1
                      name: Premium
                      tier: Premium
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-4e1bfdf1-0cff-4e86-ae80-cdcac4873039
                    location: South Central US
                    name: NS-4e1bfdf1-0cff-4e86-ae80-cdcac4873039
                    properties:
                      createdAt: 2016-09-16T01:01:58.73Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-4e1bfdf1-0cff-4e86-ae80-cdcac4873039
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-4e1bfdf1-0cff-4e86-ae80-cdcac4873039.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T03:02:59.8Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03
                    location: South Central US
                    name: NS-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03
                    properties:
                      createdAt: 2016-08-23T03:22:45.327Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:08:01.207Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-c05e9df3-7737-44ee-a321-15f6e0545b97
                    location: South Central US
                    name: NS-c05e9df3-7737-44ee-a321-15f6e0545b97
                    properties:
                      createdAt: 2016-08-05T03:29:19.75Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-c05e9df3-7737-44ee-a321-15f6e0545b97
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-c05e9df3-7737-44ee-a321-15f6e0545b97.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T08:10:35.527Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-dcb4152c-231b-4c16-a683-07cc6b38fa46
                    location: South Central US
                    name: NS-dcb4152c-231b-4c16-a683-07cc6b38fa46
                    properties:
                      createdAt: 2016-08-05T03:34:35.363Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-dcb4152c-231b-4c16-a683-07cc6b38fa46
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-dcb4152c-231b-4c16-a683-07cc6b38fa46.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T05:33:00.957Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-f501f5e6-1f24-439b-8982-9af665156d40
                    location: South Central US
                    name: NS-f501f5e6-1f24-439b-8982-9af665156d40
                    properties:
                      createdAt: 2016-09-16T01:25:55.707Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-f501f5e6-1f24-439b-8982-9af665156d40
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-f501f5e6-1f24-439b-8982-9af665156d40.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T07:42:59.687Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30
                    location: South Central US
                    name: NS-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30
                    properties:
                      createdAt: 2016-08-23T02:32:08.227Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:32:57.77Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-8a5e3b4e-4e97-4d85-9083-cd33536c9d71
                    location: South Central US
                    name: NS-8a5e3b4e-4e97-4d85-9083-cd33536c9d71
                    properties:
                      createdAt: 2016-09-16T00:54:05.103Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-8a5e3b4e-4e97-4d85-9083-cd33536c9d71
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-8a5e3b4e-4e97-4d85-9083-cd33536c9d71.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T10:43:50.313Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-6520cc09-01ac-40a3-bc09-c5c431116e92
                    location: South Central US
                    name: NS-6520cc09-01ac-40a3-bc09-c5c431116e92
                    properties:
                      createdAt: 2016-09-16T01:49:59.243Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-6520cc09-01ac-40a3-bc09-c5c431116e92
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-6520cc09-01ac-40a3-bc09-c5c431116e92.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T08:15:36.95Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-bfba6d5c-a425-42d9-85db-0f4da770e29a
                    location: South Central US
                    name: NS-bfba6d5c-a425-42d9-85db-0f4da770e29a
                    properties:
                      createdAt: 2016-08-05T03:23:32.083Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-bfba6d5c-a425-42d9-85db-0f4da770e29a
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-bfba6d5c-a425-42d9-85db-0f4da770e29a.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T09:02:57.433Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/SBPrem
                    location: South Central US
                    name: SBPrem
                    properties:
                      createdAt: 2016-10-10T22:16:30.87Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbprem
                      provisioningState: Created
                      serviceBusEndpoint: https://SBPrem.servicebus.windows-int.net:443/
                      updatedAt: 2016-10-10T22:16:30.87Z
                    sku:
                      capacity: 1
                      name: Premium
                      tier: Premium
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-43b136b4-8716-40b2-97c5-0d77cac0062c
                    location: South Central US
                    name: NS-43b136b4-8716-40b2-97c5-0d77cac0062c
                    properties:
                      createdAt: 2016-08-23T03:14:50.577Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-43b136b4-8716-40b2-97c5-0d77cac0062c
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-43b136b4-8716-40b2-97c5-0d77cac0062c.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T09:23:01.067Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-7c0443de-5f88-450c-b574-83f60a097dd1
                    location: South Central US
                    name: NS-7c0443de-5f88-450c-b574-83f60a097dd1
                    properties:
                      createdAt: 2016-08-23T04:07:15.397Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-7c0443de-5f88-450c-b574-83f60a097dd1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-7c0443de-5f88-450c-b574-83f60a097dd1.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T04:03:03.097Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-62dd7753-a5f9-42fd-a354-ca38a4505d69
                    location: South Central US
                    name: NS-62dd7753-a5f9-42fd-a354-ca38a4505d69
                    properties:
                      createdAt: 2016-09-16T01:33:50.45Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-62dd7753-a5f9-42fd-a354-ca38a4505d69
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-62dd7753-a5f9-42fd-a354-ca38a4505d69.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T05:35:33.053Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-ae18a18c-97ab-4089-965d-8acbf4794091
                    location: South Central US
                    name: NS-ae18a18c-97ab-4089-965d-8acbf4794091
                    properties:
                      createdAt: 2016-08-23T02:43:36.517Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-ae18a18c-97ab-4089-965d-8acbf4794091
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-ae18a18c-97ab-4089-965d-8acbf4794091.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T12:40:30.587Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11
                    location: South Central US
                    name: NS-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11
                    properties:
                      createdAt: 2016-09-16T00:46:03.773Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T04:43:54.56Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44
                    location: South Central US
                    name: NS-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44
                    properties:
                      createdAt: 2016-08-23T03:59:12.1Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:33:52.23Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-d9337efd-9b27-454c-b2a5-dcfea56920d9
                    location: South Central US
                    name: NS-d9337efd-9b27-454c-b2a5-dcfea56920d9
                    properties:
                      createdAt: 2016-08-05T03:45:09.27Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-d9337efd-9b27-454c-b2a5-dcfea56920d9
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-d9337efd-9b27-454c-b2a5-dcfea56920d9.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:20:31.863Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-ad5ae732-abea-4e62-9de0-c90de0ddec0a
                    location: South Central US
                    name: NS-ad5ae732-abea-4e62-9de0-c90de0ddec0a
                    properties:
                      createdAt: 2016-08-23T02:34:36.447Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-ad5ae732-abea-4e62-9de0-c90de0ddec0a
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-ad5ae732-abea-4e62-9de0-c90de0ddec0a.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:15:31.607Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-d447fb03-c7da-40fe-b5eb-14f36888837b
                    location: South Central US
                    name: NS-d447fb03-c7da-40fe-b5eb-14f36888837b
                    properties:
                      createdAt: 2016-08-05T00:53:46.697Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-d447fb03-c7da-40fe-b5eb-14f36888837b
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-d447fb03-c7da-40fe-b5eb-14f36888837b.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T11:09:41.26Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/ReproSB
                    location: South Central US
                    name: ReproSB
                    properties:
                      createdAt: 2017-02-27T19:29:34.523Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:reprosb
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://ReproSB.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-27T19:29:58.64Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-4c90097f-19a8-42e7-bb3c-4ac088994719
                    location: South Central US
                    name: NS-4c90097f-19a8-42e7-bb3c-4ac088994719
                    properties:
                      createdAt: 2016-09-16T17:35:32.61Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-4c90097f-19a8-42e7-bb3c-4ac088994719
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-4c90097f-19a8-42e7-bb3c-4ac088994719.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T09:13:52.27Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/rrama-1-23-17
                    location: South Central US
                    name: rrama-1-23-17
                    properties:
                      createdAt: 2017-01-23T22:54:40.907Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-1-23-17
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-1-23-17.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-04T00:53:28.777Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-5191e541-8e4e-4229-9fdc-b89f6c3e7f12
                    location: South Central US
                    name: NS-5191e541-8e4e-4229-9fdc-b89f6c3e7f12
                    properties:
                      createdAt: 2016-09-16T17:43:25.71Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-5191e541-8e4e-4229-9fdc-b89f6c3e7f12
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-5191e541-8e4e-4229-9fdc-b89f6c3e7f12.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T11:05:31.89Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-be903820-3533-46e8-90e4-72c132411848
                    location: South Central US
                    name: NS-be903820-3533-46e8-90e4-72c132411848
                    properties:
                      createdAt: 2016-08-05T03:24:01.923Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-be903820-3533-46e8-90e4-72c132411848
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-be903820-3533-46e8-90e4-72c132411848.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T10:09:42.513Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/rrama-namespace1
                    location: South Central US
                    name: rrama-namespace1
                    properties:
                      createdAt: 2016-08-05T00:47:22.963Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-namespace1
                      provisioningState: Created
                      serviceBusEndpoint: https://rrama-namespace1.servicebus.windows-int.net:443/
                      updatedAt: 2016-08-05T00:47:27.297Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-a3c38e9b-32a3-4c51-85d7-263150a8dda9
                    location: South Central US
                    name: NS-a3c38e9b-32a3-4c51-85d7-263150a8dda9
                    properties:
                      createdAt: 2016-09-16T00:38:02.517Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-a3c38e9b-32a3-4c51-85d7-263150a8dda9
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-a3c38e9b-32a3-4c51-85d7-263150a8dda9.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T05:03:55.96Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6
                    location: South Central US
                    name: NS-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6
                    properties:
                      createdAt: 2016-08-23T03:42:40.01Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T06:33:02.363Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-e6536f77-0d1b-4a6b-8f42-29cc15b2930a
                    location: South Central US
                    name: NS-e6536f77-0d1b-4a6b-8f42-29cc15b2930a
                    properties:
                      createdAt: 2016-08-05T04:28:10.71Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-e6536f77-0d1b-4a6b-8f42-29cc15b2930a
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-e6536f77-0d1b-4a6b-8f42-29cc15b2930a.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T08:43:51.587Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2924
                    location: South Central US
                    name: sdk-Namespace-2924
                    properties:
                      createdAt: 2017-05-25T22:26:36.76Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2924
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-2924.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-25T22:26:59.35Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags:
                      tag1: value1
                      tag2: value2
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/rrama-sb1
                    location: South Central US
                    name: rrama-sb1
                    properties:
                      createdAt: 2017-05-01T21:47:34.903Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-sb1
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://rrama-sb1.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-02T02:10:03.083Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/WhackWhack
                    location: South Central US
                    name: WhackWhack
                    properties:
                      createdAt: 2016-10-10T23:39:01.347Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:whackwhack
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://WhackWhack.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-04T00:56:32.687Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c
                    location: South Central US
                    name: NS-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c
                    properties:
                      createdAt: 2016-09-16T17:51:27.73Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T08:19:43.383Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/NS-e0cab401-6df8-465d-8d4a-da9a9e55cf0e
                    location: South Central US
                    name: NS-e0cab401-6df8-465d-8d4a-da9a9e55cf0e
                    properties:
                      createdAt: 2016-08-05T01:14:25.613Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-e0cab401-6df8-465d-8d4a-da9a9e55cf0e
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://NS-e0cab401-6df8-465d-8d4a-da9a9e55cf0e.servicebus.windows-int.net:443/
                      updatedAt: 2017-02-11T12:33:01.727Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/bn3-rrama-foo1
                    location: East US 2
                    name: bn3-rrama-foo1
                    properties:
                      createdAt: 2017-04-28T23:54:26.927Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:bn3-rrama-foo1
                      provisioningState: Created
                      serviceBusEndpoint: https://bn3-rrama-foo1.servicebus.int7.windows-int.net:443/
                      updatedAt: 2017-04-28T23:54:26.927Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/bn3-rrama-foo3
                    location: East US 2
                    name: bn3-rrama-foo3
                    properties:
                      createdAt: 2017-04-29T00:24:09.907Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:bn3-rrama-foo3
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://bn3-rrama-foo3.servicebus.int7.windows-int.net:443/
                      updatedAt: 2017-04-29T00:24:33.233Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/bn3-rrama-foo2
                    location: East US 2
                    name: bn3-rrama-foo2
                    properties:
                      createdAt: 2017-04-28T23:57:40.82Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:bn3-rrama-foo2
                      provisioningState: Created
                      serviceBusEndpoint: https://bn3-rrama-foo2.servicebus.int7.windows-int.net:443/
                      updatedAt: 2017-04-28T23:57:40.82Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/db3-rrama-foo2
                    location: North Europe
                    name: db3-rrama-foo2
                    properties:
                      createdAt: 2017-04-29T00:10:43.463Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:db3-rrama-foo2
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://db3-rrama-foo2.servicebus.int7.windows-int.net:443/
                      updatedAt: 2017-04-29T00:11:09.133Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags: {}
                    type: Microsoft.ServiceBus/Namespaces
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/premiumMessagingRegions":
    get:
      description: "Gets the available premium messaging regions for servicebus "
      operationId: PremiumMessagingRegions_List
      parameters:
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Premium messaging regions successfully returned.
          schema:
            $ref: "#/definitions/PremiumMessagingRegionsListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - PremiumMessagingRegions
      x-ms-examples:
        PremiumMessagingRegionsList:
          parameters:
            api-version: 2017-04-01
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/East US
                    name: East US
                    properties:
                      code: East US
                      fullName: East US
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/East US 2
                    name: East US 2
                    properties:
                      code: East US 2
                      fullName: East US 2
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West India
                    name: West India
                    properties:
                      code: West India
                      fullName: West India
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West US
                    name: West US
                    properties:
                      code: West US
                      fullName: West US
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/North Central US
                    name: North Central US
                    properties:
                      code: North Central US
                      fullName: North Central US
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK West
                    name: UK West
                    properties:
                      code: UK West
                      fullName: UK West
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West Central US
                    name: West Central US
                    properties:
                      code: West Central US
                      fullName: West Central US
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Brazil South
                    name: Brazil South
                    properties:
                      code: Brazil South
                      fullName: Brazil South
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Central US
                    name: Central US
                    properties:
                      code: Central US
                      fullName: Central US
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/South Central US
                    name: South Central US
                    properties:
                      code: South Central US
                      fullName: South Central US
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West Europe
                    name: West Europe
                    properties:
                      code: West Europe
                      fullName: West Europe
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/North Europe
                    name: North Europe
                    properties:
                      code: North Europe
                      fullName: North Europe
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/East Asia
                    name: East Asia
                    properties:
                      code: East Asia
                      fullName: East Asia
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/South India
                    name: South India
                    properties:
                      code: South India
                      fullName: South India
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK North
                    name: UK North
                    properties:
                      code: UK North
                      fullName: UK North
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Australia Southeast
                    name: Australia Southeast
                    properties:
                      code: Australia Southeast
                      fullName: Australia Southeast
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Southeast Asia
                    name: Southeast Asia
                    properties:
                      code: Southeast Asia
                      fullName: Southeast Asia
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Japan West
                    name: Japan West
                    properties:
                      code: Japan West
                      fullName: Japan West
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Japan East
                    name: Japan East
                    properties:
                      code: Japan East
                      fullName: Japan East
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK South
                    name: UK South
                    properties:
                      code: UK South
                      fullName: UK South
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK South 2
                    name: UK South 2
                    properties:
                      code: UK South 2
                      fullName: UK South 2
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Central India
                    name: Central India
                    properties:
                      code: Central India
                      fullName: Central India
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Canada East
                    name: Canada East
                    properties:
                      code: Canada East
                      fullName: Canada East
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Canada Central
                    name: Canada Central
                    properties:
                      code: Canada Central
                      fullName: Canada Central
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Australia East
                    name: Australia East
                    properties:
                      code: Australia East
                      fullName: Australia East
                    type: Microsoft.ServiceBus/PremiumMessagingRegions
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/sku/{sku}/regions":
    get:
      description: Gets the available Regions for a given sku
      operationId: Regions_ListBySku
      parameters:
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - $ref: "#/parameters/SkuNameParameter"
      responses:
        "200":
          description: Regions successfully returned.
          schema:
            $ref: "#/definitions/PremiumMessagingRegionsListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Regions
      x-ms-examples:
        RegionsListBySku:
          parameters:
            api-version: 2017-04-01
            sku: Basic
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CentralUS
                    name: Central US
                    properties:
                      code: Central US
                      fullName: Central US
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EastUS
                    name: East US
                    properties:
                      code: East US
                      fullName: East US
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EastUS2
                    name: East US 2
                    properties:
                      code: East US 2
                      fullName: East US 2
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/NorthCentralUS
                    name: North Central US
                    properties:
                      code: North Central US
                      fullName: North Central US
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/SouthCentralUS
                    name: South Central US
                    properties:
                      code: South Central US
                      fullName: South Central US
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestUS
                    name: West US
                    properties:
                      code: West US
                      fullName: West US
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestUS2
                    name: West US 2
                    properties:
                      code: West US 2
                      fullName: West US 2
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestCentralUS
                    name: West Central US
                    properties:
                      code: West Central US
                      fullName: West Central US
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/NorthEurope
                    name: North Europe
                    properties:
                      code: North Europe
                      fullName: North Europe
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestEurope
                    name: West Europe
                    properties:
                      code: West Europe
                      fullName: West Europe
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EastAsia
                    name: East Asia
                    properties:
                      code: East Asia
                      fullName: East Asia
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/SoutheastAsia
                    name: Southeast Asia
                    properties:
                      code: Southeast Asia
                      fullName: Southeast Asia
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/BrazilSouth
                    name: Brazil South
                    properties:
                      code: Brazil South
                      fullName: Brazil South
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/JapanEast
                    name: Japan East
                    properties:
                      code: Japan East
                      fullName: Japan East
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/JapanWest
                    name: Japan West
                    properties:
                      code: Japan West
                      fullName: Japan West
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CentralIndia
                    name: Central India
                    properties:
                      code: Central India
                      fullName: Central India
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/SouthIndia
                    name: South India
                    properties:
                      code: South India
                      fullName: South India
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestIndia
                    name: West India
                    properties:
                      code: West India
                      fullName: West India
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKSouth2
                    name: UK South 2
                    properties:
                      code: UK South 2
                      fullName: UK South 2
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKNorth
                    name: UK North
                    properties:
                      code: UK North
                      fullName: UK North
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CanadaCentral
                    name: Canada Central
                    properties:
                      code: Canada Central
                      fullName: Canada Central
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CanadaEast
                    name: Canada East
                    properties:
                      code: Canada East
                      fullName: Canada East
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/AustraliaEast
                    name: Australia East
                    properties:
                      code: Australia East
                      fullName: Australia East
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/AustraliaSoutheast
                    name: Australia Southeast
                    properties:
                      code: Australia Southeast
                      fullName: Australia Southeast
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKSouth
                    name: UK South
                    properties:
                      code: UK South
                      fullName: UK South
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKWest
                    name: UK West
                    properties:
                      code: UK West
                      fullName: UK West
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EASTUS2EUAP
                    name: EAST US 2 EUAP
                    properties:
                      code: EAST US 2 EUAP
                      fullName: EAST US 2 EUAP
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CentralUSEUAP
                    name: Central US EUAP
                    properties:
                      code: Central US EUAP
                      fullName: Central US EUAP
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/KoreaCentral
                    name: Korea Central
                    properties:
                      code: Korea Central
                      fullName: Korea Central
                    type: Microsoft.ServiceBus/Sku/Regions
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/KoreaSouth
                    name: Korea South
                    properties:
                      code: Korea South
                      fullName: Korea South
                    type: Microsoft.ServiceBus/Sku/Regions
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces":
    get:
      description: Gets the available namespaces within a resource group.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639412.aspx
      operationId: Namespaces_ListByResourceGroup
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespaces successfully returned.
          schema:
            $ref: "#/definitions/SBNamespaceListResult"
        default:
          description: ServiceBus 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.ServiceBus/namespaces/sdk-Namespace-2924
                    location: South Central US
                    name: sdk-Namespace-2924
                    properties:
                      createdAt: 2017-05-25T22:26:36.76Z
                      metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2924
                      provisioningState: Succeeded
                      serviceBusEndpoint: https://sdk-Namespace-2924.servicebus.windows-int.net:443/
                      updatedAt: 2017-05-25T22:26:59.35Z
                    sku:
                      name: Standard
                      tier: Standard
                    tags:
                      tag1: value1
                      tag2: value2
                    type: Microsoft.ServiceBus/Namespaces
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}":
    delete:
      description: Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639389.aspx
      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: ServiceBus 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-3285
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
            "202": {}
            "204": {}
      x-ms-long-running-operation: true
    get:
      description: Gets a description for the specified namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639379.aspx
      operationId: Namespaces_Get
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespace successfully returned.
          schema:
            $ref: "#/definitions/SBNamespace"
        default:
          description: ServiceBus 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-2924
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2924
                location: South Central US
                name: sdk-Namespace-2924
                properties:
                  createdAt: 2017-05-25T22:26:36.76Z
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2924
                  provisioningState: Succeeded
                  serviceBusEndpoint: https://sdk-Namespace-2924.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-25T22:26:59.35Z
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.ServiceBus/Namespaces
    patch:
      description: Updates a service 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 supplied to update a namespace resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBNamespaceUpdateParameters"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespace updated successfully.
          schema:
            $ref: "#/definitions/SBNamespace"
        "201":
          description: Namespace update request accepted.
          schema:
            $ref: "#/definitions/SBNamespace"
        "202":
          description: Namespace update request accepted.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceUpdate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-3285
            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.ServiceBus/namespaces/sdk-Namespace-3285
                location: South Central US
                name: sdk-Namespace-3285
                properties:
                  createdAt: 2017-05-25T23:07:58.17Z
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3285
                  provisioningState: Updating
                  serviceBusEndpoint: https://sdk-Namespace-3285.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-25T23:08:45.497Z
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  tag3: value3
                  tag4: value4
                type: Microsoft.ServiceBus/Namespaces
            "201":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-3285
                location: South Central US
                name: sdk-Namespace-3285
                properties:
                  createdAt: 2017-05-25T23:07:58.17Z
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3285
                  provisioningState: Updating
                  serviceBusEndpoint: https://sdk-Namespace-3285.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-25T23:08:45.497Z
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  tag3: value3
                  tag4: value4
                type: Microsoft.ServiceBus/Namespaces
            "202": {}
    put:
      description: Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx
      operationId: Namespaces_CreateOrUpdate
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - description: The namespace name.
          in: path
          name: namespaceName
          required: true
          type: string
        - description: Parameters supplied to create a namespace resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBNamespace"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespace created successfully.
          schema:
            $ref: "#/definitions/SBNamespace"
        "201":
          description: Namespace create request accepted.
          schema:
            $ref: "#/definitions/SBNamespace"
        "202":
          description: Namespace create or update request accepted.
        default:
          description: ServiceBus 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-Namespace2924
            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.ServiceBus/namespaces/sdk-Namespace-2924
                location: South Central US
                name: sdk-Namespace-2924
                properties:
                  createdAt: 2017-05-25T22:26:36.76Z
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2924
                  provisioningState: Created
                  serviceBusEndpoint: https://sdk-Namespace-2924.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-25T22:26:36.76Z
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.ServiceBus/Namespaces
            "201":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2924
                location: South Central US
                name: sdk-Namespace-2924
                properties:
                  createdAt: 2017-05-25T22:26:36.76Z
                  metricId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2924
                  provisioningState: Created
                  serviceBusEndpoint: https://sdk-Namespace-2924.servicebus.windows-int.net:443/
                  updatedAt: 2017-05-25T22:26:36.76Z
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  tag1: value1
                  tag2: value2
                type: Microsoft.ServiceBus/Namespaces
            "202": {}
      x-ms-long-running-operation: true
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules":
    get:
      description: Gets the authorization rules for a namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639376.aspx
      operationId: Namespaces_ListAuthorizationRules
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespace authorization rules returned successfully.
          schema:
            $ref: "#/definitions/SBAuthorizationRuleListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceAuthorizationRuleListAll:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-6914
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: https://sbgm.windows-int.net/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules?api-version=2017-04-01/RootManageSharedAccessKey
                    name: RootManageSharedAccessKey
                    properties:
                      rights:
                        - Listen
                        - Manage
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
                  - id: https://sbgm.windows-int.net/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules?api-version=2017-04-01/sdk-AuthRules-1788
                    name: sdk-AuthRules-1788
                    properties:
                      rights:
                        - Listen
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}":
    delete:
      description: Deletes a namespace authorization rule.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639417.aspx
      operationId: Namespaces_DeleteAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespace authorization rule successfully deleted.
        "204":
          description: No content.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceAuthorizationRuleDelete:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-1788
            namespaceName: sdk-namespace-6914
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
            "204": {}
    get:
      description: Gets an authorization rule for a namespace by rule name.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639392.aspx
      operationId: Namespaces_GetAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespace authorization rule returned successfully.
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceAuthorizationRuleGet:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-1788
            namespaceName: sdk-Namespace-6914
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules/sdk-AuthRules-1788/
                name: sdk-AuthRules-1788
                properties:
                  rights:
                    - Listen
                    - Send
                type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
    put:
      description: Creates or updates an authorization rule for a namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639410.aspx
      operationId: Namespaces_CreateOrUpdateAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - description: The shared access authorization rule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Namespace authorization rule created.
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceAuthorizationRuleCreate:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-1788
            namespaceName: sdk-Namespace-6914
            parameters:
              properties:
                rights:
                  - Listen
                  - Send
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules/sdk-AuthRules-1788
                name: sdk-AuthRules-1788
                properties:
                  rights:
                    - Listen
                    - Send
                type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/listKeys":
    post:
      description: Gets the primary and secondary connection strings for the namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639398.aspx
      operationId: Namespaces_ListKeys
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Connection strings successfully returned.
          schema:
            $ref: "#/definitions/AccessKeys"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceAuthorizationRuleListKey:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-1788
            namespaceName: sdk-namespace-6914
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                keyName: sdk-AuthRules-1788
                primaryConnectionString: Endpoint=sb://sdk-namespace-6914.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-1788;SharedAccessKey=############################################
                primaryKey: "############################################"
                secondaryConnectionString: Endpoint=sb://sdk-namespace-6914.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-1788;SharedAccessKey=############################################
                secondaryKey: "############################################"
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys":
    post:
      description: Regenerates the primary or secondary connection strings for the namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt718977.aspx
      operationId: Namespaces_RegenerateKeys
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - description: Parameters supplied to regenerate the authorization rule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/RegenerateAccessKeyParameters"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Authorization rule successfully regenerated.
          schema:
            $ref: "#/definitions/AccessKeys"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceAuthorizationRuleRegenerateKey:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-1788
            namespaceName: sdk-namespace-6914
            parameters:
              keyType: PrimaryKey
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                keyName: sdk-AuthRules-1788
                primaryConnectionString: Endpoint=sb://sdk-namespace-6914.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-1788;SharedAccessKey=#############################################
                primaryKey: "#############################################"
                secondaryConnectionString: Endpoint=sb://sdk-namespace-6914.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-1788;SharedAccessKey=#############################################
                secondaryKey: "#############################################"
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs":
    get:
      description: Gets all Alias(Disaster Recovery configurations)
      operationId: DisasterRecoveryConfigs_List
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Successfully retrieved the list of Alias(Disaster Recovery configurations) for servicebus namespace
          schema:
            $ref: "#/definitions/ArmDisasterRecoveryListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        SBAliasList:
          parameters:
            alias: sdk-DisasterRecovery-3814
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-8860
            resourceGroupName: ardsouzatestRG
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ardsouzatestRG/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-8860/disasterRecoveryConfig/sdk-DisasterRecovery-3814
                    name: sdk-DisasterRecovery-3814
                    properties:
                      partnerNamespace: sdk-Namespace-37
                      provisioningState: Accepted
                      role: Primary
                    type: Microsoft.ServiceBus/Namespaces/DisasterRecoveryConfig
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability":
    post:
      description: Check the give namespace name availability.
      operationId: DisasterRecoveryConfigs_CheckNameAvailability
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - description: Parameters to check availability of the given namespace name
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/CheckNameAvailability"
      responses:
        "200":
          description: check availability returned successfully.
          schema:
            $ref: "#/definitions/CheckNameAvailabilityResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        AliasNameAvailability:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-9080
            parameters:
              name: sdk-DisasterRecovery-9474
            resourceGroupName: exampleResourceGroup
            subscriptionId: exampleSubscriptionId
          responses:
            "200":
              body:
                message: ""
                nameAvailable: true
                reason: None
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}":
    delete:
      description: Deletes an Alias(Disaster Recovery configuration)
      operationId: DisasterRecoveryConfigs_Delete
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Delete Alias(Disaster Recovery configuration) request accepted
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        SBAliasDelete:
          parameters:
            alias: sdk-DisasterRecovery-3814
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-8860
            resourceGroupName: SouthCentralUS
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
    get:
      description: Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
      operationId: DisasterRecoveryConfigs_Get
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Successfully retrieved the Alias(Disaster Recovery configurations)
          schema:
            $ref: "#/definitions/ArmDisasterRecovery"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        SBAliasGet:
          parameters:
            alias: sdk-DisasterRecovery-3814
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-8860
            resourceGroupName: ardsouzatestRG
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ardsouzatestRG/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-37/disasterRecoveryConfig/sdk-DisasterRecovery-3814
                name: sdk-DisasterRecovery-3814
                properties:
                  partnerNamespace: sdk-Namespace-8860
                  pendingReplicationOperationsCount: 0
                  provisioningState: Accepted
                  role: Secondary
                type: Microsoft.ServiceBus/Namespaces/DisasterRecoveryConfig
    put:
      description: Creates or updates a new Alias(Disaster Recovery configuration)
      operationId: DisasterRecoveryConfigs_CreateOrUpdate
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - description: Parameters required to create an Alias(Disaster Recovery configuration)
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/ArmDisasterRecovery"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Alias(Disaster Recovery configuration) successfully created
          schema:
            $ref: "#/definitions/ArmDisasterRecovery"
        "201":
          description: Alias(Disaster Recovery configuration) creation request received
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        SBAliasCreate:
          parameters:
            alias: sdk-Namespace-8860
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-8860
            parameters:
              properties:
                alternateName: alternameforAlias-Namespace-8860
                partnerNamespace: sdk-Namespace-37
            resourceGroupName: ardsouzatestRG
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ardsouzatestRG/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-8860/disasterRecoveryConfig/sdk-Namespace-8860
                name: sdk-Namespace-8860
                properties:
                  alternateName: alternameforAlias-Namespace-8860
                  partnerNamespace: sdk-Namespace-37
                  provisioningState: Accepted
                  role: Primary
                type: Microsoft.ServiceBus/Namespaces/DisasterRecoveryConfig
            "201": {}
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules":
    get:
      description: Gets the authorization rules for a namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639376.aspx
      operationId: DisasterRecoveryConfigs_ListAuthorizationRules
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: DisasterRecoveryConfigs authorization rules returned successfully.
          schema:
            $ref: "#/definitions/SBAuthorizationRuleListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        NameSpaceAuthorizationRuleListAll:
          parameters:
            alias: sdk-DisasterRecovery-4047
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-9080
            resourceGroupName: exampleResourceGroup
            subscriptionId: exampleSubscriptionId
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey
                    name: RootManageSharedAccessKey
                    properties:
                      rights:
                        - Listen
                        - Manage
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
                  - id: /subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067
                    name: sdk-Authrules-1067
                    properties:
                      rights:
                        - Listen
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
                  - id: /subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684
                    name: sdk-Authrules-1684
                    properties:
                      rights:
                        - Listen
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
                  - id: /subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879
                    name: sdk-Authrules-4879
                    properties:
                      rights:
                        - Listen
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}":
    get:
      description: Gets an authorization rule for a namespace by rule name.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639392.aspx
      operationId: DisasterRecoveryConfigs_GetAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: DisasterRecoveryConfigs authorization rule returned successfully.
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        DisasterRecoveryConfigsAuthorizationRuleGet:
          parameters:
            alias: sdk-DisasterRecovery-4879
            api-version: 2017-04-01
            authorizationRuleName: sdk-Authrules-4879
            namespaceName: sdk-Namespace-9080
            resourceGroupName: exampleResourceGroup
            subscriptionId: exampleSubscriptionId
          responses:
            "200":
              body:
                id: /subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879
                name: sdk-Authrules-4879
                properties:
                  rights:
                    - Listen
                    - Send
                type: Microsoft.ServiceBus/Namespaces/AuthorizationRules
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}/listKeys":
    post:
      description: Gets the primary and secondary connection strings for the namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639398.aspx
      operationId: DisasterRecoveryConfigs_ListKeys
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Connection strings successfully returned.
          schema:
            $ref: "#/definitions/AccessKeys"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        DisasterRecoveryConfigsAuthorizationRuleListKey:
          parameters:
            alias: sdk-DisasterRecovery-4047
            api-version: 2017-04-01
            authorizationRuleName: sdk-Authrules-1746
            namespaceName: sdk-Namespace-2702
            resourceGroupName: exampleResourceGroup
            subscriptionId: exampleSubscriptionId
          responses:
            "200":
              body:
                aliasPrimaryConnectionString: Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################
                aliasSecondaryConnectionString: Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################
                keyName: sdk-Authrules-1746
                primaryKey: "############################################"
                secondaryKey: "############################################"
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing":
    post:
      description: This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces
      operationId: DisasterRecoveryConfigs_BreakPairing
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Break-Pairing operation is successful.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        SBEHAliasBreakPairing:
          parameters:
            alias: sdk-DisasterRecovery-3814
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-8860
            resourceGroupName: ardsouzatestRG
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover":
    post:
      description: Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace
      operationId: DisasterRecoveryConfigs_FailOver
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/AliasNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Failover operation is successful.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - DisasterRecoveryConfigs
      x-ms-examples:
        SBAliasFailOver:
          parameters:
            alias: sdk-DisasterRecovery-3814
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-8860
            resourceGroupName: ardsouzatestRG
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/eventhubs":
    get:
      description: Gets all the Event Hubs in a service bus Namespace.
      operationId: EventHubs_ListByNamespace
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Successfully retrieved the list of Event Hubs.
          schema:
            $ref: "#/definitions/EventHubListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - EventHubs
      x-ms-examples:
        RulesCreateOrUpdate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-3174
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-716/eventhubs/sdk-eventhub-10
                    name: sdk-eventhub-10
                    properties:
                      captureDescription:
                        destination:
                          name: EventHubArchive.AzureBlockBlob
                          properties:
                            archiveNameFormat: "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"
                            blobContainer: container
                            storageAccountResourceId: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ClassicStorage/storageAccounts/arjunteststorage
                        enabled: true
                        encoding: Avro
                        intervalInSeconds: 120
                        sizeLimitInBytes: 10485763
                      createdAt: 2017-06-28T02:45:55.877Z
                      messageRetentionInDays: 4
                      partitionCount: 4
                      partitionIds:
                        - "0"
                        - "1"
                        - "2"
                        - "3"
                      status: Active
                      updatedAt: 2017-06-28T02:46:05.877Z
                    type: Microsoft.ServiceBus/Namespaces/EventHubs
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrate":
    post:
      description: This operation Migrate the given namespace to provided name type
      operationId: Namespaces_Migrate
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - description: Parameters supplied to migrate namespace type.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBNamespaceMigrate"
      responses:
        "200":
          description: Migrate Namespace type is successful.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceUpdate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-41
            parameters:
              targetNamespaceType: EventHub
            resourceGroupName: ResourceGroup
            subscriptionId: SubscriptionId
          responses:
            "200": {}
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations":
    get:
      description: Gets all migrationConfigurations
      operationId: MigrationConfigs_List
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Successfully retrieved the list of migrationConfigurations for servicebus namespace
          schema:
            $ref: "#/definitions/MigrationConfigListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - MigrationConfigs
      x-ms-examples:
        MigrationConfigurationsList:
          parameters:
            api-version: 2017-04-01
            configName: $default
            namespaceName: sdk-Namespace-9259
            resourceGroupName: ResourceGroup
            subscriptionId: SubscriptionId
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9259/migrationConfigs/sdk-Namespace-9259
                    name: sdk-Namespace-9259
                    properties:
                      migrationState: Active
                      postMigrationName: sdk-PostMigration-9423
                      provisioningState: Succeeded
                      targetNamespace: /subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7454
                    type: Microsoft.ServiceBus/Namespaces/migrationconfigurations
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}":
    delete:
      description: Deletes a MigrationConfiguration
      operationId: MigrationConfigs_Delete
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ConfigNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Delete Migration Config request accepted
        "204":
          description: Not Found
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - MigrationConfigs
      x-ms-examples:
        MigrationConfigurationsDelete:
          parameters:
            api-version: 2017-04-01
            configName: $default
            namespaceName: sdk-Namespace-41
            resourceGroupName: ResourceGroup
            subscriptionId: SubscriptionId
          responses:
            "200": {}
            "204": {}
    get:
      description: Retrieves Migration Config
      operationId: MigrationConfigs_Get
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ConfigNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Successfully retrieved Migration Config)
          schema:
            $ref: "#/definitions/MigrationConfigProperties"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - MigrationConfigs
      x-ms-examples:
        MigrationConfigurationsGet:
          parameters:
            api-version: 2017-04-01
            configName: $default
            namespaceName: sdk-Namespace-41
            resourceGroupName: ResourceGroup
            subscriptionId: SubscriptionId
          responses:
            "200":
              body:
                id: /subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-41/migrationConfigs/$default
                name: sdk-Namespace-41
                properties:
                  migrationState: Active
                  pendingReplicationOperationsCount: 0
                  postMigrationName: sdk-PostMigration-5919
                  provisioningState: Succeeded
                  targetNamespace: /subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028
                type: Microsoft.ServiceBus/Namespaces/disasterrecoveryconfigs
    put:
      description: Creates Migration configuration and starts migration of entities from Standard to Premium namespace
      operationId: MigrationConfigs_CreateAndStartMigration
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ConfigNameParameter"
        - description: Parameters required to create Migration Configuration
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/MigrationConfigProperties"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Migration Config successfully created
          schema:
            $ref: "#/definitions/MigrationConfigProperties"
        "201":
          description: Migration Config creation request received
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - MigrationConfigs
      x-ms-examples:
        MigrationConfigurationsStartMigration:
          parameters:
            api-version: 2017-04-01
            configName: $default
            namespaceName: sdk-Namespace-41
            parameters:
              properties:
                postMigrationName: sdk-PostMigration-5919
                targetNamespace: /subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028
            resourceGroupName: ResourceGroup
            subscriptionId: SubscriptionId
          responses:
            "200":
              body:
                id: /subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-41/migrationConfigs/$default
                name: sdk-Namespace-41
                properties:
                  migrationState: Initiating
                  postMigrationName: sdk-PostMigration-5919
                  provisioningState: Accepted
                  targetNamespace: /subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028
                type: Microsoft.ServiceBus/Namespaces/disasterrecoveryconfigs
            "201": {}
      x-ms-long-running-operation: true
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}/revert":
    post:
      description: This operation reverts Migration
      operationId: MigrationConfigs_Revert
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ConfigNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: MigrationConfig Revert operation is successful.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - MigrationConfigs
      x-ms-examples:
        MigrationConfigurationsRevert:
          parameters:
            api-version: 2017-04-01
            configName: $default
            namespaceName: sdk-Namespace-41
            resourceGroupName: ResourceGroup
            subscriptionId: SubscriptionId
          responses:
            "200": {}
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}/upgrade":
    post:
      description: This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace. CompleteMigration operation will fail when entity migration is in-progress.
      operationId: MigrationConfigs_CompleteMigration
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ConfigNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: upgrade operation of Migration Config is successful.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - MigrationConfigs
      x-ms-examples:
        MigrationConfigurationsCompleteMigration:
          parameters:
            api-version: 2017-04-01
            configName: $default
            namespaceName: sdk-Namespace-41
            resourceGroupName: ResourceGroup
            subscriptionId: SubscriptionId
          responses:
            "200": {}
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/networkRuleSets":
    get:
      description: Gets list of NetworkRuleSet for a Namespace.
      operationId: Namespaces_ListNetworkRuleSets
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: List of NetworkRuleSets for Namespace successfully returned.
          schema:
            $ref: "#/definitions/NetworkRuleSetListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Namespaces
      x-ms-examples:
        NameSpaceNetworkRuleSetList:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-6019
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/subscriptionid/resourceGroups/resourcegroupid/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9659/networkrulesets/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.ServiceBus/Namespaces/NetworkRuleSet
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/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: 2017-04-01
            namespaceName: sdk-Namespace-6019
            resourceGroupName: ResourceGroup
            subscriptionId: Subscription
          responses:
            "200":
              body:
                id: /subscriptions/subscriptionid/resourceGroups/resourcegroupid/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9659/networkrulesets/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.ServiceBus/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: 2017-04-01
            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.ServiceBus/namespaces/sdk-Namespace-9659/networkrulesets/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.ServiceBus/Namespaces/NetworkRuleSet
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues":
    get:
      description: Gets the queues within a namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639415.aspx
      operationId: Queues_ListByNamespace
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - $ref: "#/parameters/SkipParameter"
        - $ref: "#/parameters/TopParameter"
      responses:
        "200":
          description: Queues successfully returned.
          schema:
            $ref: "#/definitions/SBQueueListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueListByNameSpace:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-3174
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-3174/queues/sdk-queues-5647
                    name: sdk-queues-5647
                    properties:
                      accessedAt: 0001-01-01T00:00:00Z
                      autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                      createdAt: 2017-05-26T18:07:32.4592931Z
                      defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                      duplicateDetectionHistoryTimeWindow: PT10M
                      enableExpress: false
                      enablePartitioning: true
                      lockDuration: PT1M
                      maxDeliveryCount: 10
                      maxSizeInMegabytes: 163840
                      messageCount: 0
                      requiresDuplicateDetection: false
                      requiresSession: false
                      sizeInBytes: 0
                      status: Active
                      updatedAt: 2017-05-26T18:07:34.6243761Z
                    type: Microsoft.ServiceBus/Namespaces/Queues
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}":
    delete:
      description: Deletes a queue from the specified namespace in a resource group.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639411.aspx
      operationId: Queues_Delete
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Queue successfully deleted.
        "204":
          description: No content.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueDelete:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-183
            queueName: sdk-Queues-8708
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
            "204": {}
    get:
      description: Returns a description for the specified queue.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639380.aspx
      operationId: Queues_Get
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Queue description successfully returned.
          schema:
            $ref: "#/definitions/SBQueue"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueGet:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-3174
            queueName: sdk-Queues-5647
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-3174/queues/sdk-Queues-5647
                name: sdk-Queues-5647
                properties:
                  accessedAt: 0001-01-01T00:00:00Z
                  autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                  createdAt: 2017-05-26T18:07:32.4592931Z
                  defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                  duplicateDetectionHistoryTimeWindow: PT10M
                  enableExpress: false
                  enablePartitioning: true
                  lockDuration: PT1M
                  maxDeliveryCount: 10
                  maxSizeInMegabytes: 163840
                  messageCount: 0
                  requiresDuplicateDetection: false
                  requiresSession: false
                  sizeInBytes: 0
                  status: Active
                  updatedAt: 2017-05-26T18:07:34.6243761Z
                type: Microsoft.ServiceBus/Namespaces/Queues
    put:
      description: Creates or updates a Service Bus queue. This operation is idempotent.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639395.aspx
      operationId: Queues_CreateOrUpdate
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - description: Parameters supplied to create or update a queue resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBQueue"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Queue successfully created.
          schema:
            $ref: "#/definitions/SBQueue"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueCreate:
          parameters:
            api-version: 2015-08-01
            namespaceName: sdk-Namespace-3174
            parameters:
              properties:
                enablePartitioning: true
            queueName: sdk-Queues-5647
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-3174/queues/sdk-Queues-5647
                name: sdk-Queues-5647
                properties:
                  accessedAt: 2017-05-26T18:07:34.227Z
                  autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                  createdAt: 2017-05-26T18:07:33.68Z
                  defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                  duplicateDetectionHistoryTimeWindow: PT10M
                  enableExpress: false
                  enablePartitioning: true
                  lockDuration: PT1M
                  maxDeliveryCount: 10
                  maxSizeInMegabytes: 163840
                  messageCount: 0
                  requiresDuplicateDetection: false
                  requiresSession: false
                  sizeInBytes: 0
                  status: Active
                  updatedAt: 2017-05-26T18:07:34.227Z
                type: Microsoft.ServiceBus/Namespaces/Queues
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules":
    get:
      description: Gets all authorization rules for a queue.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt705607.aspx
      operationId: Queues_ListAuthorizationRules
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Authorization rules successfully returned.
          schema:
            $ref: "#/definitions/SBAuthorizationRuleListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueAuthorizationRuleListAll:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-7982
            queueName: sdk-Queues-2317
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7982/queues/sdk-Queues-2317/authorizationRules/sdk-AuthRules-5800
                    name: sdk-AuthRules-5800
                    properties:
                      rights:
                        - Listen
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/Queues/AuthorizationRules
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}":
    delete:
      description: Deletes a queue authorization rule.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt705609.aspx
      operationId: Queues_DeleteAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Authorization rule successfully deleted.
        "204":
          description: No content.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueAuthorizationRuleDelete:
          parameters:
            api-version: 2015-08-01
            authorizationRuleName: sdk-AuthRules-5800
            namespaceName: sdk-namespace-7982
            queueName: sdk-Queues-2317
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200": {}
            "204": {}
    get:
      description: Gets an authorization rule for a queue by rule name.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt705611.aspx
      operationId: Queues_GetAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Authorization rule successfully returned.
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueAuthorizationRuleGet:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-5800
            namespaceName: sdk-Namespace-7982
            queueName: sdk-Queues-2317
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7982/queues/sdk-Queues-2317/authorizationRules/sdk-AuthRules-5800
                name: sdk-AuthRules-5800
                properties:
                  rights:
                    - Listen
                    - Send
                type: Microsoft.ServiceBus/Namespaces/Queues/AuthorizationRules
    put:
      description: Creates an authorization rule for a queue.
      operationId: Queues_CreateOrUpdateAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - description: The shared access authorization rule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Authorization rule successfully created.
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueAuthorizationRuleCreate:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-5800
            namespaceName: sdk-Namespace-7982
            parameters:
              properties:
                rights:
                  - Listen
                  - Send
            queueName: sdk-Queues-2317
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7982/queues/sdk-Queues-2317/authorizationRules/sdk-AuthRules-5800
                name: sdk-AuthRules-5800
                properties:
                  rights:
                    - Listen
                    - Send
                type: Microsoft.ServiceBus/Namespaces/Queues/AuthorizationRules
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/ListKeys":
    post:
      description: Primary and secondary connection strings to the queue.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt705608.aspx
      operationId: Queues_ListKeys
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Connection strings successfully returned.
          schema:
            $ref: "#/definitions/AccessKeys"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueAuthorizationRuleListKey:
          parameters:
            api-version: 2015-08-01
            authorizationRuleName: sdk-AuthRules-5800
            namespaceName: sdk-namespace-7982
            queueName: sdk-Queues-2317
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                keyName: sdk-AuthRules-5800
                primaryConnectionString: Endpoint=sb://sdk-namespace-7982.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-Queues-2317
                primaryKey: "############################################"
                secondaryConnectionString: Endpoint=sb://sdk-namespace-7982.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-Queues-2317
                secondaryKey: "############################################"
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/regenerateKeys":
    post:
      description: Regenerates the primary or secondary connection strings to the queue.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt705606.aspx
      operationId: Queues_RegenerateKeys
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/QueueNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - description: Parameters supplied to regenerate the authorization rule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/RegenerateAccessKeyParameters"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Connection strings successfully regenerated.
          schema:
            $ref: "#/definitions/AccessKeys"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Queues
      x-ms-examples:
        QueueAuthorizationRuleRegenerateKey:
          parameters:
            api-version: 2015-08-01
            authorizationRuleName: sdk-AuthRules-5800
            namespaceName: sdk-namespace-7982
            parameters:
              keyType: PrimaryKey
            queueName: sdk-Queues-2317
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                keyName: sdk-AuthRules-5800
                primaryConnectionString: Endpoint=sb://sdk-namespace-7982.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-Queues-2317
                primaryKey: "############################################"
                secondaryConnectionString: Endpoint=sb://sdk-namespace-7982.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-Queues-2317
                secondaryKey: "############################################"
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics":
    get:
      description: Gets all the topics in a namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639388.aspx
      operationId: Topics_ListByNamespace
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - $ref: "#/parameters/SkipParameter"
        - $ref: "#/parameters/TopParameter"
      responses:
        "200":
          description: Successfully retrieved list of topics.
          schema:
            $ref: "#/definitions/SBTopicListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicGet:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1617
            resourceGroupName: Default-ServiceBus-WestUS
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1617/topics/sdk-topics-5488
                    name: sdk-topics-5488
                    properties:
                      accessedAt: 0001-01-01T00:00:00Z
                      autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                      createdAt: 2017-05-26T20:50:31.4442694Z
                      defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                      duplicateDetectionHistoryTimeWindow: PT10M
                      enableBatchedOperations: true
                      enableExpress: true
                      enablePartitioning: false
                      maxSizeInMegabytes: 10240
                      requiresDuplicateDetection: false
                      sizeInBytes: 0
                      status: Active
                      subscriptionCount: 0
                      supportOrdering: true
                      updatedAt: 2017-05-26T20:52:32.2092264Z
                    type: Microsoft.ServiceBus/Namespaces/Topics
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}":
    delete:
      description: Deletes a topic from the specified namespace and resource group.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639404.aspx
      operationId: Topics_Delete
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Topic successfully deleted.
        "204":
          description: No Content
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicDelete:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1617
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            topicName: sdk-Topics-5488
          responses:
            "200": {}
            "204": {}
    get:
      description: Returns a description for the specified topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639399.aspx
      operationId: Topics_Get
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Topic description successfully retrieved.
          schema:
            $ref: "#/definitions/SBTopic"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicGet:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1617
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            topicName: sdk-Topics-5488
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1617/topics/sdk-Topics-5488
                name: sdk-Topics-5488
                properties:
                  accessedAt: 0001-01-01T00:00:00Z
                  autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                  createdAt: 2017-05-26T20:50:31.4442694Z
                  defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                  duplicateDetectionHistoryTimeWindow: PT10M
                  enableBatchedOperations: true
                  enableExpress: true
                  enablePartitioning: false
                  maxSizeInMegabytes: 10240
                  requiresDuplicateDetection: false
                  sizeInBytes: 0
                  status: Active
                  subscriptionCount: 0
                  supportOrdering: true
                  updatedAt: 2017-05-26T20:52:32.2092264Z
                type: Microsoft.ServiceBus/Namespaces/Topics
    put:
      description: Creates a topic in the specified namespace.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639409.aspx
      operationId: Topics_CreateOrUpdate
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - description: Parameters supplied to create a topic resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBTopic"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Topic successfully created.
          schema:
            $ref: "#/definitions/SBTopic"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicCreate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1617
            parameters:
              properties:
                enableExpress: true
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            topicName: sdk-Topics-5488
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1617/topics/sdk-Topics-5488
                name: sdk-Topics-5488
                properties:
                  accessedAt: 2017-05-26T20:50:34.32Z
                  autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                  createdAt: 2017-05-26T20:50:34.1Z
                  defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                  duplicateDetectionHistoryTimeWindow: PT10M
                  enableBatchedOperations: true
                  enableExpress: true
                  enablePartitioning: false
                  maxSizeInMegabytes: 10240
                  requiresDuplicateDetection: false
                  sizeInBytes: 0
                  status: Active
                  subscriptionCount: 0
                  supportOrdering: true
                  updatedAt: 2017-05-26T20:50:34.32Z
                type: Microsoft.ServiceBus/Namespaces/Topics
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules":
    get:
      description: Gets authorization rules for a topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt720681.aspx
      operationId: Topics_ListAuthorizationRules
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Authorization rules successfully returned.
          schema:
            $ref: "#/definitions/SBAuthorizationRuleListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicAuthorizationRuleListAll:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-6261
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            topicName: sdk-Topics-1984
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6261/topics/sdk-Topics-1984/authorizationRules/sdk-AuthRules-4310
                    name: sdk-AuthRules-4310
                    properties:
                      rights:
                        - Listen
                        - Send
                    type: Microsoft.ServiceBus/Namespaces/Topics/AuthorizationRules
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}":
    delete:
      description: Deletes a topic authorization rule.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt720681.aspx
      operationId: Topics_DeleteAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Topic authorization rule successfully deleted.
        "204":
          description: No content.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicAuthorizationRuleDelete:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-4310
            namespaceName: sdk-Namespace-6261
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            topicName: sdk-Topics-1984
          responses:
            "200": {}
            "204": {}
    get:
      description: Returns the specified authorization rule.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt720676.aspx
      operationId: Topics_GetAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Topic authorization rule returned successfully.
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicAuthorizationRuleGet:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-4310
            namespaceName: sdk-Namespace-6261
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            topicName: sdk-Topics-1984
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6261/topics/sdk-Topics-1984/authorizationRules/sdk-AuthRules-4310
                name: sdk-AuthRules-4310
                properties:
                  rights:
                    - Listen
                    - Send
                type: Microsoft.ServiceBus/Namespaces/Topics/AuthorizationRules
    put:
      description: Creates an authorization rule for the specified topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt720678.aspx
      operationId: Topics_CreateOrUpdateAuthorizationRule
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - description: The shared access authorization rule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Topic authorization rule successfully created.
          schema:
            $ref: "#/definitions/SBAuthorizationRule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicAuthorizationRuleCreate:
          parameters:
            api-version: 2017-04-01
            authorizationRuleName: sdk-AuthRules-4310
            namespaceName: sdk-Namespace-6261
            parameters:
              properties:
                rights:
                  - Listen
                  - Send
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            topicName: sdk-Topics-1984
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6261/topics/sdk-Topics-1984/authorizationRules/sdk-AuthRules-4310
                name: sdk-AuthRules-4310
                properties:
                  rights:
                    - Listen
                    - Send
                type: Microsoft.ServiceBus/Namespaces/Topics/AuthorizationRules
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/ListKeys":
    post:
      description: Gets the primary and secondary connection strings for the topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt720677.aspx
      operationId: Topics_ListKeys
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Connection strings successfully retrieved.
          schema:
            $ref: "#/definitions/AccessKeys"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicAuthorizationRuleListKey:
          parameters:
            api-version: 2015-08-01
            authorizationRuleName: sdk-Authrules5067
            namespaceName: sdk-Namespace8408
            resourceGroupName: Default-ServiceBus-WestUS
            subscriptionId: e2f361f0-3b27-4503-a9cc-21cfba380093
            topicName: sdk-Topics2075
          responses:
            "200":
              body:
                keyName: sdk-AuthRules-4310
                primaryConnectionString: Endpoint=sb://sdk-namespace-6261.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-4310;SharedAccessKey=#############################################;EntityPath=sdk-Topics-1984
                primaryKey: "#############################################"
                secondaryConnectionString: Endpoint=sb://sdk-namespace-6261.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-4310;SharedAccessKey=#############################################;EntityPath=sdk-Topics-1984
                secondaryKey: "#############################################"
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/regenerateKeys":
    post:
      description: Regenerates primary or secondary connection strings for the topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt720679.aspx
      operationId: Topics_RegenerateKeys
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/AuthorizationRuleNameParameter"
        - description: Parameters supplied to regenerate the authorization rule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/RegenerateAccessKeyParameters"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Connection strings successfully regenerated.
          schema:
            $ref: "#/definitions/AccessKeys"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Topics
      x-ms-examples:
        TopicAuthorizationRuleRegenerateKey:
          parameters:
            api-version: 2015-08-01
            authorizationRuleName: sdk-Authrules5067
            namespaceName: sdk-Namespace8408
            parameters:
              keyType: PrimaryKey
            resourceGroupName: Default-ServiceBus-WestUS
            subscriptionId: e2f361f0-3b27-4503-a9cc-21cfba380093
            topicName: sdk-Topics2075
          responses:
            "200":
              body:
                keyName: sdk-AuthRules-4310
                primaryConnectionString: Endpoint=sb://sdk-namespace-6261.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-4310;SharedAccessKey=#############################################;EntityPath=sdk-Topics-1984
                primaryKey: "#############################################"
                secondaryConnectionString: Endpoint=sb://sdk-namespace-6261.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-4310;SharedAccessKey=#############################################;EntityPath=sdk-Topics-1984
                secondaryKey: "#############################################"
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions":
    get:
      description: List all the subscriptions under a specified topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639400.aspx
      operationId: Subscriptions_ListByTopic
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - $ref: "#/parameters/SkipParameter"
        - $ref: "#/parameters/TopParameter"
      responses:
        "200":
          description: Successfully retrieved list of subscriptions.
          schema:
            $ref: "#/definitions/SBSubscriptionListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Subscriptions
      x-ms-examples:
        SubscriptionListByTopic:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1349
            resourceGroupName: ResourceGroup
            subscriptionId: 5{Subscriptionid}
            topicName: sdk-Topics-8740
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178
                    name: sdk-Subscriptions-2178
                    properties:
                      accessedAt: 2018-01-04T18:02:20.5992764Z
                      autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                      countDetails:
                        activeMessageCount: 0
                        deadLetterMessageCount: 0
                        scheduledMessageCount: 0
                        transferDeadLetterMessageCount: 0
                        transferMessageCount: 0
                      createdAt: 2018-01-04T18:02:20.5992764Z
                      deadLetteringOnFilterEvaluationExceptions: true
                      deadLetteringOnMessageExpiration: true
                      defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                      enableBatchedOperations: true
                      forwardDeadLetteredMessagesTo: sdk-Topics-3065
                      forwardTo: sdk-Topics-3065
                      lockDuration: PT1M
                      maxDeliveryCount: 10
                      messageCount: 0
                      requiresSession: false
                      status: Active
                      updatedAt: 2018-01-04T18:02:20.5992764Z
                    type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}":
    delete:
      description: Deletes a subscription from the specified topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639381.aspx
      operationId: Subscriptions_Delete
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/SubscriptionNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Subscription successfully deleted.
        "204":
          description: No content.
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Subscriptions
      x-ms-examples:
        SubscriptionDelete:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-5882
            resourceGroupName: ResourceGroup
            subscriptionId: subscriptionId
            subscriptionName: sdk-Subscriptions-3670
            topicName: sdk-Topics-1804
          responses:
            "200": {}
            "204": {}
    get:
      description: Returns a subscription description for the specified topic.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639402.aspx
      operationId: Subscriptions_Get
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/SubscriptionNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Successfully retrieved subscription description.
          schema:
            $ref: "#/definitions/SBSubscription"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Subscriptions
      x-ms-examples:
        SubscriptionGet:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1349
            resourceGroupName: ResourceGroup
            subscriptionId: Subscriptionid
            subscriptionName: sdk-Subscriptions-2178
            topicName: sdk-Topics-8740
          responses:
            "200":
              body:
                id: /subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178
                name: sdk-Subscriptions-2178
                properties:
                  accessedAt: 2018-01-04T18:02:20.5992764Z
                  autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                  countDetails:
                    activeMessageCount: 0
                    deadLetterMessageCount: 0
                    scheduledMessageCount: 0
                    transferDeadLetterMessageCount: 0
                    transferMessageCount: 0
                  createdAt: 2018-01-04T18:02:20.5992764Z
                  deadLetteringOnFilterEvaluationExceptions: true
                  deadLetteringOnMessageExpiration: true
                  defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                  enableBatchedOperations: true
                  forwardDeadLetteredMessagesTo: sdk-Topics-3065
                  forwardTo: sdk-Topics-3065
                  lockDuration: PT1M
                  maxDeliveryCount: 10
                  messageCount: 0
                  requiresSession: false
                  status: Active
                  updatedAt: 2018-01-04T18:02:20.5992764Z
                type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions
    put:
      description: Creates a topic subscription.
      externalDocs:
        url: https://msdn.microsoft.com/en-us/library/azure/mt639385.aspx
      operationId: Subscriptions_CreateOrUpdate
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/SubscriptionNameParameter"
        - description: Parameters supplied to create a subscription resource.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/SBSubscription"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Subscription create request accepted.
          schema:
            $ref: "#/definitions/SBSubscription"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Subscriptions
      x-ms-examples:
        SubscriptionCreate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1349
            parameters:
              properties:
                enableBatchedOperations: true
            resourceGroupName: ResourceGroup
            subscriptionId: Subscriptionid
            subscriptionName: sdk-Subscriptions-2178
            topicName: sdk-Topics-8740
          responses:
            "200":
              body:
                id: /subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178
                name: sdk-Subscriptions-2178
                properties:
                  accessedAt: 2018-01-04T18:02:20.5992764Z
                  autoDeleteOnIdle: P10675199DT2H48M5.4775807S
                  countDetails:
                    activeMessageCount: 0
                    deadLetterMessageCount: 0
                    scheduledMessageCount: 0
                    transferDeadLetterMessageCount: 0
                    transferMessageCount: 0
                  createdAt: 2018-01-04T18:02:20.5992764Z
                  deadLetteringOnFilterEvaluationExceptions: true
                  deadLetteringOnMessageExpiration: true
                  defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
                  enableBatchedOperations: true
                  forwardDeadLetteredMessagesTo: sdk-Topics-3065
                  forwardTo: sdk-Topics-3065
                  lockDuration: PT1M
                  maxDeliveryCount: 10
                  messageCount: 0
                  requiresSession: false
                  status: Active
                  updatedAt: 2018-01-04T18:02:20.5992764Z
                type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules":
    get:
      description: List all the rules within given topic-subscription
      operationId: Rules_ListBySubscriptions
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/SubscriptionNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
        - $ref: "#/parameters/SkipParameter"
        - $ref: "#/parameters/TopParameter"
      responses:
        "200":
          description: Successfully retrieved list of Rules.
          schema:
            $ref: "#/definitions/RuleListResult"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Rules
      x-ms-examples:
        RulesListBySubscriptions:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1319
            resourceGroupName: ArunMonocle
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            subscriptionName: sdk-Subscriptions-8691
            topicName: sdk-Topics-2081
          responses:
            "200":
              body:
                value:
                  - id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1319/topics/sdk-Topics-2081/subscriptions/sdk-Subscriptions-8691/rules/sdk-Rules-6571
                    name: sdk-Rules-6571
                    properties:
                      action: {}
                      filterType: SqlFilter
                      sqlFilter:
                        compatibilityLevel: 20
                        sqlExpression: 1=1
                    type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules
      x-ms-pageable:
        nextLinkName: nextLink
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}":
    delete:
      description: Deletes an existing rule.
      operationId: Rules_Delete
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/SubscriptionNameParameter"
        - $ref: "#/parameters/RuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Rule deleted.
        "204":
          description: No Content
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Rules
      x-ms-examples:
        RulesDelete:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1319
            resourceGroupName: ArunMonocle
            ruleName: sdk-Rules-6571
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            subscriptionName: sdk-Subscriptions-8691
            topicName: sdk-Topics-2081
          responses:
            "200": {}
            "204": {}
    get:
      description: Retrieves the description for the specified rule.
      externalDocs:
        url: ""
      operationId: Rules_Get
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/SubscriptionNameParameter"
        - $ref: "#/parameters/RuleNameParameter"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Successfully retrieved rule description.
          schema:
            $ref: "#/definitions/Rule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Subscriptions
      x-ms-examples:
        RulesGet:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1319
            resourceGroupName: ArunMonocle
            ruleName: sdk-Rules-6571
            subscriptionId: 5f750a97-50d9-4e36-8081-c9ee4c0210d4
            subscriptionName: sdk-Subscriptions-8691
            topicName: sdk-Topics-2081
          responses:
            "200":
              body:
                id: /subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1319/topics/sdk-Topics-2081/subscriptions/sdk-Subscriptions-8691/rules/sdk-Rules-6571
                name: sdk-Rules-6571
                properties:
                  action: {}
                  filterType: SqlFilter
                  sqlFilter:
                    compatibilityLevel: 20
                    sqlExpression: 1=1
                type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules
    put:
      description: Creates a new rule and updates an existing rule
      operationId: Rules_CreateOrUpdate
      parameters:
        - $ref: "#/parameters/ResourceGroupNameParameter"
        - $ref: "#/parameters/NamespaceNameParameter"
        - $ref: "#/parameters/TopicNameParameter"
        - $ref: "#/parameters/SubscriptionNameParameter"
        - $ref: "#/parameters/RuleNameParameter"
        - description: Parameters supplied to create a rule.
          in: body
          name: parameters
          required: true
          schema:
            $ref: "#/definitions/Rule"
        - $ref: "#/parameters/ApiVersionParameter"
        - $ref: "#/parameters/SubscriptionIdParameter"
      responses:
        "200":
          description: Rule created.
          schema:
            $ref: "#/definitions/Rule"
        default:
          description: ServiceBus error response describing why the operation failed.
          schema:
            $ref: "#/definitions/ErrorResponse"
      tags:
        - Rules
      x-ms-examples:
        RulesCreateCorrelationFilter:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1319
            parameters:
              properties:
                correlationFilter:
                  properties:
                    topicHint: Crop
                filterType: CorrelationFilter
            resourceGroupName: resourceGroupName
            ruleName: sdk-Rules-6571
            subscriptionId: subscriptionId
            subscriptionName: sdk-Subscriptions-8691
            topicName: sdk-Topics-2081
          responses:
            "200":
              body:
                id: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1319/topics/sdk-Topics-2081/subscriptions/sdk-Subscriptions-8691/rules/sdk-Rules-6571
                name: sdk-Rules-6571
                properties:
                  action: {}
                  correlationFilter:
                    properties:
                      queueHint: Crop
                  filterType: CorrelationFilter
                type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules
        RulesCreateOrUpdate:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1319
            parameters: {}
            resourceGroupName: resourceGroupName
            ruleName: sdk-Rules-6571
            subscriptionId: subscriptionId
            subscriptionName: sdk-Subscriptions-8691
            topicName: sdk-Topics-2081
          responses:
            "200":
              body:
                id: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1319/topics/sdk-Topics-2081/subscriptions/sdk-Subscriptions-8691/rules/sdk-Rules-6571
                name: sdk-Rules-6571
                properties:
                  action: {}
                  filterType: SqlFilter
                  sqlFilter:
                    compatibilityLevel: 20
                    sqlExpression: 1=1
                type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules
        RulesCreateSqlFilter:
          parameters:
            api-version: 2017-04-01
            namespaceName: sdk-Namespace-1319
            parameters:
              properties:
                filterType: SqlFilter
                sqlFilter:
                  sqlExpression: myproperty=test
            resourceGroupName: resourceGroupName
            ruleName: sdk-Rules-6571
            subscriptionId: subscriptionId
            subscriptionName: sdk-Subscriptions-8691
            topicName: sdk-Topics-2081
          responses:
            "200":
              body:
                id: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1319/topics/sdk-Topics-2081/subscriptions/sdk-Subscriptions-8691/rules/sdk-Rules-6571
                name: sdk-Rules-6571
                properties:
                  action: {}
                  filterType: SqlFilter
                  sqlFilter:
                    compatibilityLevel: 20
                    sqlExpression: myproperty=test
                type: Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules
definitions:
  AccessKeys:
    description: Namespace/ServiceBus Connection String
    properties:
      aliasPrimaryConnectionString:
        description: Primary connection string of the alias if GEO DR is enabled
        readOnly: true
        type: string
      aliasSecondaryConnectionString:
        description: Secondary  connection string of the alias if GEO DR is enabled
        readOnly: true
        type: string
      keyName:
        description: A string that describes the authorization rule.
        readOnly: true
        type: string
      primaryConnectionString:
        description: Primary connection string of the created namespace authorization rule.
        readOnly: true
        type: string
      primaryKey:
        description: A base64-encoded 256-bit primary key for signing and validating the SAS token.
        readOnly: true
        type: string
      secondaryConnectionString:
        description: Secondary connection string of the created namespace authorization rule.
        readOnly: true
        type: string
      secondaryKey:
        description: A base64-encoded 256-bit primary key for signing and validating the SAS token.
        readOnly: true
        type: string
  Action:
    description: Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
    properties:
      compatibilityLevel:
        description: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
        format: int32
        type: integer
      requiresPreprocessing:
        default: true
        description: Value that indicates whether the rule action requires preprocessing.
        type: boolean
      sqlExpression:
        description: SQL expression. e.g. MyProperty='ABC'
        type: string
    type: object
  ArmDisasterRecovery:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Single item in List or Get Alias(Disaster Recovery configuration) operation
    properties:
      properties:
        description: Properties required to the Create Or Update Alias(Disaster Recovery configurations)
        properties:
          alternateName:
            description: Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
            type: string
          partnerNamespace:
            description: ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
            type: string
          pendingReplicationOperationsCount:
            description: Number of entities pending to be replicated.
            format: int64
            readOnly: true
            type: integer
          provisioningState:
            description: Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'
            enum:
              - Accepted
              - Succeeded
              - Failed
            readOnly: true
            type: string
            x-ms-enum:
              modelAsString: false
              name: ProvisioningStateDR
          role:
            description: role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'
            enum:
              - Primary
              - PrimaryNotReplicating
              - Secondary
            readOnly: true
            type: string
            x-ms-enum:
              modelAsString: false
              name: RoleDisasterRecovery
        x-ms-client-flatten: true
  ArmDisasterRecoveryListResult:
    description: The result of the List Alias(Disaster Recovery configuration) operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of Alias(Disaster Recovery configuration)
        readOnly: true
        type: string
      value:
        description: List of Alias(Disaster Recovery configurations)
        items:
          $ref: "#/definitions/ArmDisasterRecovery"
        type: array
  AuthorizationRuleProperties:
    description: AuthorizationRule properties.
    properties:
      rights:
        description: The rights associated with the rule.
        items:
          enum:
            - Manage
            - Send
            - Listen
          type: string
          x-ms-enum:
            modelAsString: false
            name: AccessRights
        type: array
    required:
      - rights
  CaptureDescription:
    description: Properties to configure capture description for eventhub
    properties:
      destination:
        $ref: "#/definitions/Destination"
        description: Properties of Destination where capture will be stored. (Storage Account, Blob Names)
      enabled:
        description: "A value that indicates whether capture description is enabled. "
        type: boolean
      encoding:
        description: Enumerates the possible values for the encoding format of capture description.
        enum:
          - Avro
          - AvroDeflate
        type: string
        x-ms-enum:
          modelAsString: false
          name: EncodingCaptureDescription
      intervalInSeconds:
        description: The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
        format: int32
        maximum: 900
        minimum: 60
        type: integer
      sizeLimitInBytes:
        description: The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 and 524288000 bytes
        format: int32
        maximum: 524288000
        minimum: 10485760
        type: integer
  CheckNameAvailability:
    description: Description of a Check Name availability request properties.
    properties:
      name:
        description: The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.
        type: string
    required:
      - name
  CheckNameAvailabilityResult:
    description: Description of a Check Name availability request properties.
    properties:
      message:
        description: The detailed info regarding the reason associated with the namespace.
        readOnly: true
        type: string
      nameAvailable:
        description: Value indicating namespace is availability, true if the namespace is available; otherwise, false.
        type: boolean
      reason:
        $ref: "#/definitions/UnavailableReason"
        description: The reason for unavailability of a namespace.
  CorrelationFilter:
    description: Represents the correlation filter expression.
    properties:
      contentType:
        description: Content type of the message.
        type: string
      correlationId:
        description: Identifier of the correlation.
        type: string
      label:
        description: Application specific label.
        type: string
      messageId:
        description: Identifier of the message.
        type: string
      properties:
        additionalProperties:
          type: string
        description: dictionary object for custom filters
        type: object
      replyTo:
        description: Address of the queue to reply to.
        type: string
      replyToSessionId:
        description: Session identifier to reply to.
        type: string
      requiresPreprocessing:
        default: true
        description: Value that indicates whether the rule action requires preprocessing.
        type: boolean
      sessionId:
        description: Session identifier.
        type: string
      to:
        description: Address to send to.
        type: string
    type: object
  Destination:
    description: Capture storage details for capture description
    properties:
      name:
        description: Name for capture destination
        type: string
      properties:
        description: Properties describing the storage account, blob container and archive name format for capture destination
        properties:
          archiveNameFormat:
            description: Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
            type: string
          blobContainer:
            description: Blob container Name
            type: string
          storageAccountResourceId:
            description: Resource id of the storage account to be used to create the blobs
            type: string
        x-ms-client-flatten: true
  EntityStatus:
    description: Entity status.
    enum:
      - Active
      - Disabled
      - Restoring
      - SendDisabled
      - ReceiveDisabled
      - Creating
      - Deleting
      - Renaming
      - Unknown
    type: string
    x-ms-enum:
      modelAsString: false
      name: EntityStatus
  ErrorResponse:
    description: Error response indicates ServiceBus 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
  EventHubListResult:
    description: The result of the List EventHubs operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of EventHubs.
        readOnly: true
        type: string
      value:
        description: Result of the List EventHubs operation.
        items:
          $ref: "#/definitions/Eventhub"
        type: array
  Eventhub:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Single item in List or Get Event Hub operation
    properties:
      properties:
        description: Properties supplied to the Create Or Update Event Hub operation.
        properties:
          captureDescription:
            $ref: "#/definitions/CaptureDescription"
            description: Properties of capture description
          createdAt:
            description: Exact time the Event Hub was created.
            format: date-time
            readOnly: true
            type: string
          messageRetentionInDays:
            description: Number of days to retain the events for this Event Hub, value should be 1 to 7 days
            format: int64
            maximum: 7
            minimum: 1
            type: integer
          partitionCount:
            description: Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
            format: int64
            maximum: 32
            minimum: 1
            type: integer
          partitionIds:
            description: Current number of shards on the Event Hub.
            items:
              type: string
            readOnly: true
            type: array
          status:
            description: Enumerates the possible values for the status of the Event Hub.
            enum:
              - Active
              - Disabled
              - Restoring
              - SendDisabled
              - ReceiveDisabled
              - Creating
              - Deleting
              - Renaming
              - Unknown
            type: string
            x-ms-enum:
              modelAsString: false
              name: EntityStatus
          updatedAt:
            description: The exact time the message was updated.
            format: date-time
            readOnly: true
            type: string
        x-ms-client-flatten: true
  FilterType:
    description: Rule filter types
    enum:
      - SqlFilter
      - CorrelationFilter
    type: string
    x-ms-enum:
      modelAsString: false
      name: FilterType
  MessageCountDetails:
    description: Message Count Details.
    properties:
      activeMessageCount:
        description: Number of active messages in the queue, topic, or subscription.
        format: int64
        readOnly: true
        type: integer
      deadLetterMessageCount:
        description: Number of messages that are dead lettered.
        format: int64
        readOnly: true
        type: integer
      scheduledMessageCount:
        description: Number of scheduled messages.
        format: int64
        readOnly: true
        type: integer
      transferDeadLetterMessageCount:
        description: Number of messages transferred into dead letters.
        format: int64
        readOnly: true
        type: integer
      transferMessageCount:
        description: Number of messages transferred to another queue, topic, or subscription.
        format: int64
        readOnly: true
        type: integer
    type: object
  MigrationConfigListResult:
    description: The result of the List migrationConfigurations operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of migrationConfigurations
        readOnly: true
        type: string
      value:
        description: List of Migration Configs
        items:
          $ref: "#/definitions/MigrationConfigProperties"
        type: array
  MigrationConfigProperties:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Single item in List or Get Migration Config operation
    properties:
      properties:
        description: Properties required to the Create Migration Configuration
        properties:
          migrationState:
            description: "State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active"
            readOnly: true
            type: string
          pendingReplicationOperationsCount:
            description: Number of entities pending to be replicated.
            format: int64
            readOnly: true
            type: integer
          postMigrationName:
            description: Name to access Standard Namespace after migration
            type: string
          provisioningState:
            description: "Provisioning state of Migration Configuration "
            readOnly: true
            type: string
          targetNamespace:
            description: Existing premium Namespace ARM Id name which has no entities, will be used for migration
            type: string
        required:
          - targetNamespace
          - postMigrationName
        x-ms-client-flatten: true
  NWRuleSetIpRules:
    description: Description of NetWorkRuleSet - IpRules resource.
    properties:
      action:
        default: Allow
        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: Description of VirtualNetworkRules - NetworkRules resource.
    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 NetworkRuleSet 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
  NetworkRuleSetListResult:
    description: The response of the List NetworkRuleSet operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of NetworkRuleSet.
        type: string
      value:
        description: Result of the List NetworkRuleSet operation.
        items:
          $ref: "#/definitions/NetworkRuleSet"
        type: array
  Operation:
    description: A ServiceBus 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.ServiceBus"
            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 ServiceBus 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 ServiceBus operations supported by the Microsoft.ServiceBus resource provider.
        items:
          $ref: "#/definitions/Operation"
        readOnly: true
        type: array
  PremiumMessagingRegions:
    allOf:
      - $ref: "#/definitions/ResourceNamespacePatch"
    description: Premium Messaging Region
    properties:
      properties:
        properties:
          code:
            description: Region code
            readOnly: true
            type: string
          fullName:
            description: Full name of the region
            readOnly: true
            type: string
  PremiumMessagingRegionsListResult:
    description: The response of the List PremiumMessagingRegions operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of PremiumMessagingRegions.
        readOnly: true
        type: string
      value:
        description: Result of the List PremiumMessagingRegions type.
        items:
          $ref: "#/definitions/PremiumMessagingRegions"
        type: array
  RegenerateAccessKeyParameters:
    description: Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.
    properties:
      key:
        description: Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType
        type: string
      keyType:
        description: The access key to regenerate.
        enum:
          - PrimaryKey
          - SecondaryKey
        type: string
        x-ms-enum:
          modelAsString: false
          name: KeyType
    required:
      - keyType
  Resource:
    description: The Resource definition for other than namespace.
    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
  ResourceNamespacePatch:
    allOf:
      - $ref: "#/definitions/Resource"
    description: The Resource definition.
    properties:
      location:
        description: Resource location
        type: string
      tags:
        additionalProperties:
          type: string
        description: Resource tags
        type: object
  Rule:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Description of Rule Resource.
    properties:
      properties:
        $ref: "#/definitions/Ruleproperties"
        description: Properties of Rule resource
        x-ms-client-flatten: true
  RuleListResult:
    description: The response of the List rule operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of rules
        type: string
      value:
        description: Result of the List Rules operation.
        items:
          $ref: "#/definitions/Rule"
        type: array
  Ruleproperties:
    description: Description of Rule Resource.
    properties:
      action:
        $ref: "#/definitions/Action"
        description: Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
      correlationFilter:
        $ref: "#/definitions/CorrelationFilter"
        description: Properties of correlationFilter
      filterType:
        $ref: "#/definitions/FilterType"
        description: Filter type that is evaluated against a BrokeredMessage.
      sqlFilter:
        $ref: "#/definitions/SqlFilter"
        description: Properties of sqlFilter
  SBAuthorizationRule:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Description of a namespace authorization rule.
    properties:
      properties:
        description: AuthorizationRule properties.
        properties:
          rights:
            description: The rights associated with the rule.
            items:
              enum:
                - Manage
                - Send
                - Listen
              type: string
              x-ms-enum:
                modelAsString: false
                name: AccessRights
            type: array
        required:
          - rights
        x-ms-client-flatten: true
  SBAuthorizationRuleListResult:
    description: The response to the List Namespace operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of Authorization Rules.
        type: string
      value:
        description: Result of the List Authorization Rules operation.
        items:
          $ref: "#/definitions/SBAuthorizationRule"
        type: array
  SBNamespace:
    allOf:
      - $ref: "#/definitions/TrackedResource"
    description: Description of a namespace resource.
    properties:
      properties:
        $ref: "#/definitions/SBNamespaceProperties"
        description: Properties of the namespace.
        x-ms-client-flatten: true
      sku:
        $ref: "#/definitions/SBSku"
        description: Properties of Sku
  SBNamespaceListResult:
    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/SBNamespace"
        type: array
  SBNamespaceMigrate:
    description: Namespace Migrate Object
    properties:
      targetNamespaceType:
        description: Type of namespaces
        enum:
          - Messaging
          - NotificationHub
          - Mixed
          - EventHub
          - Relay
        type: string
        x-ms-enum:
          modelAsString: false
          name: NameSpaceType
    required:
      - targetNamespaceType
    type: object
  SBNamespaceProperties:
    description: Properties of the namespace.
    properties:
      createdAt:
        description: The time the namespace was created.
        format: date-time
        readOnly: true
        type: string
      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
  SBNamespaceUpdateParameters:
    allOf:
      - $ref: "#/definitions/ResourceNamespacePatch"
    description: Description of a namespace resource.
    properties:
      properties:
        $ref: "#/definitions/SBNamespaceProperties"
        description: Properties of the namespace.
        x-ms-client-flatten: true
      sku:
        $ref: "#/definitions/SBSku"
        description: Properties of Sku
  SBQueue:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Description of queue Resource.
    properties:
      properties:
        $ref: "#/definitions/SBQueueProperties"
        description: Queue Properties
        x-ms-client-flatten: true
  SBQueueListResult:
    description: The response to the List Queues operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of queues.
        type: string
      value:
        description: Result of the List Queues operation.
        items:
          $ref: "#/definitions/SBQueue"
        type: array
  SBQueueProperties:
    description: The Queue Properties definition.
    properties:
      accessedAt:
        description: Last time a message was sent, or the last time there was a receive request to this queue.
        format: date-time
        readOnly: true
        type: string
      autoDeleteOnIdle:
        description: ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
        format: duration
        type: string
      countDetails:
        $ref: "#/definitions/MessageCountDetails"
        description: Message Count Details.
        readOnly: true
      createdAt:
        description: The exact time the message was created.
        format: date-time
        readOnly: true
        type: string
      deadLetteringOnMessageExpiration:
        description: A value that indicates whether this queue has dead letter support when a message expires.
        type: boolean
      defaultMessageTimeToLive:
        description: ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
        format: duration
        type: string
      duplicateDetectionHistoryTimeWindow:
        description: ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
        format: duration
        type: string
      enableBatchedOperations:
        description: Value that indicates whether server-side batched operations are enabled.
        type: boolean
      enableExpress:
        description: A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
        type: boolean
      enablePartitioning:
        description: A value that indicates whether the queue is to be partitioned across multiple message brokers.
        type: boolean
      forwardDeadLetteredMessagesTo:
        description: Queue/Topic name to forward the Dead Letter message
        type: string
      forwardTo:
        description: Queue/Topic name to forward the messages
        type: string
      lockDuration:
        description: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
        format: duration
        type: string
      maxDeliveryCount:
        description: The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
        format: int32
        type: integer
      maxSizeInMegabytes:
        description: The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
        format: int32
        type: integer
      messageCount:
        description: The number of messages in the queue.
        format: int64
        readOnly: true
        type: integer
      requiresDuplicateDetection:
        description: A value indicating if this queue requires duplicate detection.
        type: boolean
      requiresSession:
        description: A value that indicates whether the queue supports the concept of sessions.
        type: boolean
      sizeInBytes:
        description: The size of the queue, in bytes.
        format: int64
        readOnly: true
        type: integer
      status:
        $ref: "#/definitions/EntityStatus"
        description: Enumerates the possible values for the status of a messaging entity.
      updatedAt:
        description: The exact time the message was updated.
        format: date-time
        readOnly: true
        type: string
  SBSku:
    description: SKU of the namespace.
    properties:
      capacity:
        description: The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4.
        format: int32
        type: integer
      name:
        description: Name of this SKU.
        enum:
          - Basic
          - Standard
          - Premium
        type: string
        x-ms-enum:
          modelAsString: false
          name: SkuName
      tier:
        description: The billing tier of this particular SKU.
        enum:
          - Basic
          - Standard
          - Premium
        type: string
        x-ms-enum:
          modelAsString: false
          name: SkuTier
    required:
      - name
    type: object
  SBSubscription:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Description of subscription resource.
    properties:
      properties:
        $ref: "#/definitions/SBSubscriptionProperties"
        description: Properties of subscriptions resource.
        x-ms-client-flatten: true
  SBSubscriptionListResult:
    description: The response to the List Subscriptions operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of subscriptions.
        type: string
      value:
        description: Result of the List Subscriptions operation.
        items:
          $ref: "#/definitions/SBSubscription"
        type: array
  SBSubscriptionProperties:
    description: Description of Subscription Resource.
    properties:
      accessedAt:
        description: Last time there was a receive request to this subscription.
        format: date-time
        readOnly: true
        type: string
      autoDeleteOnIdle:
        description: ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
        format: duration
        type: string
      countDetails:
        $ref: "#/definitions/MessageCountDetails"
        description: Message count details
        readOnly: true
      createdAt:
        description: Exact time the message was created.
        format: date-time
        readOnly: true
        type: string
      deadLetteringOnFilterEvaluationExceptions:
        description: Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
        type: boolean
      deadLetteringOnMessageExpiration:
        description: Value that indicates whether a subscription has dead letter support when a message expires.
        type: boolean
      defaultMessageTimeToLive:
        description: ISO 8061 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
        format: duration
        type: string
      duplicateDetectionHistoryTimeWindow:
        description: ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
        format: duration
        type: string
      enableBatchedOperations:
        description: Value that indicates whether server-side batched operations are enabled.
        type: boolean
      forwardDeadLetteredMessagesTo:
        description: Queue/Topic name to forward the Dead Letter message
        type: string
      forwardTo:
        description: Queue/Topic name to forward the messages
        type: string
      lockDuration:
        description: ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
        format: duration
        type: string
      maxDeliveryCount:
        description: Number of maximum deliveries.
        format: int32
        type: integer
      messageCount:
        description: Number of messages.
        format: int64
        readOnly: true
        type: integer
      requiresSession:
        description: Value indicating if a subscription supports the concept of sessions.
        type: boolean
      status:
        $ref: "#/definitions/EntityStatus"
        description: Enumerates the possible values for the status of a messaging entity.
      updatedAt:
        description: The exact time the message was updated.
        format: date-time
        readOnly: true
        type: string
  SBTopic:
    allOf:
      - $ref: "#/definitions/Resource"
    description: Description of topic resource.
    properties:
      properties:
        $ref: "#/definitions/SBTopicProperties"
        description: Properties of topic resource.
        x-ms-client-flatten: true
  SBTopicListResult:
    description: The response to the List Topics operation.
    properties:
      nextLink:
        description: Link to the next set of results. Not empty if Value contains incomplete list of topics.
        type: string
      value:
        description: Result of the List Topics operation.
        items:
          $ref: "#/definitions/SBTopic"
        type: array
  SBTopicProperties:
    description: The Topic Properties definition.
    properties:
      accessedAt:
        description: Last time the message was sent, or a request was received, for this topic.
        format: date-time
        readOnly: true
        type: string
      autoDeleteOnIdle:
        description: ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
        format: duration
        type: string
      countDetails:
        $ref: "#/definitions/MessageCountDetails"
        description: Message count details
        readOnly: true
      createdAt:
        description: Exact time the message was created.
        format: date-time
        readOnly: true
        type: string
      defaultMessageTimeToLive:
        description: ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
        format: duration
        type: string
      duplicateDetectionHistoryTimeWindow:
        description: ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
        format: duration
        type: string
      enableBatchedOperations:
        description: Value that indicates whether server-side batched operations are enabled.
        type: boolean
      enableExpress:
        description: Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
        type: boolean
      enablePartitioning:
        description: Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
        type: boolean
      maxSizeInMegabytes:
        description: Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
        format: int32
        type: integer
      requiresDuplicateDetection:
        description: Value indicating if this topic requires duplicate detection.
        type: boolean
      sizeInBytes:
        description: Size of the topic, in bytes.
        format: int64
        readOnly: true
        type: integer
      status:
        $ref: "#/definitions/EntityStatus"
        description: Enumerates the possible values for the status of a messaging entity.
      subscriptionCount:
        description: Number of subscriptions.
        format: int32
        readOnly: true
        type: integer
      supportOrdering:
        description: Value that indicates whether the topic supports ordering.
        type: boolean
      updatedAt:
        description: The exact time the message was updated.
        format: date-time
        readOnly: true
        type: string
  SqlFilter:
    description: Represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline.
    properties:
      compatibilityLevel:
        default: 20
        description: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
        format: int32
        maximum: 20
        minimum: 20
        type: integer
      requiresPreprocessing:
        default: true
        description: Value that indicates whether the rule action requires preprocessing.
        type: boolean
      sqlExpression:
        description: The SQL expression. e.g. MyProperty='ABC'
        type: string
    type: object
  SqlRuleAction:
    allOf:
      - $ref: "#/definitions/Action"
    description: "Represents set of actions written in SQL language-based syntax that is performed against a ServiceBus.Messaging.BrokeredMessage "
    properties:
      compatibilityLevel:
        description: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
        format: int32
        type: integer
      requiresPreprocessing:
        default: true
        description: Value that indicates whether the rule action requires preprocessing.
        type: boolean
      sqlExpression:
        description: SQL expression. e.g. MyProperty='ABC'
        type: string
    type: object
  Subnet:
    description: Properties supplied for Subnet
    properties:
      id:
        description: Resource ID of Virtual Network Subnet
        type: string
    required:
      - id
  TrackedResource:
    allOf:
      - $ref: "#/definitions/Resource"
    description: The Resource definition.
    properties:
      location:
        description: The Geo-location where the resource lives
        type: string
        x-ms-mutability:
          - read
          - create
      tags:
        additionalProperties:
          type: string
        description: Resource tags
        type: object
        x-ms-mutability:
          - read
          - create
          - update
    required:
      - location
  UnavailableReason:
    description: Specifies the reason for the unavailability of the service.
    enum:
      - None
      - InvalidName
      - SubscriptionIsDisabled
      - NameInUse
      - NameInLockdown
      - TooManyNamespaceInCurrentSubscription
    type: string
    x-ms-enum:
      modelAsString: false
      name: UnavailableReason
