diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json index 9278b810fb27..1a09912dbe2d 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json @@ -2259,8 +2259,8 @@ "tags": [ "TopicTypes" ], - "summary": "List event types", - "description": "List event types for a topic type", + "summary": "List event types.", + "description": "List event types for a topic type.", "operationId": "TopicTypes_ListEventTypes", "consumes": [], "produces": [ @@ -2270,7 +2270,7 @@ { "name": "topicTypeName", "in": "path", - "description": "Name of the topic type", + "description": "Name of the topic type.", "required": true, "type": "string" }, @@ -2347,7 +2347,8 @@ }, "metricResourceId": { "description": "Metric resource id for the domain.", - "type": "string" + "type": "string", + "readOnly": true }, "allowTrafficFromAllIPs": { "description": "This determines if IP filtering rules ought to be evaluated or not. By default it will not evaluate and will allow traffic from all IPs.", @@ -2551,6 +2552,17 @@ "additionalProperties": { "type": "string" } + }, + "allowTrafficFromAllIPs": { + "description": "This determines if IP filtering rules ought to be evaluated or not. By default it will not evaluate and will allow traffic from all IPs.", + "type": "boolean" + }, + "inboundIpRules": { + "description": "This determines the IP filtering rules that ought be applied when events are received on this domain.", + "type": "array", + "items": { + "$ref": "#/definitions/InboundIpRule" + } } } }, @@ -3526,7 +3538,8 @@ }, "metricResourceId": { "description": "Metric resource id for the topic.", - "type": "string" + "type": "string", + "readOnly": true }, "allowTrafficFromAllIPs": { "description": "This determines if IP filtering rules ought to be evaluated or not. By default it will not evaluate and will allow traffic from all IPs.", @@ -3567,6 +3580,17 @@ "additionalProperties": { "type": "string" } + }, + "allowTrafficFromAllIPs": { + "description": "This determines if IP filtering rules ought to be evaluated or not. By default it will not evaluate and will allow traffic from all IPs.", + "type": "boolean" + }, + "inboundIpRules": { + "description": "This determines the IP filtering rules that ought be applied when events are received on this domain.", + "type": "array", + "items": { + "$ref": "#/definitions/InboundIpRule" + } } } }, diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json index 2b946735f493..a2fc880d489d 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Update.json @@ -8,7 +8,18 @@ "tags": { "tag1": "value1", "tag2": "value2" - } + }, + "allowTrafficFromAllIPs": false, + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ] } }, "responses": { @@ -16,7 +27,18 @@ "body": { "properties": { "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "allowTrafficFromAllIPs": false, + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ] }, "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", "location": "westus2", diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json index 9157576d137f..58aae7d61bb8 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Topics_Update.json @@ -8,7 +8,18 @@ "tags": { "tag1": "value1", "tag2": "value2" - } + }, + "allowTrafficFromAllIPs": false, + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ] } }, "responses": { @@ -16,7 +27,18 @@ "body": { "properties": { "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "allowTrafficFromAllIPs": false, + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ] }, "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", "location": "westus2",