Skip to content

Commit 5a5b333

Browse files
author
SDKAuto
committed
CodeGen from PR 14992 in Azure/azure-rest-api-specs
Merge 45201a5f0ff71666b476c1b3224ac8e9c3c4178f into a68e908
1 parent 293c121 commit 5a5b333

File tree

11 files changed

+38
-35
lines changed

11 files changed

+38
-35
lines changed
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"autorest": "3.3.0",
3-
"use": "@autorest/python@5.6.6",
4-
"commit": "8cd148e3c96c3b13aab719dc12869334bc41312a",
2+
"autorest": "3.4.2",
3+
"use": [
4+
"@autorest/python@5.8.1",
5+
"@autorest/modelerfour@4.19.2"
6+
],
7+
"commit": "567e310af29ee1bb3d4d4c9403d01c91cad55bdc",
58
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6-
"autorest_command": "autorest specification/elastic/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
9+
"autorest_command": "autorest specification/elastic/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
710
"readme": "specification/elastic/resource-manager/readme.md"
811
}

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_deployment_info_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def list(
4444
self,
4545
resource_group_name: str,
4646
monitor_name: str,
47-
**kwargs
47+
**kwargs: Any
4848
) -> "_models.DeploymentInfoResponse":
4949
"""Fetch information regarding Elastic cloud deployment corresponding to the Elastic monitor resource.
5050

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_monitored_resources_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def list(
4545
self,
4646
resource_group_name: str,
4747
monitor_name: str,
48-
**kwargs
48+
**kwargs: Any
4949
) -> AsyncIterable["_models.MonitoredResourceListResponse"]:
5050
"""List the resources currently being monitored by the Elastic monitor resource.
5151

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_monitors_operations.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4545

4646
def list(
4747
self,
48-
**kwargs
48+
**kwargs: Any
4949
) -> AsyncIterable["_models.ElasticMonitorResourceListResponse"]:
5050
"""List all monitors under the specified subscription.
5151
@@ -115,7 +115,7 @@ async def get_next(next_link=None):
115115
def list_by_resource_group(
116116
self,
117117
resource_group_name: str,
118-
**kwargs
118+
**kwargs: Any
119119
) -> AsyncIterable["_models.ElasticMonitorResourceListResponse"]:
120120
"""List all monitors under the specified resource group.
121121
@@ -190,7 +190,7 @@ async def get(
190190
self,
191191
resource_group_name: str,
192192
monitor_name: str,
193-
**kwargs
193+
**kwargs: Any
194194
) -> "_models.ElasticMonitorResource":
195195
"""Get the properties of a specific monitor resource.
196196
@@ -253,7 +253,7 @@ async def _create_initial(
253253
resource_group_name: str,
254254
monitor_name: str,
255255
body: Optional["_models.ElasticMonitorResource"] = None,
256-
**kwargs
256+
**kwargs: Any
257257
) -> "_models.ElasticMonitorResource":
258258
cls = kwargs.pop('cls', None) # type: ClsType["_models.ElasticMonitorResource"]
259259
error_map = {
@@ -314,7 +314,7 @@ async def begin_create(
314314
resource_group_name: str,
315315
monitor_name: str,
316316
body: Optional["_models.ElasticMonitorResource"] = None,
317-
**kwargs
317+
**kwargs: Any
318318
) -> AsyncLROPoller["_models.ElasticMonitorResource"]:
319319
"""Create a monitor resource.
320320
@@ -329,8 +329,8 @@ async def begin_create(
329329
:type body: ~azure.mgmt.elastic.models.ElasticMonitorResource
330330
:keyword callable cls: A custom type or function that will be passed the direct response
331331
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
332-
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
333-
False for no polling, or your own initialized polling object for a personal polling strategy.
332+
:keyword polling: By default, your polling method will be AsyncARMPolling.
333+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
334334
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
335335
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
336336
:return: An instance of AsyncLROPoller that returns either ElasticMonitorResource or the result of cls(response)
@@ -388,7 +388,7 @@ async def update(
388388
resource_group_name: str,
389389
monitor_name: str,
390390
body: Optional["_models.ElasticMonitorResourceUpdateParameters"] = None,
391-
**kwargs
391+
**kwargs: Any
392392
) -> "_models.ElasticMonitorResource":
393393
"""Update a monitor resource.
394394
@@ -460,7 +460,7 @@ async def _delete_initial(
460460
self,
461461
resource_group_name: str,
462462
monitor_name: str,
463-
**kwargs
463+
**kwargs: Any
464464
) -> None:
465465
cls = kwargs.pop('cls', None) # type: ClsType[None]
466466
error_map = {
@@ -505,7 +505,7 @@ async def begin_delete(
505505
self,
506506
resource_group_name: str,
507507
monitor_name: str,
508-
**kwargs
508+
**kwargs: Any
509509
) -> AsyncLROPoller[None]:
510510
"""Delete a monitor resource.
511511
@@ -518,8 +518,8 @@ async def begin_delete(
518518
:type monitor_name: str
519519
:keyword callable cls: A custom type or function that will be passed the direct response
520520
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
521-
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
522-
False for no polling, or your own initialized polling object for a personal polling strategy.
521+
:keyword polling: By default, your polling method will be AsyncARMPolling.
522+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
523523
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
524524
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
525525
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4343

4444
def list(
4545
self,
46-
**kwargs
46+
**kwargs: Any
4747
) -> AsyncIterable["_models.OperationListResult"]:
4848
"""List all operations provided by Microsoft.Elastic.
4949

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_tag_rules_operations.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def list(
4747
self,
4848
resource_group_name: str,
4949
monitor_name: str,
50-
**kwargs
50+
**kwargs: Any
5151
) -> AsyncIterable["_models.MonitoringTagRulesListResponse"]:
5252
"""List the tag rules for a given monitor resource.
5353
@@ -127,7 +127,7 @@ async def create_or_update(
127127
monitor_name: str,
128128
rule_set_name: str,
129129
body: Optional["_models.MonitoringTagRules"] = None,
130-
**kwargs
130+
**kwargs: Any
131131
) -> "_models.MonitoringTagRules":
132132
"""Create or update a tag rule set for a given monitor resource.
133133
@@ -203,7 +203,7 @@ async def get(
203203
resource_group_name: str,
204204
monitor_name: str,
205205
rule_set_name: str,
206-
**kwargs
206+
**kwargs: Any
207207
) -> "_models.MonitoringTagRules":
208208
"""Get a tag rule set for a given monitor resource.
209209
@@ -269,7 +269,7 @@ async def _delete_initial(
269269
resource_group_name: str,
270270
monitor_name: str,
271271
rule_set_name: str,
272-
**kwargs
272+
**kwargs: Any
273273
) -> None:
274274
cls = kwargs.pop('cls', None) # type: ClsType[None]
275275
error_map = {
@@ -316,7 +316,7 @@ async def begin_delete(
316316
resource_group_name: str,
317317
monitor_name: str,
318318
rule_set_name: str,
319-
**kwargs
319+
**kwargs: Any
320320
) -> AsyncLROPoller[None]:
321321
"""Delete a tag rule set for a given monitor resource.
322322
@@ -331,8 +331,8 @@ async def begin_delete(
331331
:type rule_set_name: str
332332
:keyword callable cls: A custom type or function that will be passed the direct response
333333
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
334-
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
335-
False for no polling, or your own initialized polling object for a personal polling strategy.
334+
:keyword polling: By default, your polling method will be AsyncARMPolling.
335+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
336336
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
337337
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
338338
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_vm_collection_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async def update(
4545
resource_group_name: str,
4646
monitor_name: str,
4747
body: Optional["_models.VMCollectionUpdate"] = None,
48-
**kwargs
48+
**kwargs: Any
4949
) -> None:
5050
"""Update the vm details that will be monitored by the Elastic monitor resource.
5151

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_vm_host_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def list(
4545
self,
4646
resource_group_name: str,
4747
monitor_name: str,
48-
**kwargs
48+
**kwargs: Any
4949
) -> AsyncIterable["_models.VMHostListResponse"]:
5050
"""List the vm resources currently being monitored by the Elastic monitor resource.
5151

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/operations/_vm_ingestion_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def details(
4444
self,
4545
resource_group_name: str,
4646
monitor_name: str,
47-
**kwargs
47+
**kwargs: Any
4848
) -> "_models.VMIngestionDetailsResponse":
4949
"""List the vm ingestion details that will be monitored by the Elastic monitor resource.
5050

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/operations/_monitors_operations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ def begin_create(
338338
:type body: ~azure.mgmt.elastic.models.ElasticMonitorResource
339339
:keyword callable cls: A custom type or function that will be passed the direct response
340340
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
341-
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
342-
False for no polling, or your own initialized polling object for a personal polling strategy.
341+
:keyword polling: By default, your polling method will be ARMPolling.
342+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
343343
:paramtype polling: bool or ~azure.core.polling.PollingMethod
344344
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
345345
:return: An instance of LROPoller that returns either ElasticMonitorResource or the result of cls(response)
@@ -530,8 +530,8 @@ def begin_delete(
530530
:type monitor_name: str
531531
:keyword callable cls: A custom type or function that will be passed the direct response
532532
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
533-
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
534-
False for no polling, or your own initialized polling object for a personal polling strategy.
533+
:keyword polling: By default, your polling method will be ARMPolling.
534+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
535535
:paramtype polling: bool or ~azure.core.polling.PollingMethod
536536
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
537537
:return: An instance of LROPoller that returns either None or the result of cls(response)

0 commit comments

Comments
 (0)