Skip to content

Commit a405542

Browse files
Azure CLI BotSDKAutoRAY-316BigCat20196
authored andcommitted
[AutoRelease] t2-servicebus-2021-08-19-00756 (#20350)
* CodeGen from PR 14749 in Azure/azure-rest-api-specs add apitestErrorCode doc (#14749) * add apitestErrorCode doc * add armRPC doc * add roundTripInconsistentProperty doc * small fix * update * update signalR armTemplate * update yaml * new file * add testScenario with armTemplate * update doc * update readme.md * update doc * update NOTE section * add signalRCreateOrUpdate example file * udpate doc * add generate test scenario section * update doc * add serviceFacbric test scenario file * update managedClusters.yaml * update generateABasicTestScenario.md * update features doc * add run api test gif * version,CHANGELOG * test * Update test_cli_mgmt_servicebus_namespace.py * Update test_queues.py * Update test_queues.py Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed Lei <[email protected]> Co-authored-by: Jiefeng Chen <[email protected]>
1 parent 77f588b commit a405542

File tree

154 files changed

+50151
-3722
lines changed

Some content is hidden

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

154 files changed

+50151
-3722
lines changed

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

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

3+
## 7.0.0 (2021-08-19)
4+
5+
**Features**
6+
7+
- Model Rule has a new parameter system_data
8+
- Model SBNamespaceUpdateParameters has a new parameter private_endpoint_connections
9+
- Model PrivateEndpointConnection has a new parameter system_data
10+
- Model SBTopic has a new parameter system_data
11+
- Model Identity has a new parameter user_assigned_identities
12+
- Model SBNamespace has a new parameter system_data
13+
- Model SBNamespace has a new parameter private_endpoint_connections
14+
- Model Encryption has a new parameter require_infrastructure_encryption
15+
- Model SBAuthorizationRule has a new parameter system_data
16+
- Model SBSubscription has a new parameter system_data
17+
- Model KeyVaultProperties has a new parameter key_version
18+
- Model KeyVaultProperties has a new parameter identity
19+
- Model ArmDisasterRecovery has a new parameter system_data
20+
- Model NetworkRuleSet has a new parameter system_data
21+
- Model SBQueue has a new parameter system_data
22+
- Model MigrationConfigProperties has a new parameter system_data
23+
- Added operation NamespacesOperations.list_network_rule_sets
24+
25+
**Breaking changes**
26+
27+
- Parameter id of model Subnet is now required
28+
- Removed operation NamespacesOperations.list_virtual_network_rules
29+
- Removed operation NamespacesOperations.migrate
30+
- Removed operation NamespacesOperations.delete_ip_filter_rule
31+
- Removed operation NamespacesOperations.get_virtual_network_rule
32+
- Removed operation NamespacesOperations.create_or_update_ip_filter_rule
33+
- Removed operation NamespacesOperations.delete_virtual_network_rule
34+
- Removed operation NamespacesOperations.get_ip_filter_rule
35+
- Removed operation NamespacesOperations.list_ip_filter_rules
36+
- Removed operation NamespacesOperations.create_or_update_virtual_network_rule
37+
338
## 6.0.0 (2020-11-23)
439

540
**Features**

sdk/servicebus/azure-mgmt-servicebus/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"autorest": "3.4.5",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "45bf753575c080524ca3439441430eb47d8b982f",
8+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9+
"autorest_command": "autorest specification/servicebus/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
10+
"readme": "specification/servicebus/resource-manager/readme.md"
11+
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# --------------------------------------------------------------------------
88

99
from ._service_bus_management_client import ServiceBusManagementClient
10-
from ._version import VERSION
11-
12-
__version__ = VERSION
1310
__all__ = ['ServiceBusManagementClient']
1411

1512
try:

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
4-
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
57
# Code generated by Microsoft (R) AutoRest Code Generator.
6-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
710
# --------------------------------------------------------------------------
8-
911
from typing import TYPE_CHECKING
1012

1113
from azure.core.configuration import Configuration
@@ -20,7 +22,6 @@
2022

2123
from azure.core.credentials import TokenCredential
2224

23-
2425
class ServiceBusManagementClientConfiguration(Configuration):
2526
"""Configuration for ServiceBusManagementClient.
2627
@@ -49,7 +50,7 @@ def __init__(
4950
self.credential = credential
5051
self.subscription_id = subscription_id
5152
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
52-
kwargs.setdefault('sdk_moniker', 'mgmt-servicebus/{}'.format(VERSION))
53+
kwargs.setdefault('sdk_moniker', 'azure-mgmt-servicebus/{}'.format(VERSION))
5354
self._configure(**kwargs)
5455

5556
def _configure(

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

Lines changed: 322 additions & 86 deletions
Large diffs are not rendered by default.

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.0"
9+
VERSION = "7.0.0"

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
4-
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
57
# Code generated by Microsoft (R) AutoRest Code Generator.
6-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
710
# --------------------------------------------------------------------------
8-
911
from typing import Any, TYPE_CHECKING
1012

1113
from azure.core.configuration import Configuration
@@ -18,7 +20,6 @@
1820
# pylint: disable=unused-import,ungrouped-imports
1921
from azure.core.credentials_async import AsyncTokenCredential
2022

21-
2223
class ServiceBusManagementClientConfiguration(Configuration):
2324
"""Configuration for ServiceBusManagementClient.
2425
@@ -35,7 +36,7 @@ def __init__(
3536
self,
3637
credential: "AsyncTokenCredential",
3738
subscription_id: str,
38-
**kwargs: Any
39+
**kwargs # type: Any
3940
) -> None:
4041
if credential is None:
4142
raise ValueError("Parameter 'credential' must not be None.")
@@ -46,7 +47,7 @@ def __init__(
4647
self.credential = credential
4748
self.subscription_id = subscription_id
4849
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
49-
kwargs.setdefault('sdk_moniker', 'mgmt-servicebus/{}'.format(VERSION))
50+
kwargs.setdefault('sdk_moniker', 'azure-mgmt-servicebus/{}'.format(VERSION))
5051
self._configure(**kwargs)
5152

5253
def _configure(

0 commit comments

Comments
 (0)