Skip to content

Commit df62ff0

Browse files
[Network] Mitigate Java PolicySettings captcha property rename in client.tsp (#44290)
* Mitigate Java rename for PolicySettings captcha expiration Map captchaExpirationInMins back to captchaCookieExpirationInMins for Java in client.tsp to preserve SDK surface. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Resolve Java clientName conflict for PolicySettings captcha rename Rename the removed property to a legacy Java name and map the new property back to captchaCookieExpirationInMins to avoid duplicate-client-name during generation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Adjust Java PolicySettings legacy property name Use Java clientName captchaCookieExpirationInMinsRemoved for removed property to avoid naming conflict with current property mapping. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f9b172d commit df62ff0

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • specification/network/resource-manager/Microsoft.Network/Network

specification/network/resource-manager/Microsoft.Network/Network/client.tsp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5401,3 +5401,15 @@ op replaceprivateDnsZoneGroupsList(
54015401
"GetDefaultSharedKey",
54025402
"csharp"
54035403
);
5404+
5405+
@@clientName(
5406+
Microsoft.Network.PolicySettings.captchaCookieExpirationInMins,
5407+
"captchaCookieExpirationInMinsRemoved",
5408+
"java"
5409+
);
5410+
5411+
@@clientName(
5412+
Microsoft.Network.PolicySettings.captchaExpirationInMins,
5413+
"captchaCookieExpirationInMins",
5414+
"java"
5415+
);

0 commit comments

Comments
 (0)