Skip to content
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
13 changes: 12 additions & 1 deletion azure-mgmt-servicebus/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
Release History
===============

0.5.1 (2018-07-09)
++++++++++++++++++

**Features**

- Add pending_replication_operations_count

**Bugfixes**

- Fix some Py3 import models

0.5.0 (2018-04-26)
++++++++++++++++++

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

- Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same.
- Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used.
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`.
- New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`,
the response of the initial call will be returned without polling.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ class ArmDisasterRecovery(Resource):
'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed'
:vartype provisioning_state: str or
~azure.mgmt.servicebus.models.ProvisioningStateDR
:ivar pending_replication_operations_count: Number of entities pending to
be replicated.
:vartype pending_replication_operations_count: long
:param partner_namespace: ARM Id of the Primary/Secondary eventhub
namespace name, which is part of GEO DR pairning
:type partner_namespace: str
Expand All @@ -47,6 +50,7 @@ class ArmDisasterRecovery(Resource):
'name': {'readonly': True},
'type': {'readonly': True},
'provisioning_state': {'readonly': True},
'pending_replication_operations_count': {'readonly': True},
'role': {'readonly': True},
}

Expand All @@ -55,6 +59,7 @@ class ArmDisasterRecovery(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningStateDR'},
'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'},
'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'},
'alternate_name': {'key': 'properties.alternateName', 'type': 'str'},
'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'},
Expand All @@ -63,6 +68,7 @@ class ArmDisasterRecovery(Resource):
def __init__(self, **kwargs):
super(ArmDisasterRecovery, self).__init__(**kwargs)
self.provisioning_state = None
self.pending_replication_operations_count = None
self.partner_namespace = kwargs.get('partner_namespace', None)
self.alternate_name = kwargs.get('alternate_name', None)
self.role = 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 All @@ -30,6 +30,9 @@ class ArmDisasterRecovery(Resource):
'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed'
:vartype provisioning_state: str or
~azure.mgmt.servicebus.models.ProvisioningStateDR
:ivar pending_replication_operations_count: Number of entities pending to
be replicated.
:vartype pending_replication_operations_count: long
:param partner_namespace: ARM Id of the Primary/Secondary eventhub
namespace name, which is part of GEO DR pairning
:type partner_namespace: str
Expand All @@ -47,6 +50,7 @@ class ArmDisasterRecovery(Resource):
'name': {'readonly': True},
'type': {'readonly': True},
'provisioning_state': {'readonly': True},
'pending_replication_operations_count': {'readonly': True},
'role': {'readonly': True},
}

Expand All @@ -55,6 +59,7 @@ class ArmDisasterRecovery(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningStateDR'},
'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'},
'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'},
'alternate_name': {'key': 'properties.alternateName', 'type': 'str'},
'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'},
Expand All @@ -63,6 +68,7 @@ class ArmDisasterRecovery(Resource):
def __init__(self, *, partner_namespace: str=None, alternate_name: str=None, **kwargs) -> None:
super(ArmDisasterRecovery, self).__init__(**kwargs)
self.provisioning_state = None
self.pending_replication_operations_count = None
self.partner_namespace = partner_namespace
self.alternate_name = alternate_name
self.role = 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 Eventhub(Resource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class MigrationConfigProperties(Resource):
:vartype type: str
:ivar provisioning_state: Provisioning state of Migration Configuration
:vartype provisioning_state: str
:ivar pending_replication_operations_count: Number of entities pending to
be replicated.
:vartype pending_replication_operations_count: long
:param target_namespace: Required. Existing premium Namespace ARM Id name
which has no entities, will be used for migration
:type target_namespace: str
Expand All @@ -41,6 +44,7 @@ class MigrationConfigProperties(Resource):
'name': {'readonly': True},
'type': {'readonly': True},
'provisioning_state': {'readonly': True},
'pending_replication_operations_count': {'readonly': True},
'target_namespace': {'required': True},
'post_migration_name': {'required': True},
}
Expand All @@ -50,12 +54,14 @@ class MigrationConfigProperties(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'},
'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'},
'post_migration_name': {'key': 'properties.postMigrationName', 'type': 'str'},
}

def __init__(self, **kwargs):
super(MigrationConfigProperties, self).__init__(**kwargs)
self.provisioning_state = None
self.pending_replication_operations_count = None
self.target_namespace = kwargs.get('target_namespace', None)
self.post_migration_name = kwargs.get('post_migration_name', 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 MigrationConfigProperties(Resource):
Expand All @@ -28,6 +28,9 @@ class MigrationConfigProperties(Resource):
:vartype type: str
:ivar provisioning_state: Provisioning state of Migration Configuration
:vartype provisioning_state: str
:ivar pending_replication_operations_count: Number of entities pending to
be replicated.
:vartype pending_replication_operations_count: long
:param target_namespace: Required. Existing premium Namespace ARM Id name
which has no entities, will be used for migration
:type target_namespace: str
Expand All @@ -41,6 +44,7 @@ class MigrationConfigProperties(Resource):
'name': {'readonly': True},
'type': {'readonly': True},
'provisioning_state': {'readonly': True},
'pending_replication_operations_count': {'readonly': True},
'target_namespace': {'required': True},
'post_migration_name': {'required': True},
}
Expand All @@ -50,12 +54,14 @@ class MigrationConfigProperties(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'},
'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'},
'post_migration_name': {'key': 'properties.postMigrationName', 'type': 'str'},
}

def __init__(self, *, target_namespace: str, post_migration_name: str, **kwargs) -> None:
super(MigrationConfigProperties, self).__init__(**kwargs)
self.provisioning_state = None
self.pending_replication_operations_count = None
self.target_namespace = target_namespace
self.post_migration_name = post_migration_name
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource_namespace_patch import ResourceNamespacePatch
from .resource_namespace_patch_py3 import ResourceNamespacePatch


class PremiumMessagingRegions(ResourceNamespacePatch):
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 ResourceNamespacePatch(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 Rule(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 SBAuthorizationRule(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 SBNamespace(TrackedResource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource_namespace_patch import ResourceNamespacePatch
from .resource_namespace_patch_py3 import ResourceNamespacePatch


class SBNamespaceUpdateParameters(ResourceNamespacePatch):
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 SBQueue(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 SBSubscription(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 SBTopic(Resource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .action import Action
from .action_py3 import Action


class SqlRuleAction(Action):
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-servicebus/azure/mgmt/servicebus/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.5.0"
VERSION = "0.5.1"

Loading