Skip to content

Add AppNet 2026-08-01-preview models - #1094

Merged
Ethan Yang (necusjz) merged 3 commits into
Azure:mainfrom
german1608:private-preview/2026-08-01-preview-upstream
Sep 25, 2026
Merged

Ethan Yang (necusjz) merged 3 commits into
Azure:mainfrom
german1608:private-preview/2026-08-01-preview-upstream

Conversation

@german1608

@german1608 German Robayo (german1608) commented Sep 17, 2026 •

Copy link
Copy Markdown

Summary

Generate the existing AppNet AAZ command models from the private 2026-08-01-preview ARM API.

  • adds --network-name to member join and update
  • adds member update tags support
  • updates existing commands to include the new API version
  • intentionally does not expose the new upgrade-history resource

Validation

  • generated through the aaz-dev workspace HTTP API
  • imported only the six approved existing AppNet resources
  • verified no upgrade-history command or model is generated
  • git diff --check

Linked Azure CLI extension change

Azure/azure-cli-extensions#10356

Draft private-preview change generated from azure-rest-api-specs-pr.

@german1608
German Robayo (german1608) force-pushed the private-preview/2026-08-01-preview-upstream branch from d4542a3 to 6a3cd2e Compare September 22, 2026 18:33
@german1608

Copy link
Copy Markdown
Author

The --network-name parameter is defined in the 2026-08-01-preview AppLink member resource model at:

  • appnet member join: $resource.properties.connectivityProfile.network
  • appnet member update: $properties.properties.connectivityProfile.network

Both map to connectivityProfile.network and use the help text: Name of the network for the Application Network member.

</arg>
</argGroup>
<argGroup name="ConnectivityProfile">
<arg type="string" var="$resource.properties.connectivityProfile.network" options="network-name" group="ConnectivityProfile">

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

appnet member join exposes --network-name here. It maps to $resource.properties.connectivityProfile.network.

</arg>
</argGroup>
<argGroup name="ConnectivityProfile">
<arg type="string" var="$properties.properties.connectivityProfile.network" options="network-name" group="ConnectivityProfile">

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

appnet member update exposes --network-name here. It maps to $properties.properties.connectivityProfile.network.

@german1608

Copy link
Copy Markdown
Author

Focused AAZ model diff for the member resource (2025-08-01-preview -> 2026-08-01-preview):

# appnet member join
+ <argGroup name="ConnectivityProfile">
+   <arg type="string"
+        var="$resource.properties.connectivityProfile.network"
+        options="network-name"
+        group="ConnectivityProfile">
+     <help short="Name of the network for the Application Network member."/>
+   </arg>
+ </argGroup>
+
# Join request-body mapping
+ <prop type="string"
+       name="network"
+       arg="$resource.properties.connectivityProfile.network"/>
+
# appnet member update
- <arg type="object"
-      var="$properties.properties.connectivityProfile.privateConnect"
-      options="private-connect"
-      hide="True"
-      group="Connectivity">
-   ...
- </arg>
+ <argGroup name="ConnectivityProfile">
+   <arg type="string"
+        var="$properties.properties.connectivityProfile.network"
+        options="network-name"
+        group="ConnectivityProfile">
+     <help short="Name of the network for the Application Network member."/>
+   </arg>
+ </argGroup>
+
# Update request-body mapping
- <prop type="object"
-       name="privateConnect"
-       arg="$properties.properties.connectivityProfile.privateConnect">
-   ...
- </prop>
+ <prop type="string"
+       name="network"
+       arg="$properties.properties.connectivityProfile.network"/>

The same update removes the hidden update-time --metadata argument and adds network to the member response schemas.

@german1608
German Robayo (german1608) marked this pull request as ready for review September 23, 2026 18:49
Comment thread Commands/appnet/member/_join.md
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 246f59b7-2114-4cc5-a481-b1e9ae2afec3
@german1608

Copy link
Copy Markdown
Author

Added a server-authored appnet member join example demonstrating --network-name shared-network-1 without --east-west-gateway or --private-connect-subnet. The generated AAZ diff is limited to Commands/appnet/member/_join.md; existing network-name option customizations were preserved.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 246f59b7-2114-4cc5-a481-b1e9ae2afec3
@necusjz
Ethan Yang (necusjz) merged commit a32a56b into Azure:main Sep 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants