You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FrontDoorResourceData and other models in the following section should be use BasicResourceWithSettableIDName as base class instead of FrontDoorSubResource (SubResource).
383
-
// hierarchyBuilding cannot be used here: the validator requires the base's properties (id) to be
384
-
// directly on the target, but our models inherit `id` from SubResource.
385
-
// Keeps models.tsp untouched (no swagger change) — replacements are C#-only constructs.
386
-
#suppress"@azure-tools/typespec-azure-core/composition-over-inheritance""C#-only replacement model to swap base class; no impact on spec/swagger."
387
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage""Brownfield migration: inherits @customAzureResource from BasicResourceWithSettableIDName; replacement is C#-only."
388
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key""C#-only replacement model; not emitted to swagger and not a top-level ARM resource."
389
-
@doc("A routing rule represents a specification for traffic to treat and where to send it, along with health probe information.")
#suppress"@azure-tools/typespec-azure-core/composition-over-inheritance""C#-only replacement model to swap base class; no impact on spec/swagger."
403
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage""Brownfield migration: inherits @customAzureResource from BasicResourceWithSettableIDName; replacement is C#-only."
404
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key""C#-only replacement model; not emitted to swagger and not a top-level ARM resource."
405
-
@doc("Load balancing settings for a backend pool")
406
-
modelLoadBalancingSettingsModelReplacement
407
-
extendsBasicResourceWithSettableIDName {
408
-
@doc("Properties of the load balancing settings")
409
-
properties?:LoadBalancingSettingsProperties;
410
-
}
411
-
@@alternateType(
412
-
LoadBalancingSettingsModel,
413
-
LoadBalancingSettingsModelReplacement,
414
-
"csharp"
415
-
);
416
-
@@clientName(
417
-
LoadBalancingSettingsModelReplacement,
418
-
"FrontDoorLoadBalancingSettingsData",
419
-
"csharp"
420
-
);
421
-
#suppress"@azure-tools/typespec-azure-core/no-legacy-usage""Back compatibility — flatten properties into parent in C# SDK."
#suppress"@azure-tools/typespec-azure-core/composition-over-inheritance""C#-only replacement model to swap base class; no impact on spec/swagger."
428
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage""Brownfield migration: inherits @customAzureResource from BasicResourceWithSettableIDName; replacement is C#-only."
429
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key""C#-only replacement model; not emitted to swagger and not a top-level ARM resource."
430
-
@doc("Load balancing settings for a backend pool")
431
-
modelHealthProbeSettingsModelReplacement
432
-
extendsBasicResourceWithSettableIDName {
433
-
@doc("Properties of the health probe settings")
434
-
properties?:HealthProbeSettingsProperties;
435
-
}
436
-
@@alternateType(
437
-
HealthProbeSettingsModel,
438
-
HealthProbeSettingsModelReplacement,
439
-
"csharp"
440
-
);
441
-
@@clientName(
442
-
HealthProbeSettingsModelReplacement,
443
-
"FrontDoorHealthProbeSettingsData",
444
-
"csharp"
445
-
);
446
-
#suppress"@azure-tools/typespec-azure-core/no-legacy-usage""Back compatibility — flatten properties into parent in C# SDK."
#suppress"@azure-tools/typespec-azure-core/composition-over-inheritance""C#-only replacement model to swap base class; no impact on spec/swagger."
453
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage""Brownfield migration: inherits @customAzureResource from BasicResourceWithSettableIDName; replacement is C#-only."
454
-
#suppress"@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key""C#-only replacement model; not emitted to swagger and not a top-level ARM resource."
455
-
@doc("A backend pool is a collection of backends that can be routed to.")
0 commit comments