@@ -47,7 +47,7 @@ async def get(
47
47
self ,
48
48
resource_group_name : str ,
49
49
resource_name : str ,
50
- ** kwargs
50
+ ** kwargs : Any
51
51
) -> "_models.App" :
52
52
"""Get the metadata of an IoT Central application.
53
53
@@ -66,7 +66,7 @@ async def get(
66
66
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
67
67
}
68
68
error_map .update (kwargs .pop ('error_map' , {}))
69
- api_version = "2018-09 -01"
69
+ api_version = "2021-06 -01"
70
70
accept = "application/json"
71
71
72
72
# Construct URL
@@ -107,14 +107,14 @@ async def _create_or_update_initial(
107
107
resource_group_name : str ,
108
108
resource_name : str ,
109
109
app : "_models.App" ,
110
- ** kwargs
110
+ ** kwargs : Any
111
111
) -> Optional ["_models.App" ]:
112
112
cls = kwargs .pop ('cls' , None ) # type: ClsType[Optional["_models.App"]]
113
113
error_map = {
114
114
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
115
115
}
116
116
error_map .update (kwargs .pop ('error_map' , {}))
117
- api_version = "2018-09 -01"
117
+ api_version = "2021-06 -01"
118
118
content_type = kwargs .pop ("content_type" , "application/json" )
119
119
accept = "application/json"
120
120
@@ -165,7 +165,7 @@ async def begin_create_or_update(
165
165
resource_group_name : str ,
166
166
resource_name : str ,
167
167
app : "_models.App" ,
168
- ** kwargs
168
+ ** kwargs : Any
169
169
) -> AsyncLROPoller ["_models.App" ]:
170
170
"""Create or update the metadata of an IoT Central application. The usual pattern to modify a
171
171
property is to retrieve the IoT Central application metadata and security metadata, and then
@@ -180,8 +180,8 @@ async def begin_create_or_update(
180
180
:type app: ~azure.mgmt.iotcentral.models.App
181
181
:keyword callable cls: A custom type or function that will be passed the direct response
182
182
: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.
185
185
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
186
186
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
187
187
:return: An instance of AsyncLROPoller that returns either App or the result of cls(response)
@@ -239,14 +239,14 @@ async def _update_initial(
239
239
resource_group_name : str ,
240
240
resource_name : str ,
241
241
app_patch : "_models.AppPatch" ,
242
- ** kwargs
242
+ ** kwargs : Any
243
243
) -> Optional ["_models.App" ]:
244
244
cls = kwargs .pop ('cls' , None ) # type: ClsType[Optional["_models.App"]]
245
245
error_map = {
246
246
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
247
247
}
248
248
error_map .update (kwargs .pop ('error_map' , {}))
249
- api_version = "2018-09 -01"
249
+ api_version = "2021-06 -01"
250
250
content_type = kwargs .pop ("content_type" , "application/json" )
251
251
accept = "application/json"
252
252
@@ -294,7 +294,7 @@ async def begin_update(
294
294
resource_group_name : str ,
295
295
resource_name : str ,
296
296
app_patch : "_models.AppPatch" ,
297
- ** kwargs
297
+ ** kwargs : Any
298
298
) -> AsyncLROPoller ["_models.App" ]:
299
299
"""Update the metadata of an IoT Central application.
300
300
@@ -307,8 +307,8 @@ async def begin_update(
307
307
:type app_patch: ~azure.mgmt.iotcentral.models.AppPatch
308
308
:keyword callable cls: A custom type or function that will be passed the direct response
309
309
: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.
312
312
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
313
313
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
314
314
:return: An instance of AsyncLROPoller that returns either App or the result of cls(response)
@@ -365,14 +365,14 @@ async def _delete_initial(
365
365
self ,
366
366
resource_group_name : str ,
367
367
resource_name : str ,
368
- ** kwargs
368
+ ** kwargs : Any
369
369
) -> None :
370
370
cls = kwargs .pop ('cls' , None ) # type: ClsType[None]
371
371
error_map = {
372
372
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
373
373
}
374
374
error_map .update (kwargs .pop ('error_map' , {}))
375
- api_version = "2018-09 -01"
375
+ api_version = "2021-06 -01"
376
376
accept = "application/json"
377
377
378
378
# Construct URL
@@ -409,7 +409,7 @@ async def begin_delete(
409
409
self ,
410
410
resource_group_name : str ,
411
411
resource_name : str ,
412
- ** kwargs
412
+ ** kwargs : Any
413
413
) -> AsyncLROPoller [None ]:
414
414
"""Delete an IoT Central application.
415
415
@@ -420,8 +420,8 @@ async def begin_delete(
420
420
:type resource_name: str
421
421
:keyword callable cls: A custom type or function that will be passed the direct response
422
422
: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.
425
425
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
426
426
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
427
427
: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):
472
472
473
473
def list_by_subscription (
474
474
self ,
475
- ** kwargs
475
+ ** kwargs : Any
476
476
) -> AsyncIterable ["_models.AppListResult" ]:
477
477
"""Get all IoT Central Applications in a subscription.
478
478
@@ -486,7 +486,7 @@ def list_by_subscription(
486
486
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
487
487
}
488
488
error_map .update (kwargs .pop ('error_map' , {}))
489
- api_version = "2018-09 -01"
489
+ api_version = "2021-06 -01"
490
490
accept = "application/json"
491
491
492
492
def prepare_request (next_link = None ):
@@ -539,7 +539,7 @@ async def get_next(next_link=None):
539
539
def list_by_resource_group (
540
540
self ,
541
541
resource_group_name : str ,
542
- ** kwargs
542
+ ** kwargs : Any
543
543
) -> AsyncIterable ["_models.AppListResult" ]:
544
544
"""Get all the IoT Central Applications in a resource group.
545
545
@@ -556,7 +556,7 @@ def list_by_resource_group(
556
556
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
557
557
}
558
558
error_map .update (kwargs .pop ('error_map' , {}))
559
- api_version = "2018-09 -01"
559
+ api_version = "2021-06 -01"
560
560
accept = "application/json"
561
561
562
562
def prepare_request (next_link = None ):
@@ -610,7 +610,7 @@ async def get_next(next_link=None):
610
610
async def check_name_availability (
611
611
self ,
612
612
operation_inputs : "_models.OperationInputs" ,
613
- ** kwargs
613
+ ** kwargs : Any
614
614
) -> "_models.AppAvailabilityInfo" :
615
615
"""Check if an IoT Central application name is available.
616
616
@@ -627,7 +627,7 @@ async def check_name_availability(
627
627
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
628
628
}
629
629
error_map .update (kwargs .pop ('error_map' , {}))
630
- api_version = "2018-09 -01"
630
+ api_version = "2021-06 -01"
631
631
content_type = kwargs .pop ("content_type" , "application/json" )
632
632
accept = "application/json"
633
633
@@ -669,7 +669,7 @@ async def check_name_availability(
669
669
async def check_subdomain_availability (
670
670
self ,
671
671
operation_inputs : "_models.OperationInputs" ,
672
- ** kwargs
672
+ ** kwargs : Any
673
673
) -> "_models.AppAvailabilityInfo" :
674
674
"""Check if an IoT Central application subdomain is available.
675
675
@@ -686,7 +686,7 @@ async def check_subdomain_availability(
686
686
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
687
687
}
688
688
error_map .update (kwargs .pop ('error_map' , {}))
689
- api_version = "2018-09 -01"
689
+ api_version = "2021-06 -01"
690
690
content_type = kwargs .pop ("content_type" , "application/json" )
691
691
accept = "application/json"
692
692
@@ -727,7 +727,7 @@ async def check_subdomain_availability(
727
727
728
728
def list_templates (
729
729
self ,
730
- ** kwargs
730
+ ** kwargs : Any
731
731
) -> AsyncIterable ["_models.AppTemplatesResult" ]:
732
732
"""Get all available application templates.
733
733
@@ -741,7 +741,7 @@ def list_templates(
741
741
401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError
742
742
}
743
743
error_map .update (kwargs .pop ('error_map' , {}))
744
- api_version = "2018-09 -01"
744
+ api_version = "2021-06 -01"
745
745
accept = "application/json"
746
746
747
747
def prepare_request (next_link = None ):
0 commit comments