UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 205 kB
{"openapi":"3.0.0","info":{"description":"Azure Service Bus client","title":"ServiceBusManagementClient","version":"2017-04-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"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"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.ServiceBus/operations":{"get":{"description":"Lists all of the available ServiceBus REST API operations.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"},"examples":{"OperationsList":{"$ref":"#/components/examples/OperationsList"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability":{"post":{"description":"Check the give namespace name availability.","operationId":"Namespaces_CheckNameAvailability","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"$ref":"#/components/requestBodies/CheckNameAvailability"},"responses":{"200":{"description":"check availability returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameAvailabilityResult"},"examples":{"NameSpaceCheckNameAvailability":{"$ref":"#/components/examples/NameSpaceCheckNameAvailability"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]}},"/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":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Namespaces successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespaceListResult"},"examples":{"NameSpaceList":{"$ref":"#/components/examples/NameSpaceList"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Premium messaging regions successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremiumMessagingRegionsListResult"},"examples":{"PremiumMessagingRegionsList":{"$ref":"#/components/examples/PremiumMessagingRegionsList"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/SkuNameParameter"}],"responses":{"200":{"description":"Regions successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremiumMessagingRegionsListResult"},"examples":{"RegionsListBySku":{"$ref":"#/components/examples/RegionsListBySku"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Namespaces successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespaceListResult"},"examples":{"NameSpaceListByResourceGroup":{"$ref":"#/components/examples/NameSpaceListByResourceGroup"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Namespace successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespace"},"examples":{"NameSpaceGet":{"$ref":"#/components/examples/NameSpaceGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespaceUpdateParameters"}}},"description":"Parameters supplied to update a namespace resource.","required":true},"responses":{"200":{"description":"Namespace updated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespace"},"examples":{"NameSpaceUpdate":{"$ref":"#/components/examples/NameSpaceUpdate"}}}}},"201":{"description":"Namespace update request accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespace"},"examples":{"NameSpaceUpdate":{"$ref":"#/components/examples/NameSpaceUpdate"}}}}},"202":{"description":"Namespace update request accepted."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]},"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":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The namespace name.","in":"path","name":"namespaceName","required":true,"schema":{"type":"string"},"examples":{"NameSpaceCreate":{"value":"sdk-Namespace2924"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespace"}}},"description":"Parameters supplied to create a namespace resource.","required":true},"responses":{"200":{"description":"Namespace created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespace"},"examples":{"NameSpaceCreate":{"$ref":"#/components/examples/NameSpaceCreate"}}}}},"201":{"description":"Namespace create request accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespace"},"examples":{"NameSpaceCreate":{"$ref":"#/components/examples/NameSpaceCreate"}}}}},"202":{"description":"Namespace create or update request accepted."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Namespace authorization rules returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRuleListResult"},"examples":{"NameSpaceAuthorizationRuleListAll":{"$ref":"#/components/examples/NameSpaceAuthorizationRuleListAll"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Namespace authorization rule successfully deleted."},"204":{"description":"No content."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]},"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Namespace authorization rule returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRule"},"examples":{"NameSpaceAuthorizationRuleGet":{"$ref":"#/components/examples/NameSpaceAuthorizationRuleGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]},"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"$ref":"#/components/requestBodies/SBAuthorizationRule"},"responses":{"200":{"description":"Namespace authorization rule created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRule"},"examples":{"NameSpaceAuthorizationRuleCreate":{"$ref":"#/components/examples/NameSpaceAuthorizationRuleCreate"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Connection strings successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessKeys"},"examples":{"NameSpaceAuthorizationRuleListKey":{"$ref":"#/components/examples/NameSpaceAuthorizationRuleListKey"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"$ref":"#/components/requestBodies/RegenerateAccessKeyParameters"},"responses":{"200":{"description":"Authorization rule successfully regenerated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessKeys"},"examples":{"NameSpaceAuthorizationRuleRegenerateKey":{"$ref":"#/components/examples/NameSpaceAuthorizationRuleRegenerateKey"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs":{"get":{"description":"Gets all Alias(Disaster Recovery configurations)","operationId":"DisasterRecoveryConfigs_List","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of Alias(Disaster Recovery configurations) for servicebus namespace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArmDisasterRecoveryListResult"},"examples":{"SBAliasList":{"$ref":"#/components/examples/SBAliasList"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"$ref":"#/components/requestBodies/CheckNameAvailability"},"responses":{"200":{"description":"check availability returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameAvailabilityResult"},"examples":{"AliasNameAvailability":{"$ref":"#/components/examples/AliasNameAvailability"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}":{"delete":{"description":"Deletes an Alias(Disaster Recovery configuration)","operationId":"DisasterRecoveryConfigs_Delete","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Delete Alias(Disaster Recovery configuration) request accepted"},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]},"get":{"description":"Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace","operationId":"DisasterRecoveryConfigs_Get","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Successfully retrieved the Alias(Disaster Recovery configurations)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArmDisasterRecovery"},"examples":{"SBAliasGet":{"$ref":"#/components/examples/SBAliasGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]},"put":{"description":"Creates or updates a new Alias(Disaster Recovery configuration)","operationId":"DisasterRecoveryConfigs_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArmDisasterRecovery"}}},"description":"Parameters required to create an Alias(Disaster Recovery configuration)","required":true},"responses":{"200":{"description":"Alias(Disaster Recovery configuration) successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArmDisasterRecovery"},"examples":{"SBAliasCreate":{"$ref":"#/components/examples/SBAliasCreate"}}}}},"201":{"description":"Alias(Disaster Recovery configuration) creation request received"},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"DisasterRecoveryConfigs authorization rules returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRuleListResult"},"examples":{"NameSpaceAuthorizationRuleListAll":{"$ref":"#/components/examples/NameSpaceAuthorizationRuleListAll"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"DisasterRecoveryConfigs authorization rule returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRule"},"examples":{"DisasterRecoveryConfigsAuthorizationRuleGet":{"$ref":"#/components/examples/DisasterRecoveryConfigsAuthorizationRuleGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Connection strings successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessKeys"},"examples":{"DisasterRecoveryConfigsAuthorizationRuleListKey":{"$ref":"#/components/examples/DisasterRecoveryConfigsAuthorizationRuleListKey"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Break-Pairing operation is successful."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/AliasNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Failover operation is successful."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["DisasterRecoveryConfigs"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of Event Hubs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventHubListResult"},"examples":{"RulesCreateOrUpdate":{"$ref":"#/components/examples/RulesCreateOrUpdate"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBNamespaceMigrate"}}},"description":"Parameters supplied to migrate namespace type.","required":true},"responses":{"200":{"description":"Migrate Namespace type is successful."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations":{"get":{"description":"Gets all migrationConfigurations","operationId":"MigrationConfigs_List","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of migrationConfigurations for servicebus namespace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationConfigListResult"},"examples":{"MigrationConfigurationsList":{"$ref":"#/components/examples/MigrationConfigurationsList"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["MigrationConfigs"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ConfigNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Delete Migration Config request accepted"},"204":{"description":"Not Found"},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["MigrationConfigs"]},"get":{"description":"Retrieves Migration Config","operationId":"MigrationConfigs_Get","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ConfigNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Successfully retrieved Migration Config)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationConfigProperties"},"examples":{"MigrationConfigurationsGet":{"$ref":"#/components/examples/MigrationConfigurationsGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["MigrationConfigs"]},"put":{"description":"Creates Migration configuration and starts migration of entities from Standard to Premium namespace","operationId":"MigrationConfigs_CreateAndStartMigration","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ConfigNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationConfigProperties"}}},"description":"Parameters required to create Migration Configuration","required":true},"responses":{"200":{"description":"Migration Config successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationConfigProperties"},"examples":{"MigrationConfigurationsStartMigration":{"$ref":"#/components/examples/MigrationConfigurationsStartMigration"}}}}},"201":{"description":"Migration Config creation request received"},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["MigrationConfigs"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ConfigNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"MigrationConfig Revert operation is successful."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["MigrationConfigs"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ConfigNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"upgrade operation of Migration Config is successful."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["MigrationConfigs"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/networkRuleSets":{"get":{"description":"Gets list of NetworkRuleSet for a Namespace.","operationId":"Namespaces_ListNetworkRuleSets","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"List of NetworkRuleSets for Namespace successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleSetListResult"},"examples":{"NameSpaceNetworkRuleSetList":{"$ref":"#/components/examples/NameSpaceNetworkRuleSetList"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Namespace NetworkRuleSet successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleSet"},"examples":{"NameSpaceNetworkRuleSetGet":{"$ref":"#/components/examples/NameSpaceNetworkRuleSetGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]},"put":{"description":"Create or update NetworkRuleSet for a Namespace.","operationId":"Namespaces_CreateOrUpdateNetworkRuleSet","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleSet"}}},"description":"The Namespace IpFilterRule.","required":true},"responses":{"200":{"description":"Namespace NetworkRuleSet successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleSet"},"examples":{"NameSpaceNetworkRuleSetCreate":{"$ref":"#/components/examples/NameSpaceNetworkRuleSetCreate"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Namespaces"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/SkipParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"Queues successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBQueueListResult"},"examples":{"QueueListByNameSpace":{"$ref":"#/components/examples/QueueListByNameSpace"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Queue successfully deleted."},"204":{"description":"No content."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Queues"]},"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Queue description successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBQueue"},"examples":{"QueueGet":{"$ref":"#/components/examples/QueueGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBQueue"}}},"description":"Parameters supplied to create or update a queue resource.","required":true},"responses":{"200":{"description":"Queue successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBQueue"},"examples":{"QueueCreate":{"$ref":"#/components/examples/QueueCreate"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Authorization rules successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRuleListResult"},"examples":{"QueueAuthorizationRuleListAll":{"$ref":"#/components/examples/QueueAuthorizationRuleListAll"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Queues"],"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Authorization rule successfully deleted."},"204":{"description":"No content."},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Queues"]},"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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Authorization rule successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRule"},"examples":{"QueueAuthorizationRuleGet":{"$ref":"#/components/examples/QueueAuthorizationRuleGet"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Queues"]},"put":{"description":"Creates an authorization rule for a queue.","operationId":"Queues_CreateOrUpdateAuthorizationRule","parameters":[{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"$ref":"#/components/requestBodies/SBAuthorizationRule"},"responses":{"200":{"description":"Authorization rule successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SBAuthorizationRule"},"examples":{"QueueAuthorizationRuleCreate":{"$ref":"#/components/examples/QueueAuthorizationRuleCreate"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Queues"]}},"/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":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/NamespaceNameParameter"},{"$ref":"#/components/parameters/QueueNameParameter"},{"$ref":"#/components/parameters/AuthorizationRuleNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Connection strings successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessKeys"},"examples":{"QueueAuthorizationRuleListKey":{"$ref":"#/components/examples/QueueAuthorizationRuleListKey"}}}}},"default":{"description":"ServiceBus error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Queues"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/regenerateKeys":{"post":{"description":"Regenerates the primar