diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index 5798e3f9af96..22f2e6df39d6 100644 --- a/specification/containerservice/Fleet.Management/fleet.tsp +++ b/specification/containerservice/Fleet.Management/fleet.tsp @@ -203,6 +203,12 @@ interface Fleets { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Use operationId to keep same name as deprecated sync operation" @added(Versions.v2023_06_15_preview) @operationId("Fleets_Update") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "original-uri", + } + ) @sharedRoute updateAsync is ArmCustomPatchAsync< Fleet, diff --git a/specification/containerservice/Fleet.Management/fleetmember.tsp b/specification/containerservice/Fleet.Management/fleetmember.tsp index aea69322736f..e21a35ffd58e 100644 --- a/specification/containerservice/Fleet.Management/fleetmember.tsp +++ b/specification/containerservice/Fleet.Management/fleetmember.tsp @@ -97,6 +97,12 @@ interface FleetMembers { @sharedRoute @added(Versions.v2023_06_15_preview) @operationId("FleetMembers_Update") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "original-uri", + } + ) updateAsync is ArmResourcePatchAsync< FleetMember, FleetMemberProperties, diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json index d2803c31757d..f4817f1f76f8 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json @@ -385,7 +385,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true }, @@ -809,7 +809,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true }, diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json index 688ad04fa717..66f984797c93 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json @@ -388,7 +388,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true }, @@ -812,7 +812,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true }, diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json index e712a5e44557..ff2f9072f7cc 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json @@ -388,7 +388,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true }, @@ -812,7 +812,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true }, diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json index 2880694ec91d..8e8bcf57239c 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json @@ -388,7 +388,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true }, @@ -812,7 +812,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true },