https://pulumi.com logo
Title
b

bland-minister-14373

08/30/2021, 11:48 AM
basically what is the equivalent of this code from
Azure
classic library of pulumi(https://www.pulumi.com/docs/reference/pkg/azure/containerservice/registry/)
var registry = new Azure.ContainerService.Registry(registryName,
                new Azure.ContainerService.RegistryArgs
            {
                AdminEnabled = true,
                Name = registryName,
                ResourceGroupName = resourceGroup.Name,
                Sku = "Standard",
                Tags = 
                {
                    {"scope", "sample scope"}
                },
            });

Url = registry.LoginServer.Apply(loginServer=> $"https://{loginServer}");
Password = registry.AdminPassword;
Username = registry.AdminUsername;
with the new api,
AzureNative
(https://www.pulumi.com/docs/reference/pkg/azure-native/containerregistry/registry/)