https://pulumi.com logo
Title
k

kind-agency-40925

04/22/2020, 1:00 PM
Does polumi support 'Commercial Marketplace partner and customer usage attribution' for Azure? (https://docs.microsoft.com/en-us/azure/marketplace/azure-partner-customer-usage-attribution)?
b

best-garden-6174

04/22/2020, 4:00 PM
@kind-agency-40925 this is something we’ll need to investigate. Do you have a specific use case in mind?
k

kind-agency-40925

04/23/2020, 5:10 AM
hello we are working with azure and we are using arm templates to deploy infrastructure. All our solutions must be tagged via Guid(https://docs.microsoft.com/en-us/azure/marketplace/azure-partner-customer-usage-attribution#verify-the-guid-deployment). Microsoft uses this tag to track resources which have been created by our company
b

broad-dog-22463

04/23/2020, 9:58 AM
Hi @kind-agency-40925 When using the Pulumi-azure provider, you can either set an environment variable or ARM_PARTNER_ID or “Pulumi config set azure:partnerId xxxxxx” and it should tag these resources for you when interacting with MSFT
k

kind-agency-40925

04/23/2020, 10:00 AM
Hi @broad-dog-22463
Could you please send me sample exmaple in C#
?
b

broad-dog-22463

04/23/2020, 10:02 AM
This isn’t language specific, setting the environment variable means Pulumi will pick this up automatically. The config set method is when you have created a Pulumi stack and are setting config for your stack Eg https://www.pulumi.com/docs/get-started/azure/create-project/
k

kind-agency-40925

04/23/2020, 10:09 AM
ok, thx I will check it