@@ -76,6 +76,7 @@ def create(
7676 size : int ,
7777 access : Iterable [file_share_create_params .CreateStandardFileShareSerializerAccess ] | NotGiven = NOT_GIVEN ,
7878 tags : Dict [str , str ] | NotGiven = NOT_GIVEN ,
79+ type_name : Literal ["standard" ] | NotGiven = NOT_GIVEN ,
7980 volume_type : Literal ["default_share_type" ] | NotGiven = NOT_GIVEN ,
8081 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
8182 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -108,7 +109,9 @@ def create(
108109 modified by the user. Tags are also integrated with cost reports, allowing cost
109110 data to be filtered based on tag keys or values.
110111
111- volume_type: File share volume type
112+ type_name: Standard file share type
113+
114+ volume_type: Deprecated. Use `type_name` instead.
112115
113116 extra_headers: Send extra headers
114117
@@ -129,9 +132,10 @@ def create(
129132 name : str ,
130133 protocol : Literal ["NFS" ],
131134 size : int ,
132- volume_type : Literal ["vast_share_type" ],
133135 share_settings : file_share_create_params .CreateVastFileShareSerializerShareSettings | NotGiven = NOT_GIVEN ,
134136 tags : Dict [str , str ] | NotGiven = NOT_GIVEN ,
137+ type_name : Literal ["vast" ] | NotGiven = NOT_GIVEN ,
138+ volume_type : Literal ["vast_share_type" ] | NotGiven = NOT_GIVEN ,
135139 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
136140 # The extra values given here take precedence over values defined on the client or passed to this method.
137141 extra_headers : Headers | None = None ,
@@ -153,8 +157,6 @@ def create(
153157
154158 size: File share size
155159
156- volume_type: File share volume type
157-
158160 share_settings: Configuration settings for the share
159161
160162 tags: Key-value tags to associate with the resource. A tag is a key-value pair that
@@ -163,6 +165,10 @@ def create(
163165 modified by the user. Tags are also integrated with cost reports, allowing cost
164166 data to be filtered based on tag keys or values.
165167
168+ type_name: Vast file share type
169+
170+ volume_type: Deprecated. Use `type_name` instead.
171+
166172 extra_headers: Send extra headers
167173
168174 extra_query: Add additional query parameters to the request
@@ -173,7 +179,7 @@ def create(
173179 """
174180 ...
175181
176- @required_args (["name" , "network" , "protocol" , "size" ], ["name" , "protocol" , "size" , "volume_type" ])
182+ @required_args (["name" , "network" , "protocol" , "size" ], ["name" , "protocol" , "size" ])
177183 def create (
178184 self ,
179185 * ,
@@ -185,6 +191,7 @@ def create(
185191 size : int ,
186192 access : Iterable [file_share_create_params .CreateStandardFileShareSerializerAccess ] | NotGiven = NOT_GIVEN ,
187193 tags : Dict [str , str ] | NotGiven = NOT_GIVEN ,
194+ type_name : Literal ["standard" ] | Literal ["vast" ] | NotGiven = NOT_GIVEN ,
188195 volume_type : Literal ["default_share_type" ] | Literal ["vast_share_type" ] | NotGiven = NOT_GIVEN ,
189196 share_settings : file_share_create_params .CreateVastFileShareSerializerShareSettings | NotGiven = NOT_GIVEN ,
190197 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -208,6 +215,7 @@ def create(
208215 "size" : size ,
209216 "access" : access ,
210217 "tags" : tags ,
218+ "type_name" : type_name ,
211219 "volume_type" : volume_type ,
212220 "share_settings" : share_settings ,
213221 },
@@ -537,6 +545,7 @@ async def create(
537545 size : int ,
538546 access : Iterable [file_share_create_params .CreateStandardFileShareSerializerAccess ] | NotGiven = NOT_GIVEN ,
539547 tags : Dict [str , str ] | NotGiven = NOT_GIVEN ,
548+ type_name : Literal ["standard" ] | NotGiven = NOT_GIVEN ,
540549 volume_type : Literal ["default_share_type" ] | NotGiven = NOT_GIVEN ,
541550 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
542551 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -569,7 +578,9 @@ async def create(
569578 modified by the user. Tags are also integrated with cost reports, allowing cost
570579 data to be filtered based on tag keys or values.
571580
572- volume_type: File share volume type
581+ type_name: Standard file share type
582+
583+ volume_type: Deprecated. Use `type_name` instead.
573584
574585 extra_headers: Send extra headers
575586
@@ -590,9 +601,10 @@ async def create(
590601 name : str ,
591602 protocol : Literal ["NFS" ],
592603 size : int ,
593- volume_type : Literal ["vast_share_type" ],
594604 share_settings : file_share_create_params .CreateVastFileShareSerializerShareSettings | NotGiven = NOT_GIVEN ,
595605 tags : Dict [str , str ] | NotGiven = NOT_GIVEN ,
606+ type_name : Literal ["vast" ] | NotGiven = NOT_GIVEN ,
607+ volume_type : Literal ["vast_share_type" ] | NotGiven = NOT_GIVEN ,
596608 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
597609 # The extra values given here take precedence over values defined on the client or passed to this method.
598610 extra_headers : Headers | None = None ,
@@ -614,8 +626,6 @@ async def create(
614626
615627 size: File share size
616628
617- volume_type: File share volume type
618-
619629 share_settings: Configuration settings for the share
620630
621631 tags: Key-value tags to associate with the resource. A tag is a key-value pair that
@@ -624,6 +634,10 @@ async def create(
624634 modified by the user. Tags are also integrated with cost reports, allowing cost
625635 data to be filtered based on tag keys or values.
626636
637+ type_name: Vast file share type
638+
639+ volume_type: Deprecated. Use `type_name` instead.
640+
627641 extra_headers: Send extra headers
628642
629643 extra_query: Add additional query parameters to the request
@@ -634,7 +648,7 @@ async def create(
634648 """
635649 ...
636650
637- @required_args (["name" , "network" , "protocol" , "size" ], ["name" , "protocol" , "size" , "volume_type" ])
651+ @required_args (["name" , "network" , "protocol" , "size" ], ["name" , "protocol" , "size" ])
638652 async def create (
639653 self ,
640654 * ,
@@ -646,6 +660,7 @@ async def create(
646660 size : int ,
647661 access : Iterable [file_share_create_params .CreateStandardFileShareSerializerAccess ] | NotGiven = NOT_GIVEN ,
648662 tags : Dict [str , str ] | NotGiven = NOT_GIVEN ,
663+ type_name : Literal ["standard" ] | Literal ["vast" ] | NotGiven = NOT_GIVEN ,
649664 volume_type : Literal ["default_share_type" ] | Literal ["vast_share_type" ] | NotGiven = NOT_GIVEN ,
650665 share_settings : file_share_create_params .CreateVastFileShareSerializerShareSettings | NotGiven = NOT_GIVEN ,
651666 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -669,6 +684,7 @@ async def create(
669684 "size" : size ,
670685 "access" : access ,
671686 "tags" : tags ,
687+ "type_name" : type_name ,
672688 "volume_type" : volume_type ,
673689 "share_settings" : share_settings ,
674690 },
0 commit comments