Skip to content

Commit

Permalink
ServiceBus property changes reverted (Azure#1057)
Browse files Browse the repository at this point in the history
* 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
Ajit Navasare authored and jhendrixMSFT committed Mar 27, 2017
1 parent bd58a94 commit dfd0ac4
Show file tree
Hide file tree
Showing 45 changed files with 1,981 additions and 81 deletions.
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" ] }
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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" ] }
}
}
}
}
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": {}
}
}
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" ] }
}
}
}
}
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": ""
}
}
}
}
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": ""
}
}
}
}
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" : {}
}
}
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 arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceGet.json
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 arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceList.json
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"
}
}
]
}
}
}
}
Loading

0 comments on commit dfd0ac4

Please sign in to comment.