이전 버전입니다. 현재 최신 버전은 0.48.1입니다. Bicep CLI 0.48.1 · 출시일:
설치 파일 0.41.2
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | EXE (Inno Setup) | 모든 사용자 | — | github.com | VirusTotal |
| 64비트 | 포터블 | — | — | github.com | VirusTotal |
| ARM64 | 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
Highlights
- Snapshot command is GA (#19084)
Example usage:
# capture a snapshot
bicep snapshot main.bicepparam
# validate a snapshot
bicep snapshot main.bicepparam --mode validate
# capture a snapshot with Azure context
bicep snapshot main.bicepparam --subscription-id 3faf6056-8474-4818-a729-1aff55d6b3fa --resource-group myRg --location westus --mode overwrite
Walkthrough YouTube - Bicep Snapshot Demo
Official docs coming soon. In the meantime, see Using the snapshot command.
- [Experimental] @nullIfNotFound() decorator for existing resources (#18697)
Basic example:
@nullIfNotFound()
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-04-01' existing = {
name: 'testStorage'
}
output safeLocation string? = storageAccount.?location
output safeSkuName string? = storageAccount.?sku.name
output safeAccessTier string? = storageAccount.?properties.accessTier
output locationWithDefault string = storageAccount.?location ?? 'westus'
output skuNameWithDefault string = storageAccount.?sku.name ?? 'Standard_LRS'
output accessTierWithDefault string = storageAccount.?properties.accessTier ?? 'Hot'
Bug Fixes and Features
- Add MCP server metadata JSON file to NuGet package (#18909)
- Add section on comments to Best Practices doc (#18913)
- Fix nested extendable params spread: ensure inherited spread expressions are bound correctly (#19028)
- add support for array splat completion in type syntax and enhance completion context (#18948)
- Add completions for #disable-diagnostics and #restore-diagnostics (#18919)
- Add extension namespace functions (#18910)
- [PublishExtension command] Ensure namespace functions are considered when building types archive (#18999)
- Use file handle URI in output (#18920)
- [Experimental] Visualizer V2 (#18986, #18987, #18992, #18995, #19025, #19029, #19080)
Community Contributions
- Minor typos in README.md (#19079) - thanks @gerbermarco !
- Enhance snapshot command documentation (#18959) - thanks @verschaevesiebe !
- Add snapshot command help documentation to RootCommand (#18988) - thanks @verschaevesiebe !