VirtualNetworkGateway identity fix #29376
Merged
openapi-pipeline-app / Swagger LintDiff
succeeded
Jun 10, 2024 in 16m 40s
Swagger LintDiff succeeded
Details
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-2024-01 | package-2024-01(fd4a7f2) | package-2024-01(guptavertika/release-network-Microsoft.Network-official-2024-01-01) |
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 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L37 |
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.Network/stable/2024-01-01/virtualNetworkGateway.json#L159 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L191 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L252 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L325 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L378 |
ParametersInPost |
gatewayVip is a query parameter. Post operation must not contain any query parameter other than api-version. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L385 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L415 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L442 |
PostResponseCodes |
200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L443 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L475 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L496 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L541 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L562 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L607 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L628 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L664 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L685 |
ParametersInPost |
peer is a query parameter. Post operation must not contain any query parameter other than api-version. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L692 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L728 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L749 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L799 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L835 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L856 |
ParametersInPost |
peer is a query parameter. Post operation must not contain any query parameter other than api-version. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L863 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L899 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L920 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L959 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L986 |
PostResponseCodes |
Long-running POST operations must have responses with 202 and default return codes. They must also have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. They also must not have other response codes. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L987 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayConnectionName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1040 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1099 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1138 |
DefaultErrorResponseSchema |
the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1147 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1168 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1207 |
DefaultErrorResponseSchema |
the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1216 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayConnectionName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1234 |
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.Network/stable/2024-01-01/virtualNetworkGateway.json#L1350 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1382 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1443 |
EvenSegmentedPathForPutOperation |
API path with PUT operation defined MUST have even number of segments (i.e. end in {resourceType}/{resourceName} segments). Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1470 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayConnectionName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1470 |
ProvisioningStateSpecifiedForLROPut |
200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1471 |
ProvisioningStateSpecifiedForLROPut |
201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1471 |
XmsPageableForListCalls |
x-ms-pageable extension must be specified for LIST APIs.Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1538 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1569 |
PathForResourceAction |
Path for 'post' method on a resource type MUST follow valid resource naming. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1633 |
ResourceNameRestriction |
The resource name parameter 'virtualNetworkGatewayConnectionName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1633 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2024-01-01/virtualNetworkGateway.json#L1678 |
Loading