diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index f642639f30..6046930745 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -884,6 +884,9 @@ { "$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-10-15-preview/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" }, diff --git a/schemas/2021-10-15-preview/Microsoft.EventGrid.json b/schemas/2021-10-15-preview/Microsoft.EventGrid.json new file mode 100644 index 0000000000..1cc9b9eadb --- /dev/null +++ b/schemas/2021-10-15-preview/Microsoft.EventGrid.json @@ -0,0 +1,4389 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-10-15-preview/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-10-15-preview" + ] + }, + "dataResidencyBoundary": { + "oneOf": [ + { + "type": "string", + "enum": [ + "WithinGeopair", + "WithinRegion" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data Residency Boundary of the resource." + }, + "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_eventSubscriptions_childResource" + }, + { + "$ref": "#/definitions/domains_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an EventGrid Resource Sku." + }, + "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_eventSubscriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/domains/eventSubscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/domains/eventSubscriptions" + }, + "domains_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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-10-15-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the domain topic." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/domains_topics_eventSubscriptions_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventGrid/domains/topics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.EventGrid/domains/topics" + }, + "domains_topics_eventSubscriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/domains/topics/eventSubscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/domains/topics/eventSubscriptions" + }, + "partnerConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Location of the resource." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the partner configuration." + }, + "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/partnerConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerConfigurations" + }, + "partnerDestinations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the partner destination." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerDestinationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Partner Destination." + }, + "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/partnerDestinations" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerDestinations" + }, + "partnerNamespaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the partner namespace." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerNamespaceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the partner namespace." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/partnerNamespaces_channels_childResource" + }, + { + "$ref": "#/definitions/partnerNamespaces_eventChannels_childResource" + }, + { + "$ref": "#/definitions/partnerNamespaces_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/partnerNamespaces" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerNamespaces" + }, + "partnerNamespaces_channels": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the channel." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Channel." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventGrid/partnerNamespaces/channels" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerNamespaces/channels" + }, + "partnerNamespaces_eventChannels": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the event channel." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Event Channel." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventGrid/partnerNamespaces/eventChannels" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerNamespaces/eventChannels" + }, + "partnerNamespaces_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/partnerNamespaces/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnections" + }, + "partnerRegistrations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the partner registration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerRegistrationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the partner registration." + }, + "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/partnerRegistrations" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerRegistrations" + }, + "partnerTopics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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 partner topic." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerTopicProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Partner Topic." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/partnerTopics_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/partnerTopics" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerTopics" + }, + "partnerTopics_eventSubscriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/partnerTopics/eventSubscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerTopics/eventSubscriptions" + }, + "systemTopics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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-10-15-preview" + ] + }, + "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-10-15-preview" + ] + }, + "dataResidencyBoundary": { + "oneOf": [ + { + "type": "string", + "enum": [ + "WithinGeopair", + "WithinRegion" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data Residency Boundary of the resource." + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of an Extended Location" + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity information for the resource." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Azure", + "AzureArc" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kind of 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_eventSubscriptions_childResource" + }, + { + "$ref": "#/definitions/topics_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an EventGrid Resource Sku." + }, + "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_eventSubscriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/topics/eventSubscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/topics/eventSubscriptions" + }, + "topics_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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-10-15-preview" + ] + }, + "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." + }, + "AzureADPartnerClientAuthentication": { + "type": "object", + "properties": { + "clientAuthenticationType": { + "type": "string", + "enum": [ + "AzureAD" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureADPartnerClientAuthenticationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "clientAuthenticationType" + ] + }, + "AzureADPartnerClientAuthenticationProperties": { + "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." + } + } + }, + "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." + }, + "ChannelProperties": { + "type": "object", + "properties": { + "channelType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PartnerTopic", + "PartnerDestination" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the event channel which represents the direction flow of events." + }, + "expirationTimeIfNotActivatedUtc": { + "type": "string", + "format": "date-time", + "description": "Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated,\r\nthe channel and corresponding partner topic are deleted." + }, + "messageForActivation": { + "type": "string", + "description": "Context or helpful message that can be used during the approval process by the subscriber." + }, + "partnerDestinationInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerDestinationInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the corresponding partner destination of a Channel." + }, + "partnerTopicInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerTopicInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the corresponding partner topic of a Channel." + }, + "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 channel." + }, + "readinessState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NeverActivated", + "Activated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The readiness state of the corresponding partner topic." + } + }, + "description": "Properties of the Channel." + }, + "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 Event Grid Domain Resource." + }, + "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_eventSubscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/domains/eventSubscriptions" + }, + "domains_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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-10-15-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the domain topic." + }, + "type": { + "type": "string", + "enum": [ + "topics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.EventGrid/domains/topics" + }, + "domains_topics_eventSubscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/domains/topics/eventSubscriptions" + }, + "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." + }, + "EventChannelDestination": { + "type": "object", + "properties": { + "azureSubscriptionId": { + "type": "string", + "description": "Azure subscription ID of the customer creating the event channel. The partner topic\r\nassociated with the event channel will be created under this Azure subscription." + }, + "partnerTopicName": { + "type": "string", + "description": "Name of the partner topic associated with the event channel." + }, + "resourceGroup": { + "type": "string", + "description": "Azure Resource Group of the customer creating the event channel. The partner topic\r\nassociated with the event channel will be created under this resource group." + } + }, + "description": "Properties of the destination of an event channel." + }, + "EventChannelFilter": { + "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 channels." + }, + "enableAdvancedFilteringOnArrays": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$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. The default value is either false or null." + } + }, + "description": "Filter for the Event Channel." + }, + "EventChannelProperties": { + "type": "object", + "properties": { + "destination": { + "oneOf": [ + { + "$ref": "#/definitions/EventChannelDestination" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the destination of an event channel." + }, + "expirationTimeIfNotActivatedUtc": { + "type": "string", + "format": "date-time", + "description": "Expiration time of the event channel. If this timer expires while the corresponding partner topic is never activated,\r\nthe event channel and corresponding partner topic are deleted." + }, + "filter": { + "oneOf": [ + { + "$ref": "#/definitions/EventChannelFilter" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Filter for the Event Channel." + }, + "partnerTopicFriendlyDescription": { + "type": "string", + "description": "Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.\r\nThis will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/EventChannelSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the source of an event channel." + } + }, + "description": "Properties of the Event Channel." + }, + "EventChannelSource": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The identifier of the resource that's the source of the events.\r\nThis represents a unique resource in the partner's resource model." + } + }, + "description": "Properties of the source of an event channel." + }, + "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" + }, + { + "$ref": "#/definitions/PartnerEventSubscriptionDestination" + } + ], + "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." + }, + "EventTypeInfo": { + "type": "object", + "properties": { + "inlineEventTypes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/InlineEventProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event.\r\nAn example of a valid inline event name is \"Contoso.OrderCreated\".\r\nThe inline event type values are of type InlineEventProperties and will contain additional information for every inline event type." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inline" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kind of event type used." + } + }, + "description": "The event type information for Channels." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Fully qualified name of the extended location." + }, + "type": { + "type": "string", + "description": "Type of the extended location." + } + }, + "description": "Definition of an Extended Location" + }, + "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." + } + } + }, + "InlineEventProperties": { + "type": "object", + "properties": { + "dataSchemaUrl": { + "type": "string", + "description": "The dataSchemaUrl for the inline event." + }, + "description": { + "type": "string", + "description": "The description for the inline event." + }, + "documentationUrl": { + "type": "string", + "description": "The documentationUrl for the inline event." + } + }, + "description": "Additional information about every inline event." + }, + "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." + }, + "Partner": { + "type": "object", + "properties": { + "authorizationExpirationTimeInUtc": { + "type": "string", + "format": "date-time", + "description": "Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's\r\ncontext will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration.\r\nIf not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified." + }, + "partnerName": { + "type": "string", + "description": "The partner name." + }, + "partnerRegistrationImmutableId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The immutableId of the corresponding partner registration." + } + }, + "description": "Information about the partner." + }, + "PartnerAuthorization": { + "type": "object", + "properties": { + "authorizedPartnersList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Partner" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of authorized partners." + }, + "defaultMaximumExpirationTimeInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time used to validate the authorization expiration time for each authorized partner. If DefaultMaximumExpirationTimeInDays is\r\nnot specified, the default is 7 days. Otherwise, allowed values are between 1 and 365 days." + } + }, + "description": "The partner authorization details." + }, + "PartnerClientAuthentication": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureADPartnerClientAuthentication" + } + ], + "properties": {} + }, + "PartnerConfigurationProperties": { + "type": "object", + "properties": { + "partnerAuthorization": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerAuthorization" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The partner authorization details." + }, + "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 partner configuration." + } + }, + "description": "Properties of the partner configuration." + }, + "PartnerDestinationInfo": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/WebhookPartnerDestinationInfo" + } + ], + "properties": { + "azureSubscriptionId": { + "type": "string", + "description": "Azure subscription ID of the subscriber. The partner destination associated with the channel will be\r\ncreated under this Azure subscription." + }, + "endpointServiceContext": { + "type": "string", + "description": "Additional context of the partner destination endpoint." + }, + "name": { + "type": "string", + "description": "Name of the partner destination associated with the channel." + }, + "resourceGroupName": { + "type": "string", + "description": "Azure Resource Group of the subscriber. The partner destination associated with the channel will be\r\ncreated under this resource group." + }, + "resourceMoveChangeHistory": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMoveChangeHistory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties of the corresponding partner destination of a Channel." + }, + "PartnerDestinationProperties": { + "type": "object", + "properties": { + "activationState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NeverActivated", + "Activated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Activation state of the partner destination." + }, + "endpointBaseUrl": { + "type": "string", + "description": "Endpoint Base URL of the partner destination" + }, + "endpointServiceContext": { + "type": "string", + "description": "Endpoint context associated with this partner destination." + }, + "expirationTimeIfNotActivatedUtc": { + "type": "string", + "format": "date-time", + "description": "Expiration time of the partner destination. If this timer expires and the partner destination was never activated,\r\nthe partner destination and corresponding channel are deleted." + }, + "messageForActivation": { + "type": "string", + "description": "Context or helpful message that can be used during the approval process." + }, + "partnerRegistrationImmutableId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The immutable Id of the corresponding partner registration." + }, + "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 partner destination." + } + }, + "description": "Properties of the Partner Destination." + }, + "PartnerEventSubscriptionDestination": { + "type": "object", + "properties": { + "endpointType": { + "type": "string", + "enum": [ + "PartnerDestination" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerEventSubscriptionDestinationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "endpointType" + ] + }, + "PartnerEventSubscriptionDestinationProperties": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "The Azure Resource Id that represents the endpoint of a Partner Destination of an event subscription." + } + } + }, + "PartnerNamespaceProperties": { + "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 partner namespace." + }, + "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." + }, + "partnerRegistrationFullyQualifiedId": { + "type": "string", + "description": "The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format:\r\n/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}." + }, + "partnerTopicRoutingMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SourceEventAttribute", + "ChannelNameHeader" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This determines if events published to this partner namespace should use the source attribute in the event payload\r\nor use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic." + }, + "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 partner namespace." + }, + "partnerNamespaces_channels_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the channel." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Channel." + }, + "type": { + "type": "string", + "enum": [ + "channels" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerNamespaces/channels" + }, + "partnerNamespaces_eventChannels_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the event channel." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Event Channel." + }, + "type": { + "type": "string", + "enum": [ + "eventChannels" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventGrid/partnerNamespaces/eventChannels" + }, + "partnerNamespaces_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/partnerNamespaces/privateEndpointConnections" + }, + "PartnerRegistrationProperties": { + "type": "object", + "properties": { + "authorizedAzureSubscriptionIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Azure subscription Ids that are authorized to create a partner namespace\r\nassociated with this partner registration. This is an optional property. Creating\r\npartner namespaces is always permitted under the same Azure subscription as the one used\r\nfor creating the partner registration." + }, + "customerServiceUri": { + "type": "string", + "description": "The extension of the customer service URI of the publisher." + }, + "logoUri": { + "type": "string", + "description": "URI of the logo." + }, + "longDescription": { + "type": "string", + "description": "Long description for the custom scenarios and integration to be displayed in the portal if needed.\r\nLength of this description should not exceed 2048 characters." + }, + "partnerCustomerServiceExtension": { + "type": "string", + "description": "The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10." + }, + "partnerCustomerServiceNumber": { + "type": "string", + "description": "The customer service number of the publisher. The expected phone format should start with a '+' sign \r\nfollowed by the country code. The remaining digits are then followed. Only digits and spaces are allowed and its\r\nlength cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1 515 123 4567 and\r\n+966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43" + }, + "partnerName": { + "type": "string", + "description": "Official name of the partner name. For example: \"Contoso\"." + }, + "partnerRegistrationImmutableId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The immutableId of the corresponding partner registration." + }, + "partnerResourceTypeDescription": { + "type": "string", + "description": "Short description of the partner resource type. The length of this description should not exceed 256 characters." + }, + "partnerResourceTypeDisplayName": { + "type": "string", + "description": "Display name of the partner resource type." + }, + "partnerResourceTypeName": { + "type": "string", + "description": "Name of the partner resource type." + }, + "setupUri": { + "type": "string", + "description": "URI of the partner website that can be used by Azure customers to setup Event Grid\r\nintegration on an event source." + }, + "visibilityState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hidden", + "PublicPreview", + "GenerallyAvailable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Visibility state of the partner registration." + } + }, + "description": "Properties of the partner registration." + }, + "PartnerTopicInfo": { + "type": "object", + "properties": { + "azureSubscriptionId": { + "type": "string", + "description": "Azure subscription ID of the subscriber. The partner topic associated with the channel will be\r\ncreated under this Azure subscription." + }, + "eventTypeInfo": { + "oneOf": [ + { + "$ref": "#/definitions/EventTypeInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The event type information for Channels." + }, + "name": { + "type": "string", + "description": "Name of the partner topic associated with the channel." + }, + "resourceGroupName": { + "type": "string", + "description": "Azure Resource Group of the subscriber. The partner topic associated with the channel will be\r\ncreated under this resource group." + }, + "source": { + "type": "string", + "description": "The source information is provided by the publisher to determine the scope or context from which the events\r\nare originating. This information can be used by the subscriber during the approval process of the\r\ncreated partner topic." + } + }, + "description": "Properties of the corresponding partner topic of a Channel." + }, + "PartnerTopicProperties": { + "type": "object", + "properties": { + "activationState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NeverActivated", + "Activated", + "Deactivated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Activation state of the partner topic." + }, + "eventTypeInfo": { + "oneOf": [ + { + "$ref": "#/definitions/EventTypeInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The event type information for Channels." + }, + "expirationTimeIfNotActivatedUtc": { + "type": "string", + "format": "date-time", + "description": "Expiration time of the partner topic. If this timer expires while the partner topic is still never activated,\r\nthe partner topic and corresponding event channel are deleted." + }, + "messageForActivation": { + "type": "string", + "description": "Context or helpful message that can be used during the approval process by the subscriber." + }, + "partnerRegistrationImmutableId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The immutableId of the corresponding partner registration." + }, + "partnerTopicFriendlyDescription": { + "type": "string", + "description": "Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.\r\nThis will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer." + }, + "source": { + "type": "string", + "description": "Source associated with this partner topic. This represents a unique partner resource." + } + }, + "description": "Properties of the Partner Topic." + }, + "partnerTopics_eventSubscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/partnerTopics/eventSubscriptions" + }, + "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." + }, + "ResourceMoveChangeHistory": { + "type": "object", + "properties": { + "azureSubscriptionId": { + "type": "string" + }, + "changedTimeUtc": { + "type": "string", + "format": "date-time" + }, + "resourceGroupName": { + "type": "string" + } + } + }, + "ResourceSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Sku name of the resource. The possible values are: Basic or Premium." + } + }, + "description": "Describes an EventGrid Resource Sku." + }, + "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-10-15-preview" + ] + }, + "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_eventSubscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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/topics/eventSubscriptions" + }, + "topics_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-15-preview" + ] + }, + "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." + }, + "WebhookPartnerDestinationInfo": { + "type": "object", + "properties": { + "endpointType": { + "type": "string", + "enum": [ + "WebHook" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WebhookPartnerDestinationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "endpointType" + ] + }, + "WebhookPartnerDestinationProperties": { + "type": "object", + "properties": { + "clientAuthentication": { + "oneOf": [ + { + "$ref": "#/definitions/PartnerClientAuthentication" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "endpointBaseUrl": { + "type": "string", + "description": "The base URL that represents the endpoint of the partner destination." + }, + "endpointUrl": { + "type": "string", + "description": "The URL that represents the endpoint of the partner destination." + } + } + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 30b8242c98..e571bae6b9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8596,6 +8596,66 @@ { "$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-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/domains_eventSubscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/domains_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/domains_topics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/domains_topics_eventSubscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerDestinations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerNamespaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerNamespaces_channels" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerNamespaces_eventChannels" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerNamespaces_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerRegistrations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerTopics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/partnerTopics_eventSubscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/systemTopics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/systemTopics_eventSubscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/topics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/topics_eventSubscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/resourceDefinitions/topics_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.EventGrid.json#/resourceDefinitions/domains" },