Граф коммитов

1434 Коммитов

Автор SHA1 Сообщение Дата
Beisi Zhou 7209389769
Update features-of-v4.md 2024-02-20 13:14:43 +08:00
Beisi Zhou 1e98f82922
Update migration-from-v3-to-v4.md 2024-02-20 13:12:56 +08:00
Beisi Zhou cc041291be
Unify managed identity practice across modules (#1289)
* wip

* wip

* wip

* wip

* wip

* get+put

* fix

* add preprocess method

* remove mi by setting identitytype as none

* move handler to a sperate method

* add directive

* remove mapping from new-object cmdlet

* remove patch for mi-suppported update cmdlet

* skip preprocess mi parameter if identitytype doesn't exist

* bug fix

* skip using getput to replace patch if no identity type exists

* bug fix

* remove hardcode for UserAssignedIdentityTypeDeclaration

* rush lint --fix

* rush lint --fix

* remove extra space

* support system assigned identity only scenario

* polish

* fix internal cmdlets

* get+put update identity type only

* add fallback logic if replacement is failed

* add tranform in last layer

* allow skip renaming identityuserassignedidentity to userassignedidentity

* wip

* Update powershell/cmdlets/class.ts

* handle identitytype case

* revert changes for psproxyoutput

* fix typo

* handle userassignedid case

* fix rush lint

* fix the case that variant is removed by directive so that operation contains identity type but variant doesn't contain identity type

* Calculate UserAssignedIdentity from string array

* if UserAssignedIdentity is a string array, use Length instead of Count to obtain amount

* calculate UserAssignedIdentity if contains UserAssignedIdentity in CommandType.Atomic case

* rush lint fix

* Fix UserAssignedIdentity is empty hashtable

* Fixed UserAssignedIdentity is renamed

* Fixed UserAssignedIdentity is renamed, read name from virtual property

* add get+put as OperationType.Update

* consider set command as operationType.create

* Should be required if getput for managedidentityupdate
2024-02-20 10:39:24 +08:00
Xiaogang 882e8e2a42
Fixed the issue that required for body is not set (#1301) 2024-01-19 07:50:25 +08:00
Xiaogang 6a8ef4641b
Update node to 18 and fixed some security issues (#1298) 2024-01-17 07:21:16 +08:00
Xiaogang 47abcdda62
Fixed an issue related to query array (#1297) 2024-01-17 06:53:12 +08:00
Yabo Hu b0bb844d05
remove error response except default (#1295) 2024-01-16 14:09:01 +08:00
Xiaogang 77e0e7ce05
Fixed a minor issue related to thread safe (#1294) 2024-01-10 12:04:32 +08:00
Xiaogang b5a87048af
Make module init thread safe (#1293) 2024-01-10 09:28:33 +08:00
Xiaogang 111f9d62ba
Expanded parameters should be optional if the entire body parameter is optional (#1292) 2024-01-09 13:27:28 +08:00
Xiaogang b91b2fe30b
Fixed a name conflict issue in SDK (#1288) 2023-12-15 14:57:27 +08:00
Xiaogang cdb519ba2d
Add support for dict of dict (#1287) 2023-12-13 14:27:14 +08:00
Vincent Dai 3408dd5985
Add Start-TestSleep to avoid waiting during playback mode (#1285) 2023-11-30 13:12:16 +08:00
Xiaogang 12ed2a0a7f
Update docs for model cmdlets (#1283) 2023-11-24 13:19:03 +08:00
Yunchi Wang 910d370e09
Fix the issue that generate-portal-ux.ps1 may fail when process the internal cmdlets (#1282) 2023-11-23 14:00:12 +08:00
Xiaogang 6f3ee99485
Wrap comments in generated SDK (#1281)
* Wrap comments in generated SDK

* Fixed an issue related to reserved key words
2023-11-22 10:33:40 +08:00
Yunchi Wang 389b47f96d
Fix the issue that ux doesn't exclude the parameter set for ViaJson* (#1280) 2023-11-21 16:46:13 +08:00
Xiaogang 98e1fde1b5
Add the script to compare SDK models (#1278) 2023-11-21 11:22:19 +08:00
Xiaogang b62fe50c4f
Update the version of integrated Az.Accounts to 2.13.1 (#1275) 2023-11-10 12:58:46 +08:00
Xiaogang fc1db34d66
Update dependencies to fix some security issues (#1273) 2023-11-08 09:24:07 +08:00
Xiaogang a8fc261694
Fixed an issue relevant to polymorphism (#1272) 2023-11-02 21:34:54 +08:00
Xiaogang 3acac53887
Fixed a de-serialize related issue (#1269) 2023-10-26 21:21:25 +08:00
Xiaogang 89a22137e8
Fixed an Odata related issue (#1268) 2023-10-25 14:29:03 +08:00
Xiaogang 854f08b943
Fixed two issues, 1. object array 2. remove unneeded client (#1265) 2023-10-19 16:58:30 +08:00
Yunchi Wang abbbcf4cf9
Cancel the logic that remove docs folder in generate-portal-ux.ps1 (#1264) 2023-10-19 15:17:25 +08:00
Beisi Zhou 8edaae0efa
fix preview message for non-azure (#1257) 2023-10-18 16:13:15 +08:00
Xiaogang c176388d9f
Update Dockerfile to use lts-7.2-ubuntu-18.04 2023-10-16 17:05:46 +08:00
Xiaogang 5ba50797ea
Remove duplicated operations from the file name (#1256) 2023-10-16 14:38:48 +08:00
Xiaogang bd9ad4e254
Handle the case method group ends with Operations (#1255) 2023-10-13 21:21:32 +08:00
Yunchi Wang 7b79c36156
Add azure specific comment in docs (#1254) 2023-10-13 08:03:57 +08:00
Xiaogang 6d33e6ea74
Use DateTimeRfc1123JsonConverter for datetime with format date-time-rfc1123 in path/query parameter (#1253) 2023-10-13 08:03:30 +08:00
Xiaogang 17eaf68369
Add support for header parameters in group parameter (#1249) 2023-09-26 23:29:48 +08:00
Xiaogang 2ceea31f8e
Required value type should not have null check (#1244) 2023-09-25 17:14:59 +08:00
Xiaogang 0a80e267aa
Fixed three SDK issues (#1243) 2023-09-19 18:33:19 +08:00
Xiaogang 6efb04ba3a
Should not flatten poloymophic class and should not check null for required value type (#1242) 2023-09-19 08:27:21 +08:00
Xiaogang fd28025723
Fixed a few bugs related to readonly parameter and const enum (#1240) 2023-09-15 20:41:13 +08:00
Xiaogang bb0308efc9
Generate extension for client there are API without group (#1239)
* Fixed several issues related to SDK

* Add client exentions for the case that key is empty

* Generate exentions for operation without group
2023-09-15 16:54:47 +08:00
Xiaogang 6c57875cf0
Fixed several issues related to SDK (#1238) 2023-09-14 17:08:17 +08:00
Xiaogang 47a8f17e49
Fixed a minor issue related to parantheses (#1237) 2023-09-12 18:52:31 +08:00
Xiaogang 8412905100
Do not create operations without group info in client (#1233) 2023-09-11 10:09:10 +08:00
Xiaogang 33aa9aa319
Add support for API without group info (#1232) 2023-09-08 10:20:57 +08:00
Xiaogang 248d7dd3d1
Add support list of dictionary in SDK (#1230) 2023-09-07 08:38:22 +08:00
Beisi Zhou 9c79a57828
Support add estimated-ga-date for preview cmdlet (#1200)
* CmdetPreview Message with ETA and frequency control

* fix rush lint issues

* Update powershell/resources/psruntime/BuildTime/Models/PsProxyOutputs.cs
2023-09-06 14:08:53 +08:00
Xiaogang 630a4631b9
Update publish.yaml to pin npm version to 9.8.1
The latest version of npm is 10.0.0, which need to rely on the latest 18.x node
2023-09-06 10:21:44 +08:00
Xiaogang 5e345cc27d
Move model renaming before the csharp namer plugin for SDK (#1228) 2023-09-05 10:51:23 +08:00
Xiaogang 0147605d0a
Skip validation for odata parameter (#1227) 2023-09-01 18:57:41 +08:00
Yabo Hu 3b17dbe2bb
fix breakingchange warning parameters (#1220) 2023-08-25 13:12:35 +08:00
Yabo Hu 79313561a1
fix breakingchange warning for variants (#1217) 2023-08-23 16:40:57 +08:00
Xiaogang 02129b33e9
Fixed indentation issue (#1219) 2023-08-23 15:14:36 +08:00
Beisi Zhou e94785698f
Add header in path for pageable method (#1215)
* add header in path

* rush lint
2023-08-23 10:31:10 +08:00