Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k stars 2.84k forks source link

Getting tags for HostedServices #333

Closed AitorATuin closed 9 years ago

AitorATuin commented 9 years ago

Hello, is there any way to get the tags attached to a CloudService (HostedService)?

huguesv commented 9 years ago

I think this is what you are referring to:

result = service.get_hosted_service_properties(hosted_service_name)
print(result.hosted_service_properties.extended_properties['tag1'])
huguesv commented 9 years ago

Please reopen if you still need help.