forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ServiceBus property changes reverted (Azure#1057)
* Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into SBReviewChecklist # Conflicts: # arm-servicebus/2015-08-01/swagger/servicebus.json * Operations Examples added * Spel corrected * update Queue,topic and subscriptions examples * Examples updated * Renamed conflicting entities * Reverted properties changes and update examples * updated Examples * Corrected syntax error * Fixed syntax errors * Property and model rename changes reverted and added examples and Namespace patch operation * corrected delete examples * Removed extra comma * Fix for Validation error of examples * Fix for Validation errors of examples * example validation fixes * Queue example
- Loading branch information
1 parent
bd58a94
commit dfd0ac4
Showing
45 changed files
with
1,981 additions
and
81 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace8341", | ||
"authorizationRuleName": "sdk-Authrules9875", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2016-07-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", | ||
"parameters": { | ||
"location": "West US", | ||
"properties": { | ||
"rights": [ | ||
"Listen", | ||
"Send" | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", | ||
"name": "sdk-Authrules9875", | ||
"type": "Microsoft.ServiceBus/AuthorizationRules", | ||
"properties": { "rights": [ "Listen", "Send" ] } | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace8341", | ||
"authorizationRuleName": "sdk-RelayAuthRules-01", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"primaryConnectionString": "Endpoint=sb://sdk-namespace8341.servicebus.windows.net/;SharedAccessKeyName=sdk-Authrules9875;SharedAccessKey=############################################", | ||
"secondaryConnectionString": "Endpoint=sb://sdk-namespace8341.servicebus.windows.net/;SharedAccessKeyName=sdk-Authrules9875;SharedAccessKey=############################################", | ||
"primaryKey": "############################################", | ||
"secondaryKey": "############################################", | ||
"keyName": "sdk-Authrules9875" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace8341", | ||
"authorizationRuleName": "sdk-RelayAuthRules-01", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", | ||
"parameters": { | ||
"Policykey": "PrimaryKey" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"primaryConnectionString": "Endpoint=sb://sdk-namespace8341.servicebus.windows.net/;SharedAccessKeyName=sdk-Authrules9875;SharedAccessKey=############################################", | ||
"secondaryConnectionString": "Endpoint=sb://sdk-namespace8341.servicebus.windows.net/;SharedAccessKeyName=sdk-Authrules9875;SharedAccessKey=############################################", | ||
"primaryKey": "############################################", | ||
"secondaryKey": "############################################", | ||
"keyName": "sdk-Authrules9875" | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace8341", | ||
"authorizationRuleName": "sdk-Authrules9875", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", | ||
"parameters": { | ||
"location": "West US", | ||
"properties": { | ||
"rights": [ | ||
"Listen" | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", | ||
"name": "sdk-Authrules9875", | ||
"type": "Microsoft.ServiceBus/AuthorizationRules", | ||
"properties": { "rights": [ "Listen" ] } | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace8341", | ||
"authorizationRuleName": "sdk-RelayAuthRules-01", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace8341", | ||
"authorizationRuleName": "sdk-Authrules9875", | ||
"resourceGroupName": "sdk-Namespace8341", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", | ||
"name": "sdk-Authrules9875", | ||
"type": "Microsoft.ServiceBus/AuthorizationRules", | ||
"properties": { "rights": [ "Listen", "Send" ] } | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace8341", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/RootManageSharedAccessKey", | ||
"name": "RootManageSharedAccessKey", | ||
"type": "Microsoft.ServiceBus/AuthorizationRules", | ||
"properties": { "rights": [ "Listen", "Manage", "Send" ] } | ||
}, | ||
{ | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", | ||
"name": "sdk-Authrules9875", | ||
"type": "Microsoft.ServiceBus/AuthorizationRules", | ||
"properties": { "rights": [ "Listen", "Send" ] } | ||
} | ||
], | ||
"nextLink": "" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", | ||
"parameters": { | ||
"name": "sdk-Namespace1321" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"reason": "None", | ||
"message": "" | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace7816", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", | ||
"parameters": { | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard" | ||
}, | ||
"location": "West US", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace7816", | ||
"name": "sdk-Namespace7816", | ||
"type": "Microsoft.ServiceBus/namespaces", | ||
"location": "West US", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard" | ||
}, | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"provisioningState": "Unknown" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace7816", | ||
"name": "sdk-Namespace7816", | ||
"type": "Microsoft.ServiceBus/namespaces", | ||
"location": "West US", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard" | ||
}, | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"provisioningState": "Unknown" | ||
} | ||
} | ||
}, | ||
"202" : {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace1471", | ||
"resourceGroupName": "Default-ServiceBus-WestUS", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "sdk-Namespace1471", | ||
"resourceGroupName": "RG-eg", | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace1471", | ||
"name": "sdk-Namespace1471", | ||
"type": "Microsoft.ServiceBus/namespaces", | ||
"location": "West US", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
}, | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"createdAt": "2017-03-12T07:39:13.31Z", | ||
"serviceBusEndpoint": "https://sdk-Namespace1471.servicebus.windows.net:443/", | ||
"updatedAt": "2017-03-12T07:39:35.443Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2015-08-01", | ||
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5018", | ||
"name": "sdk-Namespace-5018", | ||
"type": "Microsoft.ServiceBus/namespaces", | ||
"location": "Australia East", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
}, | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"createdAt": "2017-02-15T19:09:40.8Z", | ||
"serviceBusEndpoint": "https://sdk-Namespace-5018.servicebus.windows.net:443/", | ||
"updatedAt": "2017-02-15T19:10:05.193Z" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-3458", | ||
"name": "sdk-Namespace-3458", | ||
"type": "Microsoft.ServiceBus/namespaces", | ||
"location": "West US", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
}, | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"provisioningState": "Succeeded", | ||
"createdAt": "2017-02-01T00:07:07.54Z", | ||
"serviceBusEndpoint": "https://sdk-Namespace-3458.servicebus.windows.net:443/", | ||
"updatedAt": "2017-02-01T00:07:31.14Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.