From f3788a17bb53f98791dde9b96284860626c1db0a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 27 Jun 2018 23:29:14 +0000 Subject: [PATCH] Generated from 1a580a82a89f74ea070f1107aca66333250aab81 added pendingReplicationOperationsCount to GeoDR --- .../azure/mgmt/eventhub/models/arm_disaster_recovery.py | 6 ++++++ .../mgmt/eventhub/models/arm_disaster_recovery_py3.py | 8 +++++++- .../azure/mgmt/eventhub/models/authorization_rule_py3.py | 2 +- .../azure/mgmt/eventhub/models/consumer_group_py3.py | 2 +- .../azure/mgmt/eventhub/models/eh_namespace_py3.py | 2 +- .../azure/mgmt/eventhub/models/eventhub_py3.py | 2 +- .../azure/mgmt/eventhub/models/messaging_plan_py3.py | 2 +- .../azure/mgmt/eventhub/models/messaging_regions_py3.py | 2 +- .../azure/mgmt/eventhub/models/tracked_resource_py3.py | 2 +- azure-mgmt-eventhub/azure/mgmt/eventhub/version.py | 2 +- 10 files changed, 21 insertions(+), 9 deletions(-) diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery.py index 85004b863855..b269fb231c14 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery.py @@ -40,6 +40,9 @@ class ArmDisasterRecovery(Resource): 'PrimaryNotReplicating' or 'Secondary'. Possible values include: 'Primary', 'PrimaryNotReplicating', 'Secondary' :vartype role: str or ~azure.mgmt.eventhub.models.RoleDisasterRecovery + :ivar pending_replication_operations_count: Number of entities pending to + be replicated. + :vartype pending_replication_operations_count: long """ _validation = { @@ -48,6 +51,7 @@ class ArmDisasterRecovery(Resource): 'type': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'role': {'readonly': True}, + 'pending_replication_operations_count': {'readonly': True}, } _attribute_map = { @@ -58,6 +62,7 @@ class ArmDisasterRecovery(Resource): 'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'}, 'alternate_name': {'key': 'properties.alternateName', 'type': 'str'}, 'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'}, + 'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount ', 'type': 'long'}, } def __init__(self, **kwargs): @@ -66,3 +71,4 @@ def __init__(self, **kwargs): self.partner_namespace = kwargs.get('partner_namespace', None) self.alternate_name = kwargs.get('alternate_name', None) self.role = None + self.pending_replication_operations_count = None diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery_py3.py index 21fe8f02e5f0..2988684a326b 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class ArmDisasterRecovery(Resource): @@ -40,6 +40,9 @@ class ArmDisasterRecovery(Resource): 'PrimaryNotReplicating' or 'Secondary'. Possible values include: 'Primary', 'PrimaryNotReplicating', 'Secondary' :vartype role: str or ~azure.mgmt.eventhub.models.RoleDisasterRecovery + :ivar pending_replication_operations_count: Number of entities pending to + be replicated. + :vartype pending_replication_operations_count: long """ _validation = { @@ -48,6 +51,7 @@ class ArmDisasterRecovery(Resource): 'type': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'role': {'readonly': True}, + 'pending_replication_operations_count': {'readonly': True}, } _attribute_map = { @@ -58,6 +62,7 @@ class ArmDisasterRecovery(Resource): 'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'}, 'alternate_name': {'key': 'properties.alternateName', 'type': 'str'}, 'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'}, + 'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount ', 'type': 'long'}, } def __init__(self, *, partner_namespace: str=None, alternate_name: str=None, **kwargs) -> None: @@ -66,3 +71,4 @@ def __init__(self, *, partner_namespace: str=None, alternate_name: str=None, **k self.partner_namespace = partner_namespace self.alternate_name = alternate_name self.role = None + self.pending_replication_operations_count = None diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/authorization_rule_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/authorization_rule_py3.py index 8204b0fce74f..289dfc39e8fe 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/authorization_rule_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/authorization_rule_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class AuthorizationRule(Resource): diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/consumer_group_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/consumer_group_py3.py index f31c5b31a280..68fddac962ea 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/consumer_group_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/consumer_group_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class ConsumerGroup(Resource): diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eh_namespace_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eh_namespace_py3.py index 7363aa26afc7..e12e521ea75c 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eh_namespace_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eh_namespace_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .tracked_resource import TrackedResource +from .tracked_resource_py3 import TrackedResource class EHNamespace(TrackedResource): diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eventhub_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eventhub_py3.py index 434dc98b71d6..f9ba87581ba3 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eventhub_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/eventhub_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class Eventhub(Resource): diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_plan_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_plan_py3.py index 10e0d5c05233..d1aaf075ffc2 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_plan_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_plan_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .tracked_resource import TrackedResource +from .tracked_resource_py3 import TrackedResource class MessagingPlan(TrackedResource): diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_regions_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_regions_py3.py index 50c8c28651aa..f2bc276f4625 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_regions_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_regions_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .tracked_resource import TrackedResource +from .tracked_resource_py3 import TrackedResource class MessagingRegions(TrackedResource): diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/tracked_resource_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/tracked_resource_py3.py index 755602b9f9ad..303f166f8805 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/tracked_resource_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/tracked_resource_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class TrackedResource(Resource): diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py index 53c4c7ea05e8..d24076f8d84b 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2.0.0" +VERSION = "1.3.0"