Skip to content

Commit 673d91e

Browse files
author
SDKAuto
committed
CodeGen from PR 15573 in Azure/azure-rest-api-specs
Merge 79f87dbda8d143b3b383e6d92210b05b1c07085d into 56cd478
1 parent 70255ab commit 673d91e

15 files changed

+111
-107
lines changed
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": "57b9f41cb220088f3b06f9eba794d18e76e9eaa1",
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/aio/operations/_monitor_operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def vm_host_payload(
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)
@@ -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)
@@ -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: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
@@ -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
@@ -293,7 +293,7 @@ async def get(
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)
@@ -343,7 +343,7 @@ async def _create_initial(
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

@@ -492,7 +492,7 @@ async def update(
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)
@@ -547,7 +547,7 @@ async def _delete_initial(
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

@@ -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)

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def prepare_request(next_link=None):
8080
url = self.list.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)
@@ -141,7 +141,7 @@ async def _create_or_update_initial(
141141
url = self._create_or_update_initial.metadata['url'] # type: ignore
142142
path_format_arguments = {
143143
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
144-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
144+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
145145
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
146146
'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'),
147147
}
@@ -191,9 +191,10 @@ async def begin_create_or_update(
191191
body: Optional["_models.LogzSingleSignOnResource"] = None,
192192
**kwargs: Any
193193
) -> AsyncLROPoller["_models.LogzSingleSignOnResource"]:
194-
"""Configures single-sign-on for this resource.
194+
"""Configures single-sign-on for this resource. This operation can take upto 10 minutes to complete.
195195
196-
Configures single-sign-on for this resource.
196+
Configures single-sign-on for this resource. This operation can take upto 10 minutes to
197+
complete.
197198
198199
:param resource_group_name: The name of the resource group. The name is case insensitive.
199200
:type resource_group_name: str
@@ -242,7 +243,7 @@ def get_long_running_output(pipeline_response):
242243

243244
path_format_arguments = {
244245
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
245-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
246+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
246247
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
247248
'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'),
248249
}
@@ -295,7 +296,7 @@ async def get(
295296
url = self.get.metadata['url'] # type: ignore
296297
path_format_arguments = {
297298
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
298-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
299+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
299300
'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'),
300301
'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'),
301302
}

0 commit comments

Comments
 (0)