swagger 2024 -11-01-preview ltr immutability#34716
Merged
ericshape merged 10 commits intoMay 28, 2025
Merged
openapi-pipeline-app / Swagger LintDiff
failed
May 28, 2025 in 7m 11s
Swagger LintDiff failed
LintDiff: 85 Errors, 109 Warnings
View Azure DevOps build log for more details.
Details
| Compared specs (v2.2.3) | new version | base version |
|---|---|---|
| package-preview-2024-11-01-preview | package-preview-2024-11-01-preview(c20421e) | package-preview-2024-11-01-preview(publish-sql-Microsoft.Sql-2024-11-01-preview) |
[must fix]The following errors/warnings are introduced by current PR:
Only 50 items are listed, please refer to log for more details.
| Rule | Message | Related RPC [For API reviewers] |
|---|---|---|
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L538 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L538 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L538 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L538 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L610 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L610 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L610 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L610 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L682 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L682 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L682 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L682 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L754 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L754 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L754 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L754 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1448 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1448 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1448 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1448 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1527 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1527 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1527 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1527 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1606 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1606 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1606 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1606 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1685 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1685 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1685 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1685 |
RPC-Uri-V1-05 |
| A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L538 |
RPC-Async-V1-05 | |
| Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L545 |
||
| Parameter should have a description. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L546 |
||
| Use the latest version v6 of types.json. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L590 |
||
| A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L610 |
RPC-Async-V1-05 | |
| Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L617 |
||
| Parameter should have a description. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L618 |
||
| Use the latest version v6 of types.json. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L662 |
||
| A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L682 |
RPC-Async-V1-05 | |
| Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L689 |
||
| Parameter should have a description. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L690 |
||
| Use the latest version v6 of types.json. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L734 |
||
| A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L754 |
RPC-Async-V1-05 | |
| Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L761 |
||
| Parameter should have a description. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L762 |
||
| Use the latest version v6 of types.json. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L806 |
||
| A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1448 |
RPC-Async-V1-05 | |
| Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1455 |
The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L19 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L88 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L88 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L164 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L164 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L164 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L247 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L247 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L247 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L247 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L310 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L379 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L379 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L379 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L379 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L456 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L456 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L456 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L456 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L826 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L826 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L826 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L826 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L908 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L980 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L980 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1059 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1059 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1059 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1145 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1145 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1145 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1145 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1211 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1283 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1283 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1283 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1283 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1363 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1363 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1363 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1363 |
ResourceNameRestriction |
The resource name parameter 'locationName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1764 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionServerName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1764 |
ResourceNameRestriction |
The resource name parameter 'longTermRetentionDatabaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1764 |
ResourceNameRestriction |
The resource name parameter 'backupName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionBackups.json#L1764 |
ResourceNameRestriction |
The resource name parameter 'serverName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionPolicies.json#L19 |
ResourceNameRestriction |
The resource name parameter 'databaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionPolicies.json#L19 |
ResourceNameRestriction |
The resource name parameter 'serverName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionPolicies.json#L67 |
ResourceNameRestriction |
The resource name parameter 'databaseName' should be defined with a 'pattern' restriction. Location: Microsoft.Sql/preview/2024-11-01-preview/LongTermRetentionPolicies.json#L67 |
Loading