Skip to content

Commit dce561a

Browse files
authored
using new management plane generator for service connectedcache (#38704)
* using new management plane generator for service connectedcache * fix format issue
1 parent 9cd47a9 commit dce561a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

specification/connectedcache/ConnectedCache.Management/client.tsp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ using Microsoft.ConnectedCache;
2323
"MccCacheNodeAdditionalProperties",
2424
"csharp"
2525
);
26+
@@clientName(AdditionalCacheNodeProperties.osType, "OSType", "csharp");
2627
@@clientName(AdditionalCustomerProperties,
2728
"MccCustomerAdditionalProperties",
2829
"csharp"
@@ -40,8 +41,13 @@ using Microsoft.ConnectedCache;
4041
"csharp"
4142
);
4243
@@clientName(BgpConfiguration, "MccCacheNodeBgpConfiguration", "csharp");
44+
@@clientName(BgpConfiguration.asnToIpAddressMapping,
45+
"asnToIPAddressMapping",
46+
"csharp"
47+
);
4348
@@clientName(BgpReviewStateEnum, "MccCacheNodeBgpReviewState", "csharp");
4449
@@clientName(CacheNodeEntity, "MccCacheNodeEntity", "csharp");
50+
@@clientName(CacheNodeEntity.ipAddress, "IPAddress", "csharp");
4551
@@alternateType(CacheNodeEntity.fullyQualifiedResourceId,
4652
armResourceIdentifier,
4753
"csharp"
@@ -74,6 +80,7 @@ using Microsoft.ConnectedCache;
7480
"csharp"
7581
);
7682
@@clientName(ConfigurationState, "MccCacheNodeConfigurationState", "csharp");
83+
@@clientName(ConfigurationState.NotConfigured_Ip, "NotConfigured_IP", "csharp");
7784
@@clientName(CustomerEntity, "MccCustomerEntity", "csharp");
7885
@@alternateType(CustomerEntity.fullyQualifiedResourceId,
7986
armResourceIdentifier,

specification/connectedcache/ConnectedCache.Management/tspconfig.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ options:
99
emitter-output-dir: "{project-root}/.."
1010
azure-resource-provider-folder: "resource-manager"
1111
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/ConnectedCache.json"
12-
"@azure-tools/typespec-csharp":
13-
flavor: azure
14-
clear-output-folder: true
15-
model-namespace: false
12+
"@azure-typespec/http-client-csharp-mgmt":
1613
namespace: "Azure.ResourceManager.ConnectedCache"
1714
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
1815
"@azure-tools/typespec-python":

0 commit comments

Comments
 (0)