Relationship: update to API 2026-08-01 - #10408
Open
Meghana Gupta (meghanagupta95) wants to merge 2 commits into
Open
Meghana Gupta (meghanagupta95) wants to merge 2 commits into
Meghana Gupta (meghanagupta95) wants to merge 2 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Meghana Gupta (meghanagupta95)
September 29, 2026 18:37
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The service-group-member help contains invalid YAML indentation, and the new wait commands lack scenario coverage.
Review effort: Balanced
Findings: 3
Open (3)
What changed in this PR
Updates az relationship to stable API 2026-08-01 and aligns service-group membership with the new source/target contract.
Changes:
- Migrates generated commands to the stable API.
- Adds wait commands for both relationship types.
- Updates tests, documentation, and extension version.
| File | Description |
|---|---|
src/relationship/setup.py |
Bumps version to 1.0.0b2. |
src/relationship/README.md |
Documents new membership semantics. |
src/relationship/HISTORY.rst |
Adds release notes. |
src/relationship/azext_relationship/tests/latest/test_relationship_scenario.py |
Updates live scenarios for --source-id. |
src/relationship/azext_relationship/aaz/latest/relationship/service_group_member/_wait.py |
Adds membership wait command. |
src/relationship/azext_relationship/aaz/latest/relationship/service_group_member/_show.py |
Updates show to stable API schema. |
src/relationship/azext_relationship/aaz/latest/relationship/service_group_member/_delete.py |
Updates delete to stable API. |
src/relationship/azext_relationship/aaz/latest/relationship/service_group_member/_create.py |
Implements Service Group source contract. |
src/relationship/azext_relationship/aaz/latest/relationship/service_group_member/__init__.py |
Exports membership wait command. |
src/relationship/azext_relationship/aaz/latest/relationship/dependency_of/_wait.py |
Adds dependency wait command. |
src/relationship/azext_relationship/aaz/latest/relationship/dependency_of/_show.py |
Updates show to stable API. |
src/relationship/azext_relationship/aaz/latest/relationship/dependency_of/_delete.py |
Updates delete to stable API. |
src/relationship/azext_relationship/aaz/latest/relationship/dependency_of/_create.py |
Updates create to stable API. |
src/relationship/azext_relationship/aaz/latest/relationship/dependency_of/__init__.py |
Exports dependency wait command. |
src/relationship/azext_relationship/_help.py |
Updates service-group-member help. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+78
to
+79
| ServiceGroupMember relationships associate Azure resources with Service Groups. | ||
| The source must be a Service Group. The target is the resource identified by --resource-uri. |
Comment on lines
+14
to
+16
| @register_command( | ||
| "relationship dependency-of wait", | ||
| ) |
Comment on lines
+14
to
+16
| @register_command( | ||
| "relationship service-group-member wait", | ||
| ) |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
az relationshipcommands to stable Microsoft.Relationships API 2026-08-01--source-id, matching the stable API contractAAZ models: Azure/aaz#1107
Related command
az relationshipGeneral Guidelines
azdev style relationshiplocallypython scripts/ci/test_index.py -qlocallyValidation
--source-idis required