@@ -5,61 +5,61 @@ using Azure.ClientGenerator.Core.Legacy;
55using Microsoft .NetApp ;
66
77#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
8- @@ flattenProperty (Operation .properties );
8+ @@ flattenProperty (Operation .properties , "!javascript" );
99
1010#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
11- @@ flattenProperty (UsageResult .properties );
11+ @@ flattenProperty (UsageResult .properties , "!javascript" );
1212
1313#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
14- @@ flattenProperty (NetAppAccountPatch .properties );
14+ @@ flattenProperty (NetAppAccountPatch .properties , "!javascript" );
1515
1616#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
17- @@ flattenProperty (GetKeyVaultStatusResponse .properties );
17+ @@ flattenProperty (GetKeyVaultStatusResponse .properties , "!javascript" );
1818
1919#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
20- @@ flattenProperty (CapacityPoolPatch .properties );
20+ @@ flattenProperty (CapacityPoolPatch .properties , "!javascript" );
2121
2222@@ clientName (ExportPolicyRule .kerberos5iReadOnly , "kerberos5IReadOnly" );
2323@@ clientName (ExportPolicyRule .kerberos5iReadWrite , "kerberos5IReadWrite" );
2424@@ clientName (ExportPolicyRule .kerberos5pReadOnly , "kerberos5PReadOnly" );
2525@@ clientName (ExportPolicyRule .kerberos5pReadWrite , "kerberos5PReadWrite" );
2626
2727#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
28- @@ flattenProperty (VolumePatch .properties );
28+ @@ flattenProperty (VolumePatch .properties , "!javascript" );
2929
3030#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
31- @@ flattenProperty (SnapshotPolicyPatch .properties );
31+ @@ flattenProperty (SnapshotPolicyPatch .properties , "!javascript" );
3232
3333#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
34- @@ flattenProperty (BackupPolicyPatch .properties );
34+ @@ flattenProperty (BackupPolicyPatch .properties , "!javascript" );
3535
3636#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
37- @@ flattenProperty (VolumeQuotaRulePatch .properties );
37+ @@ flattenProperty (VolumeQuotaRulePatch .properties , "!javascript" );
3838
3939#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
40- @@ flattenProperty (VolumeGroup .properties );
40+ @@ flattenProperty (VolumeGroup .properties , "!javascript" );
4141
4242#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
43- @@ flattenProperty (VolumeGroupVolumeProperties .properties );
43+ @@ flattenProperty (VolumeGroupVolumeProperties .properties , "!javascript" );
4444
4545#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
46- @@ flattenProperty (SubvolumePatchRequest .properties );
46+ @@ flattenProperty (SubvolumePatchRequest .properties , "!javascript" );
4747
4848#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
49- @@ flattenProperty (SubvolumeModel .properties );
49+ @@ flattenProperty (SubvolumeModel .properties , "!javascript" );
5050
5151#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
52- @@ flattenProperty (BackupPatch .properties );
52+ @@ flattenProperty (BackupPatch .properties , "!javascript" );
5353
5454@@ clientLocation (SubscriptionQuotaItems .get , "NetAppResourceQuotaLimits" );
5555@@ clientLocation (SubscriptionQuotaItems .list , "NetAppResourceQuotaLimits" );
5656#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
57- @@ flattenProperty (QuotaItem .properties );
57+ @@ flattenProperty (QuotaItem .properties , "!javascript" );
5858
5959@@ clientLocation (RegionInfoResources .get , "NetAppResourceRegionInfos" );
6060@@ clientLocation (RegionInfoResources .list , "NetAppResourceRegionInfos" );
6161#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
62- @@ flattenProperty (RegionInfoResource .properties );
62+ @@ flattenProperty (RegionInfoResource .properties , "!javascript" );
6363
6464@@ clientLocation (NetAppAccounts .get , "Accounts" );
6565@@ clientLocation (NetAppAccounts .createOrUpdate , "Accounts" );
@@ -76,7 +76,7 @@ using Microsoft.NetApp;
7676@@ clientLocation (NetAppAccounts .listByNetAppAccount , VolumeGroups );
7777@@ clientLocation (NetAppAccounts .migrateBackups , "BackupsUnderAccount" );
7878#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
79- @@ flattenProperty (NetAppAccount .properties );
79+ @@ flattenProperty (NetAppAccount .properties , "!javascript" );
8080
8181@@ clientLocation (CapacityPools .get , "Pools" );
8282@@ clientLocation (CapacityPools .createOrUpdate , "Pools" );
@@ -86,39 +86,39 @@ using Microsoft.NetApp;
8686@@ clientLocation (CapacityPools .delete , "Pools" );
8787@@ clientLocation (CapacityPools .list , "Pools" );
8888#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
89- @@ flattenProperty (CapacityPool .properties );
89+ @@ flattenProperty (CapacityPool .properties , "!javascript" );
9090
9191@@ clientName (Volumes .createOrUpdate ::parameters .resource , "body" );
9292@@ clientName (Volumes .update ::parameters .properties , "body" );
9393@@ clientLocation (Volumes .getLatestStatus , Backups );
9494@@ clientLocation (Volumes .getVolumeLatestRestoreStatus , Backups );
9595@@ clientLocation (Volumes .migrateBackups , "BackupsUnderVolume" );
9696#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
97- @@ flattenProperty (Volume .properties );
97+ @@ flattenProperty (Volume .properties , "!javascript" );
9898
9999@@ clientName (Snapshots .create ::parameters .resource , "body" );
100100@@ clientName (Snapshots .update ::parameters .properties , "body" );
101101#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
102- @@ flattenProperty (Snapshot .properties );
102+ @@ flattenProperty (Snapshot .properties , "!javascript" );
103103
104104@@ clientName (SnapshotPolicies .create ::parameters .resource , "body" );
105105@@ clientName (SnapshotPolicies .update ::parameters .properties , "body" );
106106#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
107- @@ flattenProperty (SnapshotPolicy .properties );
107+ @@ flattenProperty (SnapshotPolicy .properties , "!javascript" );
108108
109109@@ clientName (BackupPolicies .create ::parameters .resource , "body" );
110110@@ clientName (BackupPolicies .update ::parameters .properties , "body" );
111111#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
112- @@ flattenProperty (BackupPolicy .properties );
112+ @@ flattenProperty (BackupPolicy .properties , "!javascript" );
113113
114114@@ clientName (VolumeQuotaRules .create ::parameters .resource , "body" );
115115@@ clientName (VolumeQuotaRules .update ::parameters .properties , "body" );
116116#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
117- @@ flattenProperty (VolumeQuotaRule .properties );
117+ @@ flattenProperty (VolumeQuotaRule .properties , "!javascript" );
118118
119119@@ clientName (VolumeGroups .create ::parameters .resource , "body" );
120120#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
121- @@ flattenProperty (VolumeGroupDetails .properties );
121+ @@ flattenProperty (VolumeGroupDetails .properties , "!javascript" );
122122
123123@@ clientLocation (SubvolumeInfos .get , "Subvolumes" );
124124@@ clientLocation (SubvolumeInfos .create , "Subvolumes" );
@@ -129,25 +129,25 @@ using Microsoft.NetApp;
129129@@ clientLocation (SubvolumeInfos .listByVolume , "Subvolumes" );
130130@@ clientLocation (SubvolumeInfos .getMetadata , "Subvolumes" );
131131#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
132- @@ flattenProperty (SubvolumeInfo .properties );
132+ @@ flattenProperty (SubvolumeInfo .properties , "!javascript" );
133133
134134@@ clientName (Backups .create ::parameters .resource , "body" );
135135@@ clientName (Backups .update ::parameters .properties , "body" );
136136@@ clientLocation (Backups .restoreFiles , "BackupsUnderBackupVault" );
137137#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
138- @@ flattenProperty (Backup .properties );
138+ @@ flattenProperty (Backup .properties , "!javascript" );
139139
140140@@ clientName (BackupVaults .createOrUpdate ::parameters .resource , "body" );
141141@@ clientName (BackupVaults .update ::parameters .properties , "body" );
142142#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
143- @@ flattenProperty (BackupVault .properties );
143+ @@ flattenProperty (BackupVault .properties , "!javascript" );
144144
145145@@ clientName (Buckets .createOrUpdate ::parameters .resource , "body" );
146146@@ clientName (Buckets .update ::parameters .properties , "body" );
147147#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
148- @@ flattenProperty (Bucket .properties );
148+ @@ flattenProperty (Bucket .properties , "!javascript" );
149149#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "For backward compatibility"
150- @@ flattenProperty (BucketPatch .properties );
150+ @@ flattenProperty (BucketPatch .properties , "!javascript" );
151151
152152@@ clientLocation (NetAppResourceOperationGroup .checkNameAvailability ,
153153 "NetAppResource"
0 commit comments