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

[AutoPR eventgrid] [Updating Swagger with missing properties]Adding missing advanced filters #5235

Closed
wants to merge 1 commit into from
Closed
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
202 changes: 202 additions & 0 deletions schemas/2021-12-01/Microsoft.EventGrid.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,27 @@
},
{
"$ref": "#/definitions/StringContainsAdvancedFilter"
},
{
"$ref": "#/definitions/NumberInRangeAdvancedFilter"
},
{
"$ref": "#/definitions/NumberNotInRangeAdvancedFilter"
},
{
"$ref": "#/definitions/StringNotBeginsWithAdvancedFilter"
},
{
"$ref": "#/definitions/StringNotEndsWithAdvancedFilter"
},
{
"$ref": "#/definitions/StringNotContainsAdvancedFilter"
},
{
"$ref": "#/definitions/IsNullOrUndefinedAdvancedFilter"
},
{
"$ref": "#/definitions/IsNotNullAdvancedFilter"
}
],
"properties": {
Expand Down Expand Up @@ -1301,6 +1322,36 @@
"properties": {},
"description": "By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'."
},
"IsNotNullAdvancedFilter": {
"type": "object",
"properties": {
"operatorType": {
"type": "string",
"enum": [
"IsNotNull"
]
}
},
"required": [
"operatorType"
],
"description": "IsNotNull Advanced Filter."
},
"IsNullOrUndefinedAdvancedFilter": {
"type": "object",
"properties": {
"operatorType": {
"type": "string",
"enum": [
"IsNullOrUndefined"
]
}
},
"required": [
"operatorType"
],
"description": "IsNullOrUndefined Advanced Filter."
},
"JsonField": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1504,6 +1555,38 @@
],
"description": "NumberIn Advanced Filter."
},
"NumberInRangeAdvancedFilter": {
"type": "object",
"properties": {
"operatorType": {
"type": "string",
"enum": [
"NumberInRange"
]
},
"values": {
"oneOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The set of filter values."
}
},
"required": [
"operatorType"
],
"description": "NumberInRange Advanced Filter."
},
"NumberLessThanAdvancedFilter": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1585,6 +1668,38 @@
],
"description": "NumberNotIn Advanced Filter."
},
"NumberNotInRangeAdvancedFilter": {
"type": "object",
"properties": {
"operatorType": {
"type": "string",
"enum": [
"NumberNotInRange"
]
},
"values": {
"oneOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The set of filter values."
}
},
"required": [
"operatorType"
],
"description": "NumberNotInRange Advanced Filter."
},
"PrivateEndpoint": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -2041,6 +2156,93 @@
],
"description": "StringIn Advanced Filter."
},
"StringNotBeginsWithAdvancedFilter": {
"type": "object",
"properties": {
"operatorType": {
"type": "string",
"enum": [
"StringNotBeginsWith"
]
},
"values": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The set of filter values."
}
},
"required": [
"operatorType"
],
"description": "StringNotBeginsWith Advanced Filter."
},
"StringNotContainsAdvancedFilter": {
"type": "object",
"properties": {
"operatorType": {
"type": "string",
"enum": [
"StringNotContains"
]
},
"values": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The set of filter values."
}
},
"required": [
"operatorType"
],
"description": "StringNotContains Advanced Filter."
},
"StringNotEndsWithAdvancedFilter": {
"type": "object",
"properties": {
"operatorType": {
"type": "string",
"enum": [
"StringNotEndsWith"
]
},
"values": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The set of filter values."
}
},
"required": [
"operatorType"
],
"description": "StringNotEndsWith Advanced Filter."
},
"StringNotInAdvancedFilter": {
"type": "object",
"properties": {
Expand Down