@@ -65,6 +65,7 @@ def create(
6565 * ,
6666 account_id : str ,
6767 name : str ,
68+ jurisdiction : Literal ["eu" , "fedramp" ] | Omit = omit ,
6869 primary_location_hint : Literal ["wnam" , "enam" , "weur" , "eeur" , "apac" , "oc" ] | Omit = omit ,
6970 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
7071 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -81,6 +82,9 @@ def create(
8182
8283 name: D1 database name.
8384
85+ jurisdiction: Specify the location to restrict the D1 database to run and store data. If this
86+ option is present, the location hint is ignored.
87+
8488 primary_location_hint: Specify the region to create the D1 primary, if available. If this option is
8589 omitted, the D1 will be created as close as possible to the current user.
8690
@@ -99,6 +103,7 @@ def create(
99103 body = maybe_transform (
100104 {
101105 "name" : name ,
106+ "jurisdiction" : jurisdiction ,
102107 "primary_location_hint" : primary_location_hint ,
103108 },
104109 database_create_params .DatabaseCreateParams ,
@@ -722,6 +727,7 @@ async def create(
722727 * ,
723728 account_id : str ,
724729 name : str ,
730+ jurisdiction : Literal ["eu" , "fedramp" ] | Omit = omit ,
725731 primary_location_hint : Literal ["wnam" , "enam" , "weur" , "eeur" , "apac" , "oc" ] | Omit = omit ,
726732 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
727733 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -738,6 +744,9 @@ async def create(
738744
739745 name: D1 database name.
740746
747+ jurisdiction: Specify the location to restrict the D1 database to run and store data. If this
748+ option is present, the location hint is ignored.
749+
741750 primary_location_hint: Specify the region to create the D1 primary, if available. If this option is
742751 omitted, the D1 will be created as close as possible to the current user.
743752
@@ -756,6 +765,7 @@ async def create(
756765 body = await async_maybe_transform (
757766 {
758767 "name" : name ,
768+ "jurisdiction" : jurisdiction ,
759769 "primary_location_hint" : primary_location_hint ,
760770 },
761771 database_create_params .DatabaseCreateParams ,
0 commit comments