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 property pendingReplicationOperationsCount to GeoDR and Migration #3077

Merged
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class ArmDisasterRecovery extends models['Resource'] {
* Alias(Disaster Recovery configuration) - possible values 'Accepted' or
* 'Succeeded' or 'Failed'. Possible values include: 'Accepted', 'Succeeded',
* 'Failed'
* @member {number} [pendingReplicationOperationsCount] Number of entities
* pending to be replicated.
* @member {string} [partnerNamespace] ARM Id of the Primary/Secondary
* eventhub namespace name, which is part of GEO DR pairning
* @member {string} [alternateName] Primary/Secondary eventhub namespace
Expand Down Expand Up @@ -83,6 +85,14 @@ class ArmDisasterRecovery extends models['Resource'] {
allowedValues: [ 'Accepted', 'Succeeded', 'Failed' ]
}
},
pendingReplicationOperationsCount: {
required: false,
readOnly: true,
serializedName: 'properties.pendingReplicationOperationsCount ',
type: {
name: 'Number'
}
},
partnerNamespace: {
required: false,
serializedName: 'properties.partnerNamespace',
Expand Down
6 changes: 6 additions & 0 deletions lib/services/serviceBusManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,8 @@ export interface Eventhub extends Resource {
* Alias(Disaster Recovery configuration) - possible values 'Accepted' or
* 'Succeeded' or 'Failed'. Possible values include: 'Accepted', 'Succeeded',
* 'Failed'
* @member {number} [pendingReplicationOperationsCount] Number of entities
* pending to be replicated.
* @member {string} [partnerNamespace] ARM Id of the Primary/Secondary eventhub
* namespace name, which is part of GEO DR pairning
* @member {string} [alternateName] Primary/Secondary eventhub namespace name,
Expand All @@ -841,6 +843,7 @@ export interface Eventhub extends Resource {
*/
export interface ArmDisasterRecovery extends Resource {
readonly provisioningState?: string;
readonly pendingReplicationOperationsCount?: number;
partnerNamespace?: string;
alternateName?: string;
readonly role?: string;
Expand All @@ -854,13 +857,16 @@ export interface ArmDisasterRecovery extends Resource {
*
* @member {string} [provisioningState] Provisioning state of Migration
* Configuration
* @member {number} [pendingReplicationOperationsCount] Number of entities
* pending to be replicated.
* @member {string} targetNamespace Existing premium Namespace ARM Id name
* which has no entities, will be used for migration
* @member {string} postMigrationName Name to access Standard Namespace after
* migration
*/
export interface MigrationConfigProperties extends Resource {
readonly provisioningState?: string;
readonly pendingReplicationOperationsCount?: number;
targetNamespace: string;
postMigrationName: string;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class MigrationConfigProperties extends models['Resource'] {
* Create a MigrationConfigProperties.
* @member {string} [provisioningState] Provisioning state of Migration
* Configuration
* @member {number} [pendingReplicationOperationsCount] Number of entities
* pending to be replicated.
* @member {string} targetNamespace Existing premium Namespace ARM Id name
* which has no entities, will be used for migration
* @member {string} postMigrationName Name to access Standard Namespace after
Expand Down Expand Up @@ -77,6 +79,14 @@ class MigrationConfigProperties extends models['Resource'] {
name: 'String'
}
},
pendingReplicationOperationsCount: {
required: false,
readOnly: true,
serializedName: 'properties.pendingReplicationOperationsCount ',
type: {
name: 'Number'
}
},
targetNamespace: {
required: true,
serializedName: 'properties.targetNamespace',
Expand Down
7 changes: 5 additions & 2 deletions lib/services/serviceBusManagement2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
"description": "ServiceBusManagementClient Library with typescript type definitions for node",
"version": "2.2.0-preview",
"dependencies": {
"ms-rest": "^2.3.2",
"ms-rest": "^2.3.3",
"ms-rest-azure": "^2.5.5"
},
"keywords": [ "node", "azure" ],
"keywords": [
"node",
"azure"
],
"license": "MIT",
"main": "./lib/serviceBusManagementClient.js",
"types": "./lib/serviceBusManagementClient.d.ts",
Expand Down