Skip to content

Commit

Permalink
ServiceBus: Added read-only property migrationState to MigrationConfig (
Browse files Browse the repository at this point in the history
#4008)

* Added readonly property migrationState to MigrationConfig

* fixed formating in examples
  • Loading branch information
Ajit Navasare authored and jhendrixMSFT committed Sep 26, 2018
1 parent 4608839 commit 7ffa13a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"properties": {
"provisioningState": "Accepted",
"targetNamespace": "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028",
"postMigrationName": "sdk-PostMigration-5919"
"postMigrationName": "sdk-PostMigration-5919",
"migrationState": "Initiating"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"subscriptionId": "SubscriptionId"
},
"responses": {
"200": {},
"204": {}
"200": { },
"204": { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"provisioningState": "Succeeded",
"targetNamespace": "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028",
"postMigrationName": "sdk-PostMigration-5919",
"pendingReplicationOperationsCount": 0
"pendingReplicationOperationsCount": 0,
"migrationState": "Active"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"properties": {
"provisioningState": "Succeeded",
"targetNamespace": "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7454",
"postMigrationName": "sdk-PostMigration-9423"
"postMigrationName": "sdk-PostMigration-9423",
"migrationState": "Active"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4301,6 +4301,11 @@
"postMigrationName": {
"type": "string",
"description": "Name to access Standard Namespace after migration"
},
"migrationState": {
"readOnly": true,
"type": "string",
"description": "State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active"
}
},
"required": [
Expand Down

0 comments on commit 7ffa13a

Please sign in to comment.