Skip to content

Commit 4c276b8

Browse files
authored
Merge pull request Azure#8 from v-zhocai/TspMig-web(appservice)-Microsoft.Web
update suppress and tspconfig
2 parents cdfe236 + 2fd8ca6 commit 4c276b8

44 files changed

Lines changed: 571 additions & 471 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

specification/web/Web.Management/AppServicePlan.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ interface AppServicePlans {
6666
* Description for Creates or updates an App Service Plan.
6767
*/
6868
#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
69-
#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" ""
69+
#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
7070
@patch(#{ implicitOptionality: false })
7171
update is ArmCustomPatchSync<
7272
AppServicePlan,

specification/web/Web.Management/BackupItem.tsp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ interface BackupItems {
101101
*/
102102
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
103103
@operationId("WebApps_Restore")
104-
restore is BackupItemOps.ActionAsync<BackupItem, RestoreRequest, OkResponse, OverrideErrorType = DefaultErrorResponse>;
104+
restore is BackupItemOps.ActionAsync<
105+
BackupItem,
106+
RestoreRequest,
107+
OkResponse,
108+
OverrideErrorType = DefaultErrorResponse
109+
>;
105110
}
106111
@armResourceOperations
107112
interface BackupItemOperationGroupOps

specification/web/Web.Management/Certificate.tsp

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ interface Certificates {
5454
/**
5555
* Description for Create or update a certificate.
5656
*/
57-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility"
57+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
5858
createOrUpdate is CertificateOps.CreateOrUpdateSync<
5959
Certificate,
6060
Response = ArmResourceUpdatedResponse<Certificate>,
@@ -136,12 +136,18 @@ interface SiteCertificates {
136136
/**
137137
* Get a certificate belonging to a given site.
138138
*/
139-
get is SiteCertificateOps.Read<Certificate, OverrideErrorType = DefaultErrorResponse>;
139+
get is SiteCertificateOps.Read<
140+
Certificate,
141+
OverrideErrorType = DefaultErrorResponse
142+
>;
140143

141144
/**
142145
* Create or update a certificate under a given site.
143146
*/
144-
createOrUpdate is SiteCertificateOps.CreateOrUpdateSync<Certificate, OverrideErrorType = DefaultErrorResponse>;
147+
createOrUpdate is SiteCertificateOps.CreateOrUpdateSync<
148+
Certificate,
149+
OverrideErrorType = DefaultErrorResponse
150+
>;
145151

146152
/**
147153
* Create or update a certificate under a given site.
@@ -156,7 +162,10 @@ interface SiteCertificates {
156162
/**
157163
* Delete a certificate from the site.
158164
*/
159-
delete is SiteCertificateOps.DeleteSync<Certificate, OverrideErrorType = DefaultErrorResponse>;
165+
delete is SiteCertificateOps.DeleteSync<
166+
Certificate,
167+
OverrideErrorType = DefaultErrorResponse
168+
>;
160169

161170
/**
162171
* Get all certificates in a resource group under a site.

specification/web/Web.Management/DetectorDefinitionResource.tsp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ interface DetectorDefinitionResources {
6262
*/
6363
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
6464
@operationId("Diagnostics_GetSiteDetector")
65-
getSiteDetector is DetectorDefinitionResourceOps.Read<DetectorDefinitionResource, OverrideErrorType = DefaultErrorResponse>;
65+
getSiteDetector is DetectorDefinitionResourceOps.Read<
66+
DetectorDefinitionResource,
67+
OverrideErrorType = DefaultErrorResponse
68+
>;
6669

6770
/**
6871
* Description for Get Detectors
@@ -151,7 +154,10 @@ interface DetectorDefinitionResourceOperationGroup {
151154
*/
152155
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
153156
@operationId("Diagnostics_GetSiteDetectorSlot")
154-
getSiteDetectorSlot is DetectorDefinitionResourceOperationGroupOps.Read<DetectorDefinitionResource, OverrideErrorType = DefaultErrorResponse>;
157+
getSiteDetectorSlot is DetectorDefinitionResourceOperationGroupOps.Read<
158+
DetectorDefinitionResource,
159+
OverrideErrorType = DefaultErrorResponse
160+
>;
155161

156162
/**
157163
* Description for Get Detectors

specification/web/Web.Management/DiagnosticCategory.tsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ interface DiagnosticCategories {
5454
*/
5555
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
5656
@operationId("Diagnostics_GetSiteDiagnosticCategory")
57-
getSiteDiagnosticCategory is DiagnosticCategoryOps.Read<DiagnosticCategory, OverrideErrorType = DefaultErrorResponse>;
57+
getSiteDiagnosticCategory is DiagnosticCategoryOps.Read<
58+
DiagnosticCategory,
59+
OverrideErrorType = DefaultErrorResponse
60+
>;
5861

5962
/**
6063
* Description for Get Diagnostics Categories

specification/web/Web.Management/Identifier.tsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ interface Identifiers {
8989
*/
9090
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
9191
@operationId("WebApps_DeleteDomainOwnershipIdentifier")
92-
deleteDomainOwnershipIdentifier is IdentifierOps.DeleteSync<Identifier, OverrideErrorType = DefaultErrorResponse>;
92+
deleteDomainOwnershipIdentifier is IdentifierOps.DeleteSync<
93+
Identifier,
94+
OverrideErrorType = DefaultErrorResponse
95+
>;
9396

9497
/**
9598
* Description for Lists ownership identifiers for domain associated with web app.

specification/web/Web.Management/MSDeployStatus.tsp

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ interface MSDeployStatuses {
6262
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
6363
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
6464
@operationId("WebApps_GetMSDeployStatus")
65-
getMSDeployStatus is MSDeployStatusOps.Read<MSDeployStatus, OverrideErrorType = DefaultErrorResponse>;
65+
getMSDeployStatus is MSDeployStatusOps.Read<
66+
MSDeployStatus,
67+
OverrideErrorType = DefaultErrorResponse
68+
>;
6669

6770
/**
6871
* Description for Invoke the MSDeploy web app extension.
@@ -213,7 +216,10 @@ interface MSDeployStatusSlotOperationGroup {
213216
*/
214217
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
215218
@operationId("WebApps_GetMSDeployStatusSlot")
216-
getMSDeployStatusSlot is MSDeployStatusSlotOperationGroupOps.Read<MSDeployStatus, OverrideErrorType = DefaultErrorResponse>;
219+
getMSDeployStatusSlot is MSDeployStatusSlotOperationGroupOps.Read<
220+
MSDeployStatus,
221+
OverrideErrorType = DefaultErrorResponse
222+
>;
217223

218224
/**
219225
* Description for Invoke the MSDeploy web app extension.
@@ -292,7 +298,10 @@ interface InstanceMSDeployStatusOperationGroup {
292298
*/
293299
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
294300
@operationId("WebApps_GetInstanceMsDeployStatusSlot")
295-
getInstanceMsDeployStatusSlot is InstanceMSDeployStatusOperationGroupOps.Read<MSDeployStatus, OverrideErrorType = DefaultErrorResponse>;
301+
getInstanceMsDeployStatusSlot is InstanceMSDeployStatusOperationGroupOps.Read<
302+
MSDeployStatus,
303+
OverrideErrorType = DefaultErrorResponse
304+
>;
296305

297306
/**
298307
* Description for Invoke the MSDeploy web app extension.

specification/web/Web.Management/MigrateMySqlStatus.tsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ interface MigrateMySqlStatuses {
5757
*/
5858
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
5959
@operationId("WebApps_GetMigrateMySqlStatus")
60-
getMigrateMySqlStatus is MigrateMySqlStatusOps.Read<MigrateMySqlStatus,OverrideErrorType = DefaultErrorResponse>;
60+
getMigrateMySqlStatus is MigrateMySqlStatusOps.Read<
61+
MigrateMySqlStatus,
62+
OverrideErrorType = DefaultErrorResponse
63+
>;
6164
}
6265
@armResourceOperations
6366
interface MigrateMySqlStatusOperationGroupOps

specification/web/Web.Management/PremierAddOn.tsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ interface PremierAddOns {
5656
*/
5757
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
5858
@operationId("WebApps_GetPremierAddOn")
59-
getPremierAddOn is PremierAddOnOps.Read<PremierAddOn,OverrideErrorType = DefaultErrorResponse>;
59+
getPremierAddOn is PremierAddOnOps.Read<
60+
PremierAddOn,
61+
OverrideErrorType = DefaultErrorResponse
62+
>;
6063

6164
/**
6265
* Description for Updates a named add-on of an app.

specification/web/Web.Management/PrivateAccess.tsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ interface PrivateAccesses {
5757
*/
5858
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
5959
@operationId("WebApps_GetPrivateAccess")
60-
getPrivateAccess is PrivateAccessOps.Read<PrivateAccess,OverrideErrorType = DefaultErrorResponse>;
60+
getPrivateAccess is PrivateAccessOps.Read<
61+
PrivateAccess,
62+
OverrideErrorType = DefaultErrorResponse
63+
>;
6164

6265
/**
6366
* Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.

0 commit comments

Comments
 (0)