이전 버전입니다. 현재 최신 버전은 0.48.1입니다. Bicep CLI 0.48.1 · 출시일:
설치 파일 0.44.1
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | EXE (Inno Setup) | 모든 사용자 | — | github.com | VirusTotal |
| 64비트 | 포터블 | — | — | github.com | VirusTotal |
| ARM64 | 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
Highlights
- Extendable Params are now GA! (#19697)
Extendable Bicep Parameter Files (enabled with the extend keyword) allows you to reuse parameters from one .bicepparam file in another .bicepparam file.
root.bicepparam This is your main bicepparam file, which can be reused by multiple extended .bicepparam files and in multiple deployments.
using none
// Notice that the first line of this .bicepparam file declares `using none` which tells the compiler not to validate this against any particular .bicep file.
param namePrefix = 'Prod'
leaf.bicepparam This is your extended bicepparam file, which will refer to one main.bicep file and one main .bicepparam file. Any parameter value in this file will override all previous values.
using 'main.bicep'
extends 'root.bicepparam'
param namePrefix = 'Dev' // this will override the 'Prod' value we assign in our root.bicepparam file
- ThisNamespace and NullIfNotFound are now GA! (#19639)
When applied to an existing resource, using the @nullIfNotFound() decorator for existing resources will return null if it doesn't exist at deployment time instead of failing.
@nullIfNotFound()
resource exampleResource 'Microsoft.Storage/storageAccounts@2021-04-01' existing = {
name: 'test'
}
For 'ThisNamespace': this.exists() returns a bool indicating the existence of the current resource. this.existingResource() returns null if the resource does not exist and returns the full resource if the resource exists.
resource usingThis 'Microsoft...' = {
name: 'example'
location: 'eastus'
properties: {
property1: this.exists() ? 'resource exists' : 'resource does not exist'
property2: this.existingResource().?properties.?property2
property3: this.existingResource().?tags
}
}
Features and Bug Fixes
- Remove old Cytoscape.js visualizer (#19747)
- Migrate to System.CommandLine library for CLI commands for enhanced discoverability (#19312)
- Trim mcp tools returned resource schema (#19645)
- fix vs code generate params json output path (#19755)
- Fix BCP120 on extension Required+DTC identifier properties (#19637)
Diagnostics and Tests
- Add diagnostics and tests for spread operator limitations with for-expressions (#19516)
- Add snapshot regression test for roleDefinitions (#19638)
- add getSecret parameter reference regression coverage (#19714)
- add regression coverage for bicepparam completions (#19703)