Skip to content

Commit d826a1f

Browse files
author
Ajit Navasare
authored
Added optional Properties publicNetworkAccess and trustedServiceAcces… (#15112)
* Added optional Properties publicNetworkAccess and trustedServiceAccessEnabled * lint fix
1 parent 1e9da92 commit d826a1f

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-06-01-preview/networkrulessets-preview.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,19 @@
206206
"$ref": "#/definitions/NWRuleSetIpRules"
207207
},
208208
"description": "List of IpRules"
209+
},
210+
"publicNetworkAccess": {
211+
"description": "This determines if traffic is allowed over public network. By default it is enabled.",
212+
"enum": [
213+
"Enabled",
214+
"Disabled"
215+
],
216+
"type": "string",
217+
"x-ms-enum": {
218+
"name": "PublicNetworkAccessFlag",
219+
"modelAsString": true
220+
},
221+
"default": "Enabled"
209222
}
210223
}
211224
},

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/networksets.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@
226226
"description": "NetworkRuleSet properties",
227227
"x-ms-client-flatten": true,
228228
"properties": {
229+
"trustedServiceAccessEnabled": {
230+
"type": "boolean",
231+
"description": "Value that indicates whether Trusted Service Access is Enabled or not."
232+
},
229233
"defaultAction": {
230234
"type": "string",
231235
"description": "Default Action for Network Rule Set",
@@ -251,6 +255,19 @@
251255
"$ref": "#/definitions/NWRuleSetIpRules"
252256
},
253257
"description": "List of IpRules"
258+
},
259+
"publicNetworkAccess": {
260+
"description": "This determines if traffic is allowed over public network. By default it is enabled.",
261+
"enum": [
262+
"Enabled",
263+
"Disabled"
264+
],
265+
"type": "string",
266+
"x-ms-enum": {
267+
"name": "PublicNetworkAccessFlag",
268+
"modelAsString": true
269+
},
270+
"default": "Enabled"
254271
}
255272
}
256273
},

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/subscriptions.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,35 @@
370370
"forwardDeadLetteredMessagesTo": {
371371
"type": "string",
372372
"description": "Queue/Topic name to forward the Dead Letter message"
373+
},
374+
"isClientAffine": {
375+
"type": "boolean",
376+
"description": "Value that indicates whether the subscription has an affinity to the client id."
377+
},
378+
"clientAffineProperties": {
379+
"$ref": "#/definitions/SBClientAffineProperties",
380+
"description": "Properties specific to client affine subscriptions."
373381
}
374382
},
375383
"description": "Description of Subscription Resource."
384+
},
385+
"SBClientAffineProperties": {
386+
"type": "object",
387+
"properties": {
388+
"clientId": {
389+
"type": "string",
390+
"description": "Indicates the Client ID of the application that created the client-affine subscription."
391+
},
392+
"isDurable": {
393+
"type": "boolean",
394+
"description": "For client-affine subscriptions, this value indicates whether the subscription is durable or not."
395+
},
396+
"isShared": {
397+
"type": "boolean",
398+
"description": "For client-affine subscriptions, this value indicates whether the subscription is shared or not."
399+
}
400+
},
401+
"description": "Properties specific to client affine subscriptions."
376402
}
377403
},
378404
"parameters": {}

0 commit comments

Comments
 (0)