Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package azure-cli for openSUSE:Factory checked in at 2023-01-19 16:44:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azure-cli (Old) and /work/SRC/openSUSE:Factory/.azure-cli.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli" Thu Jan 19 16:44:09 2023 rev:51 rq:1059506 version:2.44.1 Changes: -------- --- /work/SRC/openSUSE:Factory/azure-cli/azure-cli.changes 2023-01-11 14:36:26.165699515 +0100 +++ /work/SRC/openSUSE:Factory/.azure-cli.new.32243/azure-cli.changes 2023-01-19 16:44:25.805839555 +0100 @@ -1,0 +2,8 @@ +Wed Jan 18 13:00:54 UTC 2023 - John Paul Adrian Glaubitz <[email protected]> + +- New upstream release + + Version 2.44.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- Old: ---- azure-cli-2.44.0.tar.gz New: ---- azure-cli-2.44.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azure-cli.spec ++++++ --- /var/tmp/diff_new_pack.Hn9j6B/_old 2023-01-19 16:44:26.493843137 +0100 +++ /var/tmp/diff_new_pack.Hn9j6B/_new 2023-01-19 16:44:26.497843158 +0100 @@ -32,7 +32,7 @@ Name: azure-cli%{?name_ext} %endif %define short_name azure-cli -Version: 2.44.0 +Version: 2.44.1 Release: 0 Summary: Microsoft Azure CLI 2.0 License: MIT ++++++ azure-cli-2.44.0.tar.gz -> azure-cli-2.44.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.44.0/HISTORY.rst new/azure-cli-2.44.1/HISTORY.rst --- old/azure-cli-2.44.0/HISTORY.rst 2023-01-06 05:23:51.000000000 +0100 +++ new/azure-cli-2.44.1/HISTORY.rst 2023-01-10 16:46:13.000000000 +0100 @@ -3,6 +3,13 @@ Release History =============== +2.44.1 +++++++ + +**Network** + +* Hotfix: Fix #25086: `az network lb probe`: Expose parameter `--probes` (#25093) + 2.44.0 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.44.0/PKG-INFO new/azure-cli-2.44.1/PKG-INFO --- old/azure-cli-2.44.0/PKG-INFO 2023-01-06 05:24:11.639768800 +0100 +++ new/azure-cli-2.44.1/PKG-INFO 2023-01-10 16:46:35.798550800 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli -Version: 2.44.0 +Version: 2.44.1 Summary: Microsoft Azure Command-Line Tools Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.44.0/azure/cli/__main__.py new/azure-cli-2.44.1/azure/cli/__main__.py --- old/azure-cli-2.44.0/azure/cli/__main__.py 2023-01-06 05:23:51.000000000 +0100 +++ new/azure-cli-2.44.1/azure/cli/__main__.py 2023-01-10 16:46:13.000000000 +0100 @@ -18,7 +18,7 @@ from knack.log import get_logger __author__ = "Microsoft Corporation <[email protected]>" -__version__ = "2.44.0" +__version__ = "2.44.1" # A workaround for https://bugs.python.org/issue32502 (https://github.com/Azure/azure-cli/issues/5184) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.44.0/azure/cli/command_modules/network/aaz/latest/network/lb/_update.py new/azure-cli-2.44.1/azure/cli/command_modules/network/aaz/latest/network/lb/_update.py --- old/azure-cli-2.44.0/azure/cli/command_modules/network/aaz/latest/network/lb/_update.py 2023-01-06 05:23:52.000000000 +0100 +++ new/azure-cli-2.44.1/azure/cli/command_modules/network/aaz/latest/network/lb/_update.py 2023-01-10 16:46:13.000000000 +0100 @@ -72,6 +72,63 @@ # define Arg Group "Parameters" # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.probes = AAZListArg( + options=["--probes"], + arg_group="Properties", + help="Collection of probe objects used in the load balancer.", + nullable=True, + ) + + probes = cls._args_schema.probes + probes.Element = AAZObjectArg( + nullable=True, + ) + + _element = cls._args_schema.probes.Element + _element.id = AAZResourceIdArg( + options=["id"], + help="Resource ID.", + nullable=True, + fmt=AAZResourceIdArgFormat( + template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/loadBalancers/{}/probes/{}", + ), + ) + _element.name = AAZStrArg( + options=["name"], + help="The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.", + nullable=True, + ) + _element.interval_in_seconds = AAZIntArg( + options=["interval-in-seconds"], + help="The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.", + nullable=True, + ) + _element.number_of_probes = AAZIntArg( + options=["number-of-probes"], + help="The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.", + nullable=True, + ) + _element.port = AAZIntArg( + options=["port"], + help="The port for communicating the probe. Possible values range from 1 to 65535, inclusive.", + ) + _element.probe_threshold = AAZIntArg( + options=["probe-threshold"], + help="The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.", + nullable=True, + ) + _element.protocol = AAZStrArg( + options=["protocol"], + help="The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.", + enum={"Http": "Http", "Https": "Https", "Tcp": "Tcp"}, + ) + _element.request_path = AAZStrArg( + options=["request-path"], + help="The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.", + nullable=True, + ) return cls._args_schema _args_application_security_group_update = None @@ -699,6 +756,29 @@ _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) _builder.set_prop("tags", AAZDictType, ".tags") + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("probes", AAZListType, ".probes") + + probes = _builder.get(".properties.probes") + if probes is not None: + probes.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.probes[]") + if _elements is not None: + _elements.set_prop("id", AAZStrType, ".id") + _elements.set_prop("name", AAZStrType, ".name") + _elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + + properties = _builder.get(".properties.probes[].properties") + if properties is not None: + properties.set_prop("intervalInSeconds", AAZIntType, ".interval_in_seconds") + properties.set_prop("numberOfProbes", AAZIntType, ".number_of_probes") + properties.set_prop("port", AAZIntType, ".port", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("probeThreshold", AAZIntType, ".probe_threshold") + properties.set_prop("protocol", AAZStrType, ".protocol", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("requestPath", AAZStrType, ".request_path") + tags = _builder.get(".tags") if tags is not None: tags.set_elements(AAZStrType, ".") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.44.0/azure_cli.egg-info/PKG-INFO new/azure-cli-2.44.1/azure_cli.egg-info/PKG-INFO --- old/azure-cli-2.44.0/azure_cli.egg-info/PKG-INFO 2023-01-06 05:24:11.000000000 +0100 +++ new/azure-cli-2.44.1/azure_cli.egg-info/PKG-INFO 2023-01-10 16:46:35.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli -Version: 2.44.0 +Version: 2.44.1 Summary: Microsoft Azure Command-Line Tools Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.44.0/azure_cli.egg-info/requires.txt new/azure-cli-2.44.1/azure_cli.egg-info/requires.txt --- old/azure-cli-2.44.0/azure_cli.egg-info/requires.txt 2023-01-06 05:24:11.000000000 +0100 +++ new/azure-cli-2.44.1/azure_cli.egg-info/requires.txt 2023-01-10 16:46:35.000000000 +0100 @@ -1,7 +1,7 @@ antlr4-python3-runtime~=4.9.3 azure-appconfiguration~=1.1.1 azure-batch~=13.0.0 -azure-cli-core==2.44.0 +azure-cli-core==2.44.1 azure-cosmos>=3.0.2,~=3.0 azure-data-tables==12.4.0 azure-datalake-store~=0.0.49 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.44.0/setup.py new/azure-cli-2.44.1/setup.py --- old/azure-cli-2.44.0/setup.py 2023-01-06 05:23:55.000000000 +0100 +++ new/azure-cli-2.44.1/setup.py 2023-01-10 16:46:16.000000000 +0100 @@ -17,7 +17,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.44.0" +VERSION = "2.44.1" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. try:
