Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mirror] ServiceBus: Added Namespace Operations API - only Get #1162

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"operationResultId": "sdk-Namespace-3285",
"locationName": "ArunMonocle",
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3257,6 +3257,54 @@
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/locations/{locationName}/namespaceOperations/{operationResultId}": {
"get": {
"tags": [
"NamespaceOperations"
],
"operationId": "NamespaceOperations_get",
"x-ms-examples": {
"NamespaceOperationsGet": {
"$ref": "./examples/NameSpaces/SBNameSpaceOperationsIDGet.json"
}
},
"description": "Get the status of long-running Namespace operation",
"externalDocs": {
"url": "https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx"
},
"parameters": [
{
"$ref": "#/parameters/LocationNameParameter"
},
{
"$ref": "#/parameters/OperationResultIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Namespace long running operation successfully completed"
},
"202": {
"description": "Namespace long running operation successfully accepted."
},
"204": {
"description": "No content"
},
"default": {
"description": "ServiceBus error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -4805,6 +4853,22 @@
"x-ms-parameter-location": "method",
"description": "Name of the Resource group within the Azure subscription."
},
"LocationNameParameter": {
"name": "locationName",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "Name of the Location within the Azure."
},
"OperationResultIdParameter": {
"name": "operationResultId",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "Name of the Namespace."
},
"NamespaceNameParameter": {
"name": "namespaceName",
"in": "path",
Expand Down