Skip to main content

rejects

Creates, updates, deletes, gets or lists a rejects resource.

Overview

Namerejects
TypeResource
Idazure.event_grid_dataplane.rejects

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
rejectexectopic_name, event_subscription_name, endpointReject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
event_subscription_namestringEvent Subscription Name. Required.
topic_namestringTopic Name. Required.

Lifecycle Methods

Reject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.

EXEC azure.event_grid_dataplane.rejects.reject 
@topic_name='{{ topic_name }}' --required,
@event_subscription_name='{{ event_subscription_name }}' --required,
@endpoint='{{ endpoint }}' --required
;