Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions specification/eventgrid/Azure.Messaging.EventGrid/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ namespace Microsoft.EventGrid {
@doc("Details of the Receive operation response.")
model ReceiveResult {
@doc("Array of receive responses, one per cloud event.")
@visibility(Lifecycle.Read)
value: ReceiveDetails[];
}

Expand Down Expand Up @@ -148,36 +149,44 @@ namespace Microsoft.EventGrid {
@doc("The result of the Acknowledge operation.")
model AcknowledgeResult {
@doc("Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).")
@visibility(Lifecycle.Read)
failedLockTokens: FailedLockToken[];

@doc("Array of lock tokens for the successfully acknowledged cloud events.")
@visibility(Lifecycle.Read)
succeededLockTokens: string[];
}

@doc("The result of the Release operation.")
model ReleaseResult {
@doc("Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).")
@visibility(Lifecycle.Read)
failedLockTokens: FailedLockToken[];

@doc("Array of lock tokens for the successfully released cloud events.")
@visibility(Lifecycle.Read)
succeededLockTokens: string[];
}

@doc("The result of the Reject operation.")
model RejectResult {
@doc("Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).")
@visibility(Lifecycle.Read)
failedLockTokens: FailedLockToken[];

@doc("Array of lock tokens for the successfully rejected cloud events.")
@visibility(Lifecycle.Read)
succeededLockTokens: string[];
}

@doc("The result of the RenewLock operation.")
model RenewCloudEventLocksResult {
@doc("Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).")
@visibility(Lifecycle.Read)
failedLockTokens: FailedLockToken[];

@doc("Array of lock tokens for the successfully renewed locks.")
@visibility(Lifecycle.Read)
succeededLockTokens: string[];
}

Expand Down
Loading