[CosmosDB] [Breaking Change] Update ListConnectionStrings Response #22829
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As part of our 2023-03-15 RP API version, we expanded the connection strings response to include two additional fields, so 4 fields total.
In other clients and SDKs we return as a 1:1 format and there is no conversion. However, in PowerShell, these connection strings were previously converted to a hash table format before being returned. Due to this we need to change the output type in order to return the two additional fields (type and kind).
Since this is a breaking change, we were unable to include it as part of the 2023-03-15 RP API PR - (Discussion here). Since we are approaching the breaking change sprint, I am creating this PR to now include this change.
Checklist
CONTRIBUTING.md
and reviewed the following information:generation
branch.ChangeLog.md
file(s) appropriatelyChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header in the past tense. Add changelog in description section if PR goes intogeneration
branch.ChangeLog.md
if no new release is required, such as fixing test case only.