Skip to content

Commit 941cf64

Browse files
Azure CLI BotSDKAutoRAY-316msyyc
authored
[AutoRelease] t2-logz-2021-08-26-01773 (#20426)
* CodeGen from PR 15798 in Azure/azure-rest-api-specs logz readme config (#15798) * version,CHANGELOG * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed Lei <[email protected]> Co-authored-by: msyyc <[email protected]>
1 parent dfa10c8 commit 941cf64

20 files changed

+182
-174
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-09-06)
4+
5+
- GA release
6+
37
## 1.0.0b1 (2021-06-02)
48

59
* Initial Release
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"autorest": "3.4.2",
2+
"autorest": "3.4.5",
33
"use": [
4-
"@autorest/[email protected].0",
5-
"@autorest/[email protected].1"
4+
"@autorest/[email protected].4",
5+
"@autorest/[email protected].2"
66
],
7-
"commit": "0142a08c953656b1a172e1c274d9c8334fff4c65",
7+
"commit": "ca53ed5bcdb43c974a04234fcd27bcfad74d15fa",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/logz/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/[email protected].0 --use=@autorest/[email protected].1 --version=3.4.2",
9+
"autorest_command": "autorest specification/logz/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/[email protected].4 --use=@autorest/[email protected].2 --version=3.4.5",
1010
"readme": "specification/logz/resource-manager/readme.md"
1111
}

sdk/logz/azure-mgmt-logz/azure/mgmt/logz/_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-10-01-preview"
51+
self.api_version = "2020-10-01"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-logz/{}'.format(VERSION))
5454
self._configure(**kwargs)

sdk/logz/azure-mgmt-logz/azure/mgmt/logz/_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-10-01-preview",
3-
"total_api_version_list": ["2020-10-01-preview"],
2+
"chosen_version": "2020-10-01",
3+
"total_api_version_list": ["2020-10-01"],
44
"client": {
55
"name": "MicrosoftLogz",
66
"filename": "_microsoft_logz",

sdk/logz/azure-mgmt-logz/azure/mgmt/logz/_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/logz/azure-mgmt-logz/azure/mgmt/logz/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-10-01-preview"
48+
self.api_version = "2020-10-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-logz/{}'.format(VERSION))
5151
self._configure(**kwargs)

sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitor_operations.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ async def vm_host_payload(
6666
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6767
}
6868
error_map.update(kwargs.pop('error_map', {}))
69-
api_version = "2020-10-01-preview"
69+
api_version = "2020-10-01"
7070
accept = "application/json"
7171

7272
# Construct URL
7373
url = self.vm_host_payload.metadata['url'] # type: ignore
7474
path_format_arguments = {
7575
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
76-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
76+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
7777
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
7878
}
7979
url = self._client.format_url(url, **path_format_arguments)
@@ -131,7 +131,7 @@ def list_vm_host_update(
131131
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
132132
}
133133
error_map.update(kwargs.pop('error_map', {}))
134-
api_version = "2020-10-01-preview"
134+
api_version = "2020-10-01"
135135
content_type = "application/json"
136136
accept = "application/json"
137137

@@ -146,7 +146,7 @@ def prepare_request(next_link=None):
146146
url = self.list_vm_host_update.metadata['url'] # type: ignore
147147
path_format_arguments = {
148148
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
149-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
149+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
150150
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
151151
}
152152
url = self._client.format_url(url, **path_format_arguments)
@@ -222,7 +222,7 @@ def list_vm_hosts(
222222
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
223223
}
224224
error_map.update(kwargs.pop('error_map', {}))
225-
api_version = "2020-10-01-preview"
225+
api_version = "2020-10-01"
226226
accept = "application/json"
227227

228228
def prepare_request(next_link=None):
@@ -235,7 +235,7 @@ def prepare_request(next_link=None):
235235
url = self.list_vm_hosts.metadata['url'] # type: ignore
236236
path_format_arguments = {
237237
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
238-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
238+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
239239
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
240240
}
241241
url = self._client.format_url(url, **path_format_arguments)

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list_monitored_resources(
6767
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6868
}
6969
error_map.update(kwargs.pop('error_map', {}))
70-
api_version = "2020-10-01-preview"
70+
api_version = "2020-10-01"
7171
accept = "application/json"
7272

7373
def prepare_request(next_link=None):
@@ -80,7 +80,7 @@ def prepare_request(next_link=None):
8080
url = self.list_monitored_resources.metadata['url'] # type: ignore
8181
path_format_arguments = {
8282
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
83-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
83+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
8484
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
8585
}
8686
url = self._client.format_url(url, **path_format_arguments)
@@ -138,7 +138,7 @@ def list_by_subscription(
138138
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
139139
}
140140
error_map.update(kwargs.pop('error_map', {}))
141-
api_version = "2020-10-01-preview"
141+
api_version = "2020-10-01"
142142
accept = "application/json"
143143

144144
def prepare_request(next_link=None):
@@ -210,7 +210,7 @@ def list_by_resource_group(
210210
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
211211
}
212212
error_map.update(kwargs.pop('error_map', {}))
213-
api_version = "2020-10-01-preview"
213+
api_version = "2020-10-01"
214214
accept = "application/json"
215215

216216
def prepare_request(next_link=None):
@@ -223,7 +223,7 @@ def prepare_request(next_link=None):
223223
url = self.list_by_resource_group.metadata['url'] # type: ignore
224224
path_format_arguments = {
225225
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
226-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
226+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
227227
}
228228
url = self._client.format_url(url, **path_format_arguments)
229229
# Construct parameters
@@ -286,14 +286,14 @@ async def get(
286286
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
287287
}
288288
error_map.update(kwargs.pop('error_map', {}))
289-
api_version = "2020-10-01-preview"
289+
api_version = "2020-10-01"
290290
accept = "application/json"
291291

292292
# Construct URL
293293
url = self.get.metadata['url'] # type: ignore
294294
path_format_arguments = {
295295
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
296-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
296+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
297297
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
298298
}
299299
url = self._client.format_url(url, **path_format_arguments)
@@ -335,15 +335,15 @@ async def _create_initial(
335335
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
336336
}
337337
error_map.update(kwargs.pop('error_map', {}))
338-
api_version = "2020-10-01-preview"
338+
api_version = "2020-10-01"
339339
content_type = kwargs.pop("content_type", "application/json")
340340
accept = "application/json"
341341

342342
# Construct URL
343343
url = self._create_initial.metadata['url'] # type: ignore
344344
path_format_arguments = {
345345
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
346-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
346+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
347347
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
348348
}
349349
url = self._client.format_url(url, **path_format_arguments)
@@ -391,9 +391,9 @@ async def begin_create(
391391
body: Optional["_models.LogzMonitorResource"] = None,
392392
**kwargs: Any
393393
) -> AsyncLROPoller["_models.LogzMonitorResource"]:
394-
"""Create a monitor resource.
394+
"""Create a monitor resource. This create operation can take upto 10 minutes to complete.
395395
396-
Create a monitor resource.
396+
Create a monitor resource. This create operation can take upto 10 minutes to complete.
397397
398398
:param resource_group_name: The name of the resource group. The name is case insensitive.
399399
:type resource_group_name: str
@@ -439,7 +439,7 @@ def get_long_running_output(pipeline_response):
439439

440440
path_format_arguments = {
441441
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
442-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
442+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
443443
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
444444
}
445445

@@ -484,15 +484,15 @@ async def update(
484484
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
485485
}
486486
error_map.update(kwargs.pop('error_map', {}))
487-
api_version = "2020-10-01-preview"
487+
api_version = "2020-10-01"
488488
content_type = kwargs.pop("content_type", "application/json")
489489
accept = "application/json"
490490

491491
# Construct URL
492492
url = self.update.metadata['url'] # type: ignore
493493
path_format_arguments = {
494494
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
495-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
495+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
496496
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
497497
}
498498
url = self._client.format_url(url, **path_format_arguments)
@@ -540,14 +540,14 @@ async def _delete_initial(
540540
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
541541
}
542542
error_map.update(kwargs.pop('error_map', {}))
543-
api_version = "2020-10-01-preview"
543+
api_version = "2020-10-01"
544544
accept = "application/json"
545545

546546
# Construct URL
547547
url = self._delete_initial.metadata['url'] # type: ignore
548548
path_format_arguments = {
549549
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
550-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
550+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
551551
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
552552
}
553553
url = self._client.format_url(url, **path_format_arguments)
@@ -584,9 +584,9 @@ async def begin_delete(
584584
monitor_name: str,
585585
**kwargs: Any
586586
) -> AsyncLROPoller[None]:
587-
"""Delete a monitor resource.
587+
"""Delete a monitor resource. This delete operation can take upto 10 minutes to complete.
588588
589-
Delete a monitor resource.
589+
Delete a monitor resource. This delete operation can take upto 10 minutes to complete.
590590
591591
:param resource_group_name: The name of the resource group. The name is case insensitive.
592592
:type resource_group_name: str
@@ -626,7 +626,7 @@ def get_long_running_output(pipeline_response):
626626

627627
path_format_arguments = {
628628
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
629-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
629+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
630630
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
631631
}
632632

@@ -672,7 +672,7 @@ def list_user_roles(
672672
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
673673
}
674674
error_map.update(kwargs.pop('error_map', {}))
675-
api_version = "2020-10-01-preview"
675+
api_version = "2020-10-01"
676676
content_type = "application/json"
677677
accept = "application/json"
678678

@@ -687,7 +687,7 @@ def prepare_request(next_link=None):
687687
url = self.list_user_roles.metadata['url'] # type: ignore
688688
path_format_arguments = {
689689
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
690-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
690+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
691691
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
692692
}
693693
url = self._client.format_url(url, **path_format_arguments)

0 commit comments

Comments
 (0)