Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme.md for ruby #9846

Merged
merged 3 commits into from
Jun 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 44 additions & 9 deletions specification/security/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ override-info:

### Tag: package-2015-06-preview-only

These settings apply only when `--tag=package-2015-06-preview-only` is specified on the command line.
These settings apply only when `--tag=package-2015-06-preview-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2015-06-preview-only'
input-file:
Expand All @@ -198,7 +198,7 @@ override-info:

### Tag: package-2017-08-preview-only

These settings apply only when `--tag=package-2017-08-preview-only` is specified on the command line.
These settings apply only when `--tag=package-2017-08-preview-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2017-08-preview-only'
input-file:
Expand All @@ -221,7 +221,7 @@ override-info:

### Tag: package-2019-01-preview-only

These settings apply only when `--tag=package-2019-01-preview-only` is specified on the command line.
These settings apply only when `--tag=package-2019-01-preview-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2019-01-preview-only'
input-file:
Expand All @@ -237,7 +237,7 @@ override-info:

### Tag: package-2020-01-preview-only

These settings apply only when `--tag=package-2020-01-preview-only` is specified on the command line.
These settings apply only when `--tag=package-2020-01-preview-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2020-01-preview-only'
input-file:
Expand All @@ -250,7 +250,7 @@ override-info:

### Tag: package-2017-08-only

These settings apply only when `--tag=package-2017-08-only` is specified on the command line.
These settings apply only when `--tag=package-2017-08-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2017-08-only'
input-file:
Expand All @@ -263,7 +263,7 @@ override-info:

### Tag: package-2018-06-only

These settings apply only when `--tag=package-2018-06-only` is specified on the command line.
These settings apply only when `--tag=package-2018-06-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2018-06-only'
input-file:
Expand All @@ -276,7 +276,7 @@ override-info:

### Tag: package-2019-01-only

These settings apply only when `--tag=package-2019-01-only` is specified on the command line.
These settings apply only when `--tag=package-2019-01-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2019-01-only'
input-file:
Expand All @@ -290,7 +290,7 @@ override-info:

### Tag: package-2019-08-only

These settings apply only when `--tag=package-2019-08-only` is specified on the command line.
These settings apply only when `--tag=package-2019-08-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2019-08-only'
input-file:
Expand All @@ -302,6 +302,41 @@ override-info:
title: SecurityCenter
```

### Tag: package-2020-01-preview-only

These settings apply only when `--tag=package-2020-01-preview-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-package-2020-01-preview-only'
input-file:
- Microsoft.Security/preview/2020-01-01-preview/secureScore.json

# Needed when there is more than one input file
override-info:
title: SecurityCenter
```

### Tag: package-2020-01-only

These settings apply only when `--tag=package-2020-01-only` is specified on the command line. This tag is used for Ruby SDK.

``` yaml $(tag) == 'package-2020-01-only'
input-file:
- Microsoft.Security/stable/2020-01-01/adaptiveNetworkHardenings.json
- Microsoft.Security/stable/2020-01-01/allowedConnections.json
- Microsoft.Security/stable/2020-01-01/applicationWhitelistings.json
- Microsoft.Security/stable/2020-01-01/assessmentMetadata.json
- Microsoft.Security/stable/2020-01-01/assessments.json
- Microsoft.Security/stable/2020-01-01/discoveredSecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json
- Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json
- Microsoft.Security/stable/2020-01-01/topologies.json

# Needed when there is more than one input file
override-info:
title: SecurityCenter
```

---

# Code Generation
Expand Down Expand Up @@ -412,4 +447,4 @@ uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
```
99 changes: 88 additions & 11 deletions specification/security/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,111 @@ Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-f

``` yaml
package-name: azure_mgmt_security
package-version: "1.0.0"
package-version: "0.18.2"
azure-arm: true
```

### Ruby multi-api

``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-composite-v1
- tag: package-composite-v2
- tag: package-2020-01-preview-only
- tag: package-2020-01-only
- tag: package-2019-08-only
- tag: package-2019-01-only
- tag: package-2018-06-only
- tag: package-2017-08-only
- tag: package-2019-01-preview-only
- tag: package-2017-08-preview-only
- tag: package-2015-06-preview-only
```

### Tag: package-composite-v1 and ruby
### Tag: package-2020-01-preview-only and ruby

These settings apply only when `--tag=package-composite-v1 --ruby` is specified on the command line.
These settings apply only when `--tag=package-2020-01-preview-only --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"
``` yaml $(tag) == 'package-2020-01-preview-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2020_01_01_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```

### Tag: package-composite-v2 and ruby
### Tag: package-2020-01-only and ruby

These settings apply only when `--tag=package-composite-v2 --ruby` is specified on the command line.
These settings apply only when `--tag=package-2020-01-only --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"
``` yaml $(tag) == 'package-2020-01-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2020_01_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```

### Tag: package-2019-08-only and ruby

These settings apply only when `--tag=package-2019-08-only --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-2019-08-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2019_08_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```

### Tag: package-2019-01-only and ruby

These settings apply only when `--tag=package-2019-01-only --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-2019-01-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2019_01_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```

### Tag: package-2018-06-only and ruby

These settings apply only when `--tag=package-2018-06-only --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-2018-03-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2018_06_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```

### Tag: package-2017-08-only and ruby

These settings apply only when `--tag=package-2017-08-only --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-2017-08-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2017_08_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```
### Tag: package-2019-01-preview-only and ruby

These settings apply only when `--tag=package-2019-01-preview-only --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-2019-01-preview-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2019_01_01_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```

### Tag: package-2017-08-preview-only and ruby

These settings apply only when `--tag=package-2017-08-preview-only --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-2017-08-preview-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2017_08_01_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```

### Tag: package-2015-06-preview-only and ruby

These settings apply only when `--tag=package-2015-06-preview-only --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-2015-06-preview-only' && $(ruby)
namespace: "Azure::Security::Mgmt::V2015_06_01_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
```