Skip to content

Commit 8a48e5d

Browse files
Azure CLI BotSDKAutoRAY-316
authored
[AutoRelease] t2-webpubsub-2021-10-11-60291 (Azure#21194)
* CodeGen from PR 16165 in Azure/azure-rest-api-specs Fix example type (Azure#16165) * version,CHANGELOG * Update CHANGELOG.md Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com>
1 parent edca9a5 commit 8a48e5d

28 files changed

+1898
-313
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Release History
22

3+
## 1.0.0 (2021-10-11)
4+
5+
**Features**
6+
7+
- Model PrivateEndpointConnection has a new parameter group_ids
8+
- Model WebPubSubResource has a new parameter host_name_prefix
9+
- Model WebPubSubResource has a new parameter disable_local_auth
10+
- Model WebPubSubResource has a new parameter resource_log_configuration
11+
- Model WebPubSubResource has a new parameter live_trace_configuration
12+
- Model WebPubSubResource has a new parameter disable_aad_auth
13+
- Added operation WebPubSubOperations.list_skus
14+
- Added operation group WebPubSubHubsOperations
15+
16+
**Breaking changes**
17+
18+
- Model WebPubSubResource no longer has parameter features
19+
- Model WebPubSubResource no longer has parameter event_handler
20+
321
## 1.0.0b1 (2021-04-16)
422

523
* Initial Release
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"autorest": "3.3.0",
3-
"use": "@autorest/python@5.6.6",
4-
"commit": "a4f67651dcaef459afabb647a05a45a5fbb72ffe",
2+
"autorest": "3.4.5",
3+
"use": [
4+
"@autorest/python@5.8.4",
5+
"@autorest/modelerfour@4.19.2"
6+
],
7+
"commit": "f6de239922d6b23e97750ca3f508ac55c1d2f235",
58
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6-
"autorest_command": "autorest specification/webpubsub/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/python@5.6.6 --version=3.3.0",
9+
"autorest_command": "autorest specification/webpubsub/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/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
710
"readme": "specification/webpubsub/resource-manager/readme.md"
811
}

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

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

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2021-04-01-preview"
51+
self.api_version = "2021-10-01"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-webpubsub/{}'.format(VERSION))
5454
self._configure(**kwargs)

sdk/webpubsub/azure-mgmt-webpubsub/azure/mgmt/webpubsub/_metadata.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2021-04-01-preview",
3-
"total_api_version_list": ["2021-04-01-preview"],
2+
"chosen_version": "2021-10-01",
3+
"total_api_version_list": ["2021-10-01"],
44
"client": {
55
"name": "WebPubSubManagementClient",
66
"filename": "_web_pub_sub_management_client",
@@ -101,6 +101,7 @@
101101
"operations": "Operations",
102102
"web_pub_sub": "WebPubSubOperations",
103103
"usages": "UsagesOperations",
104+
"web_pub_sub_hubs": "WebPubSubHubsOperations",
104105
"web_pub_sub_private_endpoint_connections": "WebPubSubPrivateEndpointConnectionsOperations",
105106
"web_pub_sub_private_link_resources": "WebPubSubPrivateLinkResourcesOperations",
106107
"web_pub_sub_shared_private_link_resources": "WebPubSubSharedPrivateLinkResourcesOperations"

sdk/webpubsub/azure-mgmt-webpubsub/azure/mgmt/webpubsub/_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 = "1.0.0b1"
9+
VERSION = "1.0.0"

sdk/webpubsub/azure-mgmt-webpubsub/azure/mgmt/webpubsub/_web_pub_sub_management_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from .operations import Operations
2323
from .operations import WebPubSubOperations
2424
from .operations import UsagesOperations
25+
from .operations import WebPubSubHubsOperations
2526
from .operations import WebPubSubPrivateEndpointConnectionsOperations
2627
from .operations import WebPubSubPrivateLinkResourcesOperations
2728
from .operations import WebPubSubSharedPrivateLinkResourcesOperations
@@ -37,6 +38,8 @@ class WebPubSubManagementClient(object):
3738
:vartype web_pub_sub: azure.mgmt.webpubsub.operations.WebPubSubOperations
3839
:ivar usages: UsagesOperations operations
3940
:vartype usages: azure.mgmt.webpubsub.operations.UsagesOperations
41+
:ivar web_pub_sub_hubs: WebPubSubHubsOperations operations
42+
:vartype web_pub_sub_hubs: azure.mgmt.webpubsub.operations.WebPubSubHubsOperations
4043
:ivar web_pub_sub_private_endpoint_connections: WebPubSubPrivateEndpointConnectionsOperations operations
4144
:vartype web_pub_sub_private_endpoint_connections: azure.mgmt.webpubsub.operations.WebPubSubPrivateEndpointConnectionsOperations
4245
:ivar web_pub_sub_private_link_resources: WebPubSubPrivateLinkResourcesOperations operations
@@ -75,6 +78,8 @@ def __init__(
7578
self._client, self._config, self._serialize, self._deserialize)
7679
self.usages = UsagesOperations(
7780
self._client, self._config, self._serialize, self._deserialize)
81+
self.web_pub_sub_hubs = WebPubSubHubsOperations(
82+
self._client, self._config, self._serialize, self._deserialize)
7883
self.web_pub_sub_private_endpoint_connections = WebPubSubPrivateEndpointConnectionsOperations(
7984
self._client, self._config, self._serialize, self._deserialize)
8085
self.web_pub_sub_private_link_resources = WebPubSubPrivateLinkResourcesOperations(

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

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

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2021-04-01-preview"
48+
self.api_version = "2021-10-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-webpubsub/{}'.format(VERSION))
5151
self._configure(**kwargs)

sdk/webpubsub/azure-mgmt-webpubsub/azure/mgmt/webpubsub/aio/_web_pub_sub_management_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from .operations import Operations
2121
from .operations import WebPubSubOperations
2222
from .operations import UsagesOperations
23+
from .operations import WebPubSubHubsOperations
2324
from .operations import WebPubSubPrivateEndpointConnectionsOperations
2425
from .operations import WebPubSubPrivateLinkResourcesOperations
2526
from .operations import WebPubSubSharedPrivateLinkResourcesOperations
@@ -35,6 +36,8 @@ class WebPubSubManagementClient(object):
3536
:vartype web_pub_sub: azure.mgmt.webpubsub.aio.operations.WebPubSubOperations
3637
:ivar usages: UsagesOperations operations
3738
:vartype usages: azure.mgmt.webpubsub.aio.operations.UsagesOperations
39+
:ivar web_pub_sub_hubs: WebPubSubHubsOperations operations
40+
:vartype web_pub_sub_hubs: azure.mgmt.webpubsub.aio.operations.WebPubSubHubsOperations
3841
:ivar web_pub_sub_private_endpoint_connections: WebPubSubPrivateEndpointConnectionsOperations operations
3942
:vartype web_pub_sub_private_endpoint_connections: azure.mgmt.webpubsub.aio.operations.WebPubSubPrivateEndpointConnectionsOperations
4043
:ivar web_pub_sub_private_link_resources: WebPubSubPrivateLinkResourcesOperations operations
@@ -72,6 +75,8 @@ def __init__(
7275
self._client, self._config, self._serialize, self._deserialize)
7376
self.usages = UsagesOperations(
7477
self._client, self._config, self._serialize, self._deserialize)
78+
self.web_pub_sub_hubs = WebPubSubHubsOperations(
79+
self._client, self._config, self._serialize, self._deserialize)
7580
self.web_pub_sub_private_endpoint_connections = WebPubSubPrivateEndpointConnectionsOperations(
7681
self._client, self._config, self._serialize, self._deserialize)
7782
self.web_pub_sub_private_link_resources = WebPubSubPrivateLinkResourcesOperations(

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from ._operations import Operations
1010
from ._web_pub_sub_operations import WebPubSubOperations
1111
from ._usages_operations import UsagesOperations
12+
from ._web_pub_sub_hubs_operations import WebPubSubHubsOperations
1213
from ._web_pub_sub_private_endpoint_connections_operations import WebPubSubPrivateEndpointConnectionsOperations
1314
from ._web_pub_sub_private_link_resources_operations import WebPubSubPrivateLinkResourcesOperations
1415
from ._web_pub_sub_shared_private_link_resources_operations import WebPubSubSharedPrivateLinkResourcesOperations
@@ -17,6 +18,7 @@
1718
'Operations',
1819
'WebPubSubOperations',
1920
'UsagesOperations',
21+
'WebPubSubHubsOperations',
2022
'WebPubSubPrivateEndpointConnectionsOperations',
2123
'WebPubSubPrivateLinkResourcesOperations',
2224
'WebPubSubSharedPrivateLinkResourcesOperations',

sdk/webpubsub/azure-mgmt-webpubsub/azure/mgmt/webpubsub/aio/operations/_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4343

4444
def list(
4545
self,
46-
**kwargs
46+
**kwargs: Any
4747
) -> AsyncIterable["_models.OperationList"]:
4848
"""Lists all of the available REST API operations of the Microsoft.SignalRService provider.
4949
@@ -57,7 +57,7 @@ def list(
5757
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
5858
}
5959
error_map.update(kwargs.pop('error_map', {}))
60-
api_version = "2021-04-01-preview"
60+
api_version = "2021-10-01"
6161
accept = "application/json"
6262

6363
def prepare_request(next_link=None):

0 commit comments

Comments
 (0)