Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b3376ed

Browse files
chlahavjianghaolu
authored andcommitted
Azure Security Center - Adding support for Python, TypeScript and Node.js (Azure#4301)
1 parent 2d3df54 commit b3376ed

File tree

4 files changed

+65
-0
lines changed

4 files changed

+65
-0
lines changed

specification/security/resource-manager/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,15 @@ csharp:
8181
## Go
8282

8383
See configuration in [readme.go.md](./readme.go.md)
84+
85+
## Python
86+
87+
See configuration in [readme.python.md](./readme.python.md)
88+
89+
## Node.js
90+
91+
See configuration in [readme.nodejs.md](./readme.nodejs.md)
92+
93+
## TypeScript
94+
95+
See configuration in [readme.typescript.md](./readme.typescript.md)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Node.js
2+
3+
These settings apply only when `--nodejs` is specified on the command line.
4+
Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-for-node clone>`.
5+
6+
``` yaml $(nodejs)
7+
nodejs:
8+
azure-arm: true
9+
package-name: azure-arm-security
10+
output-folder: $(node-sdks-folder)/lib/services/securityManagement
11+
generate-license-txt: true
12+
generate-package-json: true
13+
generate-readme-md: true
14+
```
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Python
2+
3+
These settings apply only when `--python` is specified on the command line.
4+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5+
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
6+
7+
``` yaml $(python)
8+
python-mode: create
9+
python:
10+
azure-arm: true
11+
license-header: MICROSOFT_MIT_NO_VERSION
12+
payload-flattening-threshold: 2
13+
namespace: azure.mgmt.security
14+
package-name: azure-mgmt-security
15+
package-version: 0.1.0
16+
clear-output-folder: true
17+
```
18+
``` yaml $(python) && $(python-mode) == 'update'
19+
python:
20+
no-namespace-folders: true
21+
output-folder: $(python-sdks-folder)/azure-mgmt-security/azure/mgmt/security
22+
```
23+
``` yaml $(python) && $(python-mode) == 'create'
24+
python:
25+
basic-setup-py: true
26+
output-folder: $(python-sdks-folder)/azure-mgmt-security
27+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## TypeScript
2+
3+
These settings apply only when `--typescript` is specified on the command line.
4+
Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`.
5+
6+
``` yaml $(typescript)
7+
typescript:
8+
azure-arm: true
9+
package-name: "@azure/arm-security"
10+
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-security"
11+
generate-metadata: true
12+
```

0 commit comments

Comments
 (0)