Skip to content

Commit

Permalink
Cli onboard hardwaresecuritymodules (#9150)
Browse files Browse the repository at this point in the history
  • Loading branch information
changlong-liu authored Apr 26, 2020
1 parent b25bcea commit 384be17
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## AZ

These settings apply only when `--az` is specified on the command line.

``` yaml $(az)
az:
extensions: hardware-security-modules
namespace: azure.mgmt.hardwaresecuritymodules
package-name: azure-mgmt-hardwaresecuritymodules
az-output-folder: $(azure-cli-extension-folder)/src/hardware-security-modules
python-sdk-output-folder: "$(az-output-folder)/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules"
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CLI

These settings apply only when `--cli` is specified on the command line.

``` yaml $(cli)
cli:
cli-name: hardwaresecuritymodules
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Python

These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

```yaml $(python)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.hardwaresecuritymodules
package-name: azure-mgmt-hardwaresecuritymodules
package-version: 2019-05-01
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/azure/mgmt/hardwaresecuritymodules
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules
```

0 comments on commit 384be17

Please sign in to comment.