diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 91358d5952..e9a66e3d12 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -866,9 +866,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Features.json#/subscription_resourceDefinitions/featureProviders_subscriptionFeatureRegistrations" }, diff --git a/schemas/2020-10-15-preview/Microsoft.EventGrid.json b/schemas/2020-10-15-preview/Microsoft.EventGrid.json index 3112304baa..2f07351a81 100644 --- a/schemas/2020-10-15-preview/Microsoft.EventGrid.json +++ b/schemas/2020-10-15-preview/Microsoft.EventGrid.json @@ -1395,7 +1395,6 @@ "type": "string", "enum": [ "SystemAssigned", - "SystemAssigned, UserAssigned", "UserAssigned" ] }, diff --git a/schemas/2021-12-01/Microsoft.EventGrid.json b/schemas/2021-12-01/Microsoft.EventGrid.json deleted file mode 100644 index dddb2f7dc5..0000000000 --- a/schemas/2021-12-01/Microsoft.EventGrid.json +++ /dev/null @@ -1,2538 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.EventGrid", - "description": "Microsoft EventGrid Resource Types", - "resourceDefinitions": { - "domains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/IdentityInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity information for the resource." - }, - "location": { - "type": "string", - "description": "Location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the domain." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Event Grid Domain Resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/domains_topics_childResource" - }, - { - "$ref": "#/definitions/domains_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/domains" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/domains" - }, - "domains_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the private endpoint connection resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/domains/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/domains/privateEndpointConnections" - }, - "domains_topics": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "Name of the domain topic." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/domains/topics" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.EventGrid/domains/topics" - }, - "systemTopics": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/IdentityInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity information for the resource." - }, - "location": { - "type": "string", - "description": "Location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the system topic." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SystemTopicProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the System Topic." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/systemTopics_eventSubscriptions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/systemTopics" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/systemTopics" - }, - "systemTopics_eventSubscriptions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Event Subscription." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/systemTopics/eventSubscriptions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/systemTopics/eventSubscriptions" - }, - "topics": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/IdentityInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity information for the resource." - }, - "location": { - "type": "string", - "description": "Location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the topic." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TopicProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Topic" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/topics_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/topics" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/topics" - }, - "topics_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the private endpoint connection resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/topics/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/topics/privateEndpointConnections" - } - }, - "unknown_resourceDefinitions": { - "eventSubscriptions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Event Subscription." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventGrid/eventSubscriptions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/eventSubscriptions" - } - }, - "definitions": { - "AdvancedFilter": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/NumberInAdvancedFilter" - }, - { - "$ref": "#/definitions/NumberNotInAdvancedFilter" - }, - { - "$ref": "#/definitions/NumberLessThanAdvancedFilter" - }, - { - "$ref": "#/definitions/NumberGreaterThanAdvancedFilter" - }, - { - "$ref": "#/definitions/NumberLessThanOrEqualsAdvancedFilter" - }, - { - "$ref": "#/definitions/NumberGreaterThanOrEqualsAdvancedFilter" - }, - { - "$ref": "#/definitions/BoolEqualsAdvancedFilter" - }, - { - "$ref": "#/definitions/StringInAdvancedFilter" - }, - { - "$ref": "#/definitions/StringNotInAdvancedFilter" - }, - { - "$ref": "#/definitions/StringBeginsWithAdvancedFilter" - }, - { - "$ref": "#/definitions/StringEndsWithAdvancedFilter" - }, - { - "$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": { - "key": { - "type": "string", - "description": "The field/property in the event based on which you want to filter." - } - }, - "description": "This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter." - }, - "AzureFunctionEventSubscriptionDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "AzureFunction" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that represent the Azure Function destination of an event subscription." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the azure function destination for an event subscription." - }, - "AzureFunctionEventSubscriptionDestinationProperties": { - "type": "object", - "properties": { - "deliveryAttributeMappings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DeliveryAttributeMapping" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Delivery attribute details." - }, - "maxEventsPerBatch": { - "oneOf": [ - { - "type": "integer", - "default": "1" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Maximum number of events per batch." - }, - "preferredBatchSizeInKilobytes": { - "oneOf": [ - { - "type": "integer", - "default": "64" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Preferred batch size in Kilobytes." - }, - "resourceId": { - "type": "string", - "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription." - } - }, - "description": "The properties that represent the Azure Function destination of an event subscription." - }, - "BoolEqualsAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "BoolEquals" - ] - }, - "value": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The boolean filter value." - } - }, - "required": [ - "operatorType" - ], - "description": "BoolEquals Advanced Filter." - }, - "ConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Actions required (if any)." - }, - "description": { - "type": "string", - "description": "Description of the connection state." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Status of the connection." - } - }, - "description": "ConnectionState information." - }, - "DeadLetterDestination": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/StorageBlobDeadLetterDestination" - } - ], - "properties": {}, - "description": "Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class." - }, - "DeadLetterWithResourceIdentity": { - "type": "object", - "properties": { - "deadLetterDestination": { - "oneOf": [ - { - "$ref": "#/definitions/DeadLetterDestination" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class." - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity information with the event subscription." - } - }, - "description": "Information about the deadletter destination with resource identity." - }, - "DeliveryAttributeMapping": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/StaticDeliveryAttributeMapping" - }, - { - "$ref": "#/definitions/DynamicDeliveryAttributeMapping" - } - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the delivery attribute or header." - } - }, - "description": "Delivery attribute mapping details." - }, - "DeliveryWithResourceIdentity": { - "type": "object", - "properties": { - "destination": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionDestination" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the destination for an event subscription." - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity information with the event subscription." - } - }, - "description": "Information about the delivery for an event subscription with resource identity." - }, - "DomainProperties": { - "type": "object", - "properties": { - "autoCreateTopicWithFirstSubscription": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\nIn this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.\r\nWhen this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is\r\ncreated at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic\r\nby the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the\r\nflexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the\r\ndomain topic on demand if needed." - }, - "autoDeleteTopicWithLastSubscription": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\nIn this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.\r\nWhen this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope\r\nof the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed\r\n(e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full\r\ncontrol of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer\r\nresources by the user." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain." - }, - "inboundIpRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/InboundIpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled." - }, - "inputSchema": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EventGridSchema", - "CustomEventSchema", - "CloudEventSchemaV1_0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This determines the format that Event Grid should expect for incoming events published to the domain." - }, - "inputSchemaMapping": { - "oneOf": [ - { - "$ref": "#/definitions/InputSchemaMapping" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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'." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This determines if traffic is allowed over public network. By default it is enabled. \r\nYou can further restrict to specific IPs by configuring ." - } - }, - "description": "Properties of the Event Grid Domain Resource." - }, - "domains_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the private endpoint connection resource." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/domains/privateEndpointConnections" - }, - "domains_topics_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "Name of the domain topic." - }, - "type": { - "type": "string", - "enum": [ - "topics" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.EventGrid/domains/topics" - }, - "DynamicDeliveryAttributeMapping": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DynamicDeliveryAttributeMappingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of dynamic delivery attribute mapping." - }, - "type": { - "type": "string", - "enum": [ - "Dynamic" - ] - } - }, - "required": [ - "type" - ], - "description": "Dynamic delivery attribute mapping details." - }, - "DynamicDeliveryAttributeMappingProperties": { - "type": "object", - "properties": { - "sourceField": { - "type": "string", - "description": "JSON path in the event which contains attribute value." - } - }, - "description": "Properties of dynamic delivery attribute mapping." - }, - "EventHubEventSubscriptionDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "EventHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSubscriptionDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties for a event hub destination." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the event hub destination for an event subscription." - }, - "EventHubEventSubscriptionDestinationProperties": { - "type": "object", - "properties": { - "deliveryAttributeMappings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DeliveryAttributeMapping" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Delivery attribute details." - }, - "resourceId": { - "type": "string", - "description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription." - } - }, - "description": "The properties for a event hub destination." - }, - "EventSubscriptionDestination": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/WebHookEventSubscriptionDestination" - }, - { - "$ref": "#/definitions/EventHubEventSubscriptionDestination" - }, - { - "$ref": "#/definitions/StorageQueueEventSubscriptionDestination" - }, - { - "$ref": "#/definitions/HybridConnectionEventSubscriptionDestination" - }, - { - "$ref": "#/definitions/ServiceBusQueueEventSubscriptionDestination" - }, - { - "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestination" - }, - { - "$ref": "#/definitions/AzureFunctionEventSubscriptionDestination" - } - ], - "properties": {}, - "description": "Information about the destination for an event subscription." - }, - "EventSubscriptionFilter": { - "type": "object", - "properties": { - "advancedFilters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdvancedFilter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of advanced filters that are used for filtering event subscriptions." - }, - "enableAdvancedFilteringOnArrays": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allows advanced filters to be evaluated against an array of values instead of expecting a singular value." - }, - "includedEventTypes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null." - }, - "isSubjectCaseSensitive": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter\r\nshould be compared in a case sensitive manner." - }, - "subjectBeginsWith": { - "type": "string", - "description": "An optional string to filter events for an event subscription based on a resource path prefix.\r\nThe format of this depends on the publisher of the events.\r\nWildcard characters are not supported in this path." - }, - "subjectEndsWith": { - "type": "string", - "description": "An optional string to filter events for an event subscription based on a resource path suffix.\r\nWildcard characters are not supported in this path." - } - }, - "description": "Filter for the Event Subscription." - }, - "EventSubscriptionIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity." - }, - "userAssignedIdentity": { - "type": "string", - "description": "The user identity associated with the resource." - } - }, - "description": "The identity information with the event subscription." - }, - "EventSubscriptionProperties": { - "type": "object", - "properties": { - "deadLetterDestination": { - "oneOf": [ - { - "$ref": "#/definitions/DeadLetterDestination" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class." - }, - "deadLetterWithResourceIdentity": { - "oneOf": [ - { - "$ref": "#/definitions/DeadLetterWithResourceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the deadletter destination with resource identity." - }, - "deliveryWithResourceIdentity": { - "oneOf": [ - { - "$ref": "#/definitions/DeliveryWithResourceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the delivery for an event subscription with resource identity." - }, - "destination": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionDestination" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the destination for an event subscription." - }, - "eventDeliverySchema": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EventGridSchema", - "CustomInputSchema", - "CloudEventSchemaV1_0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The event delivery schema for the event subscription." - }, - "expirationTimeUtc": { - "type": "string", - "format": "date-time", - "description": "Expiration time of the event subscription." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Filter for the Event Subscription." - }, - "labels": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of user defined labels." - }, - "retryPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/RetryPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the retry policy for an event subscription." - } - }, - "description": "Properties of the Event Subscription." - }, - "HybridConnectionEventSubscriptionDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "HybridConnection" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridConnectionEventSubscriptionDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties for a hybrid connection destination." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the HybridConnection destination for an event subscription." - }, - "HybridConnectionEventSubscriptionDestinationProperties": { - "type": "object", - "properties": { - "deliveryAttributeMappings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DeliveryAttributeMapping" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Delivery attribute details." - }, - "resourceId": { - "type": "string", - "description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription." - } - }, - "description": "The properties for a hybrid connection destination." - }, - "IdentityInfo": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:\r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.\r\nThis property is currently not used and reserved for future usage." - } - }, - "description": "The identity information for the resource." - }, - "InboundIpRule": { - "type": "object", - "properties": { - "action": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action to perform based on the match or no match of the IpMask." - }, - "ipMask": { - "type": "string", - "description": "IP Address in CIDR notation e.g., 10.0.0.0/8." - } - } - }, - "InputSchemaMapping": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/JsonInputSchemaMapping" - } - ], - "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": { - "sourceField": { - "type": "string", - "description": "Name of a field in the input event schema that's to be used as the source of a mapping." - } - }, - "description": "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema." - }, - "JsonFieldWithDefault": { - "type": "object", - "properties": { - "defaultValue": { - "type": "string", - "description": "The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload." - }, - "sourceField": { - "type": "string", - "description": "Name of a field in the input event schema that's to be used as the source of a mapping." - } - }, - "description": "This is used to express the source of an input schema mapping for a single target field\r\nin the Event Grid Event schema. This is currently used in the mappings for the 'subject',\r\n'eventtype' and 'dataversion' properties. This represents a field in the input event schema\r\nalong with a default value to be used, and at least one of these two properties should be provided." - }, - "JsonInputSchemaMapping": { - "type": "object", - "properties": { - "inputSchemaMappingType": { - "type": "string", - "enum": [ - "Json" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JsonInputSchemaMappingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This can be used to map properties of a source schema (or default values, for certain supported properties) to properties of the EventGridEvent schema." - } - }, - "required": [ - "inputSchemaMappingType" - ], - "description": "This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema." - }, - "JsonInputSchemaMappingProperties": { - "type": "object", - "properties": { - "dataVersion": { - "oneOf": [ - { - "$ref": "#/definitions/JsonFieldWithDefault" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This is used to express the source of an input schema mapping for a single target field\r\nin the Event Grid Event schema. This is currently used in the mappings for the 'subject',\r\n'eventtype' and 'dataversion' properties. This represents a field in the input event schema\r\nalong with a default value to be used, and at least one of these two properties should be provided." - }, - "eventTime": { - "oneOf": [ - { - "$ref": "#/definitions/JsonField" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema." - }, - "eventType": { - "oneOf": [ - { - "$ref": "#/definitions/JsonFieldWithDefault" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This is used to express the source of an input schema mapping for a single target field\r\nin the Event Grid Event schema. This is currently used in the mappings for the 'subject',\r\n'eventtype' and 'dataversion' properties. This represents a field in the input event schema\r\nalong with a default value to be used, and at least one of these two properties should be provided." - }, - "id": { - "oneOf": [ - { - "$ref": "#/definitions/JsonField" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema." - }, - "subject": { - "oneOf": [ - { - "$ref": "#/definitions/JsonFieldWithDefault" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This is used to express the source of an input schema mapping for a single target field\r\nin the Event Grid Event schema. This is currently used in the mappings for the 'subject',\r\n'eventtype' and 'dataversion' properties. This represents a field in the input event schema\r\nalong with a default value to be used, and at least one of these two properties should be provided." - }, - "topic": { - "oneOf": [ - { - "$ref": "#/definitions/JsonField" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema." - } - }, - "description": "This can be used to map properties of a source schema (or default values, for certain supported properties) to properties of the EventGridEvent schema." - }, - "NumberGreaterThanAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "NumberGreaterThan" - ] - }, - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The filter value." - } - }, - "required": [ - "operatorType" - ], - "description": "NumberGreaterThan Advanced Filter." - }, - "NumberGreaterThanOrEqualsAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "NumberGreaterThanOrEquals" - ] - }, - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The filter value." - } - }, - "required": [ - "operatorType" - ], - "description": "NumberGreaterThanOrEquals Advanced Filter." - }, - "NumberInAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "NumberIn" - ] - }, - "values": { - "oneOf": [ - { - "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": "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": { - "operatorType": { - "type": "string", - "enum": [ - "NumberLessThan" - ] - }, - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The filter value." - } - }, - "required": [ - "operatorType" - ], - "description": "NumberLessThan Advanced Filter." - }, - "NumberLessThanOrEqualsAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "NumberLessThanOrEquals" - ] - }, - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The filter value." - } - }, - "required": [ - "operatorType" - ], - "description": "NumberLessThanOrEquals Advanced Filter." - }, - "NumberNotInAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "NumberNotIn" - ] - }, - "values": { - "oneOf": [ - { - "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": "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": { - "id": { - "type": "string", - "description": "The ARM identifier for Private Endpoint." - } - }, - "description": "PrivateEndpoint information." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "GroupIds from the private link service resource." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PrivateEndpoint information." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ConnectionState information." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Canceled", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the Private Endpoint Connection." - } - }, - "description": "Properties of the private endpoint connection resource." - }, - "RetryPolicy": { - "type": "object", - "properties": { - "eventTimeToLiveInMinutes": { - "oneOf": [ - { - "type": "integer", - "default": "1440" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time To Live (in minutes) for events." - }, - "maxDeliveryAttempts": { - "oneOf": [ - { - "type": "integer", - "default": "30" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Maximum number of delivery retry attempts for events." - } - }, - "description": "Information about the retry policy for an event subscription." - }, - "ServiceBusQueueEventSubscriptionDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "ServiceBusQueue" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusQueueEventSubscriptionDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that represent the Service Bus destination of an event subscription." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the service bus destination for an event subscription." - }, - "ServiceBusQueueEventSubscriptionDestinationProperties": { - "type": "object", - "properties": { - "deliveryAttributeMappings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DeliveryAttributeMapping" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Delivery attribute details." - }, - "resourceId": { - "type": "string", - "description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription." - } - }, - "description": "The properties that represent the Service Bus destination of an event subscription." - }, - "ServiceBusTopicEventSubscriptionDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "ServiceBusTopic" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that represent the Service Bus Topic destination of an event subscription." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the service bus topic destination for an event subscription." - }, - "ServiceBusTopicEventSubscriptionDestinationProperties": { - "type": "object", - "properties": { - "deliveryAttributeMappings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DeliveryAttributeMapping" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Delivery attribute details." - }, - "resourceId": { - "type": "string", - "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription." - } - }, - "description": "The properties that represent the Service Bus Topic destination of an event subscription." - }, - "StaticDeliveryAttributeMapping": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StaticDeliveryAttributeMappingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of static delivery attribute mapping." - }, - "type": { - "type": "string", - "enum": [ - "Static" - ] - } - }, - "required": [ - "type" - ], - "description": "Static delivery attribute mapping details." - }, - "StaticDeliveryAttributeMappingProperties": { - "type": "object", - "properties": { - "isSecret": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Boolean flag to tell if the attribute contains sensitive information ." - }, - "value": { - "type": "string", - "description": "Value of the delivery attribute." - } - }, - "description": "Properties of static delivery attribute mapping." - }, - "StorageBlobDeadLetterDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "StorageBlob" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StorageBlobDeadLetterDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the storage blob based dead letter destination." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the storage blob based dead letter destination." - }, - "StorageBlobDeadLetterDestinationProperties": { - "type": "object", - "properties": { - "blobContainerName": { - "type": "string", - "description": "The name of the Storage blob container that is the destination of the deadletter events" - }, - "resourceId": { - "type": "string", - "description": "The Azure Resource ID of the storage account that is the destination of the deadletter events" - } - }, - "description": "Properties of the storage blob based dead letter destination." - }, - "StorageQueueEventSubscriptionDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "StorageQueue" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StorageQueueEventSubscriptionDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties for a storage queue destination." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the storage queue destination for an event subscription." - }, - "StorageQueueEventSubscriptionDestinationProperties": { - "type": "object", - "properties": { - "queueMessageTimeToLiveInSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage queue message time to live in seconds." - }, - "queueName": { - "type": "string", - "description": "The name of the Storage queue under a storage account that is the destination of an event subscription." - }, - "resourceId": { - "type": "string", - "description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription." - } - }, - "description": "The properties for a storage queue destination." - }, - "StringBeginsWithAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "StringBeginsWith" - ] - }, - "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": "StringBeginsWith Advanced Filter." - }, - "StringContainsAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "StringContains" - ] - }, - "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": "StringContains Advanced Filter." - }, - "StringEndsWithAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "StringEndsWith" - ] - }, - "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": "StringEndsWith Advanced Filter." - }, - "StringInAdvancedFilter": { - "type": "object", - "properties": { - "operatorType": { - "type": "string", - "enum": [ - "StringIn" - ] - }, - "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": "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": { - "operatorType": { - "type": "string", - "enum": [ - "StringNotIn" - ] - }, - "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": "StringNotIn Advanced Filter." - }, - "SystemTopicProperties": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "Source for the system topic." - }, - "topicType": { - "type": "string", - "description": "TopicType for the system topic." - } - }, - "description": "Properties of the System Topic." - }, - "systemTopics_eventSubscriptions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventSubscriptionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Event Subscription." - }, - "type": { - "type": "string", - "enum": [ - "eventSubscriptions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/systemTopics/eventSubscriptions" - }, - "TopicProperties": { - "type": "object", - "properties": { - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic." - }, - "inboundIpRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/InboundIpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled." - }, - "inputSchema": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EventGridSchema", - "CustomEventSchema", - "CloudEventSchemaV1_0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This determines the format that Event Grid should expect for incoming events published to the topic." - }, - "inputSchemaMapping": { - "oneOf": [ - { - "$ref": "#/definitions/InputSchemaMapping" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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'." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This determines if traffic is allowed over public network. By default it is enabled. \r\nYou can further restrict to specific IPs by configuring ." - } - }, - "description": "Properties of the Topic" - }, - "topics_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the private endpoint connection resource." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.EventGrid/topics/privateEndpointConnections" - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "The client id of user assigned identity." - }, - "principalId": { - "type": "string", - "description": "The principal id of user assigned identity." - } - }, - "description": "The information about the user identity." - }, - "WebHookEventSubscriptionDestination": { - "type": "object", - "properties": { - "endpointType": { - "type": "string", - "enum": [ - "WebHook" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebHookEventSubscriptionDestinationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the webhook destination properties for an event subscription." - } - }, - "required": [ - "endpointType" - ], - "description": "Information about the webhook destination for an event subscription." - }, - "WebHookEventSubscriptionDestinationProperties": { - "type": "object", - "properties": { - "azureActiveDirectoryApplicationIdOrUri": { - "type": "string", - "description": "The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests." - }, - "azureActiveDirectoryTenantId": { - "type": "string", - "description": "The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests." - }, - "deliveryAttributeMappings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DeliveryAttributeMapping" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Delivery attribute details." - }, - "endpointUrl": { - "type": "string", - "description": "The URL that represents the endpoint of the destination of an event subscription." - }, - "maxEventsPerBatch": { - "oneOf": [ - { - "type": "integer", - "default": "1" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Maximum number of events per batch." - }, - "preferredBatchSizeInKilobytes": { - "oneOf": [ - { - "type": "integer", - "default": "64" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Preferred batch size in Kilobytes." - } - }, - "description": "Information about the webhook destination properties for an event subscription." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 6fb3e10576..153dc19246 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8056,30 +8056,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/domains" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/domains_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/domains_topics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/systemTopics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/systemTopics_eventSubscriptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/topics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/topics_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" - }, { "$ref": "https://schema.management.azure.com/schemas/2014-09-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces" },