Repository navigation
feat: add Essentials SKU support to IoT Operations create - #964
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep omitted SKU absent even when regenerated templates contain their own SKU expression, and forward SKU when the template exposes a matching parameter. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Strip trailing hyphens after limiting ADR namespace names so longer scenarios such as Essentials remain valid. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
SKU plumbing, compatibility enforcement, omission behavior, and integration coverage are consistent and complete.
0 open findings
What changed in this PR
Adds create-time Essentials/Standard SKU selection for IoT Operations while enforcing Essentials compatibility constraints.
Changes:
- Adds
--skuand propagates it into deployment parameters. - Forces OPC UA disabled for Essentials with conflict warnings.
- Adds unit/integration coverage and namespace sanitization.
| File | Description |
|---|---|
azext_edge/edge/commands_edge.py |
Applies Essentials behavior and forwards SKU. |
azext_edge/edge/params.py |
Defines the create-only --sku argument. |
azext_edge/edge/_help.py |
Adds an Essentials creation example. |
azext_edge/edge/providers/orchestration/common.py |
Defines supported SKU values. |
azext_edge/edge/providers/orchestration/targets.py |
Adds SKU to deployment parameters. |
azext_edge/tests/edge/orchestration/test_work_unit.py |
Tests Essentials feature enforcement. |
azext_edge/tests/edge/orchestration/test_targets_unit.py |
Tests SKU template propagation and omission. |
azext_edge/tests/edge/init/int/test_init_int.py |
Verifies SKU through show/list integration assertions. |
.github/test-scenarios.yml |
Adds an Essentials integration scenario. |
.github/actions/setup-cluster-resources/action.yml |
Removes trailing hyphens from truncated namespace names. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Azure SRE Agent - automated reviewReviewing 10 files, +122/-3. Adds Blocking None. Suggestions
Nits
Checked and clean
This is an automated review and may be incomplete. |
Summary
--sku {Essentials,Standard}supportopcua.mode=Disabledfor Essentials and warn on conflicting OPC UA inputTesting
Live-instance testing:

This Azure-owned branch is intended to run the integration-test workflows.