From 12a74242fa3818d2846154b01bdd018d3397c339 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 28 Jun 2018 10:11:02 -0700 Subject: [PATCH 1/4] Generated from 2342335ae929b3603e448161ab20e16c04ce4d61 (#2824) revmoved zoneRedundant property --- .../azure/mgmt/servicebus/models/arm_disaster_recovery.py | 6 ++++++ .../mgmt/servicebus/models/arm_disaster_recovery_py3.py | 8 +++++++- .../azure/mgmt/servicebus/models/eventhub_py3.py | 2 +- .../mgmt/servicebus/models/migration_config_properties.py | 6 ++++++ .../servicebus/models/migration_config_properties_py3.py | 8 +++++++- .../servicebus/models/premium_messaging_regions_py3.py | 2 +- .../servicebus/models/resource_namespace_patch_py3.py | 2 +- .../azure/mgmt/servicebus/models/rule_py3.py | 2 +- .../mgmt/servicebus/models/sb_authorization_rule_py3.py | 2 +- .../azure/mgmt/servicebus/models/sb_namespace_py3.py | 2 +- .../models/sb_namespace_update_parameters_py3.py | 2 +- .../azure/mgmt/servicebus/models/sb_queue_py3.py | 2 +- .../azure/mgmt/servicebus/models/sb_subscription_py3.py | 2 +- .../azure/mgmt/servicebus/models/sb_topic_py3.py | 2 +- .../azure/mgmt/servicebus/models/sql_rule_action_py3.py | 2 +- .../azure/mgmt/servicebus/models/tracked_resource_py3.py | 2 +- 16 files changed, 38 insertions(+), 14 deletions(-) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py index 6fe549cab86e..8e698a8bf832 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py @@ -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 @@ -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}, } @@ -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'}, @@ -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 diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py index da8dd42bd676..a7d7cd82ec8c 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class ArmDisasterRecovery(Resource): @@ -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 @@ -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}, } @@ -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'}, @@ -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 diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py index 9d6e8c179ae0..a16b7f175a5f 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/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-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py index 41e40e01db75..e35dc545fc95 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py @@ -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 @@ -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}, } @@ -50,6 +54,7 @@ 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'}, } @@ -57,5 +62,6 @@ class MigrationConfigProperties(Resource): 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) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py index 69f12b76d433..65b5b0e30b0b 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class MigrationConfigProperties(Resource): @@ -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 @@ -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}, } @@ -50,6 +54,7 @@ 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'}, } @@ -57,5 +62,6 @@ class MigrationConfigProperties(Resource): 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 diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py index f15b63b735c5..3c079ba666f3 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource_namespace_patch import ResourceNamespacePatch +from .resource_namespace_patch_py3 import ResourceNamespacePatch class PremiumMessagingRegions(ResourceNamespacePatch): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py index b3e16e7aefe3..937efe445588 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class ResourceNamespacePatch(Resource): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py index 1d8782b33615..89c536c57bdf 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class Rule(Resource): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py index b19b3f0b6293..bc56273b70c9 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class SBAuthorizationRule(Resource): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py index 4ee417397b37..d308e48b33a6 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .tracked_resource import TrackedResource +from .tracked_resource_py3 import TrackedResource class SBNamespace(TrackedResource): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py index 04cadaaeabc7..80ac2a2b3457 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource_namespace_patch import ResourceNamespacePatch +from .resource_namespace_patch_py3 import ResourceNamespacePatch class SBNamespaceUpdateParameters(ResourceNamespacePatch): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py index dd370f7146ae..44afe3abe826 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class SBQueue(Resource): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py index 2c730d0bdd68..e2f9351a6a0b 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class SBSubscription(Resource): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py index 36087b83451d..3f7e90ea3f9f 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class SBTopic(Resource): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py index 94786ea833d5..d9534e0211a3 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .action import Action +from .action_py3 import Action class SqlRuleAction(Action): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py index 2caa0475de57..f55c922babff 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class TrackedResource(Resource): From a23c0e2c54968f404126c5da4e4cb511fd189fae Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 29 Jun 2018 06:04:00 -0700 Subject: [PATCH 2/4] Generated from 456d9c297ba01a0d2232af0cff04ccd21ffdd884 (#2845) Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into SBMigrationprop # Conflicts: # specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json --- .../azure/mgmt/servicebus/models/arm_disaster_recovery.py | 2 +- .../azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py | 2 +- .../azure/mgmt/servicebus/models/migration_config_properties.py | 2 +- .../mgmt/servicebus/models/migration_config_properties_py3.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py index 8e698a8bf832..b2134935b610 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py @@ -59,7 +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'}, + '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'}, diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py index a7d7cd82ec8c..6b6b91e9c6db 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py @@ -59,7 +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'}, + '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'}, diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py index e35dc545fc95..607238be9073 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py @@ -54,7 +54,7 @@ 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'}, + 'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'}, 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, 'post_migration_name': {'key': 'properties.postMigrationName', 'type': 'str'}, } diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py index 65b5b0e30b0b..3df65e7dd2c4 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py @@ -54,7 +54,7 @@ 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'}, + 'pending_replication_operations_count': {'key': 'properties.pendingReplicationOperationsCount', 'type': 'long'}, 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, 'post_migration_name': {'key': 'properties.postMigrationName', 'type': 'str'}, } From 60e61fa6a320cdea09aece37cf2a5f05a1886ea7 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Mon, 9 Jul 2018 13:37:33 -0700 Subject: [PATCH 3/4] SB 0.5.1 packaging --- azure-mgmt-servicebus/HISTORY.rst | 13 +- azure-mgmt-servicebus/build.json | 424 ----------------------- azure-mgmt-servicebus/sdk_packaging.toml | 5 + azure-mgmt-servicebus/setup.py | 1 + 4 files changed, 18 insertions(+), 425 deletions(-) delete mode 100644 azure-mgmt-servicebus/build.json create mode 100644 azure-mgmt-servicebus/sdk_packaging.toml diff --git a/azure-mgmt-servicebus/HISTORY.rst b/azure-mgmt-servicebus/HISTORY.rst index ed48a904b6cb..715c219f6edf 100644 --- a/azure-mgmt-servicebus/HISTORY.rst +++ b/azure-mgmt-servicebus/HISTORY.rst @@ -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) ++++++++++++++++++ @@ -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. diff --git a/azure-mgmt-servicebus/build.json b/azure-mgmt-servicebus/build.json deleted file mode 100644 index 7e98255e3d23..000000000000 --- a/azure-mgmt-servicebus/build.json +++ /dev/null @@ -1,424 +0,0 @@ -{ - "autorest": [ - { - "resolvedInfo": null, - "packageMetadata": { - "name": "@microsoft.azure/autorest-core", - "version": "2.0.4216", - "engines": { - "node": ">=7.10.0" - }, - "dependencies": {}, - "optionalDependencies": {}, - "devDependencies": { - "@types/commonmark": "^0.27.0", - "@types/js-yaml": "^3.10.0", - "@types/jsonpath": "^0.1.29", - "@types/node": "^8.0.53", - "@types/source-map": "^0.5.0", - "@types/yargs": "^8.0.2", - "dts-generator": "^2.1.0", - "mocha": "^4.0.1", - "mocha-typescript": "^1.1.7", - "shx": "0.2.2", - "static-link": "^0.2.3", - "vscode-jsonrpc": "^3.3.1" - }, - "bundleDependencies": false, - "peerDependencies": {}, - "deprecated": false, - "_resolved": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core", - "_shasum": "f6b97454df552dfa54bd0df23f8309665be5fd4c", - "_shrinkwrap": null, - "bin": { - "autorest-core": "./dist/app.js", - "autorest-language-service": "dist/language-service/language-service.js" - }, - "_id": "@microsoft.azure/autorest-core@2.0.4216", - "_from": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core", - "_requested": { - "type": "directory", - "where": "/git-restapi", - "raw": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core", - "rawSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core", - "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core", - "fetchSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core" - }, - "_spec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core", - "_where": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4216/node_modules/@microsoft.azure/autorest-core" - }, - "extensionManager": { - "installationPath": "/root/.autorest", - "sharedLock": { - "name": "/root/.autorest", - "exclusiveLock": { - "name": "_root_.autorest.exclusive-lock", - "options": { - "port": 45234, - "host": "2130706813", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.exclusive-lock:45234" - }, - "busyLock": { - "name": "_root_.autorest.busy-lock", - "options": { - "port": 37199, - "host": "2130756895", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.busy-lock:37199" - }, - "personalLock": { - "name": "_root_.autorest.2993.7630657127133.personal-lock", - "options": { - "port": 32110, - "host": "2130759376", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.2993.7630657127133.personal-lock:32110" - }, - "file": "/tmp/_root_.autorest.lock" - }, - "dotnetPath": "/root/.dotnet" - }, - "installationPath": "/root/.autorest" - }, - { - "resolvedInfo": null, - "packageMetadata": { - "name": "@microsoft.azure/autorest-core", - "version": "2.0.4221", - "engines": { - "node": ">=7.10.0" - }, - "dependencies": {}, - "optionalDependencies": {}, - "devDependencies": { - "@types/commonmark": "^0.27.0", - "@types/js-yaml": "^3.10.0", - "@types/jsonpath": "^0.1.29", - "@types/node": "^8.0.53", - "@types/source-map": "^0.5.0", - "@types/yargs": "^8.0.2", - "@types/z-schema": "^3.16.31", - "dts-generator": "^2.1.0", - "mocha": "^4.0.1", - "mocha-typescript": "^1.1.7", - "shx": "0.2.2", - "static-link": "^0.2.3", - "vscode-jsonrpc": "^3.3.1" - }, - "bundleDependencies": false, - "peerDependencies": {}, - "deprecated": false, - "_resolved": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core", - "_shasum": "c6f3b7719ea262513aeffa504d78fc50f74dac43", - "_shrinkwrap": null, - "bin": { - "autorest-core": "./dist/app.js", - "autorest-language-service": "dist/language-service/language-service.js" - }, - "_id": "@microsoft.azure/autorest-core@2.0.4221", - "_from": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core", - "_requested": { - "type": "directory", - "where": "/git-restapi", - "raw": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core", - "rawSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core", - "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core", - "fetchSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core" - }, - "_spec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core", - "_where": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4221/node_modules/@microsoft.azure/autorest-core" - }, - "extensionManager": { - "installationPath": "/root/.autorest", - "sharedLock": { - "name": "/root/.autorest", - "exclusiveLock": { - "name": "_root_.autorest.exclusive-lock", - "options": { - "port": 45234, - "host": "2130706813", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.exclusive-lock:45234" - }, - "busyLock": { - "name": "_root_.autorest.busy-lock", - "options": { - "port": 37199, - "host": "2130756895", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.busy-lock:37199" - }, - "personalLock": { - "name": "_root_.autorest.2993.7630657127133.personal-lock", - "options": { - "port": 32110, - "host": "2130759376", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.2993.7630657127133.personal-lock:32110" - }, - "file": "/tmp/_root_.autorest.lock" - }, - "dotnetPath": "/root/.dotnet" - }, - "installationPath": "/root/.autorest" - }, - { - "resolvedInfo": null, - "packageMetadata": { - "name": "@microsoft.azure/autorest.modeler", - "version": "2.0.21", - "dependencies": { - "dotnet-2.0.0": "^1.3.2" - }, - "optionalDependencies": {}, - "devDependencies": { - "coffee-script": "^1.11.1", - "dotnet-sdk-2.0.0": "^1.1.1", - "gulp": "^3.9.1", - "gulp-filter": "^5.0.0", - "gulp-line-ending-corrector": "^1.0.1", - "iced-coffee-script": "^108.0.11", - "marked": "^0.3.6", - "marked-terminal": "^2.0.0", - "moment": "^2.17.1", - "run-sequence": "*", - "shx": "^0.2.2", - "through2-parallel": "^0.1.3", - "yargs": "^8.0.2", - "yarn": "^1.0.2" - }, - "bundleDependencies": false, - "peerDependencies": {}, - "deprecated": false, - "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", - "_shasum": "3ce7d3939124b31830be15e5de99b9b7768afb90", - "_shrinkwrap": null, - "bin": null, - "_id": "@microsoft.azure/autorest.modeler@2.0.21", - "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", - "_requested": { - "type": "directory", - "where": "/git-restapi", - "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", - "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", - "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", - "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler" - }, - "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", - "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler" - }, - "extensionManager": { - "installationPath": "/root/.autorest", - "sharedLock": { - "name": "/root/.autorest", - "exclusiveLock": { - "name": "_root_.autorest.exclusive-lock", - "options": { - "port": 45234, - "host": "2130706813", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.exclusive-lock:45234" - }, - "busyLock": { - "name": "_root_.autorest.busy-lock", - "options": { - "port": 37199, - "host": "2130756895", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.busy-lock:37199" - }, - "personalLock": { - "name": "_root_.autorest.2993.7630657127133.personal-lock", - "options": { - "port": 32110, - "host": "2130759376", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.2993.7630657127133.personal-lock:32110" - }, - "file": "/tmp/_root_.autorest.lock" - }, - "dotnetPath": "/root/.dotnet" - }, - "installationPath": "/root/.autorest" - }, - { - "resolvedInfo": null, - "packageMetadata": { - "name": "@microsoft.azure/autorest.modeler", - "version": "2.3.38", - "dependencies": { - "dotnet-2.0.0": "^1.4.4" - }, - "optionalDependencies": {}, - "devDependencies": { - "@microsoft.azure/autorest.testserver": "2.3.1", - "autorest": "^2.0.4201", - "coffee-script": "^1.11.1", - "dotnet-sdk-2.0.0": "^1.4.4", - "gulp": "^3.9.1", - "gulp-filter": "^5.0.0", - "gulp-line-ending-corrector": "^1.0.1", - "iced-coffee-script": "^108.0.11", - "marked": "^0.3.6", - "marked-terminal": "^2.0.0", - "moment": "^2.17.1", - "run-sequence": "*", - "shx": "^0.2.2", - "through2-parallel": "^0.1.3", - "yargs": "^8.0.2", - "yarn": "^1.0.2" - }, - "bundleDependencies": false, - "peerDependencies": {}, - "deprecated": false, - "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", - "_shasum": "903bb77932e4ed1b8bc3b25cc39b167143494f6c", - "_shrinkwrap": null, - "bin": null, - "_id": "@microsoft.azure/autorest.modeler@2.3.38", - "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", - "_requested": { - "type": "directory", - "where": "/git-restapi", - "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", - "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", - "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", - "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler" - }, - "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", - "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler" - }, - "extensionManager": { - "installationPath": "/root/.autorest", - "sharedLock": { - "name": "/root/.autorest", - "exclusiveLock": { - "name": "_root_.autorest.exclusive-lock", - "options": { - "port": 45234, - "host": "2130706813", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.exclusive-lock:45234" - }, - "busyLock": { - "name": "_root_.autorest.busy-lock", - "options": { - "port": 37199, - "host": "2130756895", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.busy-lock:37199" - }, - "personalLock": { - "name": "_root_.autorest.2993.7630657127133.personal-lock", - "options": { - "port": 32110, - "host": "2130759376", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.2993.7630657127133.personal-lock:32110" - }, - "file": "/tmp/_root_.autorest.lock" - }, - "dotnetPath": "/root/.dotnet" - }, - "installationPath": "/root/.autorest" - }, - { - "resolvedInfo": null, - "packageMetadata": { - "name": "@microsoft.azure/autorest.python", - "version": "2.1.26", - "dependencies": { - "dotnet-2.0.0": "^1.4.4" - }, - "optionalDependencies": {}, - "devDependencies": { - "@microsoft.azure/autorest.testserver": "2.3.12", - "autorest": "^2.0.4203", - "coffee-script": "^1.11.1", - "dotnet-sdk-2.0.0": "^1.4.4", - "gulp": "^3.9.1", - "gulp-filter": "^5.0.0", - "gulp-line-ending-corrector": "^1.0.1", - "iced-coffee-script": "^108.0.11", - "marked": "^0.3.6", - "marked-terminal": "^2.0.0", - "moment": "^2.17.1", - "run-sequence": "*", - "shx": "^0.2.2", - "through2-parallel": "^0.1.3", - "yargs": "^8.0.2", - "yarn": "^1.0.2" - }, - "bundleDependencies": false, - "peerDependencies": {}, - "deprecated": false, - "_resolved": "/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python", - "_shasum": "fce552a203c4b359b3f21a194a6deacc8f40ae80", - "_shrinkwrap": null, - "bin": null, - "_id": "@microsoft.azure/autorest.python@2.1.26", - "_from": "file:/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python", - "_requested": { - "type": "directory", - "where": "/git-restapi", - "raw": "/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python", - "rawSpec": "/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python", - "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python", - "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python" - }, - "_spec": "/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python", - "_where": "/root/.autorest/@microsoft.azure_autorest.python@2.1.26/node_modules/@microsoft.azure/autorest.python" - }, - "extensionManager": { - "installationPath": "/root/.autorest", - "sharedLock": { - "name": "/root/.autorest", - "exclusiveLock": { - "name": "_root_.autorest.exclusive-lock", - "options": { - "port": 45234, - "host": "2130706813", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.exclusive-lock:45234" - }, - "busyLock": { - "name": "_root_.autorest.busy-lock", - "options": { - "port": 37199, - "host": "2130756895", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.busy-lock:37199" - }, - "personalLock": { - "name": "_root_.autorest.2993.7630657127133.personal-lock", - "options": { - "port": 32110, - "host": "2130759376", - "exclusive": true - }, - "pipe": "/tmp/pipe__root_.autorest.2993.7630657127133.personal-lock:32110" - }, - "file": "/tmp/_root_.autorest.lock" - }, - "dotnetPath": "/root/.dotnet" - }, - "installationPath": "/root/.autorest" - } - ], - "autorest_bootstrap": {} -} \ No newline at end of file diff --git a/azure-mgmt-servicebus/sdk_packaging.toml b/azure-mgmt-servicebus/sdk_packaging.toml new file mode 100644 index 000000000000..5b1c227a0258 --- /dev/null +++ b/azure-mgmt-servicebus/sdk_packaging.toml @@ -0,0 +1,5 @@ +[packaging] +package_name = "azure-mgmt-servicebus" +package_pprint_name = "Service Bus Management" +package_doc_id = "servicebus" +is_stable = false diff --git a/azure-mgmt-servicebus/setup.py b/azure-mgmt-servicebus/setup.py index 96fbfb500995..f644ec4bbccd 100644 --- a/azure-mgmt-servicebus/setup.py +++ b/azure-mgmt-servicebus/setup.py @@ -72,6 +72,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', ], zip_safe=False, From d855ed337425d5e4e47be50e66efe2e3e3a94cb2 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Mon, 9 Jul 2018 13:51:47 -0700 Subject: [PATCH 4/4] version 0.5.1 --- azure-mgmt-servicebus/azure/mgmt/servicebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py index 266f5a486d79..c9fea7678df4 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.5.0" +VERSION = "0.5.1"