@@ -2,9 +2,68 @@ import "@azure-tools/typespec-client-generator-core";
22import "./main.tsp" ;
33
44using Azure .ClientGenerator .Core ;
5+ using Azure .Core ;
6+ using Microsoft .Attestation ;
57
68@@ clientName (Microsoft .Attestation ,
79 "AttestationManagementClient" ,
810 "javascript"
911);
1012@@ clientName (Microsoft .Attestation , "AttestationManagementClient" , "python" );
13+
14+ // csharp configurations
15+ @@ alternateType (Azure .ResourceManager .CommonTypes .Resource .id ,
16+ armResourceIdentifier ,
17+ "csharp"
18+ );
19+ @@ clientName (PrivateEndpointConnection ,
20+ "AttestationPrivateEndpointConnection" ,
21+ "csharp"
22+ );
23+ @@ clientName (AttestationServiceCreationParams ,
24+ "AttestationProviderCreateOrUpdateContent" ,
25+ "csharp"
26+ );
27+ @@ alternateType (AttestationServiceCreationParams .location ,
28+ Azure .Core .azureLocation ,
29+ "csharp"
30+ );
31+ @@ clientName (AttestationServicePatchSpecificParams ,
32+ "AttestationProviderPatchProperties" ,
33+ "csharp"
34+ );
35+ @@ clientName (JsonWebKey , "AttestationJsonWebKey" , "csharp" );
36+ @@ clientName (PublicNetworkAccessType ,
37+ "AttestationPublicNetworkAccessType" ,
38+ "csharp"
39+ );
40+ @@ clientName (AttestationProvidersOperationGroup .listDefault ,
41+ "GetDefaultAttestationProvider" ,
42+ "csharp"
43+ );
44+ @@ clientName (AttestationProvidersOperationGroup .getDefaultByLocation ,
45+ "GetDefaultAttestationProviderByLocation" ,
46+ "csharp"
47+ );
48+ @@ clientName (AttestationProviders .listByProvider ,
49+ "GetPrivateLinkResources" ,
50+ "csharp"
51+ );
52+ @@ alternateType (StatusResult .attestUri , url , "csharp" );
53+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
54+ @@ Azure.ClientGenerator.Core.Legacy.markAsPageable (AttestationProviders .listByResourceGroup ,
55+ "csharp"
56+ );
57+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
58+ @@ Azure.ClientGenerator.Core.Legacy.markAsPageable (AttestationProviders .list ,
59+ "csharp"
60+ );
61+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
62+ @@ Azure.ClientGenerator.Core.Legacy.markAsPageable (AttestationProviders .listByProvider ,
63+ "csharp"
64+ );
65+ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
66+ @@ Azure.ClientGenerator.Core.Legacy.markAsPageable (AttestationProvidersOperationGroup .listDefault ,
67+ "csharp"
68+ );
69+ @@ usage (AttestationProvider , Usage .input , "csharp" );
0 commit comments