Skip to content

Commit a7b4046

Browse files
author
SDKAuto
committed
CodeGen from PR 21758 in Azure/azure-rest-api-specs
Merge 79ec6950ac49e72a45b9588c07d013fde054e93d into 7063fb575705fc4fb2d2309362209159e2071961
1 parent b206ba5 commit a7b4046

Some content is hidden

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

46 files changed

+624
-653
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "5ad969c742647212adb951f9e96858a5b2a761f9",
2+
"commit": "ca14de928f3b6d869b5d2141a0b9701fcf0b8f1e",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
6-
"@autorest/python@6.2.1",
6+
"@autorest/python@6.2.7",
77
"@autorest/modelerfour@4.24.3"
88
],
9-
"autorest_command": "autorest specification/resourcehealth/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.2.1 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/resourcehealth/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.2.7 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/resourcehealth/resource-manager/readme.md"
1111
}

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ def __init__(
3636
self,
3737
credential: "TokenCredential",
3838
subscription_id: str,
39-
**kwargs # type: Any
39+
**kwargs: Any
4040
):
41-
# type: (...) -> None
4241
if credential is None:
4342
raise ValueError("Parameter 'credential' must not be None.")
4443
if subscription_id is None:
@@ -53,9 +52,8 @@ def __init__(
5352

5453
def _configure(
5554
self,
56-
**kwargs # type: Any
55+
**kwargs: Any
5756
):
58-
# type: (...) -> None
5957
self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs)
6058
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
6159
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)

sdk/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/_microsoft_resource_health.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ def __init__(
6767
self,
6868
credential: "TokenCredential",
6969
subscription_id: str,
70-
api_version=None, # type: Optional[str]
70+
api_version: Optional[str]=None,
7171
base_url: str = "https://management.azure.com",
72-
profile=KnownProfiles.default, # type: KnownProfiles
73-
**kwargs # type: Any
72+
profile: KnownProfiles=KnownProfiles.default,
73+
**kwargs: Any
7474
):
7575
self._config = MicrosoftResourceHealthConfiguration(credential, subscription_id, **kwargs)
7676
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)

0 commit comments

Comments
 (0)