You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We plan to deprecate the term provider in Bicep and our public documentation, replacing it with extension for the following reasons:
Improve Clarity: The term provider is commonly associated with Azure Resource Providers within the context of ARM. Using provider to refer to a Bicep extensibility provider could lead to confusion. Conversely, the term extension is more intuitive and clearly conveys its purpose within the Bicep Extensibility context.
Avoid API Name Clash: To support deployment stacks as part of the Bicep Extensibility GA plan, we need to update the Microsoft.Resource/deployments API by adding a property to capture Bicep extensibility provider information in the API output. However, currently, the API output already includes a providers property, which lists the Azure Resource Providers involved in a template deployment. By using extensions instead, we can avoid conflicts with the existing providers property.
To avoid breaking changes for customers, we will follow these deprecation steps:
shenglol
changed the title
[Bicep Extensibility] Deprecating the term provider in favor of extension
[Bicep Extensibility Announcement] Deprecating the term provider in favor of extensionJun 20, 2024
shenglol
changed the title
[Bicep Extensibility Announcement] Deprecating the term provider in favor of extension
[Bicep Extensibility] Deprecating the term provider in favor of extensionJun 20, 2024
As the first step of addressing
#14374, this PR replaces the
provider keyword with the extension keyword. Using the provider keyword
will now trigger a warning diagnostic with a code fix to assist users in
migrating to the new keyword.
To reduce the scope of this PR, the use of `provider` within the Bicep
CLI, Bicep configuration, and the codebase will be replaced separately
in subsequent PRs.
Closes#14378.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/14379)
We plan to deprecate the term
provider
in Bicep and our public documentation, replacing it withextension
for the following reasons:providers
property, which lists the Azure Resource Providers involved in a template deployment. By usingextensions
instead, we can avoid conflicts with the existing providers property.To avoid breaking changes for customers, we will follow these deprecation steps:
provider
keyword and provide a code fix to help customers migrate to theextension
keyword (Replace theprovider
keyword with theextension
keyword #14378).publish-extension
command and mark thepublish-provider
command as being deprecated (Deprecatepublish-provider
#14376).extensions
andextensionAliases
in bicepconfig.json and deprecateproviders
andproviderAliases
(Deprecateproviders
,providerAliases
, andimplicitProviders
in Bicep configuration #14377).provider
in Bicep.The text was updated successfully, but these errors were encountered: