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