Skip to content

environment() suffixes missing for numerous services (documents, websites, cognitiveservices, openai, search) #12482

Description

@pamelafox

Describe the bug

We would like to use environment() to generate the correct DNS zone names in our Bicep across zones.
Right now we'd need to have three options for each service and then parameterize based on Azure Global/China/Govt.

(https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns#azure-services-dns-zone-configuration)

To Reproduce

https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-deployment#example-1

You can see these replicated in the Bicep extension.

Additional context

Related issues:

Metadata

Metadata

Assignees

Labels

tech debtFixing this issue will pay down technical debt we have accumulated.

Type

No type

Projects

Status
Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions