@@ -46,3 +46,106 @@ interface LoadTests {
4646
4747 checkAvailabilityQuota is Microsoft .LoadTestService .Quotas .checkAvailability ;
4848}
49+
50+ @@ clientName (type , "LoadTestingCmkIdentityType" , "csharp" );
51+ @@ clientName (LoadTestResource , "LoadTestingResource" , "csharp" );
52+ @@ clientName (QuotaResource , "LoadTestingQuota" , "csharp" );
53+ @@ clientName (EncryptionProperties ,
54+ "LoadTestingCmkEncryptionProperties" ,
55+ "csharp"
56+ );
57+ @@ clientName (EncryptionPropertiesIdentity , "LoadTestingCmkIdentity" , "csharp" );
58+ @@ clientName (EndpointDependency , "LoadTestingEndpointDependency" , "csharp" );
59+ @@ clientName (EndpointDetail , "LoadTestingEndpointDetail" , "csharp" );
60+ @@ clientName (QuotaBucketRequest , "LoadTestingQuotaBucketContent" , "csharp" );
61+ @@ clientName (QuotaBucketRequestPropertiesDimensions ,
62+ "LoadTestingQuotaBucketDimensions" ,
63+ "csharp"
64+ );
65+ @@ clientName (ResourceState , "LoadTestingProvisioningState" , "csharp" );
66+ @@ clientName (QuotaBucketRequestPropertiesDimensions ,
67+ "LoadTestingQuotaBucketDimensions" ,
68+ "csharp"
69+ );
70+ @@ clientName (OutboundEnvironmentEndpoint ,
71+ "LoadTestingOutboundEnvironmentEndpoint" ,
72+ "csharp"
73+ );
74+
75+ @@ clientName (LoadTests .checkAvailabilityQuota ,
76+ "CheckLoadTestingQuotaAvailability" ,
77+ "csharp"
78+ );
79+ @@ clientName (LoadTests .outboundNetworkDependenciesEndpoints ,
80+ "GetOutboundNetworkDependenciesEndpoints" ,
81+ "csharp"
82+ );
83+
84+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Backward compatibility"
85+ @@ Azure.ClientGenerator.Core.Legacy.flattenProperty (QuotaResource .properties ,
86+ "csharp"
87+ );
88+
89+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Backward compatibility"
90+ @@ Azure.ClientGenerator.Core.Legacy.flattenProperty (LoadTestResource .properties ,
91+ "csharp"
92+ );
93+
94+ @@ usage (QuotaResource , Usage .input | Usage .output , "csharp" );
95+ @@ usage (LoadTestResource , Usage .input | Usage .output , "csharp" );
96+
97+ @@ clientName (LoadTestProperties .dataPlaneURI , "dataPlaneUri" , "csharp" );
98+ @@ alternateType (EncryptionProperties .keyUrl , url , "csharp" );
99+
100+ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For csharp backward compatibility"
101+ @ doc ("Check quota availability response object." )
102+ model CheckQuotaAvailabilityResponseReplacement
103+ extends Azure .ResourceManager .CommonTypes .Resource {
104+ ... OmitProperties <CheckQuotaAvailabilityResponse , "id" | "name" | "type" >;
105+ }
106+
107+ @@ alternateType (CheckQuotaAvailabilityResponse ,
108+ CheckQuotaAvailabilityResponseReplacement ,
109+ "csharp"
110+ );
111+
112+ @@ clientName (CheckQuotaAvailabilityResponseReplacement ,
113+ "LoadTestingQuotaAvailabilityResult" ,
114+ "csharp"
115+ );
116+
117+ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For csharp backward compatibility"
118+ @ doc ("Request object of new quota for a quota bucket." )
119+ model QuotaBucketRequestReplacement
120+ extends Azure .ResourceManager .CommonTypes .Resource {
121+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy flatten"
122+ @ Azure.ClientGenerator.Core.Legacy.flattenProperty
123+ @ doc ("Request object of new quota for a quota bucket." )
124+ properties ? : QuotaBucketRequestProperties ;
125+ }
126+ @@ alternateType (QuotaBucketRequest , QuotaBucketRequestReplacement , "csharp" );
127+
128+ @@ clientName (QuotaBucketRequestReplacement ,
129+ "LoadTestingQuotaBucketContent" ,
130+ "csharp"
131+ );
132+ @@ alternateType (QuotaBucketRequestPropertiesDimensions .location ,
133+ Azure .Core .azureLocation ,
134+ "csharp"
135+ );
136+
137+ @@ usage (CheckQuotaAvailabilityResponseReplacement ,
138+ Usage .input | Usage .output ,
139+ "csharp"
140+ );
141+
142+ @@ alternateType (EncryptionPropertiesIdentity .resourceId ,
143+ Azure .Core .armResourceIdentifier ,
144+ "csharp"
145+ );
146+ @@ clientName (EncryptionPropertiesIdentity .type , "IdentityType" , "csharp" );
147+
148+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Backward compatibility"
149+ @@ Azure.ClientGenerator.Core.Legacy.flattenProperty (LoadTestResourceUpdate .properties ,
150+ "csharp"
151+ );
0 commit comments