Skip to content

Commit 3846603

Browse files
author
nguyenmin
committed
address copilot comments
1 parent a93ba22 commit 3846603

5 files changed

Lines changed: 12 additions & 16 deletions

File tree

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-06-02-preview/AutoUpgradeProfileOperations_GenerateUpdateRun.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"id": "lfte"
1515
}
1616
},
17-
"204": {},
1817
"202": {
1918
"headers": {
2019
"Azure-AsyncOperation": "https://contoso.com/operationstatus"

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ enum Versions {
7474
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5)
7575
v2026_05_01_preview: "2026-05-01-preview",
7676

77-
@doc("Azure Kubernetes Fleet Manager api version 2026-06-01-preview.")
77+
@doc("Azure Kubernetes Fleet Manager api version 2026-06-02-preview.")
7878
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5)
7979
v2026_06_02_preview: "2026-06-02-preview",
8080
}

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-06-02-preview/examples/AutoUpgradeProfileOperations_GenerateUpdateRun.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"id": "lfte"
1515
}
1616
},
17-
"204": {},
1817
"202": {
1918
"headers": {
2019
"Azure-AsyncOperation": "https://contoso.com/operationstatus"

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-06-02-preview/fleets.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,6 @@
852852
}
853853
}
854854
},
855-
"204": {
856-
"description": "Azure operation completed successfully."
857-
},
858855
"default": {
859856
"description": "An unexpected error response.",
860857
"schema": {
@@ -3470,6 +3467,11 @@
34703467
"type": "string"
34713468
},
34723469
"readOnly": true
3470+
},
3471+
"lastTriggerMessage": {
3472+
"type": "string",
3473+
"description": "Additional information about the last trigger attempt.",
3474+
"readOnly": true
34733475
}
34743476
}
34753477
},

specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/update/autoupgradeprofile.tsp

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ model AutoUpgradeProfileStatus {
183183
@doc("The target Kubernetes version or node image versions of the last trigger.")
184184
@visibility(Lifecycle.Read)
185185
lastTriggerUpgradeVersions?: string[];
186+
187+
@doc("Additional information about the last trigger attempt.")
188+
@visibility(Lifecycle.Read)
189+
@added(Versions.v2026_06_02_preview)
190+
lastTriggerMessage?: string;
186191
}
187192

188193
@doc("AutoUpgradeLastTriggerStatus is the status of the last AutoUpgrade trigger (attempt to automatically create and start UpdateRun when there are new released versions) of an auto upgrade profile.")
@@ -207,7 +212,7 @@ interface AutoUpgradeProfileOperations {
207212
generateUpdateRun is Azure.ResourceManager.ArmResourceActionAsync<
208213
AutoUpgradeProfile,
209214
void,
210-
GenerateUpdateRunResponse,
215+
GenerateResponse,
211216
BaseParameters<AutoUpgradeProfile>,
212217
LroHeaders = ArmAsyncOperationHeader<FinalResult = GenerateResponse> &
213218
ArmLroLocationHeader<FinalResult = GenerateResponse> &
@@ -222,12 +227,3 @@ model GenerateResponse {
222227
@doc("The ARM resource id of the generated UpdateRun. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}'.")
223228
id: string;
224229
}
225-
226-
@added(Versions.v2025_03_01)
227-
@doc("Azure operation completed successfully.")
228-
union GenerateUpdateRunResponse {
229-
GenerateResponse,
230-
231-
@added(Versions.v2026_06_02_preview)
232-
ArmNoContentResponse,
233-
}

0 commit comments

Comments
 (0)