Skip to content

Commit 793fd06

Browse files
samvaityripark
andauthored
Update uri to url for API Management properties (#35427)
* Update uri to url for API Management properties * update csharp * updates * update for csharp * without modification * Filter on go * Fix acronym casing * ignore the main renames for Go (we'll do it in our own file) * Remove Go's renames for this. * format * update for clientName property * revert clientname change * ran tsp compile * feedback update --------- Co-authored-by: ripark <[email protected]>
1 parent e2ad537 commit 793fd06

File tree

4 files changed

+218
-54
lines changed

4 files changed

+218
-54
lines changed

specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/propertyNameOverride.tsp

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,114 @@ using Azure.ClientGenerator.Core;
124124
@@clientName(KeyVaultSecretNewVersionCreatedEventData.NBF, "Nbf");
125125
@@clientName(KeyVaultSecretNewVersionCreatedEventData.EXP, "Exp");
126126

127+
@@clientName(ApiManagementUserCreatedEventData.resourceUri,
128+
"resourceUrl",
129+
"!go, !csharp"
130+
);
131+
132+
@@clientName(ApiManagementUserUpdatedEventData.resourceUri,
133+
"resourceUrl",
134+
"!go, !csharp"
135+
);
136+
@@clientName(ApiManagementUserDeletedEventData.resourceUri,
137+
"resourceUrl",
138+
"!go, !csharp"
139+
);
140+
@@clientName(ApiManagementApiDeletedEventData.resourceUri,
141+
"resourceUrl",
142+
"!go, !csharp"
143+
);
144+
@@clientName(ApiManagementApiReleaseCreatedEventData.resourceUri,
145+
"resourceUrl",
146+
"!go, !csharp"
147+
);
148+
@@clientName(ApiManagementApiReleaseDeletedEventData.resourceUri,
149+
"resourceUrl",
150+
"!go, !csharp"
151+
);
152+
@@clientName(ApiManagementApiReleaseUpdatedEventData.resourceUri,
153+
"resourceUrl",
154+
"!go, !csharp"
155+
);
156+
@@clientName(ApiManagementSubscriptionCreatedEventData.resourceUri,
157+
"resourceUrl",
158+
"!go, !csharp"
159+
);
160+
@@clientName(ApiManagementSubscriptionUpdatedEventData.resourceUri,
161+
"resourceUrl",
162+
"!go, !csharp"
163+
);
164+
@@clientName(ApiManagementSubscriptionDeletedEventData.resourceUri,
165+
"resourceUrl",
166+
"!go, !csharp"
167+
);
168+
@@clientName(ApiManagementProductCreatedEventData.resourceUri,
169+
"resourceUrl",
170+
"!go, !csharp"
171+
);
172+
@@clientName(ApiManagementProductUpdatedEventData.resourceUri,
173+
"resourceUrl",
174+
"!go, !csharp"
175+
);
176+
@@clientName(ApiManagementProductDeletedEventData.resourceUri,
177+
"resourceUrl",
178+
"!go, !csharp"
179+
);
180+
@@clientName(ApiManagementApiCreatedEventData.resourceUri,
181+
"resourceUrl",
182+
"!go, !csharp"
183+
);
184+
@@clientName(ApiManagementApiUpdatedEventData.resourceUri,
185+
"resourceUrl",
186+
"!go, !csharp"
187+
);
188+
@@clientName(ApiManagementGatewayCreatedEventData.resourceUri,
189+
"resourceUrl",
190+
"!go, !csharp"
191+
);
192+
@@clientName(ApiManagementGatewayUpdatedEventData.resourceUri,
193+
"resourceUrl",
194+
"!go, !csharp"
195+
);
196+
@@clientName(ApiManagementGatewayDeletedEventData.resourceUri,
197+
"resourceUrl",
198+
"!go, !csharp"
199+
);
200+
@@clientName(ApiManagementGatewayHostnameConfigurationCreatedEventData.resourceUri,
201+
"resourceUrl",
202+
"!go, !csharp"
203+
);
204+
@@clientName(ApiManagementGatewayHostnameConfigurationUpdatedEventData.resourceUri,
205+
"resourceUrl",
206+
"!go, !csharp"
207+
);
208+
@@clientName(ApiManagementGatewayHostnameConfigurationDeletedEventData.resourceUri,
209+
"resourceUrl",
210+
"!go, !csharp"
211+
);
212+
@@clientName(ApiManagementGatewayCertificateAuthorityCreatedEventData.resourceUri,
213+
"resourceUrl",
214+
"!go, !csharp"
215+
);
216+
@@clientName(ApiManagementGatewayCertificateAuthorityUpdatedEventData.resourceUri,
217+
"resourceUrl",
218+
"!go, !csharp"
219+
);
220+
@@clientName(ApiManagementGatewayCertificateAuthorityDeletedEventData.resourceUri,
221+
"resourceUrl",
222+
"!go, !csharp"
223+
);
224+
@@clientName(ApiManagementGatewayApiAddedEventData.resourceUri,
225+
"resourceUrl",
226+
"!go, !csharp"
227+
);
228+
@@clientName(ApiManagementGatewayApiRemovedEventData.resourceUri,
229+
"resourceUrl",
230+
"!go, !csharp"
231+
);
232+
233+
@@clientName(ContainerRegistryEventSource.instanceID, "instanceId");
234+
127235
// autorest specific renames
128236
@@clientName(DeviceTwinMetadata.lastUpdated, "$lastUpdated", "autorest");
129237
@@clientName(DeviceTwinProperties.metadata, "$metadata", "autorest");

specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/propertyNameOverrideCsharp.tsp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,5 @@ using Microsoft.EventGrid.SystemEvents;
252252

253253
@@clientName(AcsRouterWorkerSelector.state, "SelectorState", "csharp");
254254
@@clientName(AcsRouterWorkerSelector.value, "labelValue", "csharp");
255+
256+
@@clientName(ContainerRegistryEventSource.instanceID, "instanceID", "csharp");

0 commit comments

Comments
 (0)