-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support for interface endpoints (#3783)
* Creating Interface Endpoint definition * Adding references to interface endpoints in existing resources
- Loading branch information
1 parent
17d1ddf
commit da8dc7c
Showing
9 changed files
with
602 additions
and
2 deletions.
There are no files selected for viewing
67 changes: 67 additions & 0 deletions
67
...esource-manager/Microsoft.Network/stable/2018-08-01/examples/InterfaceEndpointCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subId", | ||
"resourceGroupName": "rg1", | ||
"interfaceEndpointName": "testIe", | ||
"parameters": { | ||
"properties": { | ||
"fqdn": "uniqueIdentifier.fqdn.windows.net", | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" | ||
} | ||
} | ||
} | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"name" : "testIe", | ||
"id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", | ||
"location" : "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "uniqueIdentifier.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201" : { | ||
"body" : { | ||
"name" : "testIe", | ||
"id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", | ||
"location" : "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "uniqueIdentifier.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...esource-manager/Microsoft.Network/stable/2018-08-01/examples/InterfaceEndpointDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subId", | ||
"resourceGroupName": "rg1", | ||
"networkInterfaceName": "testIe" | ||
}, | ||
"responses" : { | ||
"200" : { }, | ||
"202" : { }, | ||
"204" : { } | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...k/resource-manager/Microsoft.Network/stable/2018-08-01/examples/InterfaceEndpointGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subId", | ||
"resourceGroupName" : "rg1", | ||
"virtualNetworkName" : "testIe" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"name" : "testIe", | ||
"id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", | ||
"type" : "Microsoft.Network/interfaceEndpoints", | ||
"location" : "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "uniqueIdentifier.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
.../resource-manager/Microsoft.Network/stable/2018-08-01/examples/InterfaceEndpointList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subId", | ||
"resourceGroupName" : "rg1" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", | ||
"name": "ie1", | ||
"type": "Microsoft.Network/interfaceEndpoints", | ||
"location": "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "uniqueIdentifier.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2", | ||
"name": "ie2", | ||
"type": "Microsoft.Network/interfaceEndpoints", | ||
"location": "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "alsoUnique.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
80 changes: 80 additions & 0 deletions
80
...source-manager/Microsoft.Network/stable/2018-08-01/examples/InterfaceEndpointListAll.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subId" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", | ||
"name": "ie1", | ||
"type": "Microsoft.Network/interfaceEndpoints", | ||
"location": "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "uniqueIdentifier.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2", | ||
"name": "ie2", | ||
"type": "Microsoft.Network/interfaceEndpoints", | ||
"location": "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "alsoUnique.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1", | ||
"name": "ie1", | ||
"type": "Microsoft.Network/interfaceEndpoints", | ||
"location": "eastus", | ||
"properties" : { | ||
"provisioningState" : "Succeeded", | ||
"fqdn": "stillVeryUnique.fqdn.windows.net", | ||
"owner": "User", | ||
"endpointService": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" | ||
}, | ||
"subnet": { | ||
"id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
}, | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.