Skip to content

Commit 8d332ee

Browse files
haiyuazhangCopilot
andcommitted
Remove duplicate csharp-no-url-suffix suppressions
Each flagged property had the identical #suppress line written twice. Collapse the 32 exact-duplicate suppressions (across 16 files) to a single suppression per property. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d401f9b commit 8d332ee

16 files changed

Lines changed: 0 additions & 32 deletions

File tree

specification/ai/Azure.AI.Agents/messages/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ model MessageInputImageUrlBlock extends MessageInputContentBlock {
6666
@doc("Must be 'image_url' for an externally hosted image block.")
6767
type: "image_url";
6868

69-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
7069
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
7170
@doc("Information about the external image URL, including the URL and optional detail level.")
7271
@encodedName("application/json", "image_url")

specification/ai/Azure.AI.Agents/tools/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ model MCPToolDefinition extends ToolDefinition {
164164
@encodedName("application/json", "server_label")
165165
serverLabel: string;
166166

167-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
168167
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
169168
@doc("The endpoint for the MCP server")
170169
@encodedName("application/json", "server_url")

specification/batch/resource-manager/Microsoft.Batch/Batch/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2538,7 +2538,6 @@ model DiskCustomerManagedKey {
25382538
* Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.
25392539
*/
25402540
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
2541-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
25422541
keyUrl?: url;
25432542

25442543
/**

specification/botservice/resource-manager/Microsoft.BotService/BotService/models.tsp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ model BotProperties {
287287
* The Icon Url of the bot
288288
*/
289289
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
290-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
291290
iconUrl?: string = "";
292291

293292
/**
@@ -318,7 +317,6 @@ model BotProperties {
318317
* The bot's manifest url
319318
*/
320319
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
321-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
322320
manifestUrl?: string;
323321

324322
/**
@@ -393,7 +391,6 @@ model BotProperties {
393391
* The CMK Url
394392
*/
395393
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
396-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
397394
cmekKeyVaultUrl?: string;
398395

399396
/**
@@ -988,7 +985,6 @@ model ChannelSettings {
988985
* The bot icon url
989986
*/
990987
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
991-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
992988
botIconUrl?: string;
993989

994990
/**
@@ -1314,7 +1310,6 @@ model ServiceProviderProperties {
13141310
* The URL of icon
13151311
*/
13161312
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
1317-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
13181313
iconUrl?: string = "";
13191314

13201315
/**
@@ -2223,7 +2218,6 @@ model SlackChannelProperties {
22232218
* The Slack landing page Url
22242219
*/
22252220
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
2226-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
22272221
landingPageUrl?: string;
22282222

22292223
/**

specification/connectedcache/ConnectedCache.Management/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,6 @@ model BgpConfiguration {
795795

796796
@doc("ProxyUrl configuration of cache node")
797797
model ProxyUrlConfiguration {
798-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
799798
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
800799
@doc("Host Proxy Address configuration along with port number. This can be a proxy or ip address. ex: xx.xx.xx.xxxx:80 or host name http://exampleproxy.com:80")
801800
proxyUrl?: string;

specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3884,7 +3884,6 @@ model PricesheetDownloadProperties {
38843884
* The URL to download the generated report.
38853885
*/
38863886
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
3887-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
38883887
downloadUrl?: string;
38893888

38903889
/**

specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ model Datastore {
9898
@doc("The name of a Kusto database.")
9999
kustoDatabaseName: string;
100100

101-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
102101
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
103102
@doc("The Kusto management URL.")
104103
kustoManagementUrl: string;

specification/databox/resource-manager/Microsoft.DataBox/DataBox/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,6 @@ model KeyEncryptionKey {
19331933
* Key encryption key. It is required in case of Customer managed KekType.
19341934
*/
19351935
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
1936-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
19371936
kekUrl?: string;
19381937

19391938
/**

specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/DesktopVirtualization/models.tsp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,6 @@ model ActiveSessionHostConfigurationProperties {
21152115
* The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.
21162116
*/
21172117
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
2118-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
21192118
customConfigurationScriptUrl?: url;
21202119

21212120
/**
@@ -5119,7 +5118,6 @@ model SessionHostConfigurationProperties {
51195118
* The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.
51205119
*/
51215120
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
5122-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
51235121
customConfigurationScriptUrl?: url;
51245122

51255123
/**
@@ -5207,7 +5205,6 @@ model SessionHostConfigurationPatchProperties {
52075205
* The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.
52085206
*/
52095207
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
5210-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
52115208
customConfigurationScriptUrl?: url;
52125209

52135210
/**

specification/devcenter/DevCenter.Management/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@ model DevCenterEncryptionSetUpdateProperties {
767767
@doc("Devbox disk encryption enable or disable status. Indicates if Devbox disks encryption using DevCenter CMK is enabled or not.")
768768
devboxDisksEncryptionEnableStatus?: DevboxDisksEncryptionEnableStatus;
769769

770-
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
771770
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
772771
@doc("Key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.")
773772
keyEncryptionKeyUrl?: url;

0 commit comments

Comments
 (0)