Skip to content

Commit

Permalink
ARM ID annotations for EventGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
matthchr committed Jul 22, 2022
1 parent f4e7a1c commit 8997a6b
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3415,7 +3415,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of the storage account that is the destination of the deadletter events",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
},
"blobContainerName": {
"description": "The name of the Storage blob container that is the destination of the deadletter events",
Expand Down Expand Up @@ -3739,7 +3747,8 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id"
}
}
},
Expand All @@ -3766,7 +3775,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts/queues"
}
]
}
},
"queueName": {
"description": "The name of the Storage queue under a storage account that is the destination of an event subscription.",
Expand Down Expand Up @@ -3797,7 +3814,8 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id"
}
}
},
Expand All @@ -3824,7 +3842,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ServiceBus/namespaces/queues"
}
]
}
}
}
},
Expand All @@ -3851,7 +3877,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ServiceBus/namespaces/topics"
}
]
}
}
}
},
Expand All @@ -3878,7 +3912,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Web/sites/functions"
}
]
}
},
"maxEventsPerBatch": {
"format": "int32",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4492,7 +4492,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of the storage account that is the destination of the deadletter events",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
},
"blobContainerName": {
"description": "The name of the Storage blob container that is the destination of the deadletter events",
Expand Down Expand Up @@ -4998,7 +5006,8 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id"
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -5032,7 +5041,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
},
"queueName": {
"description": "The name of the Storage queue under a storage account that is the destination of an event subscription.",
Expand Down Expand Up @@ -5068,7 +5085,8 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id"
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -5102,7 +5120,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ServiceBus/namespaces/queues"
}
]
}
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -5136,7 +5162,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ServiceBus/namespaces/topics"
}
]
}
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -5170,7 +5204,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Web/sites/functions"
}
]
}
},
"maxEventsPerBatch": {
"format": "int32",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8723,7 +8723,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of the storage account that is the destination of the deadletter events",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
},
"blobContainerName": {
"description": "The name of the Storage blob container that is the destination of the deadletter events",
Expand Down Expand Up @@ -9229,7 +9237,8 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id"
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -9263,7 +9272,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
},
"queueName": {
"description": "The name of the Storage queue under a storage account that is the destination of an event subscription.",
Expand Down Expand Up @@ -9299,7 +9316,8 @@
"properties": {
"resourceId": {
"description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id"
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -9333,7 +9351,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ServiceBus/namespaces/queues"
}
]
}
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -9367,7 +9393,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.ServiceBus/namespaces/topics"
}
]
}
},
"deliveryAttributeMappings": {
"description": "Delivery attribute details.",
Expand Down Expand Up @@ -9401,7 +9435,15 @@
"properties": {
"resourceId": {
"description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Web/sites/functions"
}
]
}
},
"maxEventsPerBatch": {
"format": "int32",
Expand Down

0 comments on commit 8997a6b

Please sign in to comment.