Skip to content

Commit 6c5cf66

Browse files
AutorestCIlmazuel
authored andcommitted
[AutoPR] eventhub/resource-manager (#2833)
* Generated from 1a580a82a89f74ea070f1107aca66333250aab81 (#2825) added pendingReplicationOperationsCount to GeoDR * Generated from dd582a5729a5d6b14aae2bdd3db7ba3b1e847283 (#2806) EventHub 2018-01-01-Preview with VNet, IPFilter and EventHubCluster * Generated from bfe141048e0caecaaabf928de884d75c2605756a (#2844) removed extra space from pendingReplicationOperationsCount * Packaging * EH 2.1.0
1 parent e4049b3 commit 6c5cf66

14 files changed

+43
-13
lines changed

azure-mgmt-eventhub/HISTORY.rst

+12-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
Release History
44
===============
55

6+
2.1.0 (2018-07-31)
7+
++++++++++++++++++
8+
9+
**Features**
10+
11+
- Add pending_replication_operations_count support
12+
13+
**Bugfixes**
14+
15+
- Fix some Python3 models
16+
617
2.0.0 (2018-05-04)
718
++++++++++++++++++
819

@@ -24,7 +35,7 @@ This version uses a next-generation code generator that *might* introduce breaki
2435

2536
- Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same.
2637
- Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used.
27-
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
38+
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
2839
without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`.
2940
- New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`,
3041
the response of the initial call will be returned without polling.

azure-mgmt-eventhub/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is the Microsoft Azure EventHub Management Client Library.
66
Azure Resource Manager (ARM) is the next generation of management APIs that
77
replace the old Azure Service Management (ASM).
88

9-
This package has been tested with Python 2.7, 3.4, 3.5 and 3.6.
9+
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
1010

1111
For the older Azure Service Management (ASM) libraries, see
1212
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.

azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery.py

+6
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class ArmDisasterRecovery(Resource):
4040
'PrimaryNotReplicating' or 'Secondary'. Possible values include:
4141
'Primary', 'PrimaryNotReplicating', 'Secondary'
4242
:vartype role: str or ~azure.mgmt.eventhub.models.RoleDisasterRecovery
43+
:ivar pending_replication_operations_count: Number of entities pending to
44+
be replicated.
45+
:vartype pending_replication_operations_count: long
4346
"""
4447

4548
_validation = {
@@ -48,6 +51,7 @@ class ArmDisasterRecovery(Resource):
4851
'type': {'readonly': True},
4952
'provisioning_state': {'readonly': True},
5053
'role': {'readonly': True},
54+
'pending_replication_operations_count': {'readonly': True},
5155
}
5256

5357
_attribute_map = {
@@ -58,6 +62,7 @@ class ArmDisasterRecovery(Resource):
5862
'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'},
5963
'alternate_name': {'key': 'properties.alternateName', 'type': 'str'},
6064
'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'},
65+
'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'},
6166
}
6267

6368
def __init__(self, **kwargs):
@@ -66,3 +71,4 @@ def __init__(self, **kwargs):
6671
self.partner_namespace = kwargs.get('partner_namespace', None)
6772
self.alternate_name = kwargs.get('alternate_name', None)
6873
self.role = None
74+
self.pending_replication_operations_count = None

azure-mgmt-eventhub/azure/mgmt/eventhub/models/arm_disaster_recovery_py3.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class ArmDisasterRecovery(Resource):
@@ -40,6 +40,9 @@ class ArmDisasterRecovery(Resource):
4040
'PrimaryNotReplicating' or 'Secondary'. Possible values include:
4141
'Primary', 'PrimaryNotReplicating', 'Secondary'
4242
:vartype role: str or ~azure.mgmt.eventhub.models.RoleDisasterRecovery
43+
:ivar pending_replication_operations_count: Number of entities pending to
44+
be replicated.
45+
:vartype pending_replication_operations_count: long
4346
"""
4447

4548
_validation = {
@@ -48,6 +51,7 @@ class ArmDisasterRecovery(Resource):
4851
'type': {'readonly': True},
4952
'provisioning_state': {'readonly': True},
5053
'role': {'readonly': True},
54+
'pending_replication_operations_count': {'readonly': True},
5155
}
5256

5357
_attribute_map = {
@@ -58,6 +62,7 @@ class ArmDisasterRecovery(Resource):
5862
'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'},
5963
'alternate_name': {'key': 'properties.alternateName', 'type': 'str'},
6064
'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'},
65+
'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'},
6166
}
6267

6368
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
6671
self.partner_namespace = partner_namespace
6772
self.alternate_name = alternate_name
6873
self.role = None
74+
self.pending_replication_operations_count = None

azure-mgmt-eventhub/azure/mgmt/eventhub/models/authorization_rule_py3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class AuthorizationRule(Resource):

azure-mgmt-eventhub/azure/mgmt/eventhub/models/consumer_group_py3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class ConsumerGroup(Resource):

azure-mgmt-eventhub/azure/mgmt/eventhub/models/eh_namespace_py3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .tracked_resource import TrackedResource
12+
from .tracked_resource_py3 import TrackedResource
1313

1414

1515
class EHNamespace(TrackedResource):

azure-mgmt-eventhub/azure/mgmt/eventhub/models/eventhub_py3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class Eventhub(Resource):

azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_plan_py3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .tracked_resource import TrackedResource
12+
from .tracked_resource_py3 import TrackedResource
1313

1414

1515
class MessagingPlan(TrackedResource):

azure-mgmt-eventhub/azure/mgmt/eventhub/models/messaging_regions_py3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .tracked_resource import TrackedResource
12+
from .tracked_resource_py3 import TrackedResource
1313

1414

1515
class MessagingRegions(TrackedResource):

azure-mgmt-eventhub/azure/mgmt/eventhub/models/tracked_resource_py3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class TrackedResource(Resource):

azure-mgmt-eventhub/azure/mgmt/eventhub/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2.0.0"
12+
VERSION = "2.1.0"
1313

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[packaging]
2+
package_name = "azure-mgmt-eventhub"
3+
package_pprint_name = "EventHub Management"
4+
package_doc_id = "event-hub"
5+
is_stable = true

azure-mgmt-eventhub/setup.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,22 @@
6464
author_email='azpysdkhelp@microsoft.com',
6565
url='https://github.com/Azure/azure-sdk-for-python',
6666
classifiers=[
67-
'Development Status :: 4 - Beta',
67+
'Development Status :: 5 - Production/Stable',
6868
'Programming Language :: Python',
6969
'Programming Language :: Python :: 2',
7070
'Programming Language :: Python :: 2.7',
7171
'Programming Language :: Python :: 3',
7272
'Programming Language :: Python :: 3.4',
7373
'Programming Language :: Python :: 3.5',
7474
'Programming Language :: Python :: 3.6',
75+
'Programming Language :: Python :: 3.7',
7576
'License :: OSI Approved :: MIT License',
7677
],
7778
zip_safe=False,
7879
packages=find_packages(exclude=["tests"]),
7980
install_requires=[
80-
'msrestazure>=0.4.27,<2.0.0',
81+
'msrest>=0.5.0',
82+
'msrestazure>=0.4.32,<2.0.0',
8183
'azure-common~=1.1',
8284
],
8385
cmdclass=cmdclass

0 commit comments

Comments
 (0)