gcore 0.16.0__py3-none-any.whl → 0.23.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gcore might be problematic. Click here for more details.

Files changed (220) hide show
  1. gcore/_client.py +16 -0
  2. gcore/_models.py +37 -15
  3. gcore/_streaming.py +12 -12
  4. gcore/_utils/_sync.py +3 -31
  5. gcore/_utils/_utils.py +1 -1
  6. gcore/_version.py +1 -1
  7. gcore/resources/cdn/audit_log.py +4 -4
  8. gcore/resources/cdn/cdn.py +120 -21
  9. gcore/resources/cdn/ip_ranges.py +97 -5
  10. gcore/resources/cdn/{logs/logs.py → logs.py} +9 -9
  11. gcore/resources/cdn/resources/resources.py +20 -20
  12. gcore/resources/cdn/statistics.py +56 -58
  13. gcore/resources/cloud/__init__.py +40 -12
  14. gcore/resources/cloud/audit_logs.py +20 -0
  15. gcore/resources/cloud/baremetal/servers.py +48 -14
  16. gcore/resources/cloud/billing_reservations.py +2 -2
  17. gcore/resources/cloud/cloud.py +100 -18
  18. gcore/resources/cloud/databases/__init__.py +33 -0
  19. gcore/resources/cloud/databases/databases.py +102 -0
  20. gcore/resources/cloud/databases/postgres/__init__.py +61 -0
  21. gcore/resources/cloud/databases/postgres/clusters/__init__.py +33 -0
  22. gcore/resources/cloud/databases/postgres/clusters/clusters.py +716 -0
  23. gcore/resources/cloud/databases/postgres/clusters/user_credentials.py +281 -0
  24. gcore/resources/cloud/databases/postgres/configurations.py +169 -0
  25. gcore/resources/cloud/databases/postgres/custom_configurations.py +197 -0
  26. gcore/resources/cloud/databases/postgres/postgres.py +166 -0
  27. gcore/resources/cloud/file_shares/file_shares.py +154 -49
  28. gcore/resources/cloud/floating_ips.py +42 -10
  29. gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +70 -10
  30. gcore/resources/cloud/gpu_baremetal_clusters/images.py +40 -6
  31. gcore/resources/cloud/gpu_baremetal_clusters/servers.py +16 -0
  32. gcore/resources/cloud/gpu_virtual_clusters/__init__.py +89 -0
  33. gcore/resources/cloud/gpu_virtual_clusters/flavors.py +211 -0
  34. gcore/resources/cloud/gpu_virtual_clusters/gpu_virtual_clusters.py +1551 -0
  35. gcore/resources/cloud/gpu_virtual_clusters/images.py +582 -0
  36. gcore/resources/cloud/gpu_virtual_clusters/interfaces.py +187 -0
  37. gcore/resources/cloud/gpu_virtual_clusters/servers.py +506 -0
  38. gcore/resources/cloud/gpu_virtual_clusters/volumes.py +187 -0
  39. gcore/resources/cloud/inference/deployments/deployments.py +52 -4
  40. gcore/resources/cloud/instances/images.py +72 -18
  41. gcore/resources/cloud/instances/instances.py +110 -18
  42. gcore/resources/cloud/instances/interfaces.py +12 -0
  43. gcore/resources/cloud/k8s/__init__.py +12 -12
  44. gcore/resources/cloud/k8s/clusters/clusters.py +25 -25
  45. gcore/resources/cloud/k8s/clusters/pools/pools.py +14 -14
  46. gcore/resources/cloud/k8s/k8s.py +24 -24
  47. gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +1420 -218
  48. gcore/resources/cloud/load_balancers/l7_policies/rules.py +134 -22
  49. gcore/resources/cloud/load_balancers/listeners.py +77 -6
  50. gcore/resources/cloud/load_balancers/load_balancers.py +92 -14
  51. gcore/resources/cloud/load_balancers/pools/pools.py +52 -4
  52. gcore/resources/cloud/networks/networks.py +30 -10
  53. gcore/resources/cloud/networks/subnets.py +26 -10
  54. gcore/resources/cloud/placement_groups.py +8 -0
  55. gcore/resources/cloud/projects.py +99 -119
  56. gcore/resources/cloud/quotas/requests.py +0 -8
  57. gcore/resources/cloud/reserved_fixed_ips/reserved_fixed_ips.py +18 -0
  58. gcore/resources/cloud/secrets.py +16 -0
  59. gcore/resources/cloud/security_groups/security_groups.py +38 -12
  60. gcore/resources/cloud/ssh_keys.py +10 -0
  61. gcore/resources/cloud/tasks.py +22 -7
  62. gcore/resources/cloud/volumes.py +65 -23
  63. gcore/resources/dns/zones/rrsets.py +10 -10
  64. gcore/resources/dns/zones/zones.py +2 -2
  65. gcore/resources/security/bgp_announces.py +0 -4
  66. gcore/resources/security/profiles.py +31 -7
  67. gcore/resources/storage/credentials.py +0 -28
  68. gcore/resources/storage/storage.py +2 -2
  69. gcore/types/cdn/__init__.py +5 -0
  70. gcore/types/cdn/alibaba_regions.py +22 -0
  71. gcore/types/cdn/audit_log_list_params.py +2 -2
  72. gcore/types/cdn/aws_regions.py +22 -0
  73. gcore/types/cdn/cdn_list_purge_statuses_response.py +10 -0
  74. gcore/types/cdn/cdn_resource.py +17 -12
  75. gcore/types/cdn/ip_range_list_ips_params.py +19 -0
  76. gcore/types/cdn/ip_range_list_params.py +19 -0
  77. gcore/types/cdn/resource_create_params.py +17 -12
  78. gcore/types/cdn/resource_purge_params.py +4 -4
  79. gcore/types/cdn/resource_replace_params.py +17 -12
  80. gcore/types/cdn/resource_update_params.py +17 -12
  81. gcore/types/cdn/resource_usage_stats.py +16 -15
  82. gcore/types/cdn/resources/cdn_resource_rule.py +15 -10
  83. gcore/types/cdn/resources/rule_create_params.py +15 -10
  84. gcore/types/cdn/resources/rule_replace_params.py +15 -10
  85. gcore/types/cdn/resources/rule_update_params.py +15 -10
  86. gcore/types/cdn/rule_template.py +15 -10
  87. gcore/types/cdn/rule_template_create_params.py +15 -10
  88. gcore/types/cdn/rule_template_replace_params.py +15 -10
  89. gcore/types/cdn/rule_template_update_params.py +15 -10
  90. gcore/types/cdn/statistic_get_logs_usage_aggregated_params.py +4 -1
  91. gcore/types/cdn/statistic_get_logs_usage_series_params.py +5 -12
  92. gcore/types/cdn/statistic_get_resource_usage_aggregated_params.py +10 -21
  93. gcore/types/cdn/statistic_get_resource_usage_series_params.py +6 -1
  94. gcore/types/cdn/statistic_get_shield_usage_aggregated_params.py +5 -2
  95. gcore/types/cdn/statistic_get_shield_usage_series_params.py +3 -0
  96. gcore/types/cloud/__init__.py +9 -3
  97. gcore/types/cloud/audit_log_entry.py +9 -3
  98. gcore/types/cloud/audit_log_list_params.py +12 -0
  99. gcore/types/cloud/baremetal/server_create_params.py +7 -7
  100. gcore/types/cloud/baremetal_flavor.py +0 -6
  101. gcore/types/cloud/billing_reservation_list_params.py +1 -1
  102. gcore/types/cloud/blackhole_port.py +4 -1
  103. gcore/types/cloud/databases/postgres/__init__.py +12 -0
  104. gcore/types/cloud/databases/postgres/cluster_create_params.py +108 -0
  105. gcore/types/cloud/databases/postgres/cluster_list_params.py +19 -0
  106. gcore/types/cloud/databases/postgres/cluster_update_params.py +102 -0
  107. gcore/types/cloud/databases/postgres/clusters/__init__.py +5 -0
  108. gcore/types/cloud/databases/postgres/clusters/postgres_user_credentials.py +13 -0
  109. gcore/types/cloud/databases/postgres/custom_configuration_validate_params.py +19 -0
  110. gcore/types/cloud/databases/postgres/pg_conf_validation.py +15 -0
  111. gcore/types/cloud/databases/postgres/postgres_cluster.py +118 -0
  112. gcore/types/cloud/databases/postgres/postgres_cluster_short.py +22 -0
  113. gcore/types/cloud/databases/postgres/postgres_configuration.py +31 -0
  114. gcore/types/cloud/file_share_create_params.py +8 -8
  115. gcore/types/cloud/file_share_update_params.py +7 -2
  116. gcore/types/cloud/floating_ip.py +5 -1
  117. gcore/types/cloud/floating_ip_create_params.py +4 -4
  118. gcore/types/cloud/floating_ip_detailed.py +5 -1
  119. gcore/types/cloud/floating_ip_list_params.py +8 -0
  120. gcore/types/cloud/floating_ip_update_params.py +7 -2
  121. gcore/types/cloud/gpu_baremetal_cluster.py +18 -3
  122. gcore/types/cloud/gpu_baremetal_cluster_action_params.py +7 -2
  123. gcore/types/cloud/gpu_baremetal_cluster_create_params.py +16 -4
  124. gcore/types/cloud/gpu_baremetal_clusters/gpu_baremetal_cluster_server.py +5 -2
  125. gcore/types/cloud/gpu_baremetal_clusters/image_upload_params.py +4 -4
  126. gcore/types/cloud/gpu_image.py +9 -0
  127. gcore/types/cloud/gpu_virtual_cluster.py +189 -0
  128. gcore/types/cloud/gpu_virtual_cluster_action_params.py +127 -0
  129. gcore/types/cloud/gpu_virtual_cluster_create_params.py +213 -0
  130. gcore/types/cloud/gpu_virtual_cluster_delete_params.py +41 -0
  131. gcore/types/cloud/gpu_virtual_cluster_list_params.py +21 -0
  132. gcore/types/cloud/gpu_virtual_cluster_update_params.py +18 -0
  133. gcore/types/cloud/gpu_virtual_clusters/__init__.py +16 -0
  134. gcore/types/cloud/gpu_virtual_clusters/flavor_list_params.py +21 -0
  135. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_server.py +77 -0
  136. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_server_list.py +16 -0
  137. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_volume.py +64 -0
  138. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_volume_list.py +16 -0
  139. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_flavor.py +155 -0
  140. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_flavor_list.py +16 -0
  141. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_interface.py +190 -0
  142. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_interface_list.py +16 -0
  143. gcore/types/cloud/gpu_virtual_clusters/image_upload_params.py +56 -0
  144. gcore/types/cloud/gpu_virtual_clusters/server_delete_params.py +44 -0
  145. gcore/types/cloud/gpu_virtual_clusters/server_list_params.py +75 -0
  146. gcore/types/cloud/image.py +9 -0
  147. gcore/types/cloud/inference/deployment_create_params.py +1 -1
  148. gcore/types/cloud/inference/deployment_update_params.py +1 -1
  149. gcore/types/cloud/inference/inference_deployment.py +1 -1
  150. gcore/types/cloud/instance_create_params.py +27 -27
  151. gcore/types/cloud/instance_update_params.py +7 -2
  152. gcore/types/cloud/instances/image_create_from_volume_params.py +4 -4
  153. gcore/types/cloud/instances/image_update_params.py +4 -4
  154. gcore/types/cloud/instances/image_upload_params.py +4 -4
  155. gcore/types/cloud/k8s/__init__.py +4 -4
  156. gcore/types/cloud/k8s/cluster_update_params.py +5 -5
  157. gcore/types/cloud/k8s/clusters/__init__.py +2 -2
  158. gcore/types/cloud/k8s/clusters/k8s_cluster_pool.py +2 -2
  159. gcore/types/cloud/k8s/clusters/k8s_cluster_pool_list.py +4 -4
  160. gcore/types/cloud/k8s/k8s_cluster.py +4 -4
  161. gcore/types/cloud/k8s/k8s_cluster_certificate.py +2 -2
  162. gcore/types/cloud/k8s/k8s_cluster_kubeconfig.py +14 -2
  163. gcore/types/cloud/k8s/k8s_cluster_list.py +4 -4
  164. gcore/types/cloud/k8s_cluster_version.py +2 -2
  165. gcore/types/cloud/k8s_cluster_version_list.py +4 -4
  166. gcore/types/cloud/load_balancer_create_params.py +14 -8
  167. gcore/types/cloud/load_balancer_flavor_detail.py +2 -2
  168. gcore/types/cloud/load_balancer_l7_policy.py +29 -16
  169. gcore/types/cloud/load_balancer_l7_policy_list.py +3 -3
  170. gcore/types/cloud/load_balancer_l7_rule.py +14 -23
  171. gcore/types/cloud/load_balancer_l7_rule_list.py +3 -3
  172. gcore/types/cloud/load_balancer_listener_detail.py +2 -2
  173. gcore/types/cloud/load_balancer_update_params.py +7 -2
  174. gcore/types/cloud/load_balancers/__init__.py +1 -0
  175. gcore/types/cloud/load_balancers/l7_policies/rule_create_params.py +5 -10
  176. gcore/types/cloud/load_balancers/l7_policies/rule_replace_params.py +7 -11
  177. gcore/types/cloud/load_balancers/l7_policy_create_params.py +102 -18
  178. gcore/types/cloud/load_balancers/l7_policy_replace_params.py +94 -16
  179. gcore/types/cloud/load_balancers/listener_create_params.py +4 -1
  180. gcore/types/cloud/load_balancers/listener_delete_params.py +18 -0
  181. gcore/types/cloud/load_balancers/listener_update_params.py +4 -1
  182. gcore/types/cloud/load_balancers/pool_create_params.py +1 -1
  183. gcore/types/cloud/network_create_params.py +4 -4
  184. gcore/types/cloud/network_update_params.py +7 -2
  185. gcore/types/cloud/networks/subnet_create_params.py +4 -4
  186. gcore/types/cloud/networks/subnet_update_params.py +7 -2
  187. gcore/types/cloud/project_create_params.py +0 -6
  188. gcore/types/cloud/{project_replace_params.py → project_update_params.py} +2 -2
  189. gcore/types/cloud/quotas/request_create_params.py +0 -3
  190. gcore/types/cloud/region.py +3 -3
  191. gcore/types/cloud/security_group.py +8 -1
  192. gcore/types/cloud/security_group_create_params.py +7 -5
  193. gcore/types/cloud/security_group_list_params.py +6 -4
  194. gcore/types/cloud/security_group_update_params.py +7 -2
  195. gcore/types/cloud/ssh_key_list_params.py +7 -0
  196. gcore/types/cloud/tag.py +2 -2
  197. gcore/types/cloud/task_id_list.py +3 -3
  198. gcore/types/cloud/volume_create_params.py +12 -12
  199. gcore/types/cloud/volume_update_params.py +7 -2
  200. gcore/types/dns/zone_list_params.py +1 -1
  201. gcore/types/iam/api_token_create.py +70 -1
  202. gcore/types/security/bgp_announce_list_params.py +0 -2
  203. gcore/types/security/client_profile.py +1 -0
  204. gcore/types/security/profile_create_params.py +4 -2
  205. gcore/types/security/profile_recreate_params.py +4 -2
  206. gcore/types/security/profile_replace_params.py +4 -2
  207. gcore/types/storage/credential_recreate_params.py +0 -17
  208. gcore/types/storage/storage.py +1 -1
  209. gcore/types/storage/storage_create_params.py +1 -1
  210. gcore/types/streaming/stream.py +3 -2
  211. gcore/types/streaming/video.py +1 -1
  212. gcore/types/waap/domains/custom_rule_create_params.py +1 -1
  213. gcore/types/waap/domains/custom_rule_update_params.py +1 -1
  214. gcore/types/waap/domains/waap_custom_rule.py +1 -1
  215. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/METADATA +14 -14
  216. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/RECORD +219 -168
  217. gcore/resources/cdn/logs/__init__.py +0 -19
  218. /gcore/types/{cdn/logs → cloud/databases}/__init__.py +0 -0
  219. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/WHEEL +0 -0
  220. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/licenses/LICENSE +0 -0
@@ -182,7 +182,7 @@ class OptionsCors(BaseModel):
182
182
  Possible values:
183
183
 
184
184
  - **Adds \\** as the Access-Control-Allow-Origin header value** - Content will be
185
- uploaded for requests from any domain. `"value": ["\\**"]`
185
+ uploaded for requests from any domain. `"value": ["*"]`
186
186
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value if the
187
187
  origin matches one of the listed domains** - Content will be uploaded only for
188
188
  requests from the domains specified in the field.
@@ -190,7 +190,7 @@ class OptionsCors(BaseModel):
190
190
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value** -
191
191
  Content will be uploaded for requests from any domain, and the domain from
192
192
  which the request was sent will be added to the "Access-Control-Allow-Origin"
193
- header in the response. `"value": ["$`http_origin`"]`
193
+ header in the response. `"value": ["$http_origin"]`
194
194
  """
195
195
 
196
196
  always: Optional[bool] = None
@@ -736,7 +736,10 @@ class OptionsProxyConnectTimeout(BaseModel):
736
736
  """
737
737
 
738
738
  value: str
739
- """Timeout value in seconds."""
739
+ """Timeout value in seconds.
740
+
741
+ Supported range: **1s - 5s**.
742
+ """
740
743
 
741
744
 
742
745
  class OptionsProxyReadTimeout(BaseModel):
@@ -750,7 +753,10 @@ class OptionsProxyReadTimeout(BaseModel):
750
753
  """
751
754
 
752
755
  value: str
753
- """Timeout value in seconds."""
756
+ """Timeout value in seconds.
757
+
758
+ Supported range: **1s - 30s**.
759
+ """
754
760
 
755
761
 
756
762
  class OptionsQueryParamsBlacklist(BaseModel):
@@ -889,7 +895,7 @@ class OptionsReferrerACL(BaseModel):
889
895
  Examples:
890
896
 
891
897
  - `example.com`
892
- - `\\**.example.com`
898
+ - `*.example.com`
893
899
  """
894
900
 
895
901
  policy_type: Literal["allow", "deny"]
@@ -979,7 +985,7 @@ class OptionsRewrite(BaseModel):
979
985
 
980
986
  Example:
981
987
 
982
- - `/(.\\**) /media/$1`
988
+ - `/(.*) /media/$1`
983
989
  """
984
990
 
985
991
  enabled: bool
@@ -1166,7 +1172,7 @@ class OptionsStaticHeaders(BaseModel):
1166
1172
  - **false** - Option is disabled.
1167
1173
  """
1168
1174
 
1169
- value: Dict[str, str]
1175
+ value: object
1170
1176
  """A MAP for static headers in a format of `header_name: header_value`.
1171
1177
 
1172
1178
  Restrictions:
@@ -1363,7 +1369,7 @@ class Options(BaseModel):
1363
1369
  2. `fetch_compressed` overrides `gzipON` and `brotli_compression` in rule. If
1364
1370
  you enable it in CDN resource and want to use `gzipON` and
1365
1371
  `brotli_compression` in a rule, you have to specify
1366
- `"`fetch_compressed`": false` in the rule.
1372
+ `"fetch_compressed": false` in the rule.
1367
1373
  """
1368
1374
 
1369
1375
  follow_origin_redirect: Optional[OptionsFollowOriginRedirect] = None
@@ -1397,8 +1403,7 @@ class Options(BaseModel):
1397
1403
  options enabled.
1398
1404
  2. `fetch_compressed` option in CDN resource settings overrides `gzipON` in
1399
1405
  rules. If you enable `fetch_compressed` in CDN resource and want to enable
1400
- `gzipON` in rules, you need to specify `"`fetch_compressed`":false` for
1401
- rules.
1406
+ `gzipON` in rules, you need to specify `"fetch_compressed":false` for rules.
1402
1407
  """
1403
1408
 
1404
1409
  host_header: Optional[OptionsHostHeader] = FieldInfo(alias="hostHeader", default=None)
@@ -258,7 +258,7 @@ class OptionsCors(TypedDict, total=False):
258
258
  Possible values:
259
259
 
260
260
  - **Adds \\** as the Access-Control-Allow-Origin header value** - Content will be
261
- uploaded for requests from any domain. `"value": ["\\**"]`
261
+ uploaded for requests from any domain. `"value": ["*"]`
262
262
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value if the
263
263
  origin matches one of the listed domains** - Content will be uploaded only for
264
264
  requests from the domains specified in the field.
@@ -266,7 +266,7 @@ class OptionsCors(TypedDict, total=False):
266
266
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value** -
267
267
  Content will be uploaded for requests from any domain, and the domain from
268
268
  which the request was sent will be added to the "Access-Control-Allow-Origin"
269
- header in the response. `"value": ["$`http_origin`"]`
269
+ header in the response. `"value": ["$http_origin"]`
270
270
  """
271
271
 
272
272
  always: bool
@@ -812,7 +812,10 @@ class OptionsProxyConnectTimeout(TypedDict, total=False):
812
812
  """
813
813
 
814
814
  value: Required[str]
815
- """Timeout value in seconds."""
815
+ """Timeout value in seconds.
816
+
817
+ Supported range: **1s - 5s**.
818
+ """
816
819
 
817
820
 
818
821
  class OptionsProxyReadTimeout(TypedDict, total=False):
@@ -826,7 +829,10 @@ class OptionsProxyReadTimeout(TypedDict, total=False):
826
829
  """
827
830
 
828
831
  value: Required[str]
829
- """Timeout value in seconds."""
832
+ """Timeout value in seconds.
833
+
834
+ Supported range: **1s - 30s**.
835
+ """
830
836
 
831
837
 
832
838
  class OptionsQueryParamsBlacklist(TypedDict, total=False):
@@ -965,7 +971,7 @@ class OptionsReferrerACL(TypedDict, total=False):
965
971
  Examples:
966
972
 
967
973
  - `example.com`
968
- - `\\**.example.com`
974
+ - `*.example.com`
969
975
  """
970
976
 
971
977
  policy_type: Required[Literal["allow", "deny"]]
@@ -1051,7 +1057,7 @@ class OptionsRewrite(TypedDict, total=False):
1051
1057
 
1052
1058
  Example:
1053
1059
 
1054
- - `/(.\\**) /media/$1`
1060
+ - `/(.*) /media/$1`
1055
1061
  """
1056
1062
 
1057
1063
  enabled: Required[bool]
@@ -1240,7 +1246,7 @@ class OptionsStaticHeaders(TypedDict, total=False):
1240
1246
  - **false** - Option is disabled.
1241
1247
  """
1242
1248
 
1243
- value: Required[Dict[str, str]]
1249
+ value: Required[object]
1244
1250
  """A MAP for static headers in a format of `header_name: header_value`.
1245
1251
 
1246
1252
  Restrictions:
@@ -1437,7 +1443,7 @@ class Options(TypedDict, total=False):
1437
1443
  2. `fetch_compressed` overrides `gzipON` and `brotli_compression` in rule. If
1438
1444
  you enable it in CDN resource and want to use `gzipON` and
1439
1445
  `brotli_compression` in a rule, you have to specify
1440
- `"`fetch_compressed`": false` in the rule.
1446
+ `"fetch_compressed": false` in the rule.
1441
1447
  """
1442
1448
 
1443
1449
  follow_origin_redirect: Optional[OptionsFollowOriginRedirect]
@@ -1471,8 +1477,7 @@ class Options(TypedDict, total=False):
1471
1477
  options enabled.
1472
1478
  2. `fetch_compressed` option in CDN resource settings overrides `gzipON` in
1473
1479
  rules. If you enable `fetch_compressed` in CDN resource and want to enable
1474
- `gzipON` in rules, you need to specify `"`fetch_compressed`":false` for
1475
- rules.
1480
+ `gzipON` in rules, you need to specify `"fetch_compressed":false` for rules.
1476
1481
  """
1477
1482
 
1478
1483
  host_header: Annotated[Optional[OptionsHostHeader], PropertyInfo(alias="hostHeader")]
@@ -260,7 +260,7 @@ class OptionsCors(TypedDict, total=False):
260
260
  Possible values:
261
261
 
262
262
  - **Adds \\** as the Access-Control-Allow-Origin header value** - Content will be
263
- uploaded for requests from any domain. `"value": ["\\**"]`
263
+ uploaded for requests from any domain. `"value": ["*"]`
264
264
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value if the
265
265
  origin matches one of the listed domains** - Content will be uploaded only for
266
266
  requests from the domains specified in the field.
@@ -268,7 +268,7 @@ class OptionsCors(TypedDict, total=False):
268
268
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value** -
269
269
  Content will be uploaded for requests from any domain, and the domain from
270
270
  which the request was sent will be added to the "Access-Control-Allow-Origin"
271
- header in the response. `"value": ["$`http_origin`"]`
271
+ header in the response. `"value": ["$http_origin"]`
272
272
  """
273
273
 
274
274
  always: bool
@@ -814,7 +814,10 @@ class OptionsProxyConnectTimeout(TypedDict, total=False):
814
814
  """
815
815
 
816
816
  value: Required[str]
817
- """Timeout value in seconds."""
817
+ """Timeout value in seconds.
818
+
819
+ Supported range: **1s - 5s**.
820
+ """
818
821
 
819
822
 
820
823
  class OptionsProxyReadTimeout(TypedDict, total=False):
@@ -828,7 +831,10 @@ class OptionsProxyReadTimeout(TypedDict, total=False):
828
831
  """
829
832
 
830
833
  value: Required[str]
831
- """Timeout value in seconds."""
834
+ """Timeout value in seconds.
835
+
836
+ Supported range: **1s - 30s**.
837
+ """
832
838
 
833
839
 
834
840
  class OptionsQueryParamsBlacklist(TypedDict, total=False):
@@ -967,7 +973,7 @@ class OptionsReferrerACL(TypedDict, total=False):
967
973
  Examples:
968
974
 
969
975
  - `example.com`
970
- - `\\**.example.com`
976
+ - `*.example.com`
971
977
  """
972
978
 
973
979
  policy_type: Required[Literal["allow", "deny"]]
@@ -1053,7 +1059,7 @@ class OptionsRewrite(TypedDict, total=False):
1053
1059
 
1054
1060
  Example:
1055
1061
 
1056
- - `/(.\\**) /media/$1`
1062
+ - `/(.*) /media/$1`
1057
1063
  """
1058
1064
 
1059
1065
  enabled: Required[bool]
@@ -1242,7 +1248,7 @@ class OptionsStaticHeaders(TypedDict, total=False):
1242
1248
  - **false** - Option is disabled.
1243
1249
  """
1244
1250
 
1245
- value: Required[Dict[str, str]]
1251
+ value: Required[object]
1246
1252
  """A MAP for static headers in a format of `header_name: header_value`.
1247
1253
 
1248
1254
  Restrictions:
@@ -1439,7 +1445,7 @@ class Options(TypedDict, total=False):
1439
1445
  2. `fetch_compressed` overrides `gzipON` and `brotli_compression` in rule. If
1440
1446
  you enable it in CDN resource and want to use `gzipON` and
1441
1447
  `brotli_compression` in a rule, you have to specify
1442
- `"`fetch_compressed`": false` in the rule.
1448
+ `"fetch_compressed": false` in the rule.
1443
1449
  """
1444
1450
 
1445
1451
  follow_origin_redirect: Optional[OptionsFollowOriginRedirect]
@@ -1473,8 +1479,7 @@ class Options(TypedDict, total=False):
1473
1479
  options enabled.
1474
1480
  2. `fetch_compressed` option in CDN resource settings overrides `gzipON` in
1475
1481
  rules. If you enable `fetch_compressed` in CDN resource and want to enable
1476
- `gzipON` in rules, you need to specify `"`fetch_compressed`":false` for
1477
- rules.
1482
+ `gzipON` in rules, you need to specify `"fetch_compressed":false` for rules.
1478
1483
  """
1479
1484
 
1480
1485
  host_header: Annotated[Optional[OptionsHostHeader], PropertyInfo(alias="hostHeader")]
@@ -260,7 +260,7 @@ class OptionsCors(TypedDict, total=False):
260
260
  Possible values:
261
261
 
262
262
  - **Adds \\** as the Access-Control-Allow-Origin header value** - Content will be
263
- uploaded for requests from any domain. `"value": ["\\**"]`
263
+ uploaded for requests from any domain. `"value": ["*"]`
264
264
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value if the
265
265
  origin matches one of the listed domains** - Content will be uploaded only for
266
266
  requests from the domains specified in the field.
@@ -268,7 +268,7 @@ class OptionsCors(TypedDict, total=False):
268
268
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value** -
269
269
  Content will be uploaded for requests from any domain, and the domain from
270
270
  which the request was sent will be added to the "Access-Control-Allow-Origin"
271
- header in the response. `"value": ["$`http_origin`"]`
271
+ header in the response. `"value": ["$http_origin"]`
272
272
  """
273
273
 
274
274
  always: bool
@@ -814,7 +814,10 @@ class OptionsProxyConnectTimeout(TypedDict, total=False):
814
814
  """
815
815
 
816
816
  value: Required[str]
817
- """Timeout value in seconds."""
817
+ """Timeout value in seconds.
818
+
819
+ Supported range: **1s - 5s**.
820
+ """
818
821
 
819
822
 
820
823
  class OptionsProxyReadTimeout(TypedDict, total=False):
@@ -828,7 +831,10 @@ class OptionsProxyReadTimeout(TypedDict, total=False):
828
831
  """
829
832
 
830
833
  value: Required[str]
831
- """Timeout value in seconds."""
834
+ """Timeout value in seconds.
835
+
836
+ Supported range: **1s - 30s**.
837
+ """
832
838
 
833
839
 
834
840
  class OptionsQueryParamsBlacklist(TypedDict, total=False):
@@ -967,7 +973,7 @@ class OptionsReferrerACL(TypedDict, total=False):
967
973
  Examples:
968
974
 
969
975
  - `example.com`
970
- - `\\**.example.com`
976
+ - `*.example.com`
971
977
  """
972
978
 
973
979
  policy_type: Required[Literal["allow", "deny"]]
@@ -1053,7 +1059,7 @@ class OptionsRewrite(TypedDict, total=False):
1053
1059
 
1054
1060
  Example:
1055
1061
 
1056
- - `/(.\\**) /media/$1`
1062
+ - `/(.*) /media/$1`
1057
1063
  """
1058
1064
 
1059
1065
  enabled: Required[bool]
@@ -1242,7 +1248,7 @@ class OptionsStaticHeaders(TypedDict, total=False):
1242
1248
  - **false** - Option is disabled.
1243
1249
  """
1244
1250
 
1245
- value: Required[Dict[str, str]]
1251
+ value: Required[object]
1246
1252
  """A MAP for static headers in a format of `header_name: header_value`.
1247
1253
 
1248
1254
  Restrictions:
@@ -1439,7 +1445,7 @@ class Options(TypedDict, total=False):
1439
1445
  2. `fetch_compressed` overrides `gzipON` and `brotli_compression` in rule. If
1440
1446
  you enable it in CDN resource and want to use `gzipON` and
1441
1447
  `brotli_compression` in a rule, you have to specify
1442
- `"`fetch_compressed`": false` in the rule.
1448
+ `"fetch_compressed": false` in the rule.
1443
1449
  """
1444
1450
 
1445
1451
  follow_origin_redirect: Optional[OptionsFollowOriginRedirect]
@@ -1473,8 +1479,7 @@ class Options(TypedDict, total=False):
1473
1479
  options enabled.
1474
1480
  2. `fetch_compressed` option in CDN resource settings overrides `gzipON` in
1475
1481
  rules. If you enable `fetch_compressed` in CDN resource and want to enable
1476
- `gzipON` in rules, you need to specify `"`fetch_compressed`":false` for
1477
- rules.
1482
+ `gzipON` in rules, you need to specify `"fetch_compressed":false` for rules.
1478
1483
  """
1479
1484
 
1480
1485
  host_header: Annotated[Optional[OptionsHostHeader], PropertyInfo(alias="hostHeader")]
@@ -182,7 +182,7 @@ class OptionsCors(BaseModel):
182
182
  Possible values:
183
183
 
184
184
  - **Adds \\** as the Access-Control-Allow-Origin header value** - Content will be
185
- uploaded for requests from any domain. `"value": ["\\**"]`
185
+ uploaded for requests from any domain. `"value": ["*"]`
186
186
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value if the
187
187
  origin matches one of the listed domains** - Content will be uploaded only for
188
188
  requests from the domains specified in the field.
@@ -190,7 +190,7 @@ class OptionsCors(BaseModel):
190
190
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value** -
191
191
  Content will be uploaded for requests from any domain, and the domain from
192
192
  which the request was sent will be added to the "Access-Control-Allow-Origin"
193
- header in the response. `"value": ["$`http_origin`"]`
193
+ header in the response. `"value": ["$http_origin"]`
194
194
  """
195
195
 
196
196
  always: Optional[bool] = None
@@ -736,7 +736,10 @@ class OptionsProxyConnectTimeout(BaseModel):
736
736
  """
737
737
 
738
738
  value: str
739
- """Timeout value in seconds."""
739
+ """Timeout value in seconds.
740
+
741
+ Supported range: **1s - 5s**.
742
+ """
740
743
 
741
744
 
742
745
  class OptionsProxyReadTimeout(BaseModel):
@@ -750,7 +753,10 @@ class OptionsProxyReadTimeout(BaseModel):
750
753
  """
751
754
 
752
755
  value: str
753
- """Timeout value in seconds."""
756
+ """Timeout value in seconds.
757
+
758
+ Supported range: **1s - 30s**.
759
+ """
754
760
 
755
761
 
756
762
  class OptionsQueryParamsBlacklist(BaseModel):
@@ -889,7 +895,7 @@ class OptionsReferrerACL(BaseModel):
889
895
  Examples:
890
896
 
891
897
  - `example.com`
892
- - `\\**.example.com`
898
+ - `*.example.com`
893
899
  """
894
900
 
895
901
  policy_type: Literal["allow", "deny"]
@@ -979,7 +985,7 @@ class OptionsRewrite(BaseModel):
979
985
 
980
986
  Example:
981
987
 
982
- - `/(.\\**) /media/$1`
988
+ - `/(.*) /media/$1`
983
989
  """
984
990
 
985
991
  enabled: bool
@@ -1166,7 +1172,7 @@ class OptionsStaticHeaders(BaseModel):
1166
1172
  - **false** - Option is disabled.
1167
1173
  """
1168
1174
 
1169
- value: Dict[str, str]
1175
+ value: object
1170
1176
  """A MAP for static headers in a format of `header_name: header_value`.
1171
1177
 
1172
1178
  Restrictions:
@@ -1363,7 +1369,7 @@ class Options(BaseModel):
1363
1369
  2. `fetch_compressed` overrides `gzipON` and `brotli_compression` in rule. If
1364
1370
  you enable it in CDN resource and want to use `gzipON` and
1365
1371
  `brotli_compression` in a rule, you have to specify
1366
- `"`fetch_compressed`": false` in the rule.
1372
+ `"fetch_compressed": false` in the rule.
1367
1373
  """
1368
1374
 
1369
1375
  follow_origin_redirect: Optional[OptionsFollowOriginRedirect] = None
@@ -1397,8 +1403,7 @@ class Options(BaseModel):
1397
1403
  options enabled.
1398
1404
  2. `fetch_compressed` option in CDN resource settings overrides `gzipON` in
1399
1405
  rules. If you enable `fetch_compressed` in CDN resource and want to enable
1400
- `gzipON` in rules, you need to specify `"`fetch_compressed`":false` for
1401
- rules.
1406
+ `gzipON` in rules, you need to specify `"fetch_compressed":false` for rules.
1402
1407
  """
1403
1408
 
1404
1409
  host_header: Optional[OptionsHostHeader] = FieldInfo(alias="hostHeader", default=None)
@@ -242,7 +242,7 @@ class OptionsCors(TypedDict, total=False):
242
242
  Possible values:
243
243
 
244
244
  - **Adds \\** as the Access-Control-Allow-Origin header value** - Content will be
245
- uploaded for requests from any domain. `"value": ["\\**"]`
245
+ uploaded for requests from any domain. `"value": ["*"]`
246
246
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value if the
247
247
  origin matches one of the listed domains** - Content will be uploaded only for
248
248
  requests from the domains specified in the field.
@@ -250,7 +250,7 @@ class OptionsCors(TypedDict, total=False):
250
250
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value** -
251
251
  Content will be uploaded for requests from any domain, and the domain from
252
252
  which the request was sent will be added to the "Access-Control-Allow-Origin"
253
- header in the response. `"value": ["$`http_origin`"]`
253
+ header in the response. `"value": ["$http_origin"]`
254
254
  """
255
255
 
256
256
  always: bool
@@ -796,7 +796,10 @@ class OptionsProxyConnectTimeout(TypedDict, total=False):
796
796
  """
797
797
 
798
798
  value: Required[str]
799
- """Timeout value in seconds."""
799
+ """Timeout value in seconds.
800
+
801
+ Supported range: **1s - 5s**.
802
+ """
800
803
 
801
804
 
802
805
  class OptionsProxyReadTimeout(TypedDict, total=False):
@@ -810,7 +813,10 @@ class OptionsProxyReadTimeout(TypedDict, total=False):
810
813
  """
811
814
 
812
815
  value: Required[str]
813
- """Timeout value in seconds."""
816
+ """Timeout value in seconds.
817
+
818
+ Supported range: **1s - 30s**.
819
+ """
814
820
 
815
821
 
816
822
  class OptionsQueryParamsBlacklist(TypedDict, total=False):
@@ -949,7 +955,7 @@ class OptionsReferrerACL(TypedDict, total=False):
949
955
  Examples:
950
956
 
951
957
  - `example.com`
952
- - `\\**.example.com`
958
+ - `*.example.com`
953
959
  """
954
960
 
955
961
  policy_type: Required[Literal["allow", "deny"]]
@@ -1035,7 +1041,7 @@ class OptionsRewrite(TypedDict, total=False):
1035
1041
 
1036
1042
  Example:
1037
1043
 
1038
- - `/(.\\**) /media/$1`
1044
+ - `/(.*) /media/$1`
1039
1045
  """
1040
1046
 
1041
1047
  enabled: Required[bool]
@@ -1224,7 +1230,7 @@ class OptionsStaticHeaders(TypedDict, total=False):
1224
1230
  - **false** - Option is disabled.
1225
1231
  """
1226
1232
 
1227
- value: Required[Dict[str, str]]
1233
+ value: Required[object]
1228
1234
  """A MAP for static headers in a format of `header_name: header_value`.
1229
1235
 
1230
1236
  Restrictions:
@@ -1421,7 +1427,7 @@ class Options(TypedDict, total=False):
1421
1427
  2. `fetch_compressed` overrides `gzipON` and `brotli_compression` in rule. If
1422
1428
  you enable it in CDN resource and want to use `gzipON` and
1423
1429
  `brotli_compression` in a rule, you have to specify
1424
- `"`fetch_compressed`": false` in the rule.
1430
+ `"fetch_compressed": false` in the rule.
1425
1431
  """
1426
1432
 
1427
1433
  follow_origin_redirect: Optional[OptionsFollowOriginRedirect]
@@ -1455,8 +1461,7 @@ class Options(TypedDict, total=False):
1455
1461
  options enabled.
1456
1462
  2. `fetch_compressed` option in CDN resource settings overrides `gzipON` in
1457
1463
  rules. If you enable `fetch_compressed` in CDN resource and want to enable
1458
- `gzipON` in rules, you need to specify `"`fetch_compressed`":false` for
1459
- rules.
1464
+ `gzipON` in rules, you need to specify `"fetch_compressed":false` for rules.
1460
1465
  """
1461
1466
 
1462
1467
  host_header: Annotated[Optional[OptionsHostHeader], PropertyInfo(alias="hostHeader")]
@@ -242,7 +242,7 @@ class OptionsCors(TypedDict, total=False):
242
242
  Possible values:
243
243
 
244
244
  - **Adds \\** as the Access-Control-Allow-Origin header value** - Content will be
245
- uploaded for requests from any domain. `"value": ["\\**"]`
245
+ uploaded for requests from any domain. `"value": ["*"]`
246
246
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value if the
247
247
  origin matches one of the listed domains** - Content will be uploaded only for
248
248
  requests from the domains specified in the field.
@@ -250,7 +250,7 @@ class OptionsCors(TypedDict, total=False):
250
250
  - **Adds "$`http_origin`" as the Access-Control-Allow-Origin header value** -
251
251
  Content will be uploaded for requests from any domain, and the domain from
252
252
  which the request was sent will be added to the "Access-Control-Allow-Origin"
253
- header in the response. `"value": ["$`http_origin`"]`
253
+ header in the response. `"value": ["$http_origin"]`
254
254
  """
255
255
 
256
256
  always: bool
@@ -796,7 +796,10 @@ class OptionsProxyConnectTimeout(TypedDict, total=False):
796
796
  """
797
797
 
798
798
  value: Required[str]
799
- """Timeout value in seconds."""
799
+ """Timeout value in seconds.
800
+
801
+ Supported range: **1s - 5s**.
802
+ """
800
803
 
801
804
 
802
805
  class OptionsProxyReadTimeout(TypedDict, total=False):
@@ -810,7 +813,10 @@ class OptionsProxyReadTimeout(TypedDict, total=False):
810
813
  """
811
814
 
812
815
  value: Required[str]
813
- """Timeout value in seconds."""
816
+ """Timeout value in seconds.
817
+
818
+ Supported range: **1s - 30s**.
819
+ """
814
820
 
815
821
 
816
822
  class OptionsQueryParamsBlacklist(TypedDict, total=False):
@@ -949,7 +955,7 @@ class OptionsReferrerACL(TypedDict, total=False):
949
955
  Examples:
950
956
 
951
957
  - `example.com`
952
- - `\\**.example.com`
958
+ - `*.example.com`
953
959
  """
954
960
 
955
961
  policy_type: Required[Literal["allow", "deny"]]
@@ -1035,7 +1041,7 @@ class OptionsRewrite(TypedDict, total=False):
1035
1041
 
1036
1042
  Example:
1037
1043
 
1038
- - `/(.\\**) /media/$1`
1044
+ - `/(.*) /media/$1`
1039
1045
  """
1040
1046
 
1041
1047
  enabled: Required[bool]
@@ -1224,7 +1230,7 @@ class OptionsStaticHeaders(TypedDict, total=False):
1224
1230
  - **false** - Option is disabled.
1225
1231
  """
1226
1232
 
1227
- value: Required[Dict[str, str]]
1233
+ value: Required[object]
1228
1234
  """A MAP for static headers in a format of `header_name: header_value`.
1229
1235
 
1230
1236
  Restrictions:
@@ -1421,7 +1427,7 @@ class Options(TypedDict, total=False):
1421
1427
  2. `fetch_compressed` overrides `gzipON` and `brotli_compression` in rule. If
1422
1428
  you enable it in CDN resource and want to use `gzipON` and
1423
1429
  `brotli_compression` in a rule, you have to specify
1424
- `"`fetch_compressed`": false` in the rule.
1430
+ `"fetch_compressed": false` in the rule.
1425
1431
  """
1426
1432
 
1427
1433
  follow_origin_redirect: Optional[OptionsFollowOriginRedirect]
@@ -1455,8 +1461,7 @@ class Options(TypedDict, total=False):
1455
1461
  options enabled.
1456
1462
  2. `fetch_compressed` option in CDN resource settings overrides `gzipON` in
1457
1463
  rules. If you enable `fetch_compressed` in CDN resource and want to enable
1458
- `gzipON` in rules, you need to specify `"`fetch_compressed`":false` for
1459
- rules.
1464
+ `gzipON` in rules, you need to specify `"fetch_compressed":false` for rules.
1460
1465
  """
1461
1466
 
1462
1467
  host_header: Annotated[Optional[OptionsHostHeader], PropertyInfo(alias="hostHeader")]