-
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.
Added OutboundNetworkDependenciesEndpoints API (#15498)
* Adds VNet peering to 2021-04-01-preview api-version. * Added OutboundNetworkDependencies. * Fixed Prettier issue * Fixed lint error * Edited sample output * Added reference to preview/vnetpeering.json in readme file * Edited description for outbound network dependency endpoints. * Corrected return type for outbound network dependency endpoints. * Corrected return type for outbound network dependency endpoints. * Correcting schema * Correcting schema Co-authored-by: nipuneth <nipuneth@microsoft.com> Co-authored-by: Sharanjeet Kaur <shkau@microsoft.com>
- Loading branch information
1 parent
6bb4782
commit a3c9363
Showing
8 changed files
with
905 additions
and
1 deletion.
There are no files selected for viewing
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
120 changes: 120 additions & 0 deletions
120
...abricks/preview/2021-04-01-preview/examples/OutboundNetworkDependenciesEndpointsList.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,120 @@ | ||
{ | ||
"parameters": { | ||
"workspaceName": "myWorkspace", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-04-01-preview", | ||
"subscriptionId": "11111111-1111-1111-1111-111111111111" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": [ | ||
{ | ||
"category": "Webapp", | ||
"endpoints": [ | ||
{ | ||
"endpointDetails": [ | ||
{ | ||
"ipAddress": "11.111.111.11/11", | ||
"port": 123 | ||
}, | ||
{ | ||
"ipAddress": "22.222.222.22/22", | ||
"port": 123 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"category": "Control Plane NAT", | ||
"endpoints": [ | ||
{ | ||
"endpointDetails": [ | ||
{ | ||
"ipAddress": "33.33.333.333/33", | ||
"port": 123 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"category": "Extended infrastructure", | ||
"endpoints": [ | ||
{ | ||
"endpointDetails": [ | ||
{ | ||
"ipAddress": "44.44.44.44/44", | ||
"port": 123 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"category": "Azure Storage", | ||
"endpoints": [ | ||
{ | ||
"domainName": "xxx.blob.core.windows.net", | ||
"endpointDetails": [ | ||
{ | ||
"port": 123 | ||
} | ||
] | ||
}, | ||
{ | ||
"domainName": "yyy.blob.core.windows.net", | ||
"endpointDetails": [ | ||
{ | ||
"port": 123 | ||
} | ||
] | ||
}, | ||
{ | ||
"domainName": "zzz.blob.core.windows.net", | ||
"endpointDetails": [ | ||
{ | ||
"port": 123 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"category": "Azure My SQL", | ||
"endpoints": [ | ||
{ | ||
"domainName": "xxx.mysql.database.azure.com", | ||
"endpointDetails": [ | ||
{ | ||
"port": 1234 | ||
} | ||
] | ||
}, | ||
{ | ||
"domainName": "yyy.mysql.database.azure.com", | ||
"endpointDetails": [ | ||
{ | ||
"port": 1234 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"category": "Azure Servicebus", | ||
"endpoints": [ | ||
{ | ||
"domainName": "xxx.servicebus.windows.net", | ||
"endpointDetails": [ | ||
{ | ||
"port": 1234 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...crosoft.Databricks/preview/2021-04-01-preview/examples/WorkspaceVirtualNetPeeringGet.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,43 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"workspaceName": "myWorkspace", | ||
"peeringName": "vNetPeering", | ||
"api-version": "2021-04-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/subramantest/providers/Microsoft.Databricks/workspaces/adbworkspace/virtualNetworkPeerings/vNetPeeringTest", | ||
"name": "vNetPeeringTest", | ||
"properties": { | ||
"allowVirtualNetworkAccess": true, | ||
"allowForwardedTraffic": false, | ||
"allowGatewayTransit": false, | ||
"useRemoteGateways": false, | ||
"remoteVirtualNetwork": { | ||
"id": "/subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/subramantest/providers/Microsoft.Network/virtualNetworks/subramanvnet" | ||
}, | ||
"remoteAddressSpace": { | ||
"addressPrefixes": [ | ||
"10.203.0.0/16" | ||
] | ||
}, | ||
"databricksVirtualNetwork": { | ||
"id": "/subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-adbworkspace-2jsxhmzoyooxm/providers/Microsoft.Network/virtualNetworks/workers-vnet" | ||
}, | ||
"databricksAddressSpace": { | ||
"addressPrefixes": [ | ||
"10.139.0.0/16" | ||
] | ||
}, | ||
"peeringState": "Initiated", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...rosoft.Databricks/preview/2021-04-01-preview/examples/WorkspaceVirtualNetPeeringList.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,45 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"workspaceName": "myWorkspace", | ||
"api-version": "2021-04-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/subramantest/providers/Microsoft.Databricks/workspaces/adbworkspace/virtualNetworkPeerings/vNetPeeringTest", | ||
"name": "vNetPeeringTest", | ||
"properties": { | ||
"allowVirtualNetworkAccess": true, | ||
"allowForwardedTraffic": false, | ||
"allowGatewayTransit": false, | ||
"useRemoteGateways": false, | ||
"remoteVirtualNetwork": { | ||
"id": "/subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/subramantest/providers/Microsoft.Network/virtualNetworks/subramanvnet" | ||
}, | ||
"remoteAddressSpace": { | ||
"addressPrefixes": [ | ||
"10.203.0.0/16" | ||
] | ||
}, | ||
"databricksVirtualNetwork": { | ||
"id": "/subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-adbworkspace-2jsxhmzoyooxm/providers/Microsoft.Network/virtualNetworks/workers-vnet" | ||
}, | ||
"databricksAddressSpace": { | ||
"addressPrefixes": [ | ||
"10.139.0.0/16" | ||
] | ||
}, | ||
"peeringState": "Initiated", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.