Skip to content

Commit

Permalink
Added optional Properties publicNetworkAccess and trustedServiceAcces… (
Browse files Browse the repository at this point in the history
Azure#15112)

* Added optional Properties publicNetworkAccess and trustedServiceAccessEnabled

* lint fix
  • Loading branch information
Ajit Navasare authored and mkarmark committed Jul 20, 2021
1 parent 463e839 commit 8c9397a
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,19 @@
"$ref": "#/definitions/NWRuleSetIpRules"
},
"description": "List of IpRules"
},
"publicNetworkAccess": {
"description": "This determines if traffic is allowed over public network. By default it is enabled.",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "PublicNetworkAccessFlag",
"modelAsString": true
},
"default": "Enabled"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@
"description": "NetworkRuleSet properties",
"x-ms-client-flatten": true,
"properties": {
"trustedServiceAccessEnabled": {
"type": "boolean",
"description": "Value that indicates whether Trusted Service Access is Enabled or not."
},
"defaultAction": {
"type": "string",
"description": "Default Action for Network Rule Set",
Expand All @@ -251,6 +255,19 @@
"$ref": "#/definitions/NWRuleSetIpRules"
},
"description": "List of IpRules"
},
"publicNetworkAccess": {
"description": "This determines if traffic is allowed over public network. By default it is enabled.",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "PublicNetworkAccessFlag",
"modelAsString": true
},
"default": "Enabled"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,35 @@
"forwardDeadLetteredMessagesTo": {
"type": "string",
"description": "Queue/Topic name to forward the Dead Letter message"
},
"isClientAffine": {
"type": "boolean",
"description": "Value that indicates whether the subscription has an affinity to the client id."
},
"clientAffineProperties": {
"$ref": "#/definitions/SBClientAffineProperties",
"description": "Properties specific to client affine subscriptions."
}
},
"description": "Description of Subscription Resource."
},
"SBClientAffineProperties": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "Indicates the Client ID of the application that created the client-affine subscription."
},
"isDurable": {
"type": "boolean",
"description": "For client-affine subscriptions, this value indicates whether the subscription is durable or not."
},
"isShared": {
"type": "boolean",
"description": "For client-affine subscriptions, this value indicates whether the subscription is shared or not."
}
},
"description": "Properties specific to client affine subscriptions."
}
},
"parameters": {}
Expand Down

0 comments on commit 8c9397a

Please sign in to comment.