-
Notifications
You must be signed in to change notification settings - Fork 6k
Initial changes for fleet-2026-03-02-preview release #40256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
David Vadas (dvadas)
merged 9 commits into
dev-aks-fleet-2026-03-02-preview
from
dev-aks-fleet-2026-03-02-preview-initial
Feb 13, 2026
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2ac0d0b
[fleet] Adding mesh member property to fleet member api (#39540)
zuhairm2001 b64a409
Delete 2025-08-02-clustermesh version of fleets.json
dvadas 612b456
Add clustermeshprofile.tsp and meshmember.tsp.
dvadas fa66d3a
Ran tsp format.
dvadas cdab3ec
Add examples for clusterMeshProfile APIs.
dvadas b8855fc
Make clusterMeshProfile status optional, since on create it will be nil.
dvadas 85fca2e
Add missing "state" field to Member meshProperties example.
dvadas 6fefe86
Improve doc comments and allow memberLabelSelector to be nil.
dvadas 37df087
Run prettier to remove blank line.
dvadas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
...containerservice/resource-manager/Microsoft.ContainerService/fleet/clustermeshprofile.tsp
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,123 @@ | ||
| import "@azure-tools/typespec-azure-core"; | ||
| using Azure.Core; | ||
| using Azure.ResourceManager; | ||
| using Azure.ResourceManager.Foundations; | ||
| using TypeSpec.Http; | ||
| using TypeSpec.Rest; | ||
| using TypeSpec.Versioning; | ||
|
|
||
| namespace Microsoft.ContainerService; | ||
|
|
||
| @doc("A cluster mesh profile stores the general information about the mesh.") | ||
| @added(Versions.v2026_03_02_preview) | ||
| @resource("clusterMeshProfiles") | ||
| @parentResource(Fleet) | ||
| model ClusterMeshProfile | ||
| is Azure.ResourceManager.ProxyResource<ClusterMeshProfileProperties> { | ||
| @doc("The name of the ClusterMeshProfile resource.") | ||
| @pattern("^[a-z0-9]([-a-z0-9]*[a-z0-9])?$") | ||
| @minLength(1) | ||
| @maxLength(63) | ||
| @path | ||
| @segment("clusterMeshProfiles") | ||
| @key("clusterMeshProfileName") | ||
| @visibility(Lifecycle.Read) | ||
| name: string; | ||
|
|
||
| ...EntityTagProperty; | ||
| } | ||
|
|
||
| @doc("A cluster mesh profile stores the general information about the mesh.") | ||
| @added(Versions.v2026_03_02_preview) | ||
| model ClusterMeshProfileProperties { | ||
| @doc("The provisioning state of the cluster mesh profile.") | ||
| @visibility(Lifecycle.Read) | ||
| provisioningState?: ClusterMeshProfileProvisioningState; | ||
|
|
||
| @doc("Kubernetes-style label selector for selecting Fleet members to join the mesh.") | ||
| @minLength(1) | ||
| @maxLength(512) | ||
| @visibility(Lifecycle.Read, Lifecycle.Create) | ||
| memberLabelSelector: string; | ||
|
serbrech marked this conversation as resolved.
Outdated
|
||
|
|
||
| @doc("The cluster mesh profile status.") | ||
| @visibility(Lifecycle.Read) | ||
| status: ClusterMeshProfileStatus; | ||
| } | ||
|
|
||
| @doc("The provisioning state of the cluster mesh profile resource.") | ||
| @added(Versions.v2026_03_02_preview) | ||
| union ClusterMeshProfileProvisioningState { | ||
| string, | ||
| ResourceProvisioningState, | ||
| } | ||
|
|
||
| @doc("Cluster mesh state.") | ||
| @added(Versions.v2026_03_02_preview) | ||
| union ClusterMeshState { | ||
| string, | ||
|
|
||
| @doc("The mesh is not connected.") | ||
| NotConnected: "NotConnected", | ||
|
|
||
| @doc("The mesh is connecting.") | ||
| Connecting: "Connecting", | ||
|
|
||
| @doc("The mesh is connected.") | ||
| Connected: "Connected", | ||
|
|
||
| @doc("The mesh failed to connect.") | ||
| Failed: "Failed", | ||
| } | ||
|
|
||
| @doc("Status of the cluster mesh.") | ||
| @added(Versions.v2026_03_02_preview) | ||
| model ClusterMeshProfileStatus { | ||
| @doc("The state of the cluster mesh.") | ||
| @visibility(Lifecycle.Read) | ||
| state: ClusterMeshState; | ||
|
|
||
| @doc("The last applied Kubernetes-style label selector defining which Fleet members are in the mesh.") | ||
|
dvadas marked this conversation as resolved.
Outdated
|
||
| @minLength(1) | ||
| @maxLength(512) | ||
| @visibility(Lifecycle.Read) | ||
| lastAppliedMemberLabelSelector?: string; | ||
|
|
||
| @visibility(Lifecycle.Read) | ||
| @doc("The last operation ID for the cluster mesh profile.") | ||
| lastOperationId?: string; | ||
|
|
||
| @visibility(Lifecycle.Read) | ||
| @doc("The last operation error of the cluster mesh profile.") | ||
| lastOperationError?: Azure.ResourceManager.Foundations.ErrorDetail; | ||
| } | ||
|
|
||
| @added(Versions.v2026_03_02_preview) | ||
| @armResourceOperations | ||
| interface ClusterMeshProfiles { | ||
| get is ArmResourceRead<ClusterMeshProfile>; | ||
|
|
||
| createOrUpdate is ArmResourceCreateOrUpdateAsync< | ||
| ClusterMeshProfile, | ||
| Azure.ResourceManager.Foundations.BaseParameters<ClusterMeshProfile> & | ||
| IfMatchParameters<ClusterMeshProfile> & | ||
| IfNoneMatchParameters<ClusterMeshProfile>, | ||
| LroHeaders = Azure.Core.Foundations.RetryAfterHeader | ||
| >; | ||
|
|
||
| delete is ArmResourceDeleteWithoutOkAsync< | ||
| ClusterMeshProfile, | ||
| Azure.ResourceManager.Foundations.BaseParameters<ClusterMeshProfile> & | ||
| IfMatchParameters<ClusterMeshProfile> | ||
| >; | ||
|
|
||
| listByFleet is ArmResourceListByParent<ClusterMeshProfile>; | ||
|
|
||
| @doc("Applies the cluster mesh profile to selected fleet members.") | ||
| apply is Azure.ResourceManager.ArmResourceActionAsync< | ||
| ClusterMeshProfile, | ||
| void, | ||
| ClusterMeshProfile, | ||
| BaseParameters<ClusterMeshProfile> & IfMatchParameters<ClusterMeshProfile> | ||
| >; | ||
| } | ||
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
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
82 changes: 82 additions & 0 deletions
82
...ication/containerservice/resource-manager/Microsoft.ContainerService/fleet/meshmember.tsp
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| import "@typespec/rest"; | ||
| import "./helpers.tsp"; | ||
|
|
||
| using TypeSpec.Versioning; | ||
|
|
||
| namespace Microsoft.ContainerService; | ||
|
|
||
| scalar ClusterMeshProfileResourceId | ||
| extends Azure.Core.armResourceIdentifier<[ | ||
| { | ||
| type: "Microsoft.ContainerService/fleets/clusterMeshProfiles", | ||
| } | ||
| ]>; | ||
|
|
||
| @added(Versions.v2026_03_02_preview) | ||
| @doc("The Mesh Member data for a Fleet Member resource.") | ||
| model MeshProperties { | ||
| @doc("The Cilium cluster properties.") | ||
| @visibility(Lifecycle.Read) | ||
| ciliumProperties: CiliumProperties; | ||
|
|
||
| @doc("The status of the mesh member.") | ||
| @visibility(Lifecycle.Read) | ||
| status: MeshMemberStatus; | ||
|
|
||
| @doc("Resource id of the cluster mesh profile associated with this mesh member.") | ||
| @visibility(Lifecycle.Read) | ||
| clusterMeshProfileResourceId: ClusterMeshProfileResourceId; | ||
| } | ||
|
|
||
| @added(Versions.v2026_03_02_preview) | ||
| @doc("The Cilium specific properties of the member cluster.") | ||
| model CiliumProperties { | ||
| @doc("The Cilium clusterId") | ||
|
dvadas marked this conversation as resolved.
Outdated
|
||
| @visibility(Lifecycle.Read) | ||
| id: int32; | ||
|
|
||
| @doc("The Cilium cluster name") | ||
| @visibility(Lifecycle.Read) | ||
| name: string; | ||
| } | ||
|
|
||
| @added(Versions.v2026_03_02_preview) | ||
| @doc("Mesh member state.") | ||
| union MeshMemberState { | ||
| string, | ||
|
|
||
| @doc("The member is not connected to the mesh.") | ||
| NotConnected: "NotConnected", | ||
|
|
||
| @doc("The member is connecting to the mesh.") | ||
| Connecting: "Connecting", | ||
|
|
||
| @doc("The member is connected to the mesh.") | ||
| Connected: "Connected", | ||
|
|
||
| @doc("The member is disconnecting from the mesh.") | ||
| Disconnecting: "Disconnecting", | ||
|
|
||
| @doc("The member failed to connect due to an error.") | ||
| Failed: "Failed", | ||
| } | ||
|
|
||
| @added(Versions.v2026_03_02_preview) | ||
| @doc("Status of the mesh member.") | ||
| model MeshMemberStatus { | ||
| @doc("The mesh member state.") | ||
| @visibility(Lifecycle.Read) | ||
| state: MeshMemberState; | ||
|
|
||
| @doc("When the status was last updated.") | ||
| @visibility(Lifecycle.Read) | ||
| lastUpdatedAt?: utcDateTime; | ||
|
|
||
| @doc("The last operation ID that affected the mesh properties of the fleet member") | ||
|
dvadas marked this conversation as resolved.
Outdated
|
||
| @visibility(Lifecycle.Read) | ||
| lastOperationId?: string; | ||
|
|
||
| @doc("The error affecting this member.") | ||
| @visibility(Lifecycle.Read) | ||
| error?: Azure.ResourceManager.Foundations.ErrorDetail; | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.