Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

az kusto cluster update with --sku specified updates unrelated properties

Đang mở
#33,714 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
azure, python
Lĩnh vực
cli, cloud

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện hành vi với az kusto cluster update và một lần di chuyển SKU, sau đó theo dõi cách lệnh kusto cluster update xử lý SKU và xây dựng request. So sánh các thuộc tính được gửi với các giá trị được trả về trước khi cập nhật; được xem là hoàn tất khi chỉ SKU được thay đổi, các thuộc tính cluster không được chỉ định được giữ nguyên và có thêm coverage cho các flags đã được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Auto-Resolve bug Kusto Service Attention
Describe the bug

When running az kusto cluster update --name <name> --subscription <sub> --resource-group <group> --sku name="<sku>" tier="Standard" to migrate compute skus, several unrelated properties of the cluster also were updated.

  1. enableAutoStop switched from false to true
  2. enableDiskEncryption switched from true to false
  3. enablePurge switched from true to false

This is quite unexpected since these properties were not specified, and I do not see anything in the command docs that they are required or have default values.

Related command

az kusto cluster update

Errors

n/a

Issue script & Debug output

n/a - appears to reproduce with any invocation that involves a sku migration.

Expected behavior

I expect the SKU to be updated, but those unconfigured properties to retain their original values.

Environment Summary

azure-cli 2.87.0 *

core 2.87.0 *
telemetry 1.1.0

Extensions:
acr-transfer Unknown
acrtransfer 1.1.0
aks-preview 18.0.0b43
azure-devops 1.0.2
azure-firewall 1.2.2
kusto 0.5.0
nsp 1.0.0
resource-graph 2.1.0
support 2.0.1

Dependencies:
msal 1.36.0
azure-mgmt-resource 24.0.0

Python location '/bin/python3.12'
Config directory '/home//.azure'
Extensions directory '/home//.azure/cliextensions'
Extensions system directory '/usr/lib/python3.12/site-packages/azure-cli-extensions'

Python (Linux) 3.12.9 (main, Jun 2 2026, 15:06:48) [GCC 13.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

Ngôn ngữ chính
Python
Star
4.6k
Fork
3.5k
Merge trung bình
4 ngày 13 giờ
Pull request đã merge (30 ngày)
53

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/azure-cli

Tất cả issue của Azure/azure-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.