azure-sdk-for-js: After calling `disks.grantAccess` successfully, `accessSas` is `undefined`
- Package Name: arm-compute
- Package Version: 16.4.0
- Operating system:
- nodejs
- version: 14
- browser
- name/version:
- typescript
- version: 4.3.5
- Is the bug related to documentation in
- README.md
- source code documentation
- SDK API docs on https://docs.microsoft.com
Describe the bug
In the return value for disks.grantAccess
, accessSas
is undefined.
To Reproduce
- Call
disks.grantAccess
such that it succeeds - Inspect value of
accessSas
on the return value
Expected behavior The access SAS is there.
Screenshots N/A
Additional context You can get to the SAS by doing:
(grantAccessResult as any)._response.parsedBody.properties.output.accessSAS
This is not a regression, I’ve just been lazy about opening this issue. ¯\(ツ)/¯
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (12 by maintainers)
I see your point now