Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR servicebus/resource-manager] ServiceBus: Added read-only property migrationState to MigrationConfig #3699

Merged
Merged
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
4 changes: 4 additions & 0 deletions lib/services/serviceBusManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
@@ -863,12 +863,16 @@ export interface ArmDisasterRecovery extends Resource {
* which has no entities, will be used for migration
* @member {string} postMigrationName Name to access Standard Namespace after
* migration
* @member {string} [migrationState] State in which Standard to Premium
* Migration is, possible values : Unknown, Reverting, Completing, Initiating,
* Syncing, Active
*/
export interface MigrationConfigProperties extends Resource {
readonly provisioningState?: string;
readonly pendingReplicationOperationsCount?: number;
targetNamespace: string;
postMigrationName: string;
readonly migrationState?: string;
}


Original file line number Diff line number Diff line change
@@ -28,6 +28,9 @@ class MigrationConfigProperties extends models['Resource'] {
* which has no entities, will be used for migration
* @member {string} postMigrationName Name to access Standard Namespace after
* migration
* @member {string} [migrationState] State in which Standard to Premium
* Migration is, possible values : Unknown, Reverting, Completing,
* Initiating, Syncing, Active
*/
constructor() {
super();
@@ -100,6 +103,14 @@ class MigrationConfigProperties extends models['Resource'] {
type: {
name: 'String'
}
},
migrationState: {
required: false,
readOnly: true,
serializedName: 'properties.migrationState',
type: {
name: 'String'
}
}
}
}
2 changes: 1 addition & 1 deletion lib/services/serviceBusManagement2/package.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
"license": "MIT",
"main": "./lib/serviceBusManagementClient.js",
"types": "./lib/serviceBusManagementClient.d.ts",
"homepage": "https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/serviceBusManagement2",
"homepage": "https://github.com/azure/azure-sdk-for-node",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-node.git"