I don't think its there yet. After creating ApiManagementService, I use GetApiManagementServiceDomainOwnershipIdentifier to get that identifier and create the CNAME and TXT verification records. Then I use the azure sdk to add the custom domain to ApiMangement with the manged certificate preview feature.
r
rapid-motherboard-85863
03/22/2023, 1:09 PM
Thanks, I was a little bit worried about then changing a property which caused Pulumi to then remove the custom domain as its different to what it thinks is deployed. I guess I could use Ignore functionality
b
bored-activity-40468
03/22/2023, 1:32 PM
Good point, I haven't run into that, using azure-native it might not see the custom domain as a diff because it doesn't know about it yet, in the api.
At one point I was using both providers which works. Doing it the way I am now because I wanted to take advantage of the managed cert feature.