azyc-0.5.0
توضیحات
Helper to create large large deployment-parameters.json files from small yaml files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | azyc-0.5.0 |
| نام | azyc |
| نسخه کتابخانه | 0.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Claas Diederichs |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/claasd/azyc |
| آدرس اینترنتی | https://pypi.org/project/azyc/ |
| مجوز | MIT |
# azyc: Yaml to azure deployment parameter json converter
[](https://pypi.org/project/azyc/)
[](https://pypi.org/project/azyc/)

Helper to create large large deployment-parameters.json files from small yaml files
# Usage
You can specify deployment variables in a yml file.
Additionally to simple variables, you can add file pathes, which are read and written into the deplyoemnt file as string.
KeyVault values as also supported.
Examples:
```yaml
foo: bar
booleanParam: true
numericParam: 22
arrayParam:
array:
- id: firstId
name: firstName
- id: secondId
name: secondName
objectParam:
object:
id: firstId
name: firstName
fileParam:
file: path_to_file # will be read as utf-8, escaped and passed as string
binaryFileParam:
binary: path_to_binary_file # will be read as binary, base64 encoded and passed as string
yamlParam:
yaml: path_to_file # will be read as utf-8 yaml, optionally transformed and passed as escaped string
overwrite: # optional, you can overwrite or add some parts in the yaml file with overwrite
title: other title
keyVaultParam:
keyVault: /subscriptions/<subscription-id>/resourceGroups/<rg-name>/providers/Microsoft.KeyVault/vaults/<vault-name>
secretName: ExamplePassword
keyVaultParamWitVersion:
keyVault: /subscriptions/<subscription-id>/resourceGroups/<rg-name>/providers/Microsoft.KeyVault/vaults/<vault-name>
secretName: ExamplePassword
secretVersion: cd91b2b7e10e492ebb870a6ee0591b68
```
Basic call:
```bash
python3 -m azyc -i path_to_config.yml -o paramters.json
```
You can add/overwrite parameters on the call:
```bash
python3 -m azyc -i path_to_config.yml -o paramters.json --param suffix=bar --param booleanParam=false
```
نیازمندی
| مقدار | نام |
|---|---|
| - | PyYaml |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl azyc-0.5.0:
pip install azyc-0.5.0.whl
نصب پکیج tar.gz azyc-0.5.0:
pip install azyc-0.5.0.tar.gz