Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -1935,7 +1935,11 @@
"staticIP": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
"description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network."
"description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.",
Copy link
Member

@TimLovellSmith TimLovellSmith Sep 29, 2021

Choose a reason for hiding this comment

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

Its not required. Its Optional. The address is autoassigned by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to add "readOnly" or "x-ms-mutability" or "default" to fix s360 issue.
Else we have to suppress the error.
"x-ms-mutability" seems more suitable here, since we can set It on creation and we can read.

Copy link
Member

Choose a reason for hiding this comment

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

I mean the IP address is not required. So the description should be "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; autoassigned by default."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

modified

"x-ms-mutability": [
"read",
"create"
]
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1947,7 +1947,11 @@
"staticIP": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
"description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network."
"description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.",
Copy link
Member

@TimLovellSmith TimLovellSmith Sep 29, 2021

Choose a reason for hiding this comment

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

Its not required. Its Optional. The address is autoassigned by default.

"x-ms-mutability": [
"read",
"create"
]
}
},
"required": [
Expand Down