This message was deleted.
# general
s
This message was deleted.
e
You need to use the
v20210801
namespace.
import * as apimanagement from "@pulumi/azure-native/apimanagement/v20210801";
I think
s
Thanks! I found the property using
AzureNative.ApiManagement.V20210101Preview
(C#) Will report back if it works out :)
🙌 1
It worked out great, using the exact version you mentioned @echoing-dinner-19531 Thanks again! C# example below for reference
Copy code
HostnameConfigurations = 
{
  new AzureNative.ApiManagement.V20210801.Inputs.HostnameConfigurationArgs
  {
    HostName = apiHostName,
    CertificateSource = "Managed",
    Type ="proxy"
  }
}
l
This configuration needs also dependend entries inside the dns, the txt record and the CNAME. Regarding the txt record it has to be an unique entry. Do you know how to generate this hash?
e
Do you mean the hash that Pulumi appends to names automatically?
l
No, an txt entry and a cname ist required for the hostname. And if you configure it manually the azure portal show the needed values for these two dns types.
And the hash which is needed, seems unique.
May be a combination of api management name and hostname
e
I do not know, I'd suggest asking in a new thread in #CRVK66N5U for visibility
l
Do you know what i mean?
#CRVK66N5U See attached screenshot.