Skip to content

Commit 642338e

Browse files
author
msftbot[bot]
authored
[ReleasePR eventgrid] Adding missing identity properties and ExtensionTopics operation (#1968)
Create to sync Azure/azure-rest-api-specs#16469 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/eventgrid?expand=1)
2 parents 62713f4 + 1970443 commit 642338e

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

schemas/2021-12-01/Microsoft.EventGrid.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,17 @@
281281
"2021-12-01"
282282
]
283283
},
284+
"identity": {
285+
"oneOf": [
286+
{
287+
"$ref": "#/definitions/IdentityInfo"
288+
},
289+
{
290+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
291+
}
292+
],
293+
"description": "The identity information for the resource."
294+
},
284295
"location": {
285296
"type": "string",
286297
"description": "Location of the resource."
@@ -612,6 +623,34 @@
612623
"properties": {},
613624
"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."
614625
},
626+
"DeadLetterWithResourceIdentity": {
627+
"type": "object",
628+
"properties": {
629+
"deadLetterDestination": {
630+
"oneOf": [
631+
{
632+
"$ref": "#/definitions/DeadLetterDestination"
633+
},
634+
{
635+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
636+
}
637+
],
638+
"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."
639+
},
640+
"identity": {
641+
"oneOf": [
642+
{
643+
"$ref": "#/definitions/EventSubscriptionIdentity"
644+
},
645+
{
646+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
647+
}
648+
],
649+
"description": "The identity information with the event subscription."
650+
}
651+
},
652+
"description": "Information about the deadletter destination with resource identity."
653+
},
615654
"DeliveryAttributeMapping": {
616655
"type": "object",
617656
"oneOf": [
@@ -630,6 +669,34 @@
630669
},
631670
"description": "Delivery attribute mapping details."
632671
},
672+
"DeliveryWithResourceIdentity": {
673+
"type": "object",
674+
"properties": {
675+
"destination": {
676+
"oneOf": [
677+
{
678+
"$ref": "#/definitions/EventSubscriptionDestination"
679+
},
680+
{
681+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
682+
}
683+
],
684+
"description": "Information about the destination for an event subscription."
685+
},
686+
"identity": {
687+
"oneOf": [
688+
{
689+
"$ref": "#/definitions/EventSubscriptionIdentity"
690+
},
691+
{
692+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
693+
}
694+
],
695+
"description": "The identity information with the event subscription."
696+
}
697+
},
698+
"description": "Information about the delivery for an event subscription with resource identity."
699+
},
633700
"DomainProperties": {
634701
"type": "object",
635702
"properties": {
@@ -973,6 +1040,31 @@
9731040
},
9741041
"description": "Filter for the Event Subscription."
9751042
},
1043+
"EventSubscriptionIdentity": {
1044+
"type": "object",
1045+
"properties": {
1046+
"type": {
1047+
"oneOf": [
1048+
{
1049+
"type": "string",
1050+
"enum": [
1051+
"SystemAssigned",
1052+
"UserAssigned"
1053+
]
1054+
},
1055+
{
1056+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1057+
}
1058+
],
1059+
"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."
1060+
},
1061+
"userAssignedIdentity": {
1062+
"type": "string",
1063+
"description": "The user identity associated with the resource."
1064+
}
1065+
},
1066+
"description": "The identity information with the event subscription."
1067+
},
9761068
"EventSubscriptionProperties": {
9771069
"type": "object",
9781070
"properties": {
@@ -987,6 +1079,28 @@
9871079
],
9881080
"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."
9891081
},
1082+
"deadLetterWithResourceIdentity": {
1083+
"oneOf": [
1084+
{
1085+
"$ref": "#/definitions/DeadLetterWithResourceIdentity"
1086+
},
1087+
{
1088+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1089+
}
1090+
],
1091+
"description": "Information about the deadletter destination with resource identity."
1092+
},
1093+
"deliveryWithResourceIdentity": {
1094+
"oneOf": [
1095+
{
1096+
"$ref": "#/definitions/DeliveryWithResourceIdentity"
1097+
},
1098+
{
1099+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1100+
}
1101+
],
1102+
"description": "Information about the delivery for an event subscription with resource identity."
1103+
},
9901104
"destination": {
9911105
"oneOf": [
9921106
{

0 commit comments

Comments
 (0)