Skip to content

Commit 7ff41b4

Browse files
committed
suppress warnings
1 parent 95b6443 commit 7ff41b4

13 files changed

Lines changed: 46 additions & 28 deletions

File tree

specification/monitor/resource-manager/Microsoft.Insights/Insights/DiagnosticsSettings/DiagnosticSettingsCategoryResource.tsp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Microsoft.Insights;
1313
/**
1414
* The diagnostic settings category resource.
1515
*/
16+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-base-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
1617
@extensionResource
1718
model DiagnosticSettingsCategoryResource
1819
is Azure.ResourceManager.ExtensionResource<DiagnosticSettingsCategory> {
@@ -29,7 +30,7 @@ interface DiagnosticSettingsCategoryResources {
2930
/**
3031
* Gets the diagnostic settings category for the specified resource.
3132
*/
32-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
33+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3334
@operationId("DiagnosticSettingsCategory_Get")
3435
@tag("DiagnosticSettingsCategories")
3536
get is Extension.Read<
@@ -41,7 +42,7 @@ interface DiagnosticSettingsCategoryResources {
4142
/**
4243
* Lists the diagnostic settings categories for the specified resource.
4344
*/
44-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
45+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
4546
@operationId("DiagnosticSettingsCategory_List")
4647
@tag("DiagnosticSettingsCategories")
4748
list is Extension.ListByTarget<

specification/monitor/resource-manager/Microsoft.Insights/Insights/DiagnosticsSettings/DiagnosticSettingsResource.tsp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Microsoft.Insights;
1313
/**
1414
* The diagnostic setting resource.
1515
*/
16+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-base-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
1617
@extensionResource
1718
model DiagnosticSettingsResource
1819
is Azure.ResourceManager.ExtensionResource<DiagnosticSettings> {
@@ -29,7 +30,7 @@ interface DiagnosticSettingsResources {
2930
/**
3031
* Gets the active diagnostic settings for the specified resource.
3132
*/
32-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
33+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3334
@operationId("DiagnosticSettings_Get")
3435
@tag("DiagnosticSettings")
3536
get is Extension.Read<
@@ -41,8 +42,8 @@ interface DiagnosticSettingsResources {
4142
/**
4243
* Creates or updates diagnostic settings for the specified resource.
4344
*/
44-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
45-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility"
45+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
46+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
4647
@operationId("DiagnosticSettings_CreateOrUpdate")
4748
@tag("DiagnosticSettings")
4849
createOrUpdate is Extension.CreateOrReplaceSync<
@@ -55,7 +56,7 @@ interface DiagnosticSettingsResources {
5556
/**
5657
* Deletes existing diagnostic settings for the specified resource.
5758
*/
58-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
59+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
5960
@operationId("DiagnosticSettings_Delete")
6061
@tag("DiagnosticSettings")
6162
delete is Extension.DeleteSync<
@@ -67,7 +68,7 @@ interface DiagnosticSettingsResources {
6768
/**
6869
* Gets the active diagnostic settings list for the specified resource.
6970
*/
70-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
71+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
7172
@operationId("DiagnosticSettings_List")
7273
@tag("DiagnosticSettings")
7374
list is Extension.ListByTarget<

specification/monitor/resource-manager/Microsoft.Insights/Insights/DiagnosticsSettings/back-compatible.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ using Microsoft.Insights;
1212
);
1313
@@clientLocation(DiagnosticSettingsResources.delete, "DiagnosticSettings");
1414
@@clientLocation(DiagnosticSettingsResources.list, "DiagnosticSettings");
15-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Property flatten for SDK backward compatibility."
15+
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
1616
@@Legacy.flattenProperty(DiagnosticSettingsResource.properties);
1717

1818
@@clientLocation(DiagnosticSettingsCategoryResources.get,
@@ -21,5 +21,5 @@ using Microsoft.Insights;
2121
@@clientLocation(DiagnosticSettingsCategoryResources.list,
2222
"DiagnosticSettingsCategory"
2323
);
24-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Property flatten for SDK backward compatibility."
24+
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
2525
@@Legacy.flattenProperty(DiagnosticSettingsCategoryResource.properties);

specification/monitor/resource-manager/Microsoft.Insights/Insights/DiagnosticsSettings/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ using TypeSpec.Versioning;
2525
/**
2626
* Monitor Management Client
2727
*/
28+
#suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
2829
@armProviderNamespace
2930
@service(#{ title: "MonitorManagementClient" })
3031
@versioned(Versions)

specification/monitor/resource-manager/Microsoft.Insights/Insights/DiagnosticsSettings/models.tsp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ union CategoryType {
5858
/**
5959
* The diagnostic settings.
6060
*/
61-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility"
61+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
6262
model DiagnosticSettings {
6363
/**
6464
* The resource ID of the storage account to which you would like to send Diagnostic Logs.
@@ -83,11 +83,13 @@ model DiagnosticSettings {
8383
/**
8484
* The list of metric settings.
8585
*/
86+
#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
8687
metrics?: MetricSettings[];
8788

8889
/**
8990
* The list of logs settings.
9091
*/
92+
#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
9193
logs?: LogSettings[];
9294

9395
/**
@@ -208,7 +210,7 @@ model DiagnosticSettingsResourceCollection {
208210
/**
209211
* The diagnostic settings Category.
210212
*/
211-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility"
213+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
212214
model DiagnosticSettingsCategory {
213215
/**
214216
* The type of the diagnostic settings category.

specification/monitor/resource-manager/Microsoft.Insights/Insights/TenantActionGroups/TenantActionGroupResource.tsp

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ interface TenantActionGroupResources {
6969
/**
7070
* Get a tenant action group.
7171
*/
72-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
72+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
7373
@operationId("TenantActionGroups_Get")
7474
get is Extension.Read<
7575
Extension.ManagementGroup<"managementGroupId">,
@@ -78,6 +78,7 @@ interface TenantActionGroupResources {
7878
/**
7979
* The tenant ID of the client making the request.
8080
*/
81+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
8182
@header
8283
`x-ms-client-tenant-id`: string;
8384
},
@@ -87,7 +88,7 @@ interface TenantActionGroupResources {
8788
/**
8889
* Create a new tenant action group or update an existing one.
8990
*/
90-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
91+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
9192
@operationId("TenantActionGroups_CreateOrUpdate")
9293
createOrUpdate is Extension.CreateOrReplaceSync<
9394
Extension.ManagementGroup<"managementGroupId">,
@@ -96,6 +97,7 @@ interface TenantActionGroupResources {
9697
/**
9798
* The tenant ID of the client making the request.
9899
*/
100+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
99101
@header
100102
`x-ms-client-tenant-id`: string;
101103
},
@@ -105,7 +107,7 @@ interface TenantActionGroupResources {
105107
/**
106108
* Updates an existing tenant action group's tags. To update other fields use the CreateOrUpdate method.
107109
*/
108-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
110+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
109111
@operationId("TenantActionGroups_Update")
110112
@patch(#{ implicitOptionality: false })
111113
update is Extension.CustomPatchSync<
@@ -116,6 +118,7 @@ interface TenantActionGroupResources {
116118
/**
117119
* The tenant ID of the client making the request.
118120
*/
121+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
119122
@header
120123
`x-ms-client-tenant-id`: string;
121124
},
@@ -125,7 +128,7 @@ interface TenantActionGroupResources {
125128
/**
126129
* Delete a tenant action group.
127130
*/
128-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
131+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
129132
@operationId("TenantActionGroups_Delete")
130133
delete is Extension.DeleteSync<
131134
Extension.ManagementGroup<"managementGroupId">,
@@ -134,6 +137,7 @@ interface TenantActionGroupResources {
134137
/**
135138
* The tenant ID of the client making the request.
136139
*/
140+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
137141
@header
138142
`x-ms-client-tenant-id`: string;
139143
},
@@ -143,7 +147,7 @@ interface TenantActionGroupResources {
143147
/**
144148
* Get a list of all tenant action groups in a management group.
145149
*/
146-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
150+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
147151
@operationId("TenantActionGroups_ListByManagementGroupId")
148152
listByManagementGroupId is Extension.ListByTarget<
149153
Extension.ManagementGroup<"managementGroupId">,
@@ -152,6 +156,7 @@ interface TenantActionGroupResources {
152156
/**
153157
* The tenant ID of the client making the request.
154158
*/
159+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
155160
@header
156161
`x-ms-client-tenant-id`: string;
157162
},
@@ -162,7 +167,7 @@ interface TenantActionGroupResources {
162167
/**
163168
* Send test notifications to a set of provided receivers
164169
*/
165-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
170+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
166171
@operationId("CreateNotificationsAtTenantActionGroupResourceLevel")
167172
@action("createNotifications")
168173
createNotificationsAtTenantActionGroupResourceLevel is Extension.ActionAsync<
@@ -174,6 +179,7 @@ interface TenantActionGroupResources {
174179
/**
175180
* The tenant ID of the client making the request.
176181
*/
182+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
177183
@header
178184
`x-ms-client-tenant-id`: string;
179185
}
@@ -182,7 +188,7 @@ interface TenantActionGroupResources {
182188
/**
183189
* Get the test notifications by the notification id
184190
*/
185-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
191+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
186192
@operationId("GetTestNotificationsAtTenantActionGroupResourceLevel")
187193
@get
188194
@action("{notificationId}")
@@ -195,6 +201,7 @@ interface TenantActionGroupResources {
195201
/**
196202
* The tenant ID of the client making the request.
197203
*/
204+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
198205
@header
199206
`x-ms-client-tenant-id`: string;
200207
},

specification/monitor/resource-manager/Microsoft.Insights/Insights/TenantActionGroups/back-compatible.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import "@azure-tools/typespec-client-generator-core";
33
using Azure.ClientGenerator.Core;
44
using Microsoft.Insights;
55

6-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Property flatten for SDK backward compatibility."
6+
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
77
@@Legacy.flattenProperty(ActionGroupPatchBody.properties);
88

99
@@clientLocation(TenantActionGroupResources.get, "TenantActionGroups");
@@ -30,5 +30,5 @@ using Microsoft.Insights;
3030
@@clientLocation(TenantActionGroupResources.getTestNotificationsAtTenantActionGroupResourceLevel,
3131
""
3232
);
33-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Property flatten for SDK backward compatibility."
33+
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3434
@@Legacy.flattenProperty(TenantActionGroupResource.properties);

specification/monitor/resource-manager/Microsoft.Insights/Insights/TenantActionGroups/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ using TypeSpec.Versioning;
2424
/**
2525
* Monitor Management Client
2626
*/
27+
#suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
2728
@armProviderNamespace
2829
@service(#{ title: "Azure Tenant Action Groups API" })
2930
@versioned(Versions)

specification/monitor/resource-manager/Microsoft.Insights/Insights/TenantActionGroups/models.tsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.Insights;
1313
/**
1414
* Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications.
1515
*/
16-
#suppress "@azure-tools/typespec-azure-core/no-enum" "For backward compatibility"
16+
#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
1717
enum ReceiverStatus {
1818
/**
1919
* NotSpecified
@@ -34,7 +34,7 @@ enum ReceiverStatus {
3434
/**
3535
* A tenant action group.
3636
*/
37-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility"
37+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3838
model TenantActionGroup {
3939
/**
4040
* The short name of the action group. This will be used in SMS messages.
@@ -236,7 +236,7 @@ model AzureResource {
236236
/**
237237
* Resource tags
238238
*/
239-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
239+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
240240
tags?: Record<string>;
241241
}
242242

@@ -263,7 +263,7 @@ model ActionGroupPatchBody {
263263
/**
264264
* Resource tags
265265
*/
266-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
266+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
267267
tags?: Record<string>;
268268

269269
/**

specification/monitor/resource-manager/Microsoft.Insights/Insights/VmInsightsOnboarding/VMInsightsOnboardingStatus.tsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ namespace Microsoft.Insights;
1313
/**
1414
* VM Insights onboarding status for a resource.
1515
*/
16+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-base-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
17+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
1618
@singleton("default")
1719
@extensionResource
1820
model VMInsightsOnboardingStatus
@@ -25,12 +27,13 @@ model VMInsightsOnboardingStatus
2527
>;
2628
}
2729

30+
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
2831
@armResourceOperations(#{ omitTags: true })
2932
interface VMInsightsOnboardingStatuses {
3033
/**
3134
* Retrieves the VM Insights onboarding status for the specified resource or resource scope.
3235
*/
33-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
36+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3437
@operationId("VMInsights_GetOnboardingStatus")
3538
@tag("VM Insights Onboarding")
3639
getOnboardingStatus is Extension.Read<

0 commit comments

Comments
 (0)