Skip to content

Commit a92b2d8

Browse files
author
SDKAuto
committed
CodeGen from PR 24210 in Azure/azure-rest-api-specs
Merge 35fde2bfec81598a849f6a9194dc08994c8872d4 into d4138083c1b04e801f5ec64d7e27076cdef39dee
1 parent 6261196 commit a92b2d8

File tree

154 files changed

+290
-129
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

+290
-129
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "817e7cea0b7e3194868825cbef6d4e62a7895951",
2+
"commit": "60ad0f7b085daac62ab067e9f5f3d6adf0fd801c",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
6-
"@autorest/[email protected].8",
6+
"@autorest/[email protected].12",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/recoveryservicesbackup/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/[email protected].8 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/recoveryservicesbackup/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/[email protected].12 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
1111
}

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/_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 = "1.0.0b1"

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_backup_resource_encryption_configs_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -220,7 +221,7 @@ async def update( # pylint: disable=inconsistent-return-statements
220221
content_type = content_type or "application/json"
221222
_json = None
222223
_content = None
223-
if isinstance(parameters, (IO, bytes)):
224+
if isinstance(parameters, (IOBase, bytes)):
224225
_content = parameters
225226
else:
226227
_json = self._serialize.body(parameters, "BackupResourceEncryptionConfigResource")

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_backup_resource_storage_configs_non_crr_operations.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -222,7 +223,7 @@ async def update(
222223
content_type = content_type or "application/json"
223224
_json = None
224225
_content = None
225-
if isinstance(parameters, (IO, bytes)):
226+
if isinstance(parameters, (IOBase, bytes)):
226227
_content = parameters
227228
else:
228229
_json = self._serialize.body(parameters, "BackupResourceConfigResource")
@@ -367,7 +368,7 @@ async def patch( # pylint: disable=inconsistent-return-statements
367368
content_type = content_type or "application/json"
368369
_json = None
369370
_content = None
370-
if isinstance(parameters, (IO, bytes)):
371+
if isinstance(parameters, (IOBase, bytes)):
371372
_content = parameters
372373
else:
373374
_json = self._serialize.body(parameters, "BackupResourceConfigResource")

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_backup_resource_vault_configs_operations.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -222,7 +223,7 @@ async def update(
222223
content_type = content_type or "application/json"
223224
_json = None
224225
_content = None
225-
if isinstance(parameters, (IO, bytes)):
226+
if isinstance(parameters, (IOBase, bytes)):
226227
_content = parameters
227228
else:
228229
_json = self._serialize.body(parameters, "BackupResourceVaultConfigResource")
@@ -367,7 +368,7 @@ async def put(
367368
content_type = content_type or "application/json"
368369
_json = None
369370
_content = None
370-
if isinstance(parameters, (IO, bytes)):
371+
if isinstance(parameters, (IOBase, bytes)):
371372
_content = parameters
372373
else:
373374
_json = self._serialize.body(parameters, "BackupResourceVaultConfigResource")

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_backup_status_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -138,7 +139,7 @@ async def get(
138139
content_type = content_type or "application/json"
139140
_json = None
140141
_content = None
141-
if isinstance(parameters, (IO, bytes)):
142+
if isinstance(parameters, (IOBase, bytes)):
142143
_content = parameters
143144
else:
144145
_json = self._serialize.body(parameters, "BackupStatusRequest")

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_backups_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -185,7 +186,7 @@ async def trigger( # pylint: disable=inconsistent-return-statements
185186
content_type = content_type or "application/json"
186187
_json = None
187188
_content = None
188-
if isinstance(parameters, (IO, bytes)):
189+
if isinstance(parameters, (IOBase, bytes)):
189190
_content = parameters
190191
else:
191192
_json = self._serialize.body(parameters, "BackupRequestResource")

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_feature_support_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -141,7 +142,7 @@ async def validate(
141142
content_type = content_type or "application/json"
142143
_json = None
143144
_content = None
144-
if isinstance(parameters, (IO, bytes)):
145+
if isinstance(parameters, (IOBase, bytes)):
145146
_content = parameters
146147
else:
147148
_json = self._serialize.body(parameters, "FeatureSupportRequest")

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_item_level_recovery_connections_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -209,7 +210,7 @@ async def provision( # pylint: disable=inconsistent-return-statements
209210
content_type = content_type or "application/json"
210211
_json = None
211212
_content = None
212-
if isinstance(parameters, (IO, bytes)):
213+
if isinstance(parameters, (IOBase, bytes)):
213214
_content = parameters
214215
else:
215216
_json = self._serialize.body(parameters, "ILRRequestResource")

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_operation_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Code generated by Microsoft (R) AutoRest Code Generator.
77
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
88
# --------------------------------------------------------------------------
9+
from io import IOBase
910
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1011

1112
from azure.core.exceptions import (
@@ -153,7 +154,7 @@ async def validate(
153154
content_type = content_type or "application/json"
154155
_json = None
155156
_content = None
156-
if isinstance(parameters, (IO, bytes)):
157+
if isinstance(parameters, (IOBase, bytes)):
157158
_content = parameters
158159
else:
159160
_json = self._serialize.body(parameters, "ValidateOperationRequest")

0 commit comments

Comments
 (0)