|
3448 | 3448 | }
|
3449 | 3449 | }
|
3450 | 3450 | },
|
| 3451 | + "/{scope}/providers/Microsoft.EventGrid/extensionTopics/default": { |
| 3452 | + "get": { |
| 3453 | + "tags": [ |
| 3454 | + "Topics" |
| 3455 | + ], |
| 3456 | + "summary": "Get properties of an extension topic.", |
| 3457 | + "description": "Get the properties of an extension topic.", |
| 3458 | + "operationId": "ExtensionTopics_Get", |
| 3459 | + "consumes": [], |
| 3460 | + "produces": [ |
| 3461 | + "application/json" |
| 3462 | + ], |
| 3463 | + "parameters": [ |
| 3464 | + { |
| 3465 | + "name": "scope", |
| 3466 | + "in": "path", |
| 3467 | + "description": "The identifier of the resource to which extension topic is queried. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for Azure resource.", |
| 3468 | + "required": true, |
| 3469 | + "type": "string" |
| 3470 | + }, |
| 3471 | + { |
| 3472 | + "$ref": "#/parameters/ApiVersionParameter" |
| 3473 | + } |
| 3474 | + ], |
| 3475 | + "responses": { |
| 3476 | + "200": { |
| 3477 | + "description": "OK", |
| 3478 | + "schema": { |
| 3479 | + "$ref": "#/definitions/ExtensionTopic" |
| 3480 | + } |
| 3481 | + }, |
| 3482 | + "default": { |
| 3483 | + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." |
| 3484 | + } |
| 3485 | + }, |
| 3486 | + "x-ms-examples": { |
| 3487 | + "ExtensionTopics_Get": { |
| 3488 | + "$ref": "./examples/ExtensionTopics_Get.json" |
| 3489 | + } |
| 3490 | + } |
| 3491 | + } |
| 3492 | + }, |
3451 | 3493 | "/providers/Microsoft.EventGrid/topicTypes": {
|
3452 | 3494 | "get": {
|
3453 | 3495 | "tags": [
|
|
4196 | 4238 | "$ref": "#/definitions/EventSubscriptionDestination",
|
4197 | 4239 | "description": "Information about the destination where events have to be delivered for the event subscription."
|
4198 | 4240 | },
|
| 4241 | + "deliveryWithResourceIdentity": { |
| 4242 | + "$ref": "#/definitions/DeliveryWithResourceIdentity", |
| 4243 | + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." |
| 4244 | + }, |
4199 | 4245 | "filter": {
|
4200 | 4246 | "$ref": "#/definitions/EventSubscriptionFilter",
|
4201 | 4247 | "description": "Information about the filter for the event subscription."
|
|
4233 | 4279 | "deadLetterDestination": {
|
4234 | 4280 | "$ref": "#/definitions/DeadLetterDestination",
|
4235 | 4281 | "description": "The DeadLetter destination of the event subscription."
|
| 4282 | + }, |
| 4283 | + "deadLetterWithResourceIdentity": { |
| 4284 | + "$ref": "#/definitions/DeadLetterWithResourceIdentity", |
| 4285 | + "description": "The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." |
4236 | 4286 | }
|
4237 | 4287 | }
|
4238 | 4288 | },
|
|
4705 | 4755 | },
|
4706 | 4756 | "discriminator": "operatorType"
|
4707 | 4757 | },
|
| 4758 | + "DeliveryWithResourceIdentity": { |
| 4759 | + "description": "Information about the delivery for an event subscription with resource identity.", |
| 4760 | + "type": "object", |
| 4761 | + "properties": { |
| 4762 | + "identity": { |
| 4763 | + "$ref": "#/definitions/EventSubscriptionIdentity", |
| 4764 | + "description": "The identity to use when delivering events." |
| 4765 | + }, |
| 4766 | + "destination": { |
| 4767 | + "$ref": "#/definitions/EventSubscriptionDestination", |
| 4768 | + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering." |
| 4769 | + } |
| 4770 | + } |
| 4771 | + }, |
| 4772 | + "DeadLetterWithResourceIdentity": { |
| 4773 | + "description": "Information about the deadletter destination with resource identity.", |
| 4774 | + "type": "object", |
| 4775 | + "properties": { |
| 4776 | + "identity": { |
| 4777 | + "$ref": "#/definitions/EventSubscriptionIdentity", |
| 4778 | + "description": "The identity to use when dead-lettering events." |
| 4779 | + }, |
| 4780 | + "deadLetterDestination": { |
| 4781 | + "$ref": "#/definitions/DeadLetterDestination", |
| 4782 | + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." |
| 4783 | + } |
| 4784 | + } |
| 4785 | + }, |
| 4786 | + "EventSubscriptionIdentity": { |
| 4787 | + "description": "The identity information with the event subscription.", |
| 4788 | + "type": "object", |
| 4789 | + "properties": { |
| 4790 | + "type": { |
| 4791 | + "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.", |
| 4792 | + "enum": [ |
| 4793 | + "SystemAssigned", |
| 4794 | + "UserAssigned" |
| 4795 | + ], |
| 4796 | + "type": "string", |
| 4797 | + "x-ms-enum": { |
| 4798 | + "name": "EventSubscriptionIdentityType", |
| 4799 | + "modelAsString": true |
| 4800 | + } |
| 4801 | + }, |
| 4802 | + "userAssignedIdentity": { |
| 4803 | + "description": "The user identity associated with the resource.", |
| 4804 | + "type": "string" |
| 4805 | + } |
| 4806 | + } |
| 4807 | + }, |
4708 | 4808 | "WebHookEventSubscriptionDestination": {
|
4709 | 4809 | "description": "Information about the webhook destination for an event subscription.",
|
4710 | 4810 | "type": "object",
|
|
5018 | 5118 | "$ref": "#/definitions/EventSubscriptionDestination",
|
5019 | 5119 | "description": "Information about the destination where events have to be delivered for the event subscription."
|
5020 | 5120 | },
|
| 5121 | + "deliveryWithResourceIdentity": { |
| 5122 | + "$ref": "#/definitions/DeliveryWithResourceIdentity", |
| 5123 | + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering." |
| 5124 | + }, |
5021 | 5125 | "filter": {
|
5022 | 5126 | "$ref": "#/definitions/EventSubscriptionFilter",
|
5023 | 5127 | "description": "Information about the filter for the event subscription."
|
|
5054 | 5158 | "deadLetterDestination": {
|
5055 | 5159 | "$ref": "#/definitions/DeadLetterDestination",
|
5056 | 5160 | "description": "The DeadLetter destination of the event subscription."
|
| 5161 | + }, |
| 5162 | + "deadLetterWithResourceIdentity": { |
| 5163 | + "$ref": "#/definitions/DeadLetterWithResourceIdentity", |
| 5164 | + "description": "The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.\r\nUses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering." |
5057 | 5165 | }
|
5058 | 5166 | }
|
5059 | 5167 | },
|
|
5428 | 5536 | "description": "Properties of the topic.",
|
5429 | 5537 | "x-ms-client-flatten": true
|
5430 | 5538 | },
|
| 5539 | + "identity": { |
| 5540 | + "$ref": "#/definitions/IdentityInfo", |
| 5541 | + "description": "Identity information for the resource." |
| 5542 | + }, |
5431 | 5543 | "systemData": {
|
5432 | 5544 | "description": "The system metadata relating to Topic resource.",
|
5433 | 5545 | "type": "object",
|
|
5447 | 5559 | "type": "string"
|
5448 | 5560 | }
|
5449 | 5561 | },
|
| 5562 | + "identity": { |
| 5563 | + "$ref": "#/definitions/IdentityInfo", |
| 5564 | + "description": "Topic resource identity information." |
| 5565 | + }, |
5450 | 5566 | "properties": {
|
5451 | 5567 | "$ref": "#/definitions/TopicUpdateParameterProperties",
|
5452 | 5568 | "description": "Properties of the resource.",
|
|
5528 | 5644 | }
|
5529 | 5645 | }
|
5530 | 5646 | },
|
| 5647 | + "ExtensionTopicProperties": { |
| 5648 | + "description": "Properties of the Extension Topic", |
| 5649 | + "type": "object", |
| 5650 | + "properties": { |
| 5651 | + "description": { |
| 5652 | + "description": "Description of the extension topic.", |
| 5653 | + "type": "string" |
| 5654 | + }, |
| 5655 | + "systemTopic": { |
| 5656 | + "description": "System topic resource id which is mapped to the source.", |
| 5657 | + "type": "string" |
| 5658 | + } |
| 5659 | + } |
| 5660 | + }, |
| 5661 | + "ExtensionTopic": { |
| 5662 | + "description": "Event grid Extension Topic. This is used for getting Event Grid related metrics for Azure resources.", |
| 5663 | + "type": "object", |
| 5664 | + "allOf": [ |
| 5665 | + { |
| 5666 | + "$ref": "#/definitions/Resource" |
| 5667 | + } |
| 5668 | + ], |
| 5669 | + "properties": { |
| 5670 | + "properties": { |
| 5671 | + "$ref": "#/definitions/ExtensionTopicProperties", |
| 5672 | + "description": "Properties of the extension topic", |
| 5673 | + "x-ms-client-flatten": true |
| 5674 | + }, |
| 5675 | + "systemData": { |
| 5676 | + "description": "The system metadata relating to the Extension Topic resource.", |
| 5677 | + "type": "object", |
| 5678 | + "readOnly": true, |
| 5679 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" |
| 5680 | + } |
| 5681 | + } |
| 5682 | + }, |
5531 | 5683 | "EventTypesListResult": {
|
5532 | 5684 | "description": "Result of the List Event Types operation",
|
5533 | 5685 | "type": "object",
|
|
0 commit comments