Is there a c# version of this? <https://www.pulumi...
# dotnet
f
Is there a c# version of this? https://www.pulumi.com/blog/hosting-a-static-website-on-azure-with-pulumi/#custom-domain-and-tls
Copy code
const customDomain = new CDNCustomDomainResource("cdn-custom-domain", {
    resourceGroupName: resourceGroup.name,
    // Ensure that there is a CNAME record for demo <http://pointing.pulumi.com|pointing.pulumi.com> to <http://demopulumi.azureedge.net|demopulumi.azureedge.net>.
    // You would do that in your domain registrar's portal.
    customDomainHostName: "<http://demo.pulumi.com|demo.pulumi.com>",
    profileName: cdn.name,
    endpointName: endpoint.name,
    // This will enable HTTPS through Azure's one-click automated certificate deployment.
    // The certificate is fully managed by Azure from provisioning to automatic renewal
    // at no additional cost to you.
    httpsEnabled: true,
}, { parent: endpoint });