Skip to content

Commit 4a1e096

Browse files
author
SDKAuto
committed
CodeGen from PR 31544 in Azure/azure-rest-api-specs
Merge beb58bae6ea20745963ae7853c3f034e46469f15 into 63d530d0def1c624f5d42d39170ff4ac196522e2
1 parent 29d71c1 commit 4a1e096

File tree

87 files changed

+683
-207
lines changed

Some content is hidden

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

87 files changed

+683
-207
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "0629824cb7947f5b349c7602675432b2f29da1cb",
2+
"commit": "dd7041c33d40e3097d7e8c2dffb92fc986f7357d",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/webpubsub/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=package-2024-03-01 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/webpubsub/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/webpubsub/resource-manager/readme.md"
1111
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class WebPubSubManagementClientConfiguration: # pylint: disable=too-many-instan
2828
:type credential: ~azure.core.credentials.TokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
32-
default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
32+
this default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-03-01")
37+
api_version: str = kwargs.pop("api_version", "2024-10-01-preview")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

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 = "2.0.0"
9+
VERSION = "0.1.0"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class WebPubSubManagementClient: # pylint: disable=client-accepts-api-version-k
7777
:type subscription_id: str
7878
:param base_url: Service URL. Default value is "https://management.azure.com".
7979
:type base_url: str
80-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
81-
default value may result in unsupported behavior.
80+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
81+
this default value may result in unsupported behavior.
8282
:paramtype api_version: str
8383
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
8484
Retry-After header is present.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class WebPubSubManagementClientConfiguration: # pylint: disable=too-many-instan
2828
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
32-
default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
32+
this default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-03-01")
37+
api_version: str = kwargs.pop("api_version", "2024-10-01-preview")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class WebPubSubManagementClient: # pylint: disable=client-accepts-api-version-k
7777
:type subscription_id: str
7878
:param base_url: Service URL. Default value is "https://management.azure.com".
7979
:type base_url: str
80-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
81-
default value may result in unsupported behavior.
80+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
81+
this default value may result in unsupported behavior.
8282
:paramtype api_version: str
8383
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
8484
Retry-After header is present.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def check_name_availability(
8585
) -> _models.NameAvailability:
8686
"""Checks that the resource name is valid and is not already in use.
8787
88-
:param location: the region. Required.
88+
:param location: The region. Required.
8989
:type location: str
9090
:param parameters: Parameters supplied to the operation. Required.
9191
:type parameters: ~azure.mgmt.webpubsub.models.NameAvailabilityParameters
@@ -103,7 +103,7 @@ async def check_name_availability(
103103
) -> _models.NameAvailability:
104104
"""Checks that the resource name is valid and is not already in use.
105105
106-
:param location: the region. Required.
106+
:param location: The region. Required.
107107
:type location: str
108108
:param parameters: Parameters supplied to the operation. Required.
109109
:type parameters: IO[bytes]
@@ -121,7 +121,7 @@ async def check_name_availability(
121121
) -> _models.NameAvailability:
122122
"""Checks that the resource name is valid and is not already in use.
123123
124-
:param location: the region. Required.
124+
:param location: The region. Required.
125125
:type location: str
126126
:param parameters: Parameters supplied to the operation. Is either a NameAvailabilityParameters
127127
type or a IO[bytes] type. Required.

sdk/webpubsub/azure-mgmt-webpubsub/azure/mgmt/webpubsub/models/__init__.py

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

9+
from ._models_py3 import ApplicationFirewallSettings
10+
from ._models_py3 import ClientConnectionCountRule
11+
from ._models_py3 import ClientTrafficControlRule
912
from ._models_py3 import CustomCertificate
1013
from ._models_py3 import CustomCertificateList
1114
from ._models_py3 import CustomDomain
@@ -62,7 +65,13 @@
6265
from ._models_py3 import SkuCapacity
6366
from ._models_py3 import SkuList
6467
from ._models_py3 import SystemData
68+
from ._models_py3 import ThrottleByJwtCustomClaimRule
69+
from ._models_py3 import ThrottleByJwtSignatureRule
70+
from ._models_py3 import ThrottleByUserIdRule
6571
from ._models_py3 import TrackedResource
72+
from ._models_py3 import TrafficThrottleByJwtCustomClaimRule
73+
from ._models_py3 import TrafficThrottleByJwtSignatureRule
74+
from ._models_py3 import TrafficThrottleByUserIdRule
6675
from ._models_py3 import UpstreamAuthSettings
6776
from ._models_py3 import UserAssignedIdentityProperty
6877
from ._models_py3 import WebPubSubHub
@@ -76,6 +85,8 @@
7685
from ._models_py3 import WebPubSubTlsSettings
7786

7887
from ._web_pub_sub_management_client_enums import ACLAction
88+
from ._web_pub_sub_management_client_enums import ClientConnectionCountRuleDiscriminator
89+
from ._web_pub_sub_management_client_enums import ClientTrafficControlRuleDiscriminator
7990
from ._web_pub_sub_management_client_enums import CreatedByType
8091
from ._web_pub_sub_management_client_enums import EventListenerEndpointDiscriminator
8192
from ._web_pub_sub_management_client_enums import EventListenerFilterDiscriminator
@@ -94,6 +105,9 @@
94105
from ._patch import patch_sdk as _patch_sdk
95106

96107
__all__ = [
108+
"ApplicationFirewallSettings",
109+
"ClientConnectionCountRule",
110+
"ClientTrafficControlRule",
97111
"CustomCertificate",
98112
"CustomCertificateList",
99113
"CustomDomain",
@@ -150,7 +164,13 @@
150164
"SkuCapacity",
151165
"SkuList",
152166
"SystemData",
167+
"ThrottleByJwtCustomClaimRule",
168+
"ThrottleByJwtSignatureRule",
169+
"ThrottleByUserIdRule",
153170
"TrackedResource",
171+
"TrafficThrottleByJwtCustomClaimRule",
172+
"TrafficThrottleByJwtSignatureRule",
173+
"TrafficThrottleByUserIdRule",
154174
"UpstreamAuthSettings",
155175
"UserAssignedIdentityProperty",
156176
"WebPubSubHub",
@@ -163,6 +183,8 @@
163183
"WebPubSubSocketIOSettings",
164184
"WebPubSubTlsSettings",
165185
"ACLAction",
186+
"ClientConnectionCountRuleDiscriminator",
187+
"ClientTrafficControlRuleDiscriminator",
166188
"CreatedByType",
167189
"EventListenerEndpointDiscriminator",
168190
"EventListenerFilterDiscriminator",

0 commit comments

Comments
 (0)