Comments (1)
It would be really nice to support this in an easy-to-use manner.
For now, here's a manual way to get this working using the current infrastructure:
- Clone your private copy of the specs repo with your testing branch to a local folder.
- Clone this repo.
- Follow the instructions under https://github.com/Azure/bicep-types-az#running-generation-locally, pointing the
--specs-dir
parameter to the path you have cloned the specs repo to, and using the--single-path
option where the path specified is the relative path to theREADME.md
you're trying to generate types for. E.g. for the compute readme atspecification/compute/resource-manager/readme.md
, this value would simply becompute
. - In your local copy of the Bicep repo, replace the following 2 references to use
ProjectReference
instead ofPackageReference
, replacing{path_to_bicep_types_repo}
with the path where you cloned this repo: https://github.com/Azure/bicep/blob/ec0c24b90d4358020131ab9b9faa234bf5502359/src/Bicep.Core/Bicep.Core.csproj#L28-L29.<ProjectReference Include="{path_to_bicep_types_repo}/src/Bicep.Types/Bicep.Types.csproj" /> <ProjectReference Include="{path_to_bicep_types_repo}/src/Bicep.Types.Az/Bicep.Types.Az.csproj" />
- Run through https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#running-the-bicep-vscode-extension or https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#running-the-bicep-cli to build and run a local copy of the Bicep compiler, with your custom types added.
from bicep-types-az.
Related Issues (20)
- Microsoft.Web/sites: Does not recognize property 'autoGeneratedDomainNameLabelScope'
- AKS Spot Nodepool error HOT 5
- Unable to rerun code for Microsoft.Network/networkVirtualAppliances and a firewall is connected HOT 1
- Notification Hub Namespace update failed with BadArgument Exception HOT 3
- Microsoft.Portal/dashboards: The property "type" expected a value of type "'Extension/HubsExtension/PartType/MarkdownPart'" but the provided value is of type "'Extension/HubsExtension/PartType/MonitorChartPart'"
- [Microsoft.KeyVault/vaults/accessPolicies]: does not have types available
- [Microsoft.App/containerApps]: ContainerResources example uses unsupported units for Memory property; Mb instead of Gi.
- [Microsoft.Web/sites]: missing functionAppConfig
- add tags to new subscription bicep not allowed
- Resource type "Microsoft.VirtualMachineImages/imageTemplates@2024-02-01" does not have types available
- Apim Api Revision fails when parent Api has no Description HOT 1
- Microsoft.DataProtection/backupVaults not able to set SystemAssigned Identity HOT 1
- Error while deploying Azure Container App with bicep: ContainerAppInvalidResourceTotal HOT 1
- Microsoft.Web/connections@2018-07-01-preview and Microsoft.Web/connections/accessPolicies@2018-07-01-preview
- Azure Container Apps - KEDA scale (managed identity) HOT 5
- MySQL Flexible deployment fails when properties.maintenanceWindow is set HOT 2
- Microsoft.Web/sites@2021-03-01 ipSecurityRestrictionsDefaultAction
- deployment ignores condition and is validating module
- [Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers]: compositeIndexes type issue
- [Microsoft.PowerPlatform/enterprisePolicies]: Virtual Networks Object structure is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bicep-types-az.