When an async operation is performed using Azure-AsyncOperation, the final result of the operation is returned in the properties property in the ArmOperationStatus model, see the standards on ARM RPCs here
For example, when I write:
model Employee is TrackedResource<EmployeeProperties> {
...ResourceNameParameter<Employee>;
}
model EmployeeProperties {
/** Age of employee */
age?: int32;
}
model Result {
/** Result of the action */
result: string;
}
op actionAsync is ArmResourceActionAsync<Employee, void, Result>;
it now gives us:
finalResult: Result
finalEnvelopeResult: Result
envelopeResult: ArmOperationStatus
finalResultPath: undefined
Should we have finalResultPath as properties here?
When an async operation is performed using Azure-AsyncOperation, the final result of the operation is returned in the
propertiesproperty in theArmOperationStatusmodel, see the standards on ARM RPCs hereFor example, when I write:
it now gives us:
Should we have
finalResultPathaspropertieshere?