-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Security - Updating API versions of alerts and pricing types (#5269)
* Security - Updating api versions of alerts and pricing types * fix codegen paths for Go SDK
- Loading branch information
1 parent
bb075aa
commit 3fee785
Showing
6 changed files
with
156 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## C# | ||
|
||
These settings apply only when `--csharp` is specified on the command line. | ||
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`. | ||
|
||
## Common C# settings | ||
|
||
``` yaml $(csharp) | ||
csharp: | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
payload-flattening-threshold: 2 | ||
clear-output-folder: true | ||
``` | ||
``` yaml $(csharp) && !$(multiapi) && !$(profile) | ||
namespace: Microsoft.Azure.Management.Security | ||
output-folder: $(csharp-sdks-folder)/SecurityCenter/Management.SecurityCenter/Generated | ||
``` | ||
## Batch settings | ||
These settings are for batch mode only: (ie, add `--multiapi` to the command line ) | ||
|
||
``` yaml $(multiapi) | ||
namespace: Microsoft.Azure.Management.Security.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
batch: | ||
- tag: package-composite-v1 | ||
ApiVersionName: package_composite_v1 | ||
- tag: package-composite-v2 | ||
ApiVersionName: package_composite_v2 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## Ruby | ||
|
||
These settings apply only when `--ruby` is specified on the command line. | ||
Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-for-node clone>`. | ||
|
||
``` yaml | ||
package-name: azure_mgmt_security | ||
package-version: "1.0.0" | ||
azure-arm: true | ||
``` | ||
### Ruby multi-api | ||
``` yaml $(ruby) && $(multiapi) | ||
batch: | ||
- tag: package-composite-v1 | ||
- tag: package-composite-v2 | ||
``` | ||
### Tag: package-composite-v1 and ruby | ||
These settings apply only when `--tag=package-composite-v1 --ruby` is specified on the command line. | ||
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`. | ||
|
||
``` yaml $(tag) == 'package-composite-v1' && $(ruby) | ||
namespace: "Azure::Security::Mgmt::package_composite_v1" | ||
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib | ||
``` | ||
|
||
### Tag: package-composite-v2 and ruby | ||
|
||
These settings apply only when `--tag=package-composite-v2 --ruby` is specified on the command line. | ||
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`. | ||
|
||
``` yaml $(tag) == 'package-composite-v2' && $(ruby) | ||
namespace: "Azure::Security::Mgmt::package_composite_v2" | ||
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib | ||
``` |