DomainTopicEventSubscriptionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:domain_topic_event_subscriptions> attribute.
- Inheritance
-
builtins.objectDomainTopicEventSubscriptionsOperations
Constructor
DomainTopicEventSubscriptionsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Create or update a nested event subscription to a domain topic. Asynchronously creates a new event subscription or updates an existing event subscription. |
begin_delete |
Delete a nested event subscription for a domain topic. Delete a nested existing event subscription for a domain topic. |
begin_update |
Update a nested event subscription for a domain topic. Update an existing event subscription for a domain topic. |
get |
Get a nested event subscription for domain topic. Get properties of a nested event subscription for a domain topic. |
get_delivery_attributes |
Get delivery attributes for an event subscription for domain topic. Get all delivery attributes for an event subscription for domain topic. |
get_full_url |
Get full URL of a nested event subscription for domain topic. Get the full endpoint URL for a nested event subscription for domain topic. |
list |
List all nested event subscriptions for a specific domain topic. List all event subscriptions that have been created for a specific domain topic. |
begin_create_or_update
Create or update a nested event subscription to a domain topic.
Asynchronously creates a new event subscription or updates an existing event subscription.
async begin_create_or_update(resource_group_name: str, domain_name: str, topic_name: str, event_subscription_name: str, event_subscription_info: _models.EventSubscription, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.EventSubscription]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the user's subscription. Required. |
domain_name
Required
|
Name of the top level domain. Required. |
topic_name
Required
|
Name of the domain topic. Required. |
event_subscription_name
Required
|
Name of the event subscription to be created. Event subscription names must be between 3 and 64 characters in length and use alphanumeric letters only. Required. |
event_subscription_info
Required
|
Event subscription properties containing the destination and filter information. Is either a EventSubscription type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either EventSubscription or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Delete a nested event subscription for a domain topic.
Delete a nested existing event subscription for a domain topic.
async begin_delete(resource_group_name: str, domain_name: str, topic_name: str, event_subscription_name: str, **kwargs: Any) -> AsyncLROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the user's subscription. Required. |
domain_name
Required
|
Name of the top level domain. Required. |
topic_name
Required
|
Name of the domain topic. Required. |
event_subscription_name
Required
|
Name of the event subscription to be deleted. Required. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_update
Update a nested event subscription for a domain topic.
Update an existing event subscription for a domain topic.
async begin_update(resource_group_name: str, domain_name: str, topic_name: str, event_subscription_name: str, event_subscription_update_parameters: _models.EventSubscriptionUpdateParameters, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.EventSubscription]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the user's subscription. Required. |
domain_name
Required
|
Name of the domain. Required. |
topic_name
Required
|
Name of the topic. Required. |
event_subscription_name
Required
|
Name of the event subscription to be updated. Required. |
event_subscription_update_parameters
Required
|
Updated event subscription information. Is either a EventSubscriptionUpdateParameters type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either EventSubscription or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get a nested event subscription for domain topic.
Get properties of a nested event subscription for a domain topic.
async get(resource_group_name: str, domain_name: str, topic_name: str, event_subscription_name: str, **kwargs: Any) -> EventSubscription
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the user's subscription. Required. |
domain_name
Required
|
Name of the top level domain. Required. |
topic_name
Required
|
Name of the domain topic. Required. |
event_subscription_name
Required
|
Name of the event subscription to be found. Required. |
Returns
Type | Description |
---|---|
EventSubscription or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_delivery_attributes
Get delivery attributes for an event subscription for domain topic.
Get all delivery attributes for an event subscription for domain topic.
async get_delivery_attributes(resource_group_name: str, domain_name: str, topic_name: str, event_subscription_name: str, **kwargs: Any) -> DeliveryAttributeListResult
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the user's subscription. Required. |
domain_name
Required
|
Name of the top level domain. Required. |
topic_name
Required
|
Name of the domain topic. Required. |
event_subscription_name
Required
|
Name of the event subscription. Required. |
Returns
Type | Description |
---|---|
DeliveryAttributeListResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_full_url
Get full URL of a nested event subscription for domain topic.
Get the full endpoint URL for a nested event subscription for domain topic.
async get_full_url(resource_group_name: str, domain_name: str, topic_name: str, event_subscription_name: str, **kwargs: Any) -> EventSubscriptionFullUrl
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the user's subscription. Required. |
domain_name
Required
|
Name of the top level domain. Required. |
topic_name
Required
|
Name of the domain topic. Required. |
event_subscription_name
Required
|
Name of the event subscription. Required. |
Returns
Type | Description |
---|---|
EventSubscriptionFullUrl or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
List all nested event subscriptions for a specific domain topic.
List all event subscriptions that have been created for a specific domain topic.
list(resource_group_name: str, domain_name: str, topic_name: str, filter: str | None = None, top: int | None = None, **kwargs: Any) -> AsyncIterable[EventSubscription]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the user's subscription. Required. |
domain_name
Required
|
Name of the top level domain. Required. |
topic_name
Required
|
Name of the domain topic. Required. |
filter
Required
|
The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. Default value is None. |
top
Required
|
The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either EventSubscription or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.eventgrid.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\eventgrid\\models\\__init__.py'>
Azure SDK for Python