Skip to content

Commit 2a927b2

Browse files
Azure CLI BotSDKAutomsyyc
authored
[AutoRelease] t2-elastic-2021-08-04-63942 (Azure#20077)
* CodeGen from PR 15049 in Azure/azure-rest-api-specs T2 elastic (Azure#15049) * sql t2 readme config * readme config * Update readme.python.md * conflient resolve * readme config Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> * version,CHANGELOG * Update CHANGELOG.md Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent acf2264 commit 2a927b2

22 files changed

+79
-72
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 1.0.0 (2021-08-04)
4+
5+
- GA Release
6+
37
## 1.0.0b1 (2021-05-08)
48

59
* Initial Release
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": "969711ae6f1a8ede40dde2dd40dee780344cdc2e",
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/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2020-07-01-preview"
51+
self.api_version = "2020-07-01"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-elastic/{}'.format(VERSION))
5454
self._configure(**kwargs)

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2020-07-01-preview",
3-
"total_api_version_list": ["2020-07-01-preview"],
2+
"chosen_version": "2020-07-01",
3+
"total_api_version_list": ["2020-07-01"],
44
"client": {
55
"name": "MicrosoftElastic",
66
"filename": "_microsoft_elastic",

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b1"
9+
VERSION = "1.0.0"

sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/aio/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2020-07-01-preview"
48+
self.api_version = "2020-07-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-elastic/{}'.format(VERSION))
5151
self._configure(**kwargs)

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

Lines changed: 2 additions & 2 deletions
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
@@ -66,7 +66,7 @@ async def list(
6666
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6767
}
6868
error_map.update(kwargs.pop('error_map', {}))
69-
api_version = "2020-07-01-preview"
69+
api_version = "2020-07-01"
7070
accept = "application/json"
7171

7272
# Construct URL

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

Lines changed: 2 additions & 2 deletions
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
@@ -66,7 +66,7 @@ def list(
6666
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6767
}
6868
error_map.update(kwargs.pop('error_map', {}))
69-
api_version = "2020-07-01-preview"
69+
api_version = "2020-07-01"
7070
accept = "application/json"
7171

7272
def prepare_request(next_link=None):

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

Lines changed: 18 additions & 18 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
@@ -61,7 +61,7 @@ def list(
6161
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6262
}
6363
error_map.update(kwargs.pop('error_map', {}))
64-
api_version = "2020-07-01-preview"
64+
api_version = "2020-07-01"
6565
accept = "application/json"
6666

6767
def prepare_request(next_link=None):
@@ -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
@@ -134,7 +134,7 @@ def list_by_resource_group(
134134
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
135135
}
136136
error_map.update(kwargs.pop('error_map', {}))
137-
api_version = "2020-07-01-preview"
137+
api_version = "2020-07-01"
138138
accept = "application/json"
139139

140140
def prepare_request(next_link=None):
@@ -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
@@ -211,7 +211,7 @@ async def get(
211211
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
212212
}
213213
error_map.update(kwargs.pop('error_map', {}))
214-
api_version = "2020-07-01-preview"
214+
api_version = "2020-07-01"
215215
accept = "application/json"
216216

217217
# Construct URL
@@ -253,14 +253,14 @@ 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 = {
260260
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
261261
}
262262
error_map.update(kwargs.pop('error_map', {}))
263-
api_version = "2020-07-01-preview"
263+
api_version = "2020-07-01"
264264
content_type = kwargs.pop("content_type", "application/json")
265265
accept = "application/json"
266266

@@ -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
@@ -411,7 +411,7 @@ async def update(
411411
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
412412
}
413413
error_map.update(kwargs.pop('error_map', {}))
414-
api_version = "2020-07-01-preview"
414+
api_version = "2020-07-01"
415415
content_type = kwargs.pop("content_type", "application/json")
416416
accept = "application/json"
417417

@@ -460,14 +460,14 @@ 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 = {
467467
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
468468
}
469469
error_map.update(kwargs.pop('error_map', {}))
470-
api_version = "2020-07-01-preview"
470+
api_version = "2020-07-01"
471471
accept = "application/json"
472472

473473
# Construct URL
@@ -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: 2 additions & 2 deletions
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
@@ -59,7 +59,7 @@ def list(
5959
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6060
}
6161
error_map.update(kwargs.pop('error_map', {}))
62-
api_version = "2020-07-01-preview"
62+
api_version = "2020-07-01"
6363
accept = "application/json"
6464

6565
def prepare_request(next_link=None):

0 commit comments

Comments
 (0)