Skip to content

Commit 2154e14

Browse files
authored
GA track2 servicebus (Azure#15521)
1 parent ed31809 commit 2154e14

File tree

47 files changed

+5605
-3937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+5605
-3937
lines changed

sdk/servicebus/azure-mgmt-servicebus/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Release History
22

3+
## 6.0.0 (2020-11-23)
4+
5+
**Features**
6+
7+
- Model SBNamespaceUpdateParameters has a new parameter zone_redundant
8+
- Model SBNamespaceUpdateParameters has a new parameter identity
9+
- Model SBNamespaceUpdateParameters has a new parameter encryption
10+
- Model SBNamespace has a new parameter zone_redundant
11+
- Model SBNamespace has a new parameter identity
12+
- Model SBNamespace has a new parameter encryption
13+
- Added operation NamespacesOperations.get_ip_filter_rule
14+
- Added operation NamespacesOperations.list_ip_filter_rules
15+
- Added operation NamespacesOperations.delete_virtual_network_rule
16+
- Added operation NamespacesOperations.list_virtual_network_rules
17+
- Added operation NamespacesOperations.get_virtual_network_rule
18+
- Added operation NamespacesOperations.create_or_update_ip_filter_rule
19+
- Added operation NamespacesOperations.delete_ip_filter_rule
20+
- Added operation NamespacesOperations.create_or_update_virtual_network_rule
21+
- Added operation group PrivateLinkResourcesOperations
22+
- Added operation group PrivateEndpointConnectionsOperations
23+
24+
**Breaking changes**
25+
26+
- Operation DisasterRecoveryConfigsOperations.fail_over has a new signature
27+
- Model ErrorResponse has a new signature
28+
- Removed operation NamespacesOperations.list_network_rule_sets
29+
330
## 6.0.0b1 (2020-10-12)
431

532
This is beta preview version.

sdk/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/_configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2017-04-01"
5251
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5352
kwargs.setdefault('sdk_moniker', 'mgmt-servicebus/{}'.format(VERSION))
5453
self._configure(**kwargs)

sdk/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/_service_bus_management_client.py

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,45 +18,51 @@
1818
from azure.core.credentials import TokenCredential
1919

2020
from ._configuration import ServiceBusManagementClientConfiguration
21-
from .operations import Operations
2221
from .operations import NamespacesOperations
22+
from .operations import PrivateEndpointConnectionsOperations
23+
from .operations import PrivateLinkResourcesOperations
24+
from .operations import Operations
2325
from .operations import DisasterRecoveryConfigsOperations
24-
from .operations import MigrationConfigsOperations
2526
from .operations import QueuesOperations
2627
from .operations import TopicsOperations
28+
from .operations import EventHubsOperations
29+
from .operations import MigrationConfigsOperations
30+
from .operations import PremiumMessagingRegionsOperations
31+
from .operations import RegionsOperations
2732
from .operations import SubscriptionsOperations
2833
from .operations import RulesOperations
29-
from .operations import RegionsOperations
30-
from .operations import PremiumMessagingRegionsOperations
31-
from .operations import EventHubsOperations
3234
from . import models
3335

3436

3537
class ServiceBusManagementClient(object):
36-
"""Azure Service Bus client.
38+
"""Azure Service Bus client for managing Namespace, IPFilter Rules, VirtualNetworkRules and Zone Redundant.
3739
38-
:ivar operations: Operations operations
39-
:vartype operations: azure.mgmt.servicebus.operations.Operations
4040
:ivar namespaces: NamespacesOperations operations
4141
:vartype namespaces: azure.mgmt.servicebus.operations.NamespacesOperations
42+
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
43+
:vartype private_endpoint_connections: azure.mgmt.servicebus.operations.PrivateEndpointConnectionsOperations
44+
:ivar private_link_resources: PrivateLinkResourcesOperations operations
45+
:vartype private_link_resources: azure.mgmt.servicebus.operations.PrivateLinkResourcesOperations
46+
:ivar operations: Operations operations
47+
:vartype operations: azure.mgmt.servicebus.operations.Operations
4248
:ivar disaster_recovery_configs: DisasterRecoveryConfigsOperations operations
4349
:vartype disaster_recovery_configs: azure.mgmt.servicebus.operations.DisasterRecoveryConfigsOperations
44-
:ivar migration_configs: MigrationConfigsOperations operations
45-
:vartype migration_configs: azure.mgmt.servicebus.operations.MigrationConfigsOperations
4650
:ivar queues: QueuesOperations operations
4751
:vartype queues: azure.mgmt.servicebus.operations.QueuesOperations
4852
:ivar topics: TopicsOperations operations
4953
:vartype topics: azure.mgmt.servicebus.operations.TopicsOperations
54+
:ivar event_hubs: EventHubsOperations operations
55+
:vartype event_hubs: azure.mgmt.servicebus.operations.EventHubsOperations
56+
:ivar migration_configs: MigrationConfigsOperations operations
57+
:vartype migration_configs: azure.mgmt.servicebus.operations.MigrationConfigsOperations
58+
:ivar premium_messaging_regions: PremiumMessagingRegionsOperations operations
59+
:vartype premium_messaging_regions: azure.mgmt.servicebus.operations.PremiumMessagingRegionsOperations
60+
:ivar regions: RegionsOperations operations
61+
:vartype regions: azure.mgmt.servicebus.operations.RegionsOperations
5062
:ivar subscriptions: SubscriptionsOperations operations
5163
:vartype subscriptions: azure.mgmt.servicebus.operations.SubscriptionsOperations
5264
:ivar rules: RulesOperations operations
5365
:vartype rules: azure.mgmt.servicebus.operations.RulesOperations
54-
:ivar regions: RegionsOperations operations
55-
:vartype regions: azure.mgmt.servicebus.operations.RegionsOperations
56-
:ivar premium_messaging_regions: PremiumMessagingRegionsOperations operations
57-
:vartype premium_messaging_regions: azure.mgmt.servicebus.operations.PremiumMessagingRegionsOperations
58-
:ivar event_hubs: EventHubsOperations operations
59-
:vartype event_hubs: azure.mgmt.servicebus.operations.EventHubsOperations
6066
:param credential: Credential needed for the client to connect to Azure.
6167
:type credential: ~azure.core.credentials.TokenCredential
6268
:param subscription_id: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -83,27 +89,31 @@ def __init__(
8389
self._serialize.client_side_validation = False
8490
self._deserialize = Deserializer(client_models)
8591

86-
self.operations = Operations(
87-
self._client, self._config, self._serialize, self._deserialize)
8892
self.namespaces = NamespacesOperations(
8993
self._client, self._config, self._serialize, self._deserialize)
90-
self.disaster_recovery_configs = DisasterRecoveryConfigsOperations(
94+
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
9195
self._client, self._config, self._serialize, self._deserialize)
92-
self.migration_configs = MigrationConfigsOperations(
96+
self.private_link_resources = PrivateLinkResourcesOperations(
97+
self._client, self._config, self._serialize, self._deserialize)
98+
self.operations = Operations(
99+
self._client, self._config, self._serialize, self._deserialize)
100+
self.disaster_recovery_configs = DisasterRecoveryConfigsOperations(
93101
self._client, self._config, self._serialize, self._deserialize)
94102
self.queues = QueuesOperations(
95103
self._client, self._config, self._serialize, self._deserialize)
96104
self.topics = TopicsOperations(
97105
self._client, self._config, self._serialize, self._deserialize)
98-
self.subscriptions = SubscriptionsOperations(
106+
self.event_hubs = EventHubsOperations(
99107
self._client, self._config, self._serialize, self._deserialize)
100-
self.rules = RulesOperations(
108+
self.migration_configs = MigrationConfigsOperations(
109+
self._client, self._config, self._serialize, self._deserialize)
110+
self.premium_messaging_regions = PremiumMessagingRegionsOperations(
101111
self._client, self._config, self._serialize, self._deserialize)
102112
self.regions = RegionsOperations(
103113
self._client, self._config, self._serialize, self._deserialize)
104-
self.premium_messaging_regions = PremiumMessagingRegionsOperations(
114+
self.subscriptions = SubscriptionsOperations(
105115
self._client, self._config, self._serialize, self._deserialize)
106-
self.event_hubs = EventHubsOperations(
116+
self.rules = RulesOperations(
107117
self._client, self._config, self._serialize, self._deserialize)
108118

109119
def close(self):

sdk/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "6.0.0b1"
9+
VERSION = "6.0.0"

sdk/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/aio/_configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2017-04-01"
4948
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5049
kwargs.setdefault('sdk_moniker', 'mgmt-servicebus/{}'.format(VERSION))
5150
self._configure(**kwargs)

sdk/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/aio/_service_bus_management_client.py

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,51 @@
1616
from azure.core.credentials_async import AsyncTokenCredential
1717

1818
from ._configuration import ServiceBusManagementClientConfiguration
19-
from .operations import Operations
2019
from .operations import NamespacesOperations
20+
from .operations import PrivateEndpointConnectionsOperations
21+
from .operations import PrivateLinkResourcesOperations
22+
from .operations import Operations
2123
from .operations import DisasterRecoveryConfigsOperations
22-
from .operations import MigrationConfigsOperations
2324
from .operations import QueuesOperations
2425
from .operations import TopicsOperations
26+
from .operations import EventHubsOperations
27+
from .operations import MigrationConfigsOperations
28+
from .operations import PremiumMessagingRegionsOperations
29+
from .operations import RegionsOperations
2530
from .operations import SubscriptionsOperations
2631
from .operations import RulesOperations
27-
from .operations import RegionsOperations
28-
from .operations import PremiumMessagingRegionsOperations
29-
from .operations import EventHubsOperations
3032
from .. import models
3133

3234

3335
class ServiceBusManagementClient(object):
34-
"""Azure Service Bus client.
36+
"""Azure Service Bus client for managing Namespace, IPFilter Rules, VirtualNetworkRules and Zone Redundant.
3537
36-
:ivar operations: Operations operations
37-
:vartype operations: azure.mgmt.servicebus.aio.operations.Operations
3838
:ivar namespaces: NamespacesOperations operations
3939
:vartype namespaces: azure.mgmt.servicebus.aio.operations.NamespacesOperations
40+
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
41+
:vartype private_endpoint_connections: azure.mgmt.servicebus.aio.operations.PrivateEndpointConnectionsOperations
42+
:ivar private_link_resources: PrivateLinkResourcesOperations operations
43+
:vartype private_link_resources: azure.mgmt.servicebus.aio.operations.PrivateLinkResourcesOperations
44+
:ivar operations: Operations operations
45+
:vartype operations: azure.mgmt.servicebus.aio.operations.Operations
4046
:ivar disaster_recovery_configs: DisasterRecoveryConfigsOperations operations
4147
:vartype disaster_recovery_configs: azure.mgmt.servicebus.aio.operations.DisasterRecoveryConfigsOperations
42-
:ivar migration_configs: MigrationConfigsOperations operations
43-
:vartype migration_configs: azure.mgmt.servicebus.aio.operations.MigrationConfigsOperations
4448
:ivar queues: QueuesOperations operations
4549
:vartype queues: azure.mgmt.servicebus.aio.operations.QueuesOperations
4650
:ivar topics: TopicsOperations operations
4751
:vartype topics: azure.mgmt.servicebus.aio.operations.TopicsOperations
52+
:ivar event_hubs: EventHubsOperations operations
53+
:vartype event_hubs: azure.mgmt.servicebus.aio.operations.EventHubsOperations
54+
:ivar migration_configs: MigrationConfigsOperations operations
55+
:vartype migration_configs: azure.mgmt.servicebus.aio.operations.MigrationConfigsOperations
56+
:ivar premium_messaging_regions: PremiumMessagingRegionsOperations operations
57+
:vartype premium_messaging_regions: azure.mgmt.servicebus.aio.operations.PremiumMessagingRegionsOperations
58+
:ivar regions: RegionsOperations operations
59+
:vartype regions: azure.mgmt.servicebus.aio.operations.RegionsOperations
4860
:ivar subscriptions: SubscriptionsOperations operations
4961
:vartype subscriptions: azure.mgmt.servicebus.aio.operations.SubscriptionsOperations
5062
:ivar rules: RulesOperations operations
5163
:vartype rules: azure.mgmt.servicebus.aio.operations.RulesOperations
52-
:ivar regions: RegionsOperations operations
53-
:vartype regions: azure.mgmt.servicebus.aio.operations.RegionsOperations
54-
:ivar premium_messaging_regions: PremiumMessagingRegionsOperations operations
55-
:vartype premium_messaging_regions: azure.mgmt.servicebus.aio.operations.PremiumMessagingRegionsOperations
56-
:ivar event_hubs: EventHubsOperations operations
57-
:vartype event_hubs: azure.mgmt.servicebus.aio.operations.EventHubsOperations
5864
:param credential: Credential needed for the client to connect to Azure.
5965
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
6066
:param subscription_id: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -80,27 +86,31 @@ def __init__(
8086
self._serialize.client_side_validation = False
8187
self._deserialize = Deserializer(client_models)
8288

83-
self.operations = Operations(
84-
self._client, self._config, self._serialize, self._deserialize)
8589
self.namespaces = NamespacesOperations(
8690
self._client, self._config, self._serialize, self._deserialize)
87-
self.disaster_recovery_configs = DisasterRecoveryConfigsOperations(
91+
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
8892
self._client, self._config, self._serialize, self._deserialize)
89-
self.migration_configs = MigrationConfigsOperations(
93+
self.private_link_resources = PrivateLinkResourcesOperations(
94+
self._client, self._config, self._serialize, self._deserialize)
95+
self.operations = Operations(
96+
self._client, self._config, self._serialize, self._deserialize)
97+
self.disaster_recovery_configs = DisasterRecoveryConfigsOperations(
9098
self._client, self._config, self._serialize, self._deserialize)
9199
self.queues = QueuesOperations(
92100
self._client, self._config, self._serialize, self._deserialize)
93101
self.topics = TopicsOperations(
94102
self._client, self._config, self._serialize, self._deserialize)
95-
self.subscriptions = SubscriptionsOperations(
103+
self.event_hubs = EventHubsOperations(
96104
self._client, self._config, self._serialize, self._deserialize)
97-
self.rules = RulesOperations(
105+
self.migration_configs = MigrationConfigsOperations(
106+
self._client, self._config, self._serialize, self._deserialize)
107+
self.premium_messaging_regions = PremiumMessagingRegionsOperations(
98108
self._client, self._config, self._serialize, self._deserialize)
99109
self.regions = RegionsOperations(
100110
self._client, self._config, self._serialize, self._deserialize)
101-
self.premium_messaging_regions = PremiumMessagingRegionsOperations(
111+
self.subscriptions = SubscriptionsOperations(
102112
self._client, self._config, self._serialize, self._deserialize)
103-
self.event_hubs = EventHubsOperations(
113+
self.rules = RulesOperations(
104114
self._client, self._config, self._serialize, self._deserialize)
105115

106116
async def close(self) -> None:

sdk/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/aio/operations/__init__.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,32 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from ._operations import Operations
109
from ._namespaces_operations import NamespacesOperations
10+
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
11+
from ._private_link_resources_operations import PrivateLinkResourcesOperations
12+
from ._operations import Operations
1113
from ._disaster_recovery_configs_operations import DisasterRecoveryConfigsOperations
12-
from ._migration_configs_operations import MigrationConfigsOperations
1314
from ._queues_operations import QueuesOperations
1415
from ._topics_operations import TopicsOperations
16+
from ._event_hubs_operations import EventHubsOperations
17+
from ._migration_configs_operations import MigrationConfigsOperations
18+
from ._premium_messaging_regions_operations import PremiumMessagingRegionsOperations
19+
from ._regions_operations import RegionsOperations
1520
from ._subscriptions_operations import SubscriptionsOperations
1621
from ._rules_operations import RulesOperations
17-
from ._regions_operations import RegionsOperations
18-
from ._premium_messaging_regions_operations import PremiumMessagingRegionsOperations
19-
from ._event_hubs_operations import EventHubsOperations
2022

2123
__all__ = [
22-
'Operations',
2324
'NamespacesOperations',
25+
'PrivateEndpointConnectionsOperations',
26+
'PrivateLinkResourcesOperations',
27+
'Operations',
2428
'DisasterRecoveryConfigsOperations',
25-
'MigrationConfigsOperations',
2629
'QueuesOperations',
2730
'TopicsOperations',
31+
'EventHubsOperations',
32+
'MigrationConfigsOperations',
33+
'PremiumMessagingRegionsOperations',
34+
'RegionsOperations',
2835
'SubscriptionsOperations',
2936
'RulesOperations',
30-
'RegionsOperations',
31-
'PremiumMessagingRegionsOperations',
32-
'EventHubsOperations',
3337
]

0 commit comments

Comments
 (0)