https://pulumi.com logo
#python
Title
# python
v

victorious-exabyte-70545

12/24/2021, 6:25 PM
Copy code
subscription = azure.core.get_subscription()
print("here is id of my sub")
print(subscription.id)
print("here is tenant id of my sub")
print(subscription.tenant_id)
print("here is displayname of my sub")
print(subscription.display_name)