Skip to content

Commit b0b8df6

Browse files
cxznmhdcxzCopilot
andcommitted
HanaOnAzure: add C# mgmt emitter and client.tsp customizations
Add @azure-typespec/http-client-csharp-mgmt emitter (namespace Azure.ResourceManager.HanaOnAzure) and three csharp-scoped client.tsp decorators for the .NET mgmt SDK onboarding. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3d1de46 commit b0b8df6

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/HanaOnAzure/client.tsp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,18 @@ using Azure.ClientGenerator.Core;
88
"HanaManagementClient",
99
"javascript,python"
1010
);
11+
12+
@@clientName(Microsoft.HanaOnAzure.ProviderInstanceProperties.properties,
13+
"ProviderProperties",
14+
"csharp"
15+
);
16+
17+
@@alternateType(Azure.ResourceManager.CommonTypes.Resource.id,
18+
Azure.Core.armResourceIdentifier,
19+
"csharp"
20+
);
21+
22+
@@clientName(Microsoft.HanaOnAzure.Operation,
23+
"HanaOnAzureOperationInfo",
24+
"csharp"
25+
);

specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/HanaOnAzure/tspconfig.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ options:
3939
generate-fakes: true
4040
head-as-boolean: true
4141
inject-spans: true
42+
"@azure-typespec/http-client-csharp-mgmt":
43+
namespace: "Azure.ResourceManager.HanaOnAzure"
44+
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
4245
linter:
4346
extends:
4447
- "@azure-tools/typespec-azure-rulesets/resource-manager"

0 commit comments

Comments
 (0)