From ec151859fb758c92a2df5a5812fb03f9fec2fbc9 Mon Sep 17 00:00:00 2001 From: "Ajit Maruti Navasare (MINDTREE LIMITED)" Date: Thu, 4 Jan 2018 16:06:11 -0800 Subject: [PATCH 1/6] added a missing property --- .../Subscriptions/SBSubscriptionCreate.json | 34 +++++++++++++------ .../Subscriptions/SBSubscriptionGet.json | 34 +++++++++++++------ .../SBSubscriptionListByTopic.json | 32 +++++++++++------ .../Subscriptions/SBSubscriptionUpdate.json | 32 +++++++++++------ .../stable/2017-04-01/servicebus.json | 22 +++++++----- 5 files changed, 103 insertions(+), 51 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json index c50d7fddc1bd..9d14b16b4f24 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json @@ -1,11 +1,11 @@ { "parameters": { - "namespaceName": "sdk-Namespace-5882", - "resourceGroupName": "ArunMonocle", - "topicName": "sdk-Topics-1804", - "subscriptionName": "sdk-Subscriptions-3670", + "namespaceName": "sdk-Namespace-1349", + "resourceGroupName": "{ResourceGroup}", + "topicName": "sdk-Topics-8740", + "subscriptionName": "sdk-Subscriptions-2178", "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "subscriptionId": "{Subscriptionid}", "parameters": { "properties": { "enableBatchedOperations": true @@ -15,21 +15,33 @@ "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5882/topics/sdk-Topics-1804/subscriptions/sdk-Subscriptions-3670", - "name": "sdk-Subscriptions-3670", + "id": "/subscriptions/{Subscriptionid}/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", + "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, "defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S", + "deadLetteringOnMessageExpiration": true, + "deadLetteringOnFilterEvaluationExceptions": true, "messageCount": 0, "maxDeliveryCount": 10, "status": "Active", "enableBatchedOperations": true, - "createdAt": "2017-05-26T21:36:54.9933256Z", - "updatedAt": "2017-05-26T21:36:54.9933256Z", - "accessedAt": "2017-05-26T21:36:54.9933256Z", - "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S" + "createdAt": "2018-01-04T18:02:20.5992764Z", + "updatedAt": "2018-01-04T18:02:20.5992764Z", + "accessedAt": "0001-01-01T00:00:00", + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferMessageCount": 0, + "transferDeadLetterMessageCount": 0 + }, + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "forwardTo": "sdk-Topics-3065", + "forwardDeadLetteredMessagesTo": "sdk-Topics-3065" } } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json index 44e4f39119e3..0278ea3ed9b2 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json @@ -1,30 +1,42 @@ { "parameters": { - "namespaceName": "sdk-Namespace-5882", - "resourceGroupName": "ArunMonocle", - "topicName": "sdk-Topics-1804", - "subscriptionName": "sdk-Subscriptions-3670", + "namespaceName": "sdk-Namespace-1349", + "resourceGroupName": "{ResourceGroup}", + "topicName": "sdk-Topics-8740", + "subscriptionName": "sdk-Subscriptions-2178", "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + "subscriptionId": "{Subscriptionid}" }, "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5882/topics/sdk-Topics-1804/subscriptions/sdk-Subscriptions-3670", - "name": "sdk-Subscriptions-3670", + "id": "/subscriptions/{Subscriptionid}/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", + "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, "defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S", + "deadLetteringOnMessageExpiration": true, + "deadLetteringOnFilterEvaluationExceptions": true, "messageCount": 0, "maxDeliveryCount": 10, "status": "Active", "enableBatchedOperations": true, - "createdAt": "2017-05-26T21:36:54.9933256Z", - "updatedAt": "2017-05-26T21:36:54.9933256Z", - "accessedAt": "2017-05-26T21:36:54.9933256Z", - "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S" + "createdAt": "2018-01-04T18:02:20.5992764Z", + "updatedAt": "2018-01-04T18:02:20.5992764Z", + "accessedAt": "0001-01-01T00:00:00", + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferMessageCount": 0, + "transferDeadLetterMessageCount": 0 + }, + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "forwardTo": "sdk-Topics-3065", + "forwardDeadLetteredMessagesTo": "sdk-Topics-3065" } } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json index 9ee8efb7d681..3276666bf084 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json @@ -1,31 +1,43 @@ { "parameters": { - "namespaceName": "sdk-Namespace-5882", - "resourceGroupName": "ArunMonocle", - "topicName": "sdk-Topics-1804", + "namespaceName": "sdk-Namespace-1349", + "resourceGroupName": "{ResourceGroup}", + "topicName": "sdk-Topics-8740", "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + "subscriptionId": "5{Subscriptionid}" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5882/topics/sdk-Topics-1804/subscriptions/sdk-Subscriptions-3670", - "name": "sdk-Subscriptions-3670", + "id": "/subscriptions/{Subscriptionid}/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", + "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, "defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S", + "deadLetteringOnMessageExpiration": true, + "deadLetteringOnFilterEvaluationExceptions": true, "messageCount": 0, "maxDeliveryCount": 10, "status": "Active", "enableBatchedOperations": true, - "createdAt": "2017-05-26T21:36:54.8364609Z", - "updatedAt": "2017-05-26T21:36:57.2205967Z", - "accessedAt": "2017-05-26T21:36:57.2205967Z", - "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S" + "createdAt": "2018-01-04T18:02:20.5992764Z", + "updatedAt": "2018-01-04T18:02:20.5992764Z", + "accessedAt": "0001-01-01T00:00:00", + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferMessageCount": 0, + "transferDeadLetterMessageCount": 0 + }, + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "forwardTo": "sdk-Topics-3065", + "forwardDeadLetteredMessagesTo": "sdk-Topics-3065" } } ] diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json index 1847928faad4..4311c90080c5 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json @@ -1,11 +1,11 @@ { "parameters": { - "namespaceName": "sdk-Namespace-5882", - "resourceGroupName": "ArunMonocle", - "topicName": "sdk-Topics-1804", - "subscriptionName": "sdk-Subscriptions-3670", + "namespaceName": "sdk-Namespace-1349", + "resourceGroupName": "{ResourceGroup}", + "topicName": "sdk-Topics-8740", + "subscriptionName": "sdk-Subscriptions-2178", "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "subscriptionId": "{Subscriptionid}", "properties": { "properties": { "deadLetteringOnMessageExpiration": true, @@ -16,21 +16,33 @@ "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5882/topics/sdk-Topics-1804/subscriptions/sdk-Subscriptions-3670", - "name": "sdk-Subscriptions-3670", + "id": "/subscriptions/Subscriptionid/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", + "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, "defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S", + "deadLetteringOnMessageExpiration": true, + "deadLetteringOnFilterEvaluationExceptions": true, "messageCount": 0, "maxDeliveryCount": 10, "status": "Active", "enableBatchedOperations": true, - "createdAt": "2017-05-26T21:46:30.3743939Z", - "updatedAt": "2017-05-26T21:46:30.3743939Z", + "createdAt": "2018-01-04T18:02:20.5992764Z", + "updatedAt": "2018-01-04T18:02:20.5992764Z", "accessedAt": "0001-01-01T00:00:00", - "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S" + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferMessageCount": 0, + "transferDeadLetterMessageCount": 0 + }, + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "forwardTo": "sdk-Topics-3065", + "forwardDeadLetteredMessagesTo": "sdk-Topics-3065" } } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json index 3cecd5837962..e5678b23cef9 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json @@ -692,7 +692,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability": { "post": { "tags": [ "DisasterRecoveryConfigs" @@ -709,7 +709,7 @@ { "$ref": "#/parameters/namespaceNameParameter" }, - { + { "$ref": "#/parameters/ApiVersionParameter" }, { @@ -998,7 +998,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules": { "get": { "tags": [ "DisasterRecoveryConfigs" @@ -1047,7 +1047,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}": { "get": { "tags": [ "DisasterRecoveryConfigs" @@ -3125,11 +3125,11 @@ "type": "boolean", "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." }, - "forwardTo": { + "forwardTo": { "type": "string", "description": "Queue/Topic name to forward the messages" }, - "forwardDeadLetteredMessagesTo": { + "forwardDeadLetteredMessagesTo": { "type": "string", "description": "Queue/Topic name to forward the Dead Letter message" } @@ -3363,6 +3363,10 @@ "type": "string", "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." }, + "deadLetteringOnFilterEvaluationExceptions": { + "type": "boolean", + "description": "Value that indicates whether a subscription has dead letter support on filter evaluation exceptions." + }, "deadLetteringOnMessageExpiration": { "type": "boolean", "description": "Value that indicates whether a subscription has dead letter support when a message expires." @@ -3390,11 +3394,11 @@ "type": "string", "description": "ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes." }, - "forwardTo": { + "forwardTo": { "type": "string", "description": "Queue/Topic name to forward the messages" }, - "forwardDeadLetteredMessagesTo": { + "forwardDeadLetteredMessagesTo": { "type": "string", "description": "Queue/Topic name to forward the Dead Letter message" } @@ -3924,7 +3928,7 @@ "type": "string", "description": "ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairning" }, - "alternateName": { + "alternateName": { "type": "string", "description": "Primary/Secondary eventhub namespace name, which is part of GEO DR pairning" }, From 46868a57f6164d48b43c0839be8848b21e1ed813 Mon Sep 17 00:00:00 2001 From: "Ajit Maruti Navasare (MINDTREE LIMITED)" Date: Thu, 4 Jan 2018 16:42:12 -0800 Subject: [PATCH 2/6] updated examples --- .../examples/Subscriptions/SBSubscriptionCreate.json | 9 ++++----- .../examples/Subscriptions/SBSubscriptionDelete.json | 4 ++-- .../examples/Subscriptions/SBSubscriptionGet.json | 9 ++++----- .../Subscriptions/SBSubscriptionListByTopic.json | 7 +++---- .../examples/Subscriptions/SBSubscriptionUpdate.json | 7 +++---- 5 files changed, 16 insertions(+), 20 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json index 9d14b16b4f24..0ee1c0e83507 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json @@ -1,11 +1,11 @@ { "parameters": { "namespaceName": "sdk-Namespace-1349", - "resourceGroupName": "{ResourceGroup}", + "resourceGroupName": "ResourceGroup", "topicName": "sdk-Topics-8740", "subscriptionName": "sdk-Subscriptions-2178", "api-version": "2017-04-01", - "subscriptionId": "{Subscriptionid}", + "subscriptionId": "Subscriptionid", "parameters": { "properties": { "enableBatchedOperations": true @@ -15,10 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/{Subscriptionid}/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "id": "/subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", - "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, @@ -31,7 +30,7 @@ "enableBatchedOperations": true, "createdAt": "2018-01-04T18:02:20.5992764Z", "updatedAt": "2018-01-04T18:02:20.5992764Z", - "accessedAt": "0001-01-01T00:00:00", + "accessedAt": "2018-01-04T18:02:20.5992764Z", "countDetails": { "activeMessageCount": 0, "deadLetterMessageCount": 0, diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json index 004d9f3ec236..12040375051e 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json @@ -1,11 +1,11 @@ { "parameters": { "namespaceName": "sdk-Namespace-5882", - "resourceGroupName": "ArunMonocle", + "resourceGroupName": "ResourceGroup", "topicName": "sdk-Topics-1804", "subscriptionName": "sdk-Subscriptions-3670", "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + "subscriptionId": "subscriptionId" }, "responses": { "200": {}, diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json index 0278ea3ed9b2..41fd1b1d0cf5 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json @@ -1,19 +1,18 @@ { "parameters": { "namespaceName": "sdk-Namespace-1349", - "resourceGroupName": "{ResourceGroup}", + "resourceGroupName": "ResourceGroup", "topicName": "sdk-Topics-8740", "subscriptionName": "sdk-Subscriptions-2178", "api-version": "2017-04-01", - "subscriptionId": "{Subscriptionid}" + "subscriptionId": "Subscriptionid" }, "responses": { "200": { "body": { - "id": "/subscriptions/{Subscriptionid}/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "id": "/subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", - "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, @@ -26,7 +25,7 @@ "enableBatchedOperations": true, "createdAt": "2018-01-04T18:02:20.5992764Z", "updatedAt": "2018-01-04T18:02:20.5992764Z", - "accessedAt": "0001-01-01T00:00:00", + "accessedAt": "2018-01-04T18:02:20.5992764Z", "countDetails": { "activeMessageCount": 0, "deadLetterMessageCount": 0, diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json index 3276666bf084..34a2631e56c1 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json @@ -1,7 +1,7 @@ { "parameters": { "namespaceName": "sdk-Namespace-1349", - "resourceGroupName": "{ResourceGroup}", + "resourceGroupName": "ResourceGroup", "topicName": "sdk-Topics-8740", "api-version": "2017-04-01", "subscriptionId": "5{Subscriptionid}" @@ -11,10 +11,9 @@ "body": { "value": [ { - "id": "/subscriptions/{Subscriptionid}/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "id": "/subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", - "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, @@ -27,7 +26,7 @@ "enableBatchedOperations": true, "createdAt": "2018-01-04T18:02:20.5992764Z", "updatedAt": "2018-01-04T18:02:20.5992764Z", - "accessedAt": "0001-01-01T00:00:00", + "accessedAt": "2018-01-04T18:02:20.5992764Z", "countDetails": { "activeMessageCount": 0, "deadLetterMessageCount": 0, diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json index 4311c90080c5..0348822a4e3d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json @@ -5,7 +5,7 @@ "topicName": "sdk-Topics-8740", "subscriptionName": "sdk-Subscriptions-2178", "api-version": "2017-04-01", - "subscriptionId": "{Subscriptionid}", + "subscriptionId": "Subscriptionid", "properties": { "properties": { "deadLetteringOnMessageExpiration": true, @@ -16,10 +16,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/Subscriptionid/resourceGroups/{ResourceGroup}/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "id": "/subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", - "location": "Australia East", "properties": { "lockDuration": "PT1M", "requiresSession": false, @@ -32,7 +31,7 @@ "enableBatchedOperations": true, "createdAt": "2018-01-04T18:02:20.5992764Z", "updatedAt": "2018-01-04T18:02:20.5992764Z", - "accessedAt": "0001-01-01T00:00:00", + "accessedAt": "2018-01-04T18:02:20.5992764Z", "countDetails": { "activeMessageCount": 0, "deadLetterMessageCount": 0, From 0ebc8e8484dd0415a5f9f884aef573d7aaf38b17 Mon Sep 17 00:00:00 2001 From: "Ajit Maruti Navasare (MINDTREE LIMITED)" Date: Wed, 10 Jan 2018 15:56:20 -0800 Subject: [PATCH 3/6] removed AvroDeflate from CaptureDescription - encoding --- .../Microsoft.ServiceBus/stable/2017-04-01/servicebus.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json index e5678b23cef9..f14c6e14e1c0 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json @@ -3849,8 +3849,7 @@ "type": "string", "description": "Enumerates the possible values for the encoding format of capture description.", "enum": [ - "Avro", - "AvroDeflate" + "Avro" ], "x-ms-enum": { "name": "EncodingCaptureDescription", From f79ad77c653c5b8368c5ec9a549f2b940db5a0aa Mon Sep 17 00:00:00 2001 From: "Ajit Maruti Navasare (MINDTREE LIMITED)" Date: Mon, 15 Jan 2018 23:21:19 -0800 Subject: [PATCH 4/6] fixed syntax error in example --- .../examples/Subscriptions/SBSubscriptionUpdate.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json index 0348822a4e3d..1d6bd2b20e7c 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "namespaceName": "sdk-Namespace-1349", - "resourceGroupName": "{ResourceGroup}", + "resourceGroupName": "egResourceGroup", "topicName": "sdk-Topics-8740", "subscriptionName": "sdk-Subscriptions-2178", "api-version": "2017-04-01", @@ -16,7 +16,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/Subscriptionid/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", + "id": "/subscriptions/Subscriptionid/resourceGroups/egResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178", "name": "sdk-Subscriptions-2178", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions", "properties": { From 95779b8b2b1e815527a7495d3b494b12bedb52b1 Mon Sep 17 00:00:00 2001 From: "Ajit Maruti Navasare (MINDTREE LIMITED)" Date: Tue, 16 Jan 2018 15:36:01 -0800 Subject: [PATCH 5/6] Review comments resolved --- .../SkuRegions/PremiumMessagingRegions.json | 50 ---------------- .../examples/SkuRegions/SkuRegions.json | 60 ------------------- .../stable/2017-04-01/servicebus.json | 7 ++- 3 files changed, 4 insertions(+), 113 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/PremiumMessagingRegions.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/PremiumMessagingRegions.json index 1aad2526ca88..71801b00fc3e 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/PremiumMessagingRegions.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/PremiumMessagingRegions.json @@ -11,8 +11,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/East US", "name": "East US", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "East US", "fullName": "East US" @@ -22,8 +20,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/East US 2", "name": "East US 2", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "East US 2", "fullName": "East US 2" @@ -33,8 +29,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West India", "name": "West India", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "West India", "fullName": "West India" @@ -44,8 +38,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West US", "name": "West US", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "West US", "fullName": "West US" @@ -55,8 +47,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/North Central US", "name": "North Central US", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "North Central US", "fullName": "North Central US" @@ -66,8 +56,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK West", "name": "UK West", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "UK West", "fullName": "UK West" @@ -77,8 +65,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West Central US", "name": "West Central US", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "West Central US", "fullName": "West Central US" @@ -88,8 +74,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Brazil South", "name": "Brazil South", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Brazil South", "fullName": "Brazil South" @@ -99,8 +83,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Central US", "name": "Central US", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Central US", "fullName": "Central US" @@ -110,8 +92,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/South Central US", "name": "South Central US", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "South Central US", "fullName": "South Central US" @@ -121,8 +101,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/West Europe", "name": "West Europe", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "West Europe", "fullName": "West Europe" @@ -132,8 +110,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/North Europe", "name": "North Europe", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "North Europe", "fullName": "North Europe" @@ -143,8 +119,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/East Asia", "name": "East Asia", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "East Asia", "fullName": "East Asia" @@ -154,8 +128,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/South India", "name": "South India", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "South India", "fullName": "South India" @@ -165,8 +137,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK North", "name": "UK North", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "UK North", "fullName": "UK North" @@ -176,8 +146,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Australia Southeast", "name": "Australia Southeast", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Australia Southeast", "fullName": "Australia Southeast" @@ -187,8 +155,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Southeast Asia", "name": "Southeast Asia", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Southeast Asia", "fullName": "Southeast Asia" @@ -198,8 +164,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Japan West", "name": "Japan West", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Japan West", "fullName": "Japan West" @@ -209,8 +173,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Japan East", "name": "Japan East", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Japan East", "fullName": "Japan East" @@ -220,8 +182,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK South", "name": "UK South", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "UK South", "fullName": "UK South" @@ -231,8 +191,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/UK South 2", "name": "UK South 2", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "UK South 2", "fullName": "UK South 2" @@ -242,8 +200,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Central India", "name": "Central India", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Central India", "fullName": "Central India" @@ -253,8 +209,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Canada East", "name": "Canada East", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Canada East", "fullName": "Canada East" @@ -264,8 +218,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Canada Central", "name": "Canada Central", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Canada Central", "fullName": "Canada Central" @@ -275,8 +227,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/premiumMessagingRegions/Australia East", "name": "Australia East", "type": "Microsoft.ServiceBus/PremiumMessagingRegions", - "location": "", - "tags": "", "properties": { "code": "Australia East", "fullName": "Australia East" diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json index 3826b10a5a95..f83e71f0a150 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json @@ -12,8 +12,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CentralUS", "name": "Central US", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Central US", "fullName": "Central US" @@ -23,8 +21,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EastUS", "name": "East US", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "East US", "fullName": "East US" @@ -34,8 +30,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EastUS2", "name": "East US 2", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "East US 2", "fullName": "East US 2" @@ -45,8 +39,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/NorthCentralUS", "name": "North Central US", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "North Central US", "fullName": "North Central US" @@ -56,8 +48,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/SouthCentralUS", "name": "South Central US", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "South Central US", "fullName": "South Central US" @@ -67,8 +57,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestUS", "name": "West US", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "West US", "fullName": "West US" @@ -78,8 +66,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestUS2", "name": "West US 2", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "West US 2", "fullName": "West US 2" @@ -89,8 +75,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestCentralUS", "name": "West Central US", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "West Central US", "fullName": "West Central US" @@ -100,8 +84,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/NorthEurope", "name": "North Europe", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "North Europe", "fullName": "North Europe" @@ -111,8 +93,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestEurope", "name": "West Europe", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "West Europe", "fullName": "West Europe" @@ -122,8 +102,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EastAsia", "name": "East Asia", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "East Asia", "fullName": "East Asia" @@ -133,8 +111,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/SoutheastAsia", "name": "Southeast Asia", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Southeast Asia", "fullName": "Southeast Asia" @@ -144,8 +120,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/BrazilSouth", "name": "Brazil South", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Brazil South", "fullName": "Brazil South" @@ -155,8 +129,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/JapanEast", "name": "Japan East", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Japan East", "fullName": "Japan East" @@ -166,8 +138,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/JapanWest", "name": "Japan West", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Japan West", "fullName": "Japan West" @@ -177,8 +147,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CentralIndia", "name": "Central India", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Central India", "fullName": "Central India" @@ -188,8 +156,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/SouthIndia", "name": "South India", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "South India", "fullName": "South India" @@ -199,8 +165,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/WestIndia", "name": "West India", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "West India", "fullName": "West India" @@ -210,8 +174,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKSouth2", "name": "UK South 2", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "UK South 2", "fullName": "UK South 2" @@ -221,8 +183,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKNorth", "name": "UK North", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "UK North", "fullName": "UK North" @@ -232,8 +192,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CanadaCentral", "name": "Canada Central", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Canada Central", "fullName": "Canada Central" @@ -243,8 +201,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CanadaEast", "name": "Canada East", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Canada East", "fullName": "Canada East" @@ -254,8 +210,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/AustraliaEast", "name": "Australia East", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Australia East", "fullName": "Australia East" @@ -265,8 +219,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/AustraliaSoutheast", "name": "Australia Southeast", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Australia Southeast", "fullName": "Australia Southeast" @@ -276,8 +228,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKSouth", "name": "UK South", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "UK South", "fullName": "UK South" @@ -287,8 +237,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/UKWest", "name": "UK West", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "UK West", "fullName": "UK West" @@ -298,8 +246,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/EASTUS2EUAP", "name": "EAST US 2 EUAP", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "EAST US 2 EUAP", "fullName": "EAST US 2 EUAP" @@ -309,8 +255,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CentralUSEUAP", "name": "Central US EUAP", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Central US EUAP", "fullName": "Central US EUAP" @@ -320,8 +264,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/KoreaCentral", "name": "Korea Central", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Korea Central", "fullName": "Korea Central" @@ -331,8 +273,6 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/KoreaSouth", "name": "Korea South", "type": "Microsoft.ServiceBus/Sku/Regions", - "location": "", - "tags": "", "properties": { "code": "Korea South", "fullName": "Korea South" diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json index f14c6e14e1c0..cc601525bafa 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json @@ -2548,7 +2548,7 @@ ], "operationId": "Regions_ListBySku", "x-ms-examples": { - "RulesCreateOrUpdate": { "$ref": "./examples/SkuRegions/SkuRegions.json" } + "RegionsListBySku": { "$ref": "./examples/SkuRegions/SkuRegions.json" } }, "description": "Gets the available Regions for a given sku", "parameters": [ @@ -2588,7 +2588,7 @@ ], "operationId": "PremiumMessagingRegions_List", "x-ms-examples": { - "RulesCreateOrUpdate": { "$ref": "./examples/SkuRegions/PremiumMessagingRegions.json" } + "PremiumMessagingRegionsList": { "$ref": "./examples/SkuRegions/PremiumMessagingRegions.json" } }, "description": "Gets the available premium messaging regions for servicebus ", "parameters": [ @@ -3849,7 +3849,8 @@ "type": "string", "description": "Enumerates the possible values for the encoding format of capture description.", "enum": [ - "Avro" + "Avro", + "AvroDeflate" ], "x-ms-enum": { "name": "EncodingCaptureDescription", From 4c15c50f82721aa0c81e9f6d50e7b4cffabd0330 Mon Sep 17 00:00:00 2001 From: "Ajit Maruti Navasare (MINDTREE LIMITED)" Date: Wed, 17 Jan 2018 15:17:01 -0800 Subject: [PATCH 6/6] Reverted 'AvroDeflate' removal and added comment in readme.md --- .../Microsoft.ServiceBus/stable/2017-04-01/servicebus.json | 7 ++++--- specification/servicebus/resource-manager/readme.md | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json index f14c6e14e1c0..f424d9375187 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json @@ -2548,7 +2548,7 @@ ], "operationId": "Regions_ListBySku", "x-ms-examples": { - "RulesCreateOrUpdate": { "$ref": "./examples/SkuRegions/SkuRegions.json" } + "RegionsListBySku": { "$ref": "./examples/SkuRegions/SkuRegions.json" } }, "description": "Gets the available Regions for a given sku", "parameters": [ @@ -2588,7 +2588,7 @@ ], "operationId": "PremiumMessagingRegions_List", "x-ms-examples": { - "RulesCreateOrUpdate": { "$ref": "./examples/SkuRegions/PremiumMessagingRegions.json" } + "PremiumMessagingRegionsList": { "$ref": "./examples/SkuRegions/PremiumMessagingRegions.json" } }, "description": "Gets the available premium messaging regions for servicebus ", "parameters": [ @@ -3849,7 +3849,8 @@ "type": "string", "description": "Enumerates the possible values for the encoding format of capture description.", "enum": [ - "Avro" + "Avro", + "AvroDeflate" ], "x-ms-enum": { "name": "EncodingCaptureDescription", diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md index 5a9b73c8cc8b..ed2db2bfea59 100644 --- a/specification/servicebus/resource-manager/readme.md +++ b/specification/servicebus/resource-manager/readme.md @@ -34,11 +34,16 @@ tag: package-2017-04 These settings apply only when `--tag=package-2017-04` is specified on the command line. + ``` yaml $(tag) == 'package-2017-04' input-file: - Microsoft.ServiceBus/stable/2017-04-01/servicebus.json ``` +Important notes: +On the advice of @fearthecowboy, the `EncodingCaptureDescription` enum previously contained two values [`Avro`,`AvroDeflate`] ; the service has been changed (on 2018-01-17) and will not ever return the `AvroDeflate` value, + however, we have left the value in the enum (in servicebus.json) so that existing clients won't suffer a binary breaking change +The `AvroDeflate` value will likely be removed in a future API version, and at that a breaking binary change may happen. ### Tag: package-2015-08