File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
resource-manager/Microsoft.Dashboard/preview/2024-11-01-preview Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,11 @@ interface ManagedGrafanas {
64
64
#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
65
65
@ patch (#{ implicitOptionality : false })
66
66
@ operationId ("Grafana_Update" )
67
- update is ArmCustomPatchSync <
67
+ update is ArmCustomPatchAsync <
68
68
ManagedGrafana ,
69
69
PatchModel = ManagedGrafanaUpdateParameters ,
70
- Response = ArmResponse <ManagedGrafana > | (AcceptedResponse & {
70
+ Response = ArmResponse <ManagedGrafana > | (ArmAcceptedLroResponse <LroHeaders = ArmAsyncOperationHeader <FinalResult = ManagedGrafana > &
71
+ Azure .Core .Foundations .RetryAfterHeader > & {
71
72
@ bodyRoot
72
73
_ : ManagedGrafana ;
73
74
})
Original file line number Diff line number Diff line change 647
647
"description" : " The request has been accepted for processing, but processing has not yet completed." ,
648
648
"schema" : {
649
649
"$ref" : " #/definitions/ManagedGrafana"
650
+ },
651
+ "headers" : {
652
+ "Azure-AsyncOperation" : {
653
+ "type" : " string" ,
654
+ "description" : " A link to the status monitor"
655
+ },
656
+ "Retry-After" : {
657
+ "type" : " integer" ,
658
+ "format" : " int32" ,
659
+ "description" : " The Retry-After header can indicate how long the client should wait before polling the operation status."
660
+ }
650
661
}
651
662
},
652
663
"default" : {
660
671
"Grafana_Update" : {
661
672
"$ref" : " ./examples/Grafana_Update.json"
662
673
}
663
- }
674
+ },
675
+ "x-ms-long-running-operation-options" : {
676
+ "final-state-via" : " azure-async-operation"
677
+ },
678
+ "x-ms-long-running-operation" : true
664
679
},
665
680
"delete" : {
666
681
"operationId" : " Grafana_Delete" ,
You can’t perform that action at this time.
0 commit comments