Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,22 @@
"$ref": "#/definitions/Mtls"
}
}
},
"peerTrafficConfiguration": {
"description": "Peer traffic settings for the Managed Environment",
"type": "object",
"properties": {
"encryption": {
"description": "Peer traffic encryption settings for the Managed Environment",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boolean

Consider making this an Enum. Also please check the other Lint Diff warnings for this PR here :

https://github.com/Azure/azure-rest-api-specs/pull/28159/checks?check_run_id=22421639508

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your feedback. It's intended to keep consistent with the existing peerAuthentication.mtls.enabled which is also boolean. For the rest "AvoidNestedProperties" warnings, it isn't applicable here.

"description": "Boolean indicating whether the peer traffic encryption is enabled"
}
}
}
}
}
},
"x-ms-client-flatten": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
"mtls": {
"enabled": true
}
},
"peerTrafficConfiguration": {
"encryption": {
"enabled": true
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
"mtls": {
"enabled": true
}
},
"peerTrafficConfiguration": {
"encryption": {
"enabled": true
}
}
}
}
Expand Down