https://pulumi.com logo
#azure
Title
# azure
f

few-postman-20852

06/19/2023, 9:24 AM
what's the difference between a class.get() function and a module.getSomethingOuput() function? Like
azuread.Application.get()
vs
azuread.getApplicationOutput()
f

fancy-artist-45287

06/19/2023, 1:25 PM
don't know but output can have Input<string> as input and not just string
b

billowy-army-68599

06/19/2023, 3:27 PM
@few-postman-20852
.get()
is used if you know the ID of the resource you want to reference,
getApplication/Output
allows you to use more filters to drill down to the resource
f

few-postman-20852

06/20/2023, 1:57 PM
Thanks @billowy-army-68599! This helps already! This will avoid me doing lots of imports!