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

EventGrid: Updated README.MD configuration to include the new preview API version. #3830

Merged
merged 7 commits into from
Sep 11, 2018
Original file line number Diff line number Diff line change
Expand Up @@ -2101,14 +2101,16 @@
"Failed"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DomainProvisioningState",
"modelAsString": true
}
},
"endpoint": {
"description": "Endpoint for the domain.",
"type": "string"
"type": "string",
"readOnly": true
},
"inputSchema": {
"description": "This determines the format that Event Grid should expect for incoming events published to the domain.",
Expand Down Expand Up @@ -2428,6 +2430,26 @@
},
"x-ms-discriminator-value": "StorageBlob"
},
"NumberNotInAdvancedFilter": {
"description": "NumberNotIn Filter",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values",
"type": "array",
"items": {
"format": "double",
"type": "number"
}
}
},
"x-ms-discriminator-value": "NumberNotIn"
},
"NumberLessThanAdvancedFilter": {
"description": "NumberLessThan Filter",
"type": "object",
Expand Down Expand Up @@ -2588,6 +2610,25 @@
},
"x-ms-discriminator-value": "StringEndsWith"
},
"StringContainsAdvancedFilter": {
"description": "StringContains Filter",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "StringContains"
},
"AdvancedFilter": {
"description": "Represents an advanced filter that can be used to filter events based on various event envelope/data fields.",
"type": "object",
Expand All @@ -2599,6 +2640,7 @@
"description": "Represents the filter operator",
"enum": [
"NumberIn",
"NumberNotIn",
"NumberLessThan",
"NumberGreaterThan",
"NumberLessThanOrEquals",
Expand All @@ -2607,7 +2649,8 @@
"StringIn",
"StringNotIn",
"StringBeginsWith",
"StringEndsWith"
"StringEndsWith",
"StringContains"
],
"type": "string",
"x-ms-enum": {
Expand Down
36 changes: 35 additions & 1 deletion specification/eventgrid/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@ These are the global settings for the Azure EventGrid API.

``` yaml
openapi-type: arm
tag: package-2018-05-preview
tag: package-2018-09-preview
```
### Tag: package-2018-09-preview
These settings apply only when `--tag=package-2018-09-preview` is specified on the command line.

``` yaml $(tag) == 'package-2018-09-preview'
input-file:
- Microsoft.EventGrid/preview/2018-09-15-preview/EventGrid.json
```


Expand Down Expand Up @@ -149,12 +159,22 @@ go:

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-09-preview
- tag: package-2018-05-preview
- tag: package-2018-01
- tag: package-2017-09-preview
- tag: package-2017-06-preview
```

### Tag: package-2018-09-preview and go

These settings apply only when `--tag=package-2018-09-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-09-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid
```

### Tag: package-2018-05-preview and go

These settings apply only when `--tag=package-2018-05-preview --go` is specified on the command line.
Expand Down Expand Up @@ -210,10 +230,24 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventgrid

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2018-09-preview
- tag: package-2018-05-preview
- tag: package-2018-01
```

### Tag: package-2018-09-preview and java

These settings apply only when `--tag=package-2018-09-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2018-09-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.eventgrid.v2018_09_15_preview
output-folder: $(azure-libraries-for-java-folder)/eventgrid/resource-manager/v2018_09_15_preview
regenerate-manager: true
generate-interface: true
```

### Tag: package-2018-05-preview and java

These settings apply only when `--tag=package-2018-05-preview --java` is specified on the command line.
Expand Down
12 changes: 12 additions & 0 deletions specification/eventgrid/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,24 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2018-09-preview
- tag: package-2018-05-preview
- tag: package-2018-01
- tag: package-2017-09-preview
- tag: package-2017-06-preview
```
### Tag: package-2018-09-preview and ruby
These settings apply only when `--tag=package-2018-09-preview --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-09-preview' && $(ruby)
namespace: "Azure::EventGrid::Mgmt::V2018_09_15_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib
```


### Tag: package-2018-05-preview and ruby

These settings apply only when `--tag=package-2018-05-preview --ruby` is specified on the command line.
Expand Down