@@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4545
4646 def list_operations (
4747 self ,
48- ** kwargs
48+ ** kwargs : Any
4949 ) -> AsyncIterable ["_models.CustomLocationOperationsList" ]:
5050 """Lists all available Custom Locations operations.
5151
@@ -108,7 +108,7 @@ async def get_next(next_link=None):
108108
109109 def list_by_subscription (
110110 self ,
111- ** kwargs
111+ ** kwargs : Any
112112 ) -> AsyncIterable ["_models.CustomLocationListResult" ]:
113113 """Gets a list of Custom Locations in a subscription.
114114
@@ -179,7 +179,7 @@ async def get_next(next_link=None):
179179 def list_by_resource_group (
180180 self ,
181181 resource_group_name : str ,
182- ** kwargs
182+ ** kwargs : Any
183183 ) -> AsyncIterable ["_models.CustomLocationListResult" ]:
184184 """Gets a list of Custom Locations in the specified subscription and resource group.
185185
@@ -211,7 +211,7 @@ def prepare_request(next_link=None):
211211 url = self .list_by_resource_group .metadata ['url' ] # type: ignore
212212 path_format_arguments = {
213213 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
214- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
214+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
215215 }
216216 url = self ._client .format_url (url , ** path_format_arguments )
217217 # Construct parameters
@@ -254,7 +254,7 @@ async def get(
254254 self ,
255255 resource_group_name : str ,
256256 resource_name : str ,
257- ** kwargs
257+ ** kwargs : Any
258258 ) -> "_models.CustomLocation" :
259259 """Gets a Custom Location.
260260
@@ -281,7 +281,7 @@ async def get(
281281 url = self .get .metadata ['url' ] # type: ignore
282282 path_format_arguments = {
283283 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
284- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
284+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
285285 'resourceName' : self ._serialize .url ("resource_name" , resource_name , 'str' , max_length = 63 , min_length = 1 , pattern = r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$' ),
286286 }
287287 url = self ._client .format_url (url , ** path_format_arguments )
@@ -316,7 +316,7 @@ async def _create_or_update_initial(
316316 resource_group_name : str ,
317317 resource_name : str ,
318318 parameters : "_models.CustomLocation" ,
319- ** kwargs
319+ ** kwargs : Any
320320 ) -> "_models.CustomLocation" :
321321 cls = kwargs .pop ('cls' , None ) # type: ClsType["_models.CustomLocation"]
322322 error_map = {
@@ -331,7 +331,7 @@ async def _create_or_update_initial(
331331 url = self ._create_or_update_initial .metadata ['url' ] # type: ignore
332332 path_format_arguments = {
333333 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
334- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
334+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
335335 'resourceName' : self ._serialize .url ("resource_name" , resource_name , 'str' , max_length = 63 , min_length = 1 , pattern = r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$' ),
336336 }
337337 url = self ._client .format_url (url , ** path_format_arguments )
@@ -374,7 +374,7 @@ async def begin_create_or_update(
374374 resource_group_name : str ,
375375 resource_name : str ,
376376 parameters : "_models.CustomLocation" ,
377- ** kwargs
377+ ** kwargs : Any
378378 ) -> AsyncLROPoller ["_models.CustomLocation" ]:
379379 """Creates or updates a Custom Location.
380380
@@ -388,8 +388,8 @@ async def begin_create_or_update(
388388 :type parameters: ~azure.mgmt.extendedlocation.v2021_03_15_preview.models.CustomLocation
389389 :keyword callable cls: A custom type or function that will be passed the direct response
390390 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
391- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
392- False for no polling , or your own initialized polling object for a personal polling strategy.
391+ :keyword polling: By default, your polling method will be AsyncARMPolling.
392+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
393393 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
394394 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
395395 :return: An instance of AsyncLROPoller that returns either CustomLocation or the result of cls(response)
@@ -424,7 +424,7 @@ def get_long_running_output(pipeline_response):
424424
425425 path_format_arguments = {
426426 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
427- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
427+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
428428 'resourceName' : self ._serialize .url ("resource_name" , resource_name , 'str' , max_length = 63 , min_length = 1 , pattern = r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$' ),
429429 }
430430
@@ -446,7 +446,7 @@ async def _delete_initial(
446446 self ,
447447 resource_group_name : str ,
448448 resource_name : str ,
449- ** kwargs
449+ ** kwargs : Any
450450 ) -> None :
451451 cls = kwargs .pop ('cls' , None ) # type: ClsType[None]
452452 error_map = {
@@ -460,7 +460,7 @@ async def _delete_initial(
460460 url = self ._delete_initial .metadata ['url' ] # type: ignore
461461 path_format_arguments = {
462462 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
463- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
463+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
464464 'resourceName' : self ._serialize .url ("resource_name" , resource_name , 'str' , max_length = 63 , min_length = 1 , pattern = r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$' ),
465465 }
466466 url = self ._client .format_url (url , ** path_format_arguments )
@@ -491,7 +491,7 @@ async def begin_delete(
491491 self ,
492492 resource_group_name : str ,
493493 resource_name : str ,
494- ** kwargs
494+ ** kwargs : Any
495495 ) -> AsyncLROPoller [None ]:
496496 """Deletes a Custom Location.
497497
@@ -504,8 +504,8 @@ async def begin_delete(
504504 :type resource_name: str
505505 :keyword callable cls: A custom type or function that will be passed the direct response
506506 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
507- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
508- False for no polling , or your own initialized polling object for a personal polling strategy.
507+ :keyword polling: By default, your polling method will be AsyncARMPolling.
508+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
509509 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
510510 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
511511 :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
@@ -536,7 +536,7 @@ def get_long_running_output(pipeline_response):
536536
537537 path_format_arguments = {
538538 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
539- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
539+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
540540 'resourceName' : self ._serialize .url ("resource_name" , resource_name , 'str' , max_length = 63 , min_length = 1 , pattern = r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$' ),
541541 }
542542
@@ -566,7 +566,7 @@ async def update(
566566 host_type : Optional [Union [str , "_models.HostType" ]] = None ,
567567 namespace : Optional [str ] = None ,
568568 provisioning_state : Optional [str ] = None ,
569- ** kwargs
569+ ** kwargs : Any
570570 ) -> "_models.CustomLocation" :
571571 """Updates a Custom Location.
572572
@@ -616,7 +616,7 @@ async def update(
616616 url = self .update .metadata ['url' ] # type: ignore
617617 path_format_arguments = {
618618 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
619- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
619+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
620620 'resourceName' : self ._serialize .url ("resource_name" , resource_name , 'str' , max_length = 63 , min_length = 1 , pattern = r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$' ),
621621 }
622622 url = self ._client .format_url (url , ** path_format_arguments )
@@ -654,7 +654,7 @@ def list_enabled_resource_types(
654654 self ,
655655 resource_group_name : str ,
656656 resource_name : str ,
657- ** kwargs
657+ ** kwargs : Any
658658 ) -> AsyncIterable ["_models.EnabledResourceTypesListResult" ]:
659659 """Gets the list of Enabled Resource Types.
660660
@@ -687,7 +687,7 @@ def prepare_request(next_link=None):
687687 url = self .list_enabled_resource_types .metadata ['url' ] # type: ignore
688688 path_format_arguments = {
689689 'subscriptionId' : self ._serialize .url ("self._config.subscription_id" , self ._config .subscription_id , 'str' , min_length = 1 ),
690- 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 , pattern = r'^[-\w\._\(\)]+$' ),
690+ 'resourceGroupName' : self ._serialize .url ("resource_group_name" , resource_group_name , 'str' , max_length = 90 , min_length = 1 ),
691691 'resourceName' : self ._serialize .url ("resource_name" , resource_name , 'str' , max_length = 63 , min_length = 1 , pattern = r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$' ),
692692 }
693693 url = self ._client .format_url (url , ** path_format_arguments )
0 commit comments