Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions specification/applink/AppLink.Management/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ namespace Microsoft.AppLink;

@@clientName(Microsoft.AppLink, "AppNetworkMgmtClient", "python");

// Fix selfManagedVersions flattening name collision in C#
@@clientName(AvailableVersionProperties.selfManagedVersions,
"selfManagedVersionDetail",
"csharp"
);

// Contextual naming: add AppLink prefix to avoid cross-SDK collisions in C#
@@clientName(ProvisioningState, "AppLinkProvisioningState", "csharp");
@@clientName(ClusterType, "AppLinkClusterType", "csharp");
@@clientName(EastWestGatewayVisibility,
"AppLinkEastWestGatewayVisibility",
"csharp"
);
@@clientName(UpgradeMode, "AppLinkUpgradeMode", "csharp");
@@clientName(UpgradeReleaseChannel, "AppLinkUpgradeReleaseChannel", "csharp");
@@clientName(ConnectivityProfile, "AppLinkConnectivityProfile", "csharp");
@@clientName(UpgradeProfile, "AppLinkUpgradeProfile", "csharp");
@@clientName(ReleaseChannelInfo, "AppLinkReleaseChannelInfo", "csharp");
@@clientName(VersionInfo, "AppLinkVersionInfo", "csharp");

// Contextual naming: add AppLink prefix to resource types
@@clientName(AvailableVersion, "AppLinkAvailableVersion", "csharp");
@@clientName(AvailableVersionProperties,
"AppLinkAvailableVersionProperties",
Expand All @@ -35,7 +35,6 @@ namespace Microsoft.AppLink;
"csharp"
);

// Operation renames: method names should clearly indicate what is listed
@@clientName(AvailableVersions.listByLocation,
"GetAppLinkAvailableVersionsByLocation",
"csharp"
Expand All @@ -45,10 +44,11 @@ namespace Microsoft.AppLink;
"csharp"
);

// DateTimeOffset properties should follow *On naming convention in C#
@@clientName(UpgradeHistoryProperties.startTimestamp, "startOn", "csharp");
@@clientName(UpgradeHistoryProperties.endTimestamp, "endOn", "csharp");

@@clientName(ClusterType.AKS, "Aks", "csharp");

@doc("The type used for update operations of the AppLink.")
model AppLinkUpdate {
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down