@@ -47,7 +47,7 @@ async def get(
4747 self ,
4848 resource_group_name : str ,
4949 resource_name : str ,
50- ** kwargs
50+ ** kwargs : Any
5151 ) -> "_models.App" :
5252 """Get the metadata of an IoT Central application.
5353
@@ -66,7 +66,7 @@ async def get(
6666 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
6767 }
6868 error_map .update (kwargs .pop ('error_map' , {}))
69- api_version = "2018-09 -01"
69+ api_version = "2021-06 -01"
7070 accept = "application/json"
7171
7272 # Construct URL
@@ -107,14 +107,14 @@ async def _create_or_update_initial(
107107 resource_group_name : str ,
108108 resource_name : str ,
109109 app : "_models.App" ,
110- ** kwargs
110+ ** kwargs : Any
111111 ) -> Optional ["_models.App" ]:
112112 cls = kwargs .pop ('cls' , None ) # type: ClsType[Optional["_models.App"]]
113113 error_map = {
114114 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
115115 }
116116 error_map .update (kwargs .pop ('error_map' , {}))
117- api_version = "2018-09 -01"
117+ api_version = "2021-06 -01"
118118 content_type = kwargs .pop ("content_type" , "application/json" )
119119 accept = "application/json"
120120
@@ -165,7 +165,7 @@ async def begin_create_or_update(
165165 resource_group_name : str ,
166166 resource_name : str ,
167167 app : "_models.App" ,
168- ** kwargs
168+ ** kwargs : Any
169169 ) -> AsyncLROPoller ["_models.App" ]:
170170 """Create or update the metadata of an IoT Central application. The usual pattern to modify a
171171 property is to retrieve the IoT Central application metadata and security metadata, and then
@@ -180,8 +180,8 @@ async def begin_create_or_update(
180180 :type app: ~azure.mgmt.iotcentral.models.App
181181 :keyword callable cls: A custom type or function that will be passed the direct response
182182 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
183- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
184- False for no polling , or your own initialized polling object for a personal polling strategy.
183+ :keyword polling: By default, your polling method will be AsyncARMPolling.
184+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
185185 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
186186 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
187187 :return: An instance of AsyncLROPoller that returns either App or the result of cls(response)
@@ -239,14 +239,14 @@ async def _update_initial(
239239 resource_group_name : str ,
240240 resource_name : str ,
241241 app_patch : "_models.AppPatch" ,
242- ** kwargs
242+ ** kwargs : Any
243243 ) -> Optional ["_models.App" ]:
244244 cls = kwargs .pop ('cls' , None ) # type: ClsType[Optional["_models.App"]]
245245 error_map = {
246246 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
247247 }
248248 error_map .update (kwargs .pop ('error_map' , {}))
249- api_version = "2018-09 -01"
249+ api_version = "2021-06 -01"
250250 content_type = kwargs .pop ("content_type" , "application/json" )
251251 accept = "application/json"
252252
@@ -294,7 +294,7 @@ async def begin_update(
294294 resource_group_name : str ,
295295 resource_name : str ,
296296 app_patch : "_models.AppPatch" ,
297- ** kwargs
297+ ** kwargs : Any
298298 ) -> AsyncLROPoller ["_models.App" ]:
299299 """Update the metadata of an IoT Central application.
300300
@@ -307,8 +307,8 @@ async def begin_update(
307307 :type app_patch: ~azure.mgmt.iotcentral.models.AppPatch
308308 :keyword callable cls: A custom type or function that will be passed the direct response
309309 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
310- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
311- False for no polling , or your own initialized polling object for a personal polling strategy.
310+ :keyword polling: By default, your polling method will be AsyncARMPolling.
311+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
312312 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
313313 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
314314 :return: An instance of AsyncLROPoller that returns either App or the result of cls(response)
@@ -365,14 +365,14 @@ async def _delete_initial(
365365 self ,
366366 resource_group_name : str ,
367367 resource_name : str ,
368- ** kwargs
368+ ** kwargs : Any
369369 ) -> None :
370370 cls = kwargs .pop ('cls' , None ) # type: ClsType[None]
371371 error_map = {
372372 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
373373 }
374374 error_map .update (kwargs .pop ('error_map' , {}))
375- api_version = "2018-09 -01"
375+ api_version = "2021-06 -01"
376376 accept = "application/json"
377377
378378 # Construct URL
@@ -409,7 +409,7 @@ async def begin_delete(
409409 self ,
410410 resource_group_name : str ,
411411 resource_name : str ,
412- ** kwargs
412+ ** kwargs : Any
413413 ) -> AsyncLROPoller [None ]:
414414 """Delete an IoT Central application.
415415
@@ -420,8 +420,8 @@ async def begin_delete(
420420 :type resource_name: str
421421 :keyword callable cls: A custom type or function that will be passed the direct response
422422 :keyword str continuation_token: A continuation token to restart a poller from a saved state.
423- :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
424- False for no polling , or your own initialized polling object for a personal polling strategy.
423+ :keyword polling: By default, your polling method will be AsyncARMPolling.
424+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
425425 :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
426426 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
427427 :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
@@ -472,7 +472,7 @@ def get_long_running_output(pipeline_response):
472472
473473 def list_by_subscription (
474474 self ,
475- ** kwargs
475+ ** kwargs : Any
476476 ) -> AsyncIterable ["_models.AppListResult" ]:
477477 """Get all IoT Central Applications in a subscription.
478478
@@ -486,7 +486,7 @@ def list_by_subscription(
486486 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
487487 }
488488 error_map .update (kwargs .pop ('error_map' , {}))
489- api_version = "2018-09 -01"
489+ api_version = "2021-06 -01"
490490 accept = "application/json"
491491
492492 def prepare_request (next_link = None ):
@@ -539,7 +539,7 @@ async def get_next(next_link=None):
539539 def list_by_resource_group (
540540 self ,
541541 resource_group_name : str ,
542- ** kwargs
542+ ** kwargs : Any
543543 ) -> AsyncIterable ["_models.AppListResult" ]:
544544 """Get all the IoT Central Applications in a resource group.
545545
@@ -556,7 +556,7 @@ def list_by_resource_group(
556556 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
557557 }
558558 error_map .update (kwargs .pop ('error_map' , {}))
559- api_version = "2018-09 -01"
559+ api_version = "2021-06 -01"
560560 accept = "application/json"
561561
562562 def prepare_request (next_link = None ):
@@ -610,7 +610,7 @@ async def get_next(next_link=None):
610610 async def check_name_availability (
611611 self ,
612612 operation_inputs : "_models.OperationInputs" ,
613- ** kwargs
613+ ** kwargs : Any
614614 ) -> "_models.AppAvailabilityInfo" :
615615 """Check if an IoT Central application name is available.
616616
@@ -627,7 +627,7 @@ async def check_name_availability(
627627 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
628628 }
629629 error_map .update (kwargs .pop ('error_map' , {}))
630- api_version = "2018-09 -01"
630+ api_version = "2021-06 -01"
631631 content_type = kwargs .pop ("content_type" , "application/json" )
632632 accept = "application/json"
633633
@@ -669,7 +669,7 @@ async def check_name_availability(
669669 async def check_subdomain_availability (
670670 self ,
671671 operation_inputs : "_models.OperationInputs" ,
672- ** kwargs
672+ ** kwargs : Any
673673 ) -> "_models.AppAvailabilityInfo" :
674674 """Check if an IoT Central application subdomain is available.
675675
@@ -686,7 +686,7 @@ async def check_subdomain_availability(
686686 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
687687 }
688688 error_map .update (kwargs .pop ('error_map' , {}))
689- api_version = "2018-09 -01"
689+ api_version = "2021-06 -01"
690690 content_type = kwargs .pop ("content_type" , "application/json" )
691691 accept = "application/json"
692692
@@ -727,7 +727,7 @@ async def check_subdomain_availability(
727727
728728 def list_templates (
729729 self ,
730- ** kwargs
730+ ** kwargs : Any
731731 ) -> AsyncIterable ["_models.AppTemplatesResult" ]:
732732 """Get all available application templates.
733733
@@ -741,7 +741,7 @@ def list_templates(
741741 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
742742 }
743743 error_map .update (kwargs .pop ('error_map' , {}))
744- api_version = "2018-09 -01"
744+ api_version = "2021-06 -01"
745745 accept = "application/json"
746746
747747 def prepare_request (next_link = None ):
0 commit comments