Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions src/Aks/Aks.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Aks")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("6.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("6.1.1")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("7.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("7.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
14 changes: 10 additions & 4 deletions src/Aks/Aks.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ For information on how to develop for `Az.Aks`, see [how-to.md](how-to.md).
> see https://aka.ms/autorest

``` yaml
commit: 6031674c73a95ffd60f58b5cdd633c94b3360467
commit: c1a0abcedccb286ef44a03d6fb8363bc4e3dd560
require:
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-02-01/managedClusters.json
- $(repo)/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2025-08-01/managedClusters.json
- $(repo)/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2019-08-01/location.json

title: Aks
Expand All @@ -48,10 +48,10 @@ directive:
remove: true
- where:
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Run$|^RunViaIdentity$|^UpdateViaIdentityManagedCluster$|^UpdateViaIdentityManagedClusterExpanded$|^CreateViaIdentityManagedCluster$|^CreateViaIdentityManagedClusterExpanded$
subject: ^MaintenanceConfiguration$|^Snapshot$|^ManagedClusterCommand$|^SnapshotTag$
subject: ^MaintenanceConfiguration$|^Snapshot$|^ManagedClusterCommand$|^SnapshotTag$|^TrustedAccessRoleBinding$
remove: true
- where:
subject: ^MaintenanceConfiguration$|^Snapshot$
subject: ^MaintenanceConfiguration$|^Snapshot$|^TrustedAccessRoleBinding$
verb: Set
remove: true
# this API (Update SnapshotTag) is defined in swagger but not supported by RP
Expand Down Expand Up @@ -101,6 +101,12 @@ directive:
set:
parameter-name: ClusterName
alias: Name
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/deleteMachines"].post.responses
transform: >-
$["204"] = {
"description": "No content"
}
- from: swagger-document
where: $.definitions.ContainerServiceMasterProfile.properties.count
transform: >-
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"resourceType": "locations/meshRevisionProfiles",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
"commands": [
{
"name": "Get-AzAksManagedClusterMeshRevisionProfile",
"description": "Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades",
"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks/get-azaksmanagedclustermeshrevisionprofile"
},
"parameterSets": [
{
"parameters": [
"-Location <String>",
"-Mode <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades",
"parameters": [
{
"name": "-Location",
"value": "[Path.location]"
},
{
"name": "-Mode",
"value": "[Path.mode]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"resourceType": "managedClusters/agentPools/machines",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
"commands": [
{
"name": "Get-AzAksMachine",
"description": "Get a specific machine in the specified agent pool.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/machines/{machineName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks/get-azaksmachine"
},
"parameterSets": [
{
"parameters": [
"-AgentPoolName <String>",
"-Name <String>",
"-ResourceGroupName <String>",
"-ResourceName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a specific machine in the specified agent pool.",
"parameters": [
{
"name": "-AgentPoolName",
"value": "[Path.agentPoolName]"
},
{
"name": "-Name",
"value": "[Path.machineName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-ResourceName",
"value": "[Path.resourceName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "managedClusters/agentPools",
"apiVersion": "2023-02-01",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "managedClusters/commandResults",
"apiVersion": "2023-02-01",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "managedClusters/maintenanceConfigurations",
"apiVersion": "2023-02-01",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"resourceType": "managedClusters/meshUpgradeProfiles",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
"commands": [
{
"name": "Get-AzAksManagedClusterMeshUpgradeProfile",
"description": "Gets available upgrades for a service mesh in a cluster.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles/{mode}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks/get-azaksmanagedclustermeshupgradeprofile"
},
"parameterSets": [
{
"parameters": [
"-Mode <String>",
"-ResourceGroupName <String>",
"-ResourceName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Gets available upgrades for a service mesh in a cluster.",
"parameters": [
{
"name": "-Mode",
"value": "[Path.mode]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-ResourceName",
"value": "[Path.resourceName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "managedClusters/trustedAccessRoleBindings",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
"commands": [
{
"name": "Get-AzAksTrustedAccessRoleBinding",
"description": "Get a trusted access role binding.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks/get-azakstrustedaccessrolebinding"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"-ResourceName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a trusted access role binding.",
"parameters": [
{
"name": "-Name",
"value": "[Path.trustedAccessRoleBindingName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-ResourceName",
"value": "[Path.resourceName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzAksTrustedAccessRoleBinding",
"description": "Delete a trusted access role binding.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks/remove-azakstrustedaccessrolebinding"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"-ResourceName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a trusted access role binding.",
"parameters": [
{
"name": "-Name",
"value": "[Path.trustedAccessRoleBindingName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-ResourceName",
"value": "[Path.resourceName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "managedClusters",
"apiVersion": "2023-02-01",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "snapshots",
"apiVersion": "2023-02-01",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.aks"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function New-AzAksTimeInWeekObject {
[Microsoft.Azure.PowerShell.Cmdlets.Aks.PSArgumentCompleterAttribute("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")]
[string]
$Day,
[Parameter(HelpMessage="Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.")]
[Parameter(HelpMessage="A list of hours in the day used to identify a time range. Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.")]
[int[]]
$HourSlot
)
Expand Down
Loading
Loading