- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.1k
          Add resourceId and extensionResourceId bicep functions
          #53447
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
  
    Add resourceId and extensionResourceId bicep functions
  
  #53447
              Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds two new Bicep functions (resourceId and extensionResourceId) to the Azure Provisioning SDK, addressing issue #53253. The changes also include code formatting improvements for consistency.
- Added GetResourceIdmethod to retrieve unique resource identifiers
- Added GetExtensionResourceIdmethod to handle extension resource IDs
- Reformatted existing validation checks for consistency
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description | 
|---|---|
| sdk/provisioning/Azure.Provisioning/src/Expressions/BicepFunction.cs | Implemented new GetResourceIdandGetExtensionResourceIdmethods with comprehensive documentation; reformatted brace placement for validation checks; removed unused import | 
| sdk/provisioning/Azure.Provisioning/api/Azure.Provisioning.netstandard2.0.cs | Updated API surface to expose new GetExtensionResourceIdandGetResourceIdmethods | 
| sdk/provisioning/Azure.Provisioning/api/Azure.Provisioning.net8.0.cs | Updated API surface to expose new GetExtensionResourceIdandGetResourceIdmethods | 
        
          
                sdk/provisioning/Azure.Provisioning/src/Expressions/BicepFunction.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      …ion.cs Co-authored-by: Copilot <[email protected]>
| API Change CheckAPIView identified API level changes in this PR and created the following API reviews | 
…-related-functions
Fixes #53253