@@ -47,7 +47,7 @@ async def check_name_availability(
4747 self ,
4848 location : str ,
4949 parameters : "_models.NameAvailabilityParameters" ,
50- ** kwargs
50+ ** kwargs : Any
5151 ) -> "_models.NameAvailability" :
5252 """Checks that the resource name is valid and is not already in use.
5353
@@ -65,7 +65,7 @@ async def check_name_availability(
6565 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
6666 }
6767 error_map .update (kwargs .pop ('error_map' , {}))
68- api_version = "2021-04 -01-preview"
68+ api_version = "2021-06 -01-preview"
6969 content_type = kwargs .pop ("content_type" , "application/json" )
7070 accept = "application/json"
7171
@@ -108,7 +108,7 @@ async def check_name_availability(
108108
109109 def list_by_subscription (
110110 self ,
111- ** kwargs
111+ ** kwargs : Any
112112 ) -> AsyncIterable ["_models.WebPubSubResourceList" ]:
113113 """Handles requests to list all resources in a subscription.
114114
@@ -122,7 +122,7 @@ def list_by_subscription(
122122 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
123123 }
124124 error_map .update (kwargs .pop ('error_map' , {}))
125- api_version = "2021-04 -01-preview"
125+ api_version = "2021-06 -01-preview"
126126 accept = "application/json"
127127
128128 def prepare_request (next_link = None ):
@@ -176,7 +176,7 @@ async def get_next(next_link=None):
176176 def list_by_resource_group (
177177 self ,
178178 resource_group_name : str ,
179- ** kwargs
179+ ** kwargs : Any
180180 ) -> AsyncIterable ["_models.WebPubSubResourceList" ]:
181181 """Handles requests to list all resources in a resource group.
182182
@@ -193,7 +193,7 @@ def list_by_resource_group(
193193 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
194194 }
195195 error_map .update (kwargs .pop ('error_map' , {}))
196- api_version = "2021-04 -01-preview"
196+ api_version = "2021-06 -01-preview"
197197 accept = "application/json"
198198
199199 def prepare_request (next_link = None ):
@@ -249,7 +249,7 @@ async def get(
249249 self ,
250250 resource_group_name : str ,
251251 resource_name : str ,
252- ** kwargs
252+ ** kwargs : Any
253253 ) -> "_models.WebPubSubResource" :
254254 """Get the resource and its properties.
255255
@@ -268,7 +268,7 @@ async def get(
268268 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
269269 }
270270 error_map .update (kwargs .pop ('error_map' , {}))
271- api_version = "2021-04 -01-preview"
271+ api_version = "2021-06 -01-preview"
272272 accept = "application/json"
273273
274274 # Construct URL
@@ -310,14 +310,14 @@ async def _create_or_update_initial(
310310 resource_group_name : str ,
311311 resource_name : str ,
312312 parameters : "_models.WebPubSubResource" ,
313- ** kwargs
313+ ** kwargs : Any
314314 ) -> Optional ["_models.WebPubSubResource" ]:
315315 cls = kwargs .pop ('cls' , None ) # type: ClsType[Optional["_models.WebPubSubResource"]]
316316 error_map = {
317317 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
318318 }
319319 error_map .update (kwargs .pop ('error_map' , {}))
320- api_version = "2021-04 -01-preview"
320+ api_version = "2021-06 -01-preview"
321321 content_type = kwargs .pop ("content_type" , "application/json" )
322322 accept = "application/json"
323323
@@ -369,7 +369,7 @@ async def begin_create_or_update(
369369 resource_group_name : str ,
370370 resource_name : str ,
371371 parameters : "_models.WebPubSubResource" ,
372- ** kwargs
372+ ** kwargs : Any
373373 ) -> AsyncLROPoller ["_models.WebPubSubResource" ]:
374374 """Create or update a resource.
375375
@@ -382,8 +382,8 @@ async def begin_create_or_update(
382382 :type parameters: ~azure.mgmt.webpubsub.models.WebPubSubResource
383383 :keyword callable cls: A custom type or function that will be passed the direct response
384384 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
385- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
386- False for no polling , or your own initialized polling object for a personal polling strategy.
385+ :keyword polling: By default, your polling method will be AsyncARMPolling.
386+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
387387 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
388388 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
389389 :return: An instance of AsyncLROPoller that returns either WebPubSubResource or the result of cls(response)
@@ -440,14 +440,14 @@ async def _delete_initial(
440440 self ,
441441 resource_group_name : str ,
442442 resource_name : str ,
443- ** kwargs
443+ ** kwargs : Any
444444 ) -> None :
445445 cls = kwargs .pop ('cls' , None ) # type: ClsType[None]
446446 error_map = {
447447 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
448448 }
449449 error_map .update (kwargs .pop ('error_map' , {}))
450- api_version = "2021-04 -01-preview"
450+ api_version = "2021-06 -01-preview"
451451 accept = "application/json"
452452
453453 # Construct URL
@@ -485,7 +485,7 @@ async def begin_delete(
485485 self ,
486486 resource_group_name : str ,
487487 resource_name : str ,
488- ** kwargs
488+ ** kwargs : Any
489489 ) -> AsyncLROPoller [None ]:
490490 """Operation to delete a resource.
491491
@@ -496,8 +496,8 @@ async def begin_delete(
496496 :type resource_name: str
497497 :keyword callable cls: A custom type or function that will be passed the direct response
498498 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
499- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
500- False for no polling , or your own initialized polling object for a personal polling strategy.
499+ :keyword polling: By default, your polling method will be AsyncARMPolling.
500+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
501501 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
502502 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
503503 :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
@@ -551,14 +551,14 @@ async def _update_initial(
551551 resource_group_name : str ,
552552 resource_name : str ,
553553 parameters : "_models.WebPubSubResource" ,
554- ** kwargs
554+ ** kwargs : Any
555555 ) -> Optional ["_models.WebPubSubResource" ]:
556556 cls = kwargs .pop ('cls' , None ) # type: ClsType[Optional["_models.WebPubSubResource"]]
557557 error_map = {
558558 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
559559 }
560560 error_map .update (kwargs .pop ('error_map' , {}))
561- api_version = "2021-04 -01-preview"
561+ api_version = "2021-06 -01-preview"
562562 content_type = kwargs .pop ("content_type" , "application/json" )
563563 accept = "application/json"
564564
@@ -607,7 +607,7 @@ async def begin_update(
607607 resource_group_name : str ,
608608 resource_name : str ,
609609 parameters : "_models.WebPubSubResource" ,
610- ** kwargs
610+ ** kwargs : Any
611611 ) -> AsyncLROPoller ["_models.WebPubSubResource" ]:
612612 """Operation to update an exiting resource.
613613
@@ -620,8 +620,8 @@ async def begin_update(
620620 :type parameters: ~azure.mgmt.webpubsub.models.WebPubSubResource
621621 :keyword callable cls: A custom type or function that will be passed the direct response
622622 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
623- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
624- False for no polling , or your own initialized polling object for a personal polling strategy.
623+ :keyword polling: By default, your polling method will be AsyncARMPolling.
624+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
625625 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
626626 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
627627 :return: An instance of AsyncLROPoller that returns either WebPubSubResource or the result of cls(response)
@@ -678,7 +678,7 @@ async def list_keys(
678678 self ,
679679 resource_group_name : str ,
680680 resource_name : str ,
681- ** kwargs
681+ ** kwargs : Any
682682 ) -> "_models.WebPubSubKeys" :
683683 """Get the access keys of the resource.
684684
@@ -697,7 +697,7 @@ async def list_keys(
697697 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
698698 }
699699 error_map .update (kwargs .pop ('error_map' , {}))
700- api_version = "2021-04 -01-preview"
700+ api_version = "2021-06 -01-preview"
701701 accept = "application/json"
702702
703703 # Construct URL
@@ -739,14 +739,14 @@ async def _regenerate_key_initial(
739739 resource_group_name : str ,
740740 resource_name : str ,
741741 parameters : "_models.RegenerateKeyParameters" ,
742- ** kwargs
742+ ** kwargs : Any
743743 ) -> "_models.WebPubSubKeys" :
744744 cls = kwargs .pop ('cls' , None ) # type: ClsType["_models.WebPubSubKeys"]
745745 error_map = {
746746 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
747747 }
748748 error_map .update (kwargs .pop ('error_map' , {}))
749- api_version = "2021-04 -01-preview"
749+ api_version = "2021-06 -01-preview"
750750 content_type = kwargs .pop ("content_type" , "application/json" )
751751 accept = "application/json"
752752
@@ -793,7 +793,7 @@ async def begin_regenerate_key(
793793 resource_group_name : str ,
794794 resource_name : str ,
795795 parameters : "_models.RegenerateKeyParameters" ,
796- ** kwargs
796+ ** kwargs : Any
797797 ) -> AsyncLROPoller ["_models.WebPubSubKeys" ]:
798798 """Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated
799799 at the same time.
@@ -807,8 +807,8 @@ async def begin_regenerate_key(
807807 :type parameters: ~azure.mgmt.webpubsub.models.RegenerateKeyParameters
808808 :keyword callable cls: A custom type or function that will be passed the direct response
809809 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
810- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
811- False for no polling , or your own initialized polling object for a personal polling strategy.
810+ :keyword polling: By default, your polling method will be AsyncARMPolling.
811+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
812812 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
813813 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
814814 :return: An instance of AsyncLROPoller that returns either WebPubSubKeys or the result of cls(response)
@@ -865,14 +865,14 @@ async def _restart_initial(
865865 self ,
866866 resource_group_name : str ,
867867 resource_name : str ,
868- ** kwargs
868+ ** kwargs : Any
869869 ) -> None :
870870 cls = kwargs .pop ('cls' , None ) # type: ClsType[None]
871871 error_map = {
872872 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
873873 }
874874 error_map .update (kwargs .pop ('error_map' , {}))
875- api_version = "2021-04 -01-preview"
875+ api_version = "2021-06 -01-preview"
876876 accept = "application/json"
877877
878878 # Construct URL
@@ -910,7 +910,7 @@ async def begin_restart(
910910 self ,
911911 resource_group_name : str ,
912912 resource_name : str ,
913- ** kwargs
913+ ** kwargs : Any
914914 ) -> AsyncLROPoller [None ]:
915915 """Operation to restart a resource.
916916
@@ -921,8 +921,8 @@ async def begin_restart(
921921 :type resource_name: str
922922 :keyword callable cls: A custom type or function that will be passed the direct response
923923 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
924- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
925- False for no polling , or your own initialized polling object for a personal polling strategy.
924+ :keyword polling: By default, your polling method will be AsyncARMPolling.
925+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
926926 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
927927 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
928928 :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
0 commit comments