diff --git a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_create.py b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_create.py index c41f19d39d3..f50c1aa6f15 100644 --- a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_create.py +++ b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_create.py @@ -18,7 +18,7 @@ class Create(AAZCommand): """Create a monitor resource. :example: Create monitor - az elastic monitor create -n monitor-name -g rg --user-info "{firstName:Alice,lastName:bob,companyName:Micosoft,emailAddress:alice@microsoft.com}" --sku "{name:ess-monthly-consumption_Monthly}" + az elastic monitor create -n monitor-name -g rg --user-info "{firstName:Alice,lastName:bob,companyName:Micosoft,emailAddress:alice@microsoft.com}" --sku "{name:ess-consumption-2024_Monthly}" """ _aaz_info = { @@ -67,7 +67,8 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema.sku = AAZObjectArg( options=["--sku"], arg_group="Body", - help="SKU of the monitor resource.", + help={"short-summary": "SKU of the monitor resource.", "long-summary": "The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term.\nEx: If the plan ID is \"planXYZ\" and term is \"Yearly\", the SKU will be \"planXYZ_Yearly\".\nYou may find your eligible plans at https://portal.azure.com/#view/Microsoft_Azure_Marketplace/GalleryItemDetailsBladeNopdl/id/elastic.ec-azure-pp or in the online documentation at https://azuremarketplace.microsoft.com/en-us/marketplace/apps/elastic.ec-azure-pp?tab=PlansAndPrice for more details or in case of any issues with the SKU."}, + is_experimental=True, ) _args_schema.tags = AAZDictArg( options=["--tags"], diff --git a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list.py b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list.py index 6f7b35faabe..e0081ce6b18 100644 --- a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list.py +++ b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list.py @@ -29,6 +29,8 @@ class List(AAZCommand): ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) diff --git a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_resource.py b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_resource.py index 7e47ff02219..6fefe59909d 100644 --- a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_resource.py +++ b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_resource.py @@ -28,6 +28,8 @@ class ListResource(AAZCommand): ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) diff --git a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_vm_host.py b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_vm_host.py index c4dec5fc976..90f69191f4c 100644 --- a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_vm_host.py +++ b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/_list_vm_host.py @@ -28,6 +28,8 @@ class ListVmHost(AAZCommand): ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) diff --git a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/tag_rule/_list.py b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/tag_rule/_list.py index 900cbd310bd..a4cc12bcf5a 100644 --- a/src/elastic/azext_elastic/aaz/latest/elastic/monitor/tag_rule/_list.py +++ b/src/elastic/azext_elastic/aaz/latest/elastic/monitor/tag_rule/_list.py @@ -28,6 +28,8 @@ class List(AAZCommand): ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) diff --git a/src/elastic/azext_elastic/azext_metadata.json b/src/elastic/azext_elastic/azext_metadata.json index 106e25ccf03..4edd26b6b64 100644 --- a/src/elastic/azext_elastic/azext_metadata.json +++ b/src/elastic/azext_elastic/azext_metadata.json @@ -1,4 +1,4 @@ { "azext.isExperimental": true, - "azext.minCliCoreVersion": "2.49.0" + "azext.minCliCoreVersion": "2.51.0" } \ No newline at end of file diff --git a/src/elastic/setup.py b/src/elastic/setup.py index 71182303526..d71aba5dff3 100644 --- a/src/elastic/setup.py +++ b/src/elastic/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '1.0.0b1' +VERSION = '1.0.0b2' try: from azext_elastic.manual.version import VERSION except ImportError: