Skip to content

Commit 0acd5e4

Browse files
author
SDKAuto
committed
CodeGen from PR 32585 in Azure/azure-rest-api-specs
Merge 21400ebcbf3f9a92063d5a629c05636024d9af0c into f5671c70c93b5b6ec9734be971bfe2c8e3ad52c9
1 parent aa62911 commit 0acd5e4

File tree

85 files changed

+7761
-1395
lines changed

Some content is hidden

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

85 files changed

+7761
-1395
lines changed

sdk/loadtesting/azure-developer-loadtesting/MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ include azure/developer/loadtesting/py.typed
44
recursive-include tests *.py
55
recursive-include samples *.py *.md
66
include azure/__init__.py
7-
include azure/developer/__init__.py
7+
include azure/developer/__init__.py
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"commit": "2ad82511706dc035660b16b4754eb4232a9fc4dc",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/loadtestservice/LoadTestService",
5+
"@azure-tools/typespec-python": "0.44.1"
6+
}

sdk/loadtesting/azure-developer-loadtesting/apiview-properties.json

Lines changed: 182 additions & 0 deletions
Large diffs are not rendered by default.

sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_client.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from ._configuration import LoadTestAdministrationClientConfiguration, LoadTestRunClientConfiguration
1818
from ._operations import LoadTestAdministrationClientOperationsMixin, LoadTestRunClientOperationsMixin
19-
from ._serialization import Deserializer, Serializer
19+
from ._utils.serialization import Deserializer, Serializer
2020

2121
if TYPE_CHECKING:
2222
from azure.core.credentials import TokenCredential
@@ -30,14 +30,17 @@ class LoadTestAdministrationClient(LoadTestAdministrationClientOperationsMixin):
3030
:param credential: Credential used to authenticate requests to the service. Required.
3131
:type credential: ~azure.core.credentials.TokenCredential
3232
:keyword api_version: The API version to use for this operation. Default value is
33-
"2024-12-01-preview". Note that overriding this default value may result in unsupported
33+
"2025-03-01-preview". Note that overriding this default value may result in unsupported
3434
behavior.
3535
:paramtype api_version: str
36+
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
37+
Retry-After header is present.
3638
"""
3739

3840
def __init__(self, endpoint: str, credential: "TokenCredential", **kwargs: Any) -> None:
3941
_endpoint = "https://{endpoint}"
4042
self._config = LoadTestAdministrationClientConfiguration(endpoint=endpoint, credential=credential, **kwargs)
43+
4144
_policies = kwargs.pop("policies", None)
4245
if _policies is None:
4346
_policies = [
@@ -106,14 +109,15 @@ class LoadTestRunClient(LoadTestRunClientOperationsMixin):
106109
:param credential: Credential used to authenticate requests to the service. Required.
107110
:type credential: ~azure.core.credentials.TokenCredential
108111
:keyword api_version: The API version to use for this operation. Default value is
109-
"2024-12-01-preview". Note that overriding this default value may result in unsupported
112+
"2025-03-01-preview". Note that overriding this default value may result in unsupported
110113
behavior.
111114
:paramtype api_version: str
112115
"""
113116

114117
def __init__(self, endpoint: str, credential: "TokenCredential", **kwargs: Any) -> None:
115118
_endpoint = "https://{endpoint}"
116119
self._config = LoadTestRunClientConfiguration(endpoint=endpoint, credential=credential, **kwargs)
120+
117121
_policies = kwargs.pop("policies", None)
118122
if _policies is None:
119123
_policies = [

sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_configuration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class LoadTestAdministrationClientConfiguration: # pylint: disable=too-many-ins
2727
:param credential: Credential used to authenticate requests to the service. Required.
2828
:type credential: ~azure.core.credentials.TokenCredential
2929
:keyword api_version: The API version to use for this operation. Default value is
30-
"2024-12-01-preview". Note that overriding this default value may result in unsupported
30+
"2025-03-01-preview". Note that overriding this default value may result in unsupported
3131
behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
def __init__(self, endpoint: str, credential: "TokenCredential", **kwargs: Any) -> None:
36-
api_version: str = kwargs.pop("api_version", "2024-12-01-preview")
36+
api_version: str = kwargs.pop("api_version", "2025-03-01-preview")
3737

3838
if endpoint is None:
3939
raise ValueError("Parameter 'endpoint' must not be None.")
@@ -75,13 +75,13 @@ class LoadTestRunClientConfiguration: # pylint: disable=too-many-instance-attri
7575
:param credential: Credential used to authenticate requests to the service. Required.
7676
:type credential: ~azure.core.credentials.TokenCredential
7777
:keyword api_version: The API version to use for this operation. Default value is
78-
"2024-12-01-preview". Note that overriding this default value may result in unsupported
78+
"2025-03-01-preview". Note that overriding this default value may result in unsupported
7979
behavior.
8080
:paramtype api_version: str
8181
"""
8282

8383
def __init__(self, endpoint: str, credential: "TokenCredential", **kwargs: Any) -> None:
84-
api_version: str = kwargs.pop("api_version", "2024-12-01-preview")
84+
api_version: str = kwargs.pop("api_version", "2025-03-01-preview")
8585

8686
if endpoint is None:
8787
raise ValueError("Parameter 'endpoint' must not be None.")

0 commit comments

Comments
 (0)