Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR eventhub/resource-manager] Event Hubs : Added property pendingReplicationOperationsCount to GeoDR #2825

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 @@ -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 = {
Expand All @@ -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 = {
Expand All @@ -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):
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource
from .resource_py3 import Resource


class ArmDisasterRecovery(Resource):
Expand Down Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand All @@ -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:
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource
from .resource_py3 import Resource


class AuthorizationRule(Resource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource
from .resource_py3 import Resource


class ConsumerGroup(Resource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .tracked_resource import TrackedResource
from .tracked_resource_py3 import TrackedResource


class EHNamespace(TrackedResource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource
from .resource_py3 import Resource


class Eventhub(Resource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .tracked_resource import TrackedResource
from .tracked_resource_py3 import TrackedResource


class MessagingPlan(TrackedResource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .tracked_resource import TrackedResource
from .tracked_resource_py3 import TrackedResource


class MessagingRegions(TrackedResource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource
from .resource_py3 import Resource


class TrackedResource(Resource):
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-eventhub/azure/mgmt/eventhub/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0"
VERSION = "1.3.0"