|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import Iterable, Optional |
| 5 | +from typing import Dict, Iterable, Optional |
6 | 6 | from typing_extensions import Literal, overload |
7 | 7 |
|
8 | 8 | import httpx |
@@ -69,7 +69,7 @@ def create( |
69 | 69 | attachment_tag: str | Omit = omit, |
70 | 70 | instance_id_to_attach_to: str | Omit = omit, |
71 | 71 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
72 | | - tags: TagUpdateMapParam | Omit = omit, |
| 72 | + tags: Dict[str, str] | Omit = omit, |
73 | 73 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
74 | 74 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
75 | 75 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -138,7 +138,7 @@ def create( |
138 | 138 | instance_id_to_attach_to: str | Omit = omit, |
139 | 139 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
140 | 140 | size: int | Omit = omit, |
141 | | - tags: TagUpdateMapParam | Omit = omit, |
| 141 | + tags: Dict[str, str] | Omit = omit, |
142 | 142 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
143 | 143 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
144 | 144 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -207,7 +207,7 @@ def create( |
207 | 207 | attachment_tag: str | Omit = omit, |
208 | 208 | instance_id_to_attach_to: str | Omit = omit, |
209 | 209 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
210 | | - tags: TagUpdateMapParam | Omit = omit, |
| 210 | + tags: Dict[str, str] | Omit = omit, |
211 | 211 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
212 | 212 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
213 | 213 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -276,7 +276,7 @@ def create( |
276 | 276 | attachment_tag: str | Omit = omit, |
277 | 277 | instance_id_to_attach_to: str | Omit = omit, |
278 | 278 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
279 | | - tags: TagUpdateMapParam | Omit = omit, |
| 279 | + tags: Dict[str, str] | Omit = omit, |
280 | 280 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
281 | 281 | snapshot_id: str | Omit = omit, |
282 | 282 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
@@ -1313,7 +1313,7 @@ async def create( |
1313 | 1313 | attachment_tag: str | Omit = omit, |
1314 | 1314 | instance_id_to_attach_to: str | Omit = omit, |
1315 | 1315 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
1316 | | - tags: TagUpdateMapParam | Omit = omit, |
| 1316 | + tags: Dict[str, str] | Omit = omit, |
1317 | 1317 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
1318 | 1318 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1319 | 1319 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -1382,7 +1382,7 @@ async def create( |
1382 | 1382 | instance_id_to_attach_to: str | Omit = omit, |
1383 | 1383 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
1384 | 1384 | size: int | Omit = omit, |
1385 | | - tags: TagUpdateMapParam | Omit = omit, |
| 1385 | + tags: Dict[str, str] | Omit = omit, |
1386 | 1386 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
1387 | 1387 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1388 | 1388 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -1451,7 +1451,7 @@ async def create( |
1451 | 1451 | attachment_tag: str | Omit = omit, |
1452 | 1452 | instance_id_to_attach_to: str | Omit = omit, |
1453 | 1453 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
1454 | | - tags: TagUpdateMapParam | Omit = omit, |
| 1454 | + tags: Dict[str, str] | Omit = omit, |
1455 | 1455 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
1456 | 1456 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1457 | 1457 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -1520,7 +1520,7 @@ async def create( |
1520 | 1520 | attachment_tag: str | Omit = omit, |
1521 | 1521 | instance_id_to_attach_to: str | Omit = omit, |
1522 | 1522 | lifecycle_policy_ids: Iterable[int] | Omit = omit, |
1523 | | - tags: TagUpdateMapParam | Omit = omit, |
| 1523 | + tags: Dict[str, str] | Omit = omit, |
1524 | 1524 | type_name: Literal["cold", "ssd_hiiops", "ssd_local", "ssd_lowlatency", "standard", "ultra"] | Omit = omit, |
1525 | 1525 | snapshot_id: str | Omit = omit, |
1526 | 1526 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
|
0 commit comments