Skip to content

Commit 6ed9f42

Browse files
author
Tosin Adewale
committed
PrivateEndpointConnection should inherit proxyresource
1 parent 2a0ec7d commit 6ed9f42

File tree

1 file changed

+26
-13
lines changed
  • specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview

1 file changed

+26
-13
lines changed

specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,20 +1520,12 @@
15201520
"PrivateEndpointConnection": {
15211521
"description": "An object that represents a private endpoint connection for a container registry.",
15221522
"type": "object",
1523+
"allOf": [
1524+
{
1525+
"$ref": "#/definitions/ProxyResource"
1526+
}
1527+
],
15231528
"properties": {
1524-
"type": {
1525-
"description": "The resource type is private endpoint connection.",
1526-
"type": "string",
1527-
"readOnly": true
1528-
},
1529-
"id": {
1530-
"description": "The resource ID.",
1531-
"type": "string"
1532-
},
1533-
"name": {
1534-
"description": "The name of the resource.",
1535-
"type": "string"
1536-
},
15371529
"properties": {
15381530
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
15391531
"description": "The properties of a private endpoint connection.",
@@ -2935,6 +2927,27 @@
29352927
}
29362928
},
29372929
"x-ms-azure-resource": true
2930+
},
2931+
"ProxyResource": {
2932+
"description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.",
2933+
"properties": {
2934+
"id": {
2935+
"description": "The resource ID.",
2936+
"type": "string",
2937+
"readOnly": true
2938+
},
2939+
"name": {
2940+
"description": "The name of the resource.",
2941+
"type": "string",
2942+
"readOnly": true
2943+
},
2944+
"type": {
2945+
"description": "The type of the resource.",
2946+
"type": "string",
2947+
"readOnly": true
2948+
}
2949+
},
2950+
"x-ms-azure-resource": true
29382951
}
29392952
},
29402953
"parameters": {

0 commit comments

Comments
 (0)