File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
specification/storage/Storage.Management Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ model StorageAccount
5757 placement ? : Placement ;
5858}
5959
60+ alias StorageAccountListKeysParameters = {
61+ /**
62+ * Specifies type of the key to be listed. Possible value is kerb.
63+ */
64+ @ query ("$expand" )
65+ $expand ? : "kerb" ;
66+ };
67+
6068@ armResourceOperations
6169interface StorageAccounts {
6270 /**
@@ -138,13 +146,7 @@ interface StorageAccounts {
138146 StorageAccount ,
139147 void ,
140148 ArmResponse <StorageAccountListKeysResult >,
141- Parameters = {
142- /**
143- * Specifies type of the key to be listed. Possible value is kerb.
144- */
145- @ query ("$expand" )
146- $expand ? : "kerb" ;
147- },
149+ Parameters = StorageAccountListKeysParameters ,
148150 Error = ErrorResponse
149151 >;
150152
Original file line number Diff line number Diff line change @@ -81,3 +81,9 @@ op getDeletedAccountCustomized(
8181 "ResourceAutoGenerated" ,
8282 "python"
8383);
84+
85+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy decorator required for Python SDK compatibility"
86+ @@ Azure.ClientGenerator.Core.Legacy.clientDefaultValue (StorageAccountListKeysParameters .$expand ,
87+ "kerb" ,
88+ "python"
89+ );
You can’t perform that action at this time.
0 commit comments