Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix PrivateEndpointConnection duplicate schema
  • Loading branch information
XiaofeiCao committed Dec 12, 2025
commit a36581b9dd8692914aa18a3065dac5ff6ec16d26
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@ interface PrivateEndpointConnections {
>;
}

/** List of private endpoint connections associated with the specified resource. */
model PrivateEndpointConnectionResourceListResult {
/** Array of private endpoint connections. */
@identifiers(#["id"])
@pageItems
value?: PrivateEndpointConnection[];

/** URL to get the next set of operation list results (if there are any). */
@visibility(Lifecycle.Read)
@nextLink
nextLink?: url;
}

@@doc(PrivateEndpointConnection.properties, "Resource properties.");
@@doc(PrivateEndpointConnections.put::parameters.resource,
"The private endpoint connection properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ using Azure.ClientGenerator.Core;

@@clientName(Azure.ResourceManager.CommonTypes.PrivateEndpointConnection,
"ArmPrivateEndpointConnection",
"python"
"python,java"
);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/preview/2025-08-01-preview/examples/RedisEnterpriseMigrationStart.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/preview/2025-08-01-preview/examples/RedisEnterpriseMigrationStart.json#L1

specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/preview/2025-08-01-preview/examples/RedisEnterpriseMigrationStart.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/preview/2025-08-01-preview/examples/RedisEnterpriseMigrationStart.json
"parameters": {
"api-version": "2025-08-01-preview",
"clusterName": "cache1",
Expand Down Expand Up @@ -59,4 +59,4 @@
},
"operationId": "Migration_Start",
"title": "RedisEnterpriseMigrationStart"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,7 @@
"200": {
"description": "Azure operation completed successfully.",
"schema": {
"$ref": "../../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateEndpointConnectionListResult"
"$ref": "#/definitions/PrivateEndpointConnectionResourceListResult"
}
},
"default": {
Expand Down Expand Up @@ -3695,6 +3695,28 @@
}
}
},
"PrivateEndpointConnectionResourceListResult": {
"type": "object",
"description": "List of private endpoint connections associated with the specified resource.",
"properties": {
"value": {
"type": "array",
"description": "Array of private endpoint connections.",
"items": {
"$ref": "../../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateEndpointConnection"
},
"x-ms-identifiers": [
"id"
]
},
"nextLink": {
"type": "string",
"format": "uri",
"description": "URL to get the next set of operation list results (if there are any).",
"readOnly": true
}
}
},
"Protocol": {
"type": "string",
"description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.",
Expand Down
Loading