azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

"az monitor autoscale list" should not write TimeZone in "start" and "end" property

Open kamiyn opened this issue 7 years ago • 5 comments

fixedDate property produced by "az monitor autoscale list" have inconsistent timezones.

"stard" and "end" have "+00:00" (UTC) but individual property "timeZone" have my local timezone like this:

[
    {
        "name": "sample-autoscale",
        "profiles": [
            {
                "fixedDate": {
                    "end": "2018-12-31T16:00:00+00:00",
                    "start": "2018-12-27T12:00:00+00:00",
                    "timeZone": "Tokyo Standard Time"
                }
            }
        ]
    }
]```

In my opinion, "start" and "end" should not have +00:00 timezone.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: d8ad7b0e-134f-f900-9541-755fba68ec82
* Version Independent ID: b5c272d3-4df7-59c3-6f2d-23fb97122258
* Content: [az monitor autoscale profile](https://docs.microsoft.com/en-us/cli/azure/monitor/autoscale/profile?view=azure-cli-latest#feedback)
* Content Source: [src/azure-cli/azure/cli/command_modules/monitor/_help.py](https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/monitor/_help.py)
* Service: **monitoring-and-diagnostics**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

kamiyn avatar Aug 01 '19 06:08 kamiyn

Sorry for the delay. I will take a look at it later.

mmyyrroonn avatar Oct 17 '19 02:10 mmyyrroonn

add to S170

yonzhan avatar May 02 '20 13:05 yonzhan

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @SameergMS, @dadunl.

ghost avatar May 15 '20 05:05 ghost

Hi @kamiyn the start and end time always contain +00:00" (UTC). I would like to understand more on how it impacts the scaling condition you are setting? Can you provide me examples of issues caused by this?

shilpasharmaAM avatar May 28 '20 23:05 shilpasharmaAM

Closing this issue for now. Feel free to reactivate if you have data to share with us.

shilpasharmaAM avatar Jun 04 '20 20:06 shilpasharmaAM