From 5d866049d20d0a815cc2e7e9d138865ad9963dde Mon Sep 17 00:00:00 2001 From: Will Ehrich Date: Mon, 10 Sep 2018 19:44:48 -0700 Subject: [PATCH 1/4] Fixed interfaceEndpoint.json --- .../stable/2018-08-01/interfaceEndpoint.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/interfaceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/interfaceEndpoint.json index 4264a432a897..dc543ee2cc8d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/interfaceEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/interfaceEndpoint.json @@ -284,13 +284,14 @@ "description": "A reference to the service being brought into the virtual network." }, "subnet": { - "$ref": "./network.json#/definitions/SubResource", + "$ref": "./virtualNetwork.json#/definitions/Subnet", "description": "The ID of the subnet from which the private IP will be allocated." }, "networkInterfaces": { "type": "array", + "readOnly": true, "items": { - "$ref": "./network.json#/definitions/SubResource" + "$ref": "./networkInterface.json#/definitions/NetworkInterface" }, "description": "Gets an array of references to the network interfaces created for this interface endpoint." }, From b25d69ae2f38a26108b925c2e2cb0b4e24deace6 Mon Sep 17 00:00:00 2001 From: Will Ehrich Date: Mon, 10 Sep 2018 20:08:09 -0700 Subject: [PATCH 2/4] further changes --- .../stable/2018-08-01/networkInterface.json | 6 +----- .../Microsoft.Network/stable/2018-08-01/virtualNetwork.json | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json index 1b7a006b5d28..f86e28029e91 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json @@ -765,7 +765,7 @@ "readOnly": true, "type": "string", "description": "Sub Resource type." - } + }, }, "allOf": [ { @@ -983,10 +983,6 @@ "readOnly": true, "description": "A list of references to linked BareMetal resources" }, - "linkedResourceType": { - "type": "string", - "description": "The type of resource to be linked to this network interface" - }, "resourceGuid": { "type": "string", "description": "The resource GUID property of the network interface resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json index 6f9d433fbccc..5b8e9ff82ede 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json @@ -990,7 +990,7 @@ "interfaceEndpoints": { "type": "array", "items": { - "$ref": "./network.json#/definitions/SubResource" + "$ref": "./interfaceEndpoint.json#/definitions/InterfaceEndpoint" }, "description": "An array of references to interface endpoints " }, From 154cf3faba445bd8ef2fdec5efbce3c885a975a6 Mon Sep 17 00:00:00 2001 From: Will Ehrich Date: Mon, 10 Sep 2018 20:10:36 -0700 Subject: [PATCH 3/4] changes: --- .../Microsoft.Network/stable/2018-08-01/networkInterface.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json index f86e28029e91..e8d0a9b59c14 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkInterface.json @@ -765,7 +765,7 @@ "readOnly": true, "type": "string", "description": "Sub Resource type." - }, + } }, "allOf": [ { From d36e75f91f290b68e74bf8c95378dcd055beb4e1 Mon Sep 17 00:00:00 2001 From: Will Ehrich Date: Mon, 10 Sep 2018 20:19:20 -0700 Subject: [PATCH 4/4] Read only --- .../Microsoft.Network/stable/2018-08-01/virtualNetwork.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json index 5b8e9ff82ede..477ec20ee203 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetwork.json @@ -988,6 +988,7 @@ "description": "An array of service endpoint policies." }, "interfaceEndpoints": { + "readOnly": true, "type": "array", "items": { "$ref": "./interfaceEndpoint.json#/definitions/InterfaceEndpoint"