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.Insights/components]: Property properties is not marked as required HOT 1
- Microsoft.SecurityInsights/settings@2022-10-01-preview fails on update HOT 14
- [Microsoft.Web/sites/basicPublishingCredentialsPolicies]: Missing property 'location'
- Microsoft.DataFactory/factories/pipelines: The property "isolationLevel" is not allowed on objects of type "SqlServerSource" HOT 2
- [Microsoft.Network firewallPolicies/ruleCollectionGroups]: Missing ipv6Rule on rule HOT 2
- Cannot reference child resource to a parent resource as an array HOT 2
- ['Microsoft.Web/sites/basicPublishingCredentialsPolicies]: location parameter is expected
- [Microsoft.Insights/scheduledQueryRules] Simultaneous deployment of 66+ resources fails HOT 13
- Microsoft.AppConfiguration/configurationStores/keyValues: Label shows warning HOT 2
- BCP037 - warning: property retentionDays is not allowed on objects of type ManagedInstanceVulnerabilityAssessmentProperties. HOT 3
- BCP037 - warning: property retentionDays is not allowed on objects of type DatabaseVulnerabilityAssessmentProperties. HOT 3
- Microsoft.ServiceFabric: 2022-01-01 Schema not supported? HOT 1
- [federatedIdentityCredentials]: cannot set namespace parameter HOT 1
- [<resource_type>]: <description>
- [Nat Gateway]: Missing 'tier' key
- Missing all API references for Azure Backup nottification settings HOT 3
- Add SQL database to SQL Failover Group on database creation HOT 4
- Support Portal Dashboard export in Bicep Decompile HOT 5
- [Microsoft.DocumentDB/databaseAccounts]: missing property enablePartitionKeyMonitor
- [staticSites]: The property "provider" is read-only.
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.