Add new NSP api versions #26283
Merged
Add new NSP api versions #26283
openapi-pipeline-app / ~[NotRequired_Staging] Swagger LintDiff
completed
Oct 18, 2023 in 9m 59s
~[NotRequired_Staging] Swagger LintDiff failed
ppe/LintDiff: 54 Errors, 30 Warnings
The check status is neutral due to the check was suppressed by label Approved-LintDiff. If you have any question, pls contact [email protected]
View more details.
Details
compared tags (via openapi-validator vbeta) | new version | base version |
---|---|---|
package-2023-08-preview | package-2023-08-preview(7d69368) | default(main) |
package-2023-07-preview | package-2023-07-preview(7d69368) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
TrackedResourcePatchOperation
|
Tracked resource 'NspAssociation' must have patch operation that at least supports the update of tags. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1557 |
RPC-Patch-V1-03 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NspAssociation' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1557 |
RPC-Get-V1-03, RPC-Put-V1-08 |
TrackedResourcePatchOperation
|
Tracked resource 'NspAccessRule' must have patch operation that at least supports the update of tags. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1406 |
RPC-Patch-V1-03 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NspAccessRule' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1406 |
RPC-Get-V1-03, RPC-Put-V1-08 |
TrackedResourcePatchOperation
|
Tracked resource 'NspProfile' must have patch operation that at least supports the update of tags. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1343 |
RPC-Patch-V1-03 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NspProfile' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1343 |
RPC-Get-V1-03, RPC-Put-V1-08 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NetworkSecurityPerimeter' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1258 |
RPC-Get-V1-03, RPC-Put-V1-08 |
MissingTypeObject
|
The schema 'ProxyResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L171 |
|
OperationsAPIImplementation
|
Operations API must be implemented for 'Microsoft.Network'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L1 |
|
TrackedResourcePatchOperation
|
Tracked resource 'NspAssociation' must have patch operation that at least supports the update of tags. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1550 |
RPC-Patch-V1-03 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NspAssociation' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1550 |
RPC-Get-V1-03, RPC-Put-V1-08 |
TrackedResourcePatchOperation
|
Tracked resource 'NspAccessRule' must have patch operation that at least supports the update of tags. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1406 |
RPC-Patch-V1-03 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NspAccessRule' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1406 |
RPC-Get-V1-03, RPC-Put-V1-08 |
TrackedResourcePatchOperation
|
Tracked resource 'NspProfile' must have patch operation that at least supports the update of tags. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1343 |
RPC-Patch-V1-03 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NspProfile' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1343 |
RPC-Get-V1-03, RPC-Put-V1-08 |
RequiredPropertiesMissingInResourceModel
|
Model definition 'NetworkSecurityPerimeter' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1258 |
RPC-Get-V1-03, RPC-Put-V1-08 |
MissingTypeObject
|
The schema 'ProxyResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L171 |
|
OperationsAPIImplementation
|
Operations API must be implemented for 'Microsoft.Network'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L1 |
|
FATAL
|
spectralPluginFunc: Failed validating: 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json'. Errors encountered: Error: Error running Nimma Error 1: Location: azure-rest-api-specs/blob/7d693687b2a5ffa528fece8328d1e59999bfbed5/#L1 |
|
FATAL
|
spectralPluginFunc: Failed validating: 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json'. Errors encountered: Error: Error running Nimma Error 1: Location: azure-rest-api-specs/blob/7d693687b2a5ffa528fece8328d1e59999bfbed5/#L1 |
|
The response of operation:'NspLinkReferences_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L1139 |
||
The response of operation:'NspLinks_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L987 |
||
The response of operation:'NspLinks_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L961 |
||
OperationId should contain the verb: 'reconcile' in:'NspAccessRulesReconcile_Post'. Consider updating the operationId Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L909 |
||
OperationId should contain the verb: 'reconcile' in:'NspAssociationReconcile_Post'. Consider updating the operationId Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L811 |
||
The response of operation:'NspAssociations_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L658 |
||
The response of operation:'NspAssociations_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L632 |
||
The response of operation:'NspAccessRules_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L490 |
||
The response of operation:'NspAccessRules_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L464 |
||
The response of operation:'NspProfiles_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L322 |
||
The response of operation:'NspProfiles_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L296 |
||
The response of operation:'NetworkSecurityPerimeters_Patch' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L147 |
||
The response of operation:'NetworkSecurityPerimeters_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L78 |
||
The response of operation:'NetworkSecurityPerimeters_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json#L52 |
||
The response of operation:'NspLinkReferences_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L1139 |
||
The response of operation:'NspLinks_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L987 |
||
The response of operation:'NspLinks_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L961 |
||
OperationId should contain the verb: 'reconcile' in:'NspAccessRulesReconcile_Post'. Consider updating the operationId Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L909 |
||
OperationId should contain the verb: 'reconcile' in:'NspAssociationReconcile_Post'. Consider updating the operationId Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L811 |
||
The response of operation:'NspAssociations_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L658 |
||
The response of operation:'NspAssociations_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L632 |
||
The response of operation:'NspAccessRules_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L490 |
||
The response of operation:'NspAccessRules_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L464 |
||
The response of operation:'NspProfiles_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L322 |
||
The response of operation:'NspProfiles_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L296 |
||
The response of operation:'NetworkSecurityPerimeters_Patch' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L147 |
||
The response of operation:'NetworkSecurityPerimeters_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L78 |
||
The response of operation:'NetworkSecurityPerimeters_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json#L52 |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
XmsParameterLocation |
The parameter 'ApiVersionVmssParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L423 |
XmsParameterLocation |
The parameter 'ApiVersionParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L416 |
XmsParameterLocation |
The parameter 'SubscriptionIdParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L409 |
MissingTypeObject |
The schema 'ExtendedLocation' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L394 |
ProvisioningStateValidation |
ProvisioningState must have terminal states: Succeeded, Failed and Canceled. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L320 |
AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L300 |
MissingTypeObject |
The schema 'ManagedServiceIdentity' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L272 |
MissingTypeObject |
The schema 'TagsObject' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L207 |
MissingTypeObject |
The schema 'SubResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L197 |
MissingTypeObject |
The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L140 |
MissingTypeObject |
The schema 'AzureAsyncOperationResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L118 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L108 |
MissingTypeObject |
The schema 'CloudErrorBody' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L93 |
MissingTypeObject |
The schema 'CloudError' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L83 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L69 |
MissingTypeObject |
The schema 'Error' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L55 |
MissingTypeObject |
The schema 'ErrorDetails' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L38 |
XmsParameterLocation |
The parameter 'ApiVersionVmssParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L423 |
XmsParameterLocation |
The parameter 'ApiVersionParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L416 |
XmsParameterLocation |
The parameter 'SubscriptionIdParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L409 |
MissingTypeObject |
The schema 'ExtendedLocation' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L394 |
ProvisioningStateValidation |
ProvisioningState must have terminal states: Succeeded, Failed and Canceled. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L320 |
AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L300 |
MissingTypeObject |
The schema 'ManagedServiceIdentity' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L272 |
MissingTypeObject |
The schema 'TagsObject' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L207 |
MissingTypeObject |
The schema 'SubResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L197 |
MissingTypeObject |
The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L140 |
MissingTypeObject |
The schema 'AzureAsyncOperationResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L118 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L108 |
MissingTypeObject |
The schema 'CloudErrorBody' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L93 |
MissingTypeObject |
The schema 'CloudError' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L83 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L69 |
MissingTypeObject |
The schema 'Error' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L55 |
MissingTypeObject |
The schema 'ErrorDetails' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L38 |
Property location must have 'x-ms-mutability':['read', 'create'] extension defined.Location: Microsoft.Network/preview/2023-08-01-preview/network.json#L156 |
|
Property location must have 'x-ms-mutability':['read', 'create'] extension defined.Location: Microsoft.Network/preview/2023-07-01-preview/network.json#L156 |
Loading