diff --git a/sdk/logz/azure-mgmt-logz/_meta.json b/sdk/logz/azure-mgmt-logz/_meta.json index 8f2bc61e2aca..74c990c684be 100644 --- a/sdk/logz/azure-mgmt-logz/_meta.json +++ b/sdk/logz/azure-mgmt-logz/_meta.json @@ -1,11 +1,11 @@ { - "autorest": "3.4.2", + "autorest": "3.4.5", "use": [ - "@autorest/python@5.8.0", - "@autorest/modelerfour@4.19.1" + "@autorest/python@5.8.4", + "@autorest/modelerfour@4.19.2" ], - "commit": "0142a08c953656b1a172e1c274d9c8334fff4c65", + "commit": "b4f133f7c44af4189d61d35e34c5ed05fd9fa72b", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "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/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2", + "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/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5", "readme": "specification/logz/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitor_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitor_operations.py index 31387d41f14e..f8d3d0e6805c 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitor_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitor_operations.py @@ -73,7 +73,7 @@ async def vm_host_payload( url = self.vm_host_payload.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -146,7 +146,7 @@ def prepare_request(next_link=None): url = self.list_vm_host_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -235,7 +235,7 @@ def prepare_request(next_link=None): url = self.list_vm_hosts.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitors_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitors_operations.py index c02afcdf91da..e13e86e6a793 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitors_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_monitors_operations.py @@ -80,7 +80,7 @@ def prepare_request(next_link=None): url = self.list_monitored_resources.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -223,7 +223,7 @@ def prepare_request(next_link=None): url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -293,7 +293,7 @@ async def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -343,7 +343,7 @@ async def _create_initial( url = self._create_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -391,9 +391,9 @@ async def begin_create( body: Optional["_models.LogzMonitorResource"] = None, **kwargs: Any ) -> AsyncLROPoller["_models.LogzMonitorResource"]: - """Create a monitor resource. + """Create a monitor resource. This create operation can take upto 10 minutes to complete. - Create a monitor resource. + Create a monitor resource. This create operation can take upto 10 minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -439,7 +439,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } @@ -492,7 +492,7 @@ async def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -547,7 +547,7 @@ async def _delete_initial( url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -584,9 +584,9 @@ async def begin_delete( monitor_name: str, **kwargs: Any ) -> AsyncLROPoller[None]: - """Delete a monitor resource. + """Delete a monitor resource. This delete operation can take upto 10 minutes to complete. - Delete a monitor resource. + Delete a monitor resource. This delete operation can take upto 10 minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -626,7 +626,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } @@ -687,7 +687,7 @@ def prepare_request(next_link=None): url = self.list_user_roles.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_single_sign_on_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_single_sign_on_operations.py index 4b6f543b2cb4..73a183973302 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_single_sign_on_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_single_sign_on_operations.py @@ -80,7 +80,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -141,7 +141,7 @@ async def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } @@ -191,9 +191,10 @@ async def begin_create_or_update( body: Optional["_models.LogzSingleSignOnResource"] = None, **kwargs: Any ) -> AsyncLROPoller["_models.LogzSingleSignOnResource"]: - """Configures single-sign-on for this resource. + """Configures single-sign-on for this resource. This operation can take upto 10 minutes to complete. - Configures single-sign-on for this resource. + Configures single-sign-on for this resource. This operation can take upto 10 minutes to + complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -242,7 +243,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } @@ -295,7 +296,7 @@ async def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_operations.py index 609a2207b9bc..96c69db5c681 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_operations.py @@ -80,7 +80,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -141,7 +141,7 @@ async def _create_initial( url = self._create_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -191,9 +191,10 @@ async def begin_create( body: Optional["_models.LogzMonitorResource"] = None, **kwargs: Any ) -> AsyncLROPoller["_models.LogzMonitorResource"]: - """Create sub account under a given monitor resource. + """Create sub account under a given monitor resource. This create operation can take upto 10 minutes to complete. - Create sub account under a given monitor resource. + Create sub account under a given monitor resource. This create operation can take upto 10 + minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -242,7 +243,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -295,7 +296,7 @@ async def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -345,7 +346,7 @@ async def _delete_initial( url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -384,9 +385,9 @@ async def begin_delete( sub_account_name: str, **kwargs: Any ) -> AsyncLROPoller[None]: - """Delete a sub account resource. + """Delete a sub account resource. This delete operation can take upto 10 minutes to complete. - Delete a sub account resource. + Delete a sub account resource. This delete operation can take upto 10 minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -429,7 +430,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -486,7 +487,7 @@ async def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -564,7 +565,7 @@ def prepare_request(next_link=None): url = self.list_monitored_resources.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -639,7 +640,7 @@ async def vm_host_payload( url = self.vm_host_payload.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -716,7 +717,7 @@ def prepare_request(next_link=None): url = self.list_vm_host_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -809,7 +810,7 @@ def prepare_request(next_link=None): url = self.list_vm_hosts.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_tag_rules_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_tag_rules_operations.py index 05e7e5cbad3a..7b8b68e00239 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_tag_rules_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_sub_account_tag_rules_operations.py @@ -81,7 +81,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -163,7 +163,7 @@ async def create_or_update( url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), @@ -239,7 +239,7 @@ async def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), @@ -308,7 +308,7 @@ async def delete( url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_tag_rules_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_tag_rules_operations.py index a4dd48101394..e9aaea586f24 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_tag_rules_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/aio/operations/_tag_rules_operations.py @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -156,7 +156,7 @@ async def create_or_update( url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), } @@ -228,7 +228,7 @@ async def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), } @@ -293,7 +293,7 @@ async def delete( url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), } diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models.py index 3f893c547007..06dc00e1fc1e 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models.py @@ -635,11 +635,11 @@ class MonitorProperties(msrest.serialization.Model): "Canceled", "Deleted", "NotSpecified". :vartype provisioning_state: str or ~microsoft_logz.models.ProvisioningState :param monitoring_status: Flag specifying if the resource monitoring is enabled or disabled. - Possible values include: "Enabled", "Disabled". + Possible values include: "Enabled", "Disabled". Default value: "Enabled". :type monitoring_status: str or ~microsoft_logz.models.MonitoringStatus :param marketplace_subscription_status: Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. Possible - values include: "Active", "Suspended". + values include: "Active", "Suspended". Default value: "Active". :type marketplace_subscription_status: str or ~microsoft_logz.models.MarketplaceSubscriptionStatus :param logz_organization_properties: @@ -677,8 +677,8 @@ def __init__( ): super(MonitorProperties, self).__init__(**kwargs) self.provisioning_state = None - self.monitoring_status = kwargs.get('monitoring_status', None) - self.marketplace_subscription_status = kwargs.get('marketplace_subscription_status', None) + self.monitoring_status = kwargs.get('monitoring_status', "Enabled") + self.marketplace_subscription_status = kwargs.get('marketplace_subscription_status', "Active") self.logz_organization_properties = kwargs.get('logz_organization_properties', None) self.user_info = kwargs.get('user_info', None) self.plan_data = kwargs.get('plan_data', None) @@ -690,7 +690,7 @@ class MonitorUpdateProperties(msrest.serialization.Model): """The set of properties that can be update in a PATCH request to a monitor resource. :param monitoring_status: Flag specifying if the resource monitoring is enabled or disabled. - Possible values include: "Enabled", "Disabled". + Possible values include: "Enabled", "Disabled". Default value: "Enabled". :type monitoring_status: str or ~microsoft_logz.models.MonitoringStatus """ @@ -703,7 +703,7 @@ def __init__( **kwargs ): super(MonitorUpdateProperties, self).__init__(**kwargs) - self.monitoring_status = kwargs.get('monitoring_status', None) + self.monitoring_status = kwargs.get('monitoring_status', "Enabled") class OperationDisplay(msrest.serialization.Model): diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models_py3.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models_py3.py index a6c3c45a0041..1381e244b47a 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models_py3.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/models/_models_py3.py @@ -693,11 +693,11 @@ class MonitorProperties(msrest.serialization.Model): "Canceled", "Deleted", "NotSpecified". :vartype provisioning_state: str or ~microsoft_logz.models.ProvisioningState :param monitoring_status: Flag specifying if the resource monitoring is enabled or disabled. - Possible values include: "Enabled", "Disabled". + Possible values include: "Enabled", "Disabled". Default value: "Enabled". :type monitoring_status: str or ~microsoft_logz.models.MonitoringStatus :param marketplace_subscription_status: Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. Possible - values include: "Active", "Suspended". + values include: "Active", "Suspended". Default value: "Active". :type marketplace_subscription_status: str or ~microsoft_logz.models.MarketplaceSubscriptionStatus :param logz_organization_properties: @@ -732,8 +732,8 @@ class MonitorProperties(msrest.serialization.Model): def __init__( self, *, - monitoring_status: Optional[Union[str, "MonitoringStatus"]] = None, - marketplace_subscription_status: Optional[Union[str, "MarketplaceSubscriptionStatus"]] = None, + monitoring_status: Optional[Union[str, "MonitoringStatus"]] = "Enabled", + marketplace_subscription_status: Optional[Union[str, "MarketplaceSubscriptionStatus"]] = "Active", logz_organization_properties: Optional["LogzOrganizationProperties"] = None, user_info: Optional["UserInfo"] = None, plan_data: Optional["PlanData"] = None, @@ -754,7 +754,7 @@ class MonitorUpdateProperties(msrest.serialization.Model): """The set of properties that can be update in a PATCH request to a monitor resource. :param monitoring_status: Flag specifying if the resource monitoring is enabled or disabled. - Possible values include: "Enabled", "Disabled". + Possible values include: "Enabled", "Disabled". Default value: "Enabled". :type monitoring_status: str or ~microsoft_logz.models.MonitoringStatus """ @@ -765,7 +765,7 @@ class MonitorUpdateProperties(msrest.serialization.Model): def __init__( self, *, - monitoring_status: Optional[Union[str, "MonitoringStatus"]] = None, + monitoring_status: Optional[Union[str, "MonitoringStatus"]] = "Enabled", **kwargs ): super(MonitorUpdateProperties, self).__init__(**kwargs) diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitor_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitor_operations.py index 979a1a49305f..9f47b52affeb 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitor_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitor_operations.py @@ -78,7 +78,7 @@ def vm_host_payload( url = self.vm_host_payload.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -152,7 +152,7 @@ def prepare_request(next_link=None): url = self.list_vm_host_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -242,7 +242,7 @@ def prepare_request(next_link=None): url = self.list_vm_hosts.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitors_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitors_operations.py index 494b17261233..55567fe9c5d0 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitors_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_monitors_operations.py @@ -85,7 +85,7 @@ def prepare_request(next_link=None): url = self.list_monitored_resources.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -230,7 +230,7 @@ def prepare_request(next_link=None): url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -301,7 +301,7 @@ def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -352,7 +352,7 @@ def _create_initial( url = self._create_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -401,9 +401,9 @@ def begin_create( **kwargs # type: Any ): # type: (...) -> LROPoller["_models.LogzMonitorResource"] - """Create a monitor resource. + """Create a monitor resource. This create operation can take upto 10 minutes to complete. - Create a monitor resource. + Create a monitor resource. This create operation can take upto 10 minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -449,7 +449,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } @@ -503,7 +503,7 @@ def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -559,7 +559,7 @@ def _delete_initial( url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -597,9 +597,9 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete a monitor resource. + """Delete a monitor resource. This delete operation can take upto 10 minutes to complete. - Delete a monitor resource. + Delete a monitor resource. This delete operation can take upto 10 minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -639,7 +639,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } @@ -701,7 +701,7 @@ def prepare_request(next_link=None): url = self.list_user_roles.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_single_sign_on_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_single_sign_on_operations.py index 96e2b5600cdb..77ca2f313e1b 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_single_sign_on_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_single_sign_on_operations.py @@ -85,7 +85,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -147,7 +147,7 @@ def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } @@ -198,9 +198,10 @@ def begin_create_or_update( **kwargs # type: Any ): # type: (...) -> LROPoller["_models.LogzSingleSignOnResource"] - """Configures single-sign-on for this resource. + """Configures single-sign-on for this resource. This operation can take upto 10 minutes to complete. - Configures single-sign-on for this resource. + Configures single-sign-on for this resource. This operation can take upto 10 minutes to + complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -249,7 +250,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } @@ -303,7 +304,7 @@ def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_operations.py index 652db099ee7b..994d3edc64d7 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_operations.py @@ -85,7 +85,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -147,7 +147,7 @@ def _create_initial( url = self._create_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -198,9 +198,10 @@ def begin_create( **kwargs # type: Any ): # type: (...) -> LROPoller["_models.LogzMonitorResource"] - """Create sub account under a given monitor resource. + """Create sub account under a given monitor resource. This create operation can take upto 10 minutes to complete. - Create sub account under a given monitor resource. + Create sub account under a given monitor resource. This create operation can take upto 10 + minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -249,7 +250,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -303,7 +304,7 @@ def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -354,7 +355,7 @@ def _delete_initial( url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -394,9 +395,9 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete a sub account resource. + """Delete a sub account resource. This delete operation can take upto 10 minutes to complete. - Delete a sub account resource. + Delete a sub account resource. This delete operation can take upto 10 minutes to complete. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -439,7 +440,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -497,7 +498,7 @@ def update( url = self.update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -576,7 +577,7 @@ def prepare_request(next_link=None): url = self.list_monitored_resources.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -652,7 +653,7 @@ def vm_host_payload( url = self.vm_host_payload.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -730,7 +731,7 @@ def prepare_request(next_link=None): url = self.list_vm_host_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -824,7 +825,7 @@ def prepare_request(next_link=None): url = self.list_vm_hosts.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_tag_rules_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_tag_rules_operations.py index 4a59bc484f54..a375f6347fea 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_tag_rules_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_sub_account_tag_rules_operations.py @@ -86,7 +86,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), } @@ -169,7 +169,7 @@ def create_or_update( url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), @@ -246,7 +246,7 @@ def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), @@ -316,7 +316,7 @@ def delete( url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'subAccountName': self._serialize.url("sub_account_name", sub_account_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), diff --git a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_tag_rules_operations.py b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_tag_rules_operations.py index 20d60b0e9907..89e3989ffa32 100644 --- a/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_tag_rules_operations.py +++ b/sdk/logz/azure-mgmt-logz/azure/mgmt/logz/operations/_tag_rules_operations.py @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -162,7 +162,7 @@ def create_or_update( url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), } @@ -235,7 +235,7 @@ def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), } @@ -301,7 +301,7 @@ def delete( url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'monitorName': self._serialize.url("monitor_name", monitor_name, 'str'), 'ruleSetName': self._serialize.url("rule_set_name", rule_set_name, 'str'), }