Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions sdk/elastic/azure-mgmt-elastic/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "8cd148e3c96c3b13aab719dc12869334bc41312a",
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "eee9cbba738edde2ea48ea0c826f84619e2561df",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"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",
"readme": "specification/elastic/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def list(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> "_models.DeploymentInfoResponse":
"""Fetch information regarding Elastic cloud deployment corresponding to the Elastic monitor resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MonitoredResourceListResponse"]:
"""List the resources currently being monitored by the Elastic monitor resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ElasticMonitorResourceListResponse"]:
"""List all monitors under the specified subscription.

Expand Down Expand Up @@ -115,7 +115,7 @@ async def get_next(next_link=None):
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ElasticMonitorResourceListResponse"]:
"""List all monitors under the specified resource group.

Expand Down Expand Up @@ -190,7 +190,7 @@ async def get(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> "_models.ElasticMonitorResource":
"""Get the properties of a specific monitor resource.

Expand Down Expand Up @@ -253,7 +253,7 @@ async def _create_initial(
resource_group_name: str,
monitor_name: str,
body: Optional["_models.ElasticMonitorResource"] = None,
**kwargs
**kwargs: Any
) -> "_models.ElasticMonitorResource":
cls = kwargs.pop('cls', None) # type: ClsType["_models.ElasticMonitorResource"]
error_map = {
Expand Down Expand Up @@ -314,7 +314,7 @@ async def begin_create(
resource_group_name: str,
monitor_name: str,
body: Optional["_models.ElasticMonitorResource"] = None,
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.ElasticMonitorResource"]:
"""Create a monitor resource.

Expand All @@ -329,8 +329,8 @@ async def begin_create(
:type body: ~azure.mgmt.elastic.models.ElasticMonitorResource
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either ElasticMonitorResource or the result of cls(response)
Expand Down Expand Up @@ -388,7 +388,7 @@ async def update(
resource_group_name: str,
monitor_name: str,
body: Optional["_models.ElasticMonitorResourceUpdateParameters"] = None,
**kwargs
**kwargs: Any
) -> "_models.ElasticMonitorResource":
"""Update a monitor resource.

Expand Down Expand Up @@ -460,7 +460,7 @@ async def _delete_initial(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -505,7 +505,7 @@ async def begin_delete(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Delete a monitor resource.

Expand All @@ -518,8 +518,8 @@ async def begin_delete(
:type monitor_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.OperationListResult"]:
"""List all operations provided by Microsoft.Elastic.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def list(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MonitoringTagRulesListResponse"]:
"""List the tag rules for a given monitor resource.

Expand Down Expand Up @@ -127,7 +127,7 @@ async def create_or_update(
monitor_name: str,
rule_set_name: str,
body: Optional["_models.MonitoringTagRules"] = None,
**kwargs
**kwargs: Any
) -> "_models.MonitoringTagRules":
"""Create or update a tag rule set for a given monitor resource.

Expand Down Expand Up @@ -203,7 +203,7 @@ async def get(
resource_group_name: str,
monitor_name: str,
rule_set_name: str,
**kwargs
**kwargs: Any
) -> "_models.MonitoringTagRules":
"""Get a tag rule set for a given monitor resource.

Expand Down Expand Up @@ -269,7 +269,7 @@ async def _delete_initial(
resource_group_name: str,
monitor_name: str,
rule_set_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -316,7 +316,7 @@ async def begin_delete(
resource_group_name: str,
monitor_name: str,
rule_set_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Delete a tag rule set for a given monitor resource.

Expand All @@ -331,8 +331,8 @@ async def begin_delete(
:type rule_set_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def update(
resource_group_name: str,
monitor_name: str,
body: Optional["_models.VMCollectionUpdate"] = None,
**kwargs
**kwargs: Any
) -> None:
"""Update the vm details that will be monitored by the Elastic monitor resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.VMHostListResponse"]:
"""List the vm resources currently being monitored by the Elastic monitor resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def details(
self,
resource_group_name: str,
monitor_name: str,
**kwargs
**kwargs: Any
) -> "_models.VMIngestionDetailsResponse":
"""List the vm ingestion details that will be monitored by the Elastic monitor resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ def begin_create(
:type body: ~azure.mgmt.elastic.models.ElasticMonitorResource
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either ElasticMonitorResource or the result of cls(response)
Expand Down Expand Up @@ -530,8 +530,8 @@ def begin_delete(
:type monitor_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either None or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ def begin_delete(
:type rule_set_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either None or the result of cls(response)
Expand Down