Skip to content

Commit b6e54ad

Browse files
committed
feat(azure_service_bus): add subscription configuration options in facets.yaml
1 parent 47873d9 commit b6e54ad

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

modules/service_bus/azure_service_bus/0.1/facets.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ spec:
5555
title: Lock Duration
5656
description: Lock duration in minutes (enter number only)
5757
default: 1
58+
maximum: 5
5859
max_message_size_in_kilobytes:
5960
type: integer
6061
title: Max Message Size (KB)
@@ -160,6 +161,60 @@ spec:
160161
title: Support Ordering
161162
description: Whether ordering is supported
162163
default: false
164+
subscriptions:
165+
type: object
166+
title: Subscriptions
167+
description: Configuration for the subscriptions
168+
patternProperties:
169+
keyPattern: "^[a-zA-Z0-9_.-]*$"
170+
type: object
171+
properties:
172+
name:
173+
type: string
174+
title: Subscription Name
175+
description: Name of the subscription
176+
max_delivery_count:
177+
type: integer
178+
title: Max Delivery Count
179+
description: Maximum delivery count
180+
default: 10
181+
lock_duration:
182+
type: integer
183+
title: Lock Duration
184+
description: Lock duration in minutes (enter number only)
185+
default: 1
186+
maximum: 5
187+
dead_lettering_on_message_expiration:
188+
type: boolean
189+
title: Dead Lettering on Message Expiration
190+
description: Whether dead lettering on message expiration is enabled
191+
default: false
192+
enable_batched_operations:
193+
type: boolean
194+
title: Enable Batched Operations
195+
description: Whether batched operations are enabled
196+
default: true
197+
requires_session:
198+
type: boolean
199+
title: Requires Session
200+
description: Whether session is required
201+
default: false
202+
status:
203+
type: string
204+
title: Status
205+
description: Status of the subscription
206+
enum:
207+
- Active
208+
- Disabled
209+
default: Active
210+
forward_to:
211+
type: string
212+
title: Forward To
213+
description: Forward to another queue or topic
214+
forward_dead_lettered_messages_to:
215+
type: string
216+
title: Forward Dead Lettered Messages To
217+
description: Forward dead lettered messages to another queue or topic
163218

164219
sample:
165220
kind: service_bus

0 commit comments

Comments
 (0)