Skip to content

Commit 081e443

Browse files
authored
[Hub Generated] Public private branch 'databricks-privatelink' (#14756)
* adding databricks privatelink endpoint in new apiversion * Merge mised properties in new version * Resolve lint issues * Resolving lint issues * fix prettycheck * updated readme txt file * fix avacodo error * resolving swagger go md file error * added new enum value as per terraform team * suppressed lint issue * Resolving Merge conflicts with master * updated exmple get workspace with private link parameters * Removing unreferenced Examples * Resolving missing property * Resolve Lint Issue * Resolving build errors * Rephrased description * Rephrased on requiredNSGRules Description
1 parent 9b0e13a commit 081e443

File tree

11 files changed

+826
-2
lines changed

11 files changed

+826
-2
lines changed

specification/databricks/resource-manager/Microsoft.Databricks/preview/2021-04-01-preview/databricks.json

Lines changed: 547 additions & 1 deletion
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"workspaceName": "myWorkspace",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2018-04-01",
6+
"subscriptionId": "11111111-1111-1111-1111-111111111111"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
14+
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
15+
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
16+
"properties": {
17+
"privateEndpoint": {
18+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
19+
},
20+
"privateLinkServiceConnectionState": {
21+
"status": "Approved",
22+
"description": "Approved by [email protected]",
23+
"actionRequired": "None"
24+
},
25+
"provisioningState": "Succeeded"
26+
}
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"workspaceName": "myWorkspace",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2018-04-01",
6+
"subscriptionId": "11111111-1111-1111-1111-111111111111"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateLinkResources/databricks_ui_api",
14+
"name": "databricks_ui_api",
15+
"type": "Microsoft.Databricks/workspaces/PrivateLinkResources",
16+
"properties": {
17+
"groupId": "databricks_ui_api",
18+
"requiredMembers": [
19+
"databricks_ui_api"
20+
],
21+
"requiredZoneNames": [
22+
"privatelink.azuredatabricks.net"
23+
]
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}

specification/databricks/resource-manager/Microsoft.Databricks/preview/2021-04-01-preview/examples/OperationsList.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,42 @@
5858
"operation": "Delete Virtual Network Peering",
5959
"description": "Deletes a virtual network peering"
6060
}
61+
},
62+
{
63+
"name": "Microsoft.Databricks/workspaces/PrivateLinkResources/read",
64+
"display": {
65+
"provider": "Microsoft Databricks",
66+
"resource": "Private Link Resources",
67+
"operation": "List Private Link Resources",
68+
"description": "Retrieve List of Private Link Resources"
69+
}
70+
},
71+
{
72+
"name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/read",
73+
"display": {
74+
"provider": "Microsoft Databricks",
75+
"resource": "Private Endpoint Connection",
76+
"operation": "List Private Endpoint Connections",
77+
"description": "Retrieve List of Private Endpoint Connections"
78+
}
79+
},
80+
{
81+
"name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/write",
82+
"display": {
83+
"provider": "Microsoft Databricks",
84+
"resource": "Private Endpoint Connection",
85+
"operation": "Update Private Endpoint Connection",
86+
"description": "Update a virtual network peering"
87+
}
88+
},
89+
{
90+
"name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/delete",
91+
"display": {
92+
"provider": "Microsoft Databricks",
93+
"resource": "Private Endpoint Connection",
94+
"operation": "Delete Private Endpoint Connection",
95+
"description": "Delete a Private Endpoint Connection"
96+
}
6197
}
6298
]
6399
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"workspaceName": "myWorkspace",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2018-04-01",
6+
"subscriptionId": "11111111-1111-1111-1111-111111111111",
7+
"privateEndpointConnectionName": "myWorkspace.23456789-1111-1111-1111-111111111111"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"workspaceName": "myWorkspace",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2018-04-01",
6+
"subscriptionId": "11111111-1111-1111-1111-111111111111",
7+
"privateEndpointConnectionName": "myWorkspace.23456789-1111-1111-1111-111111111111"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
13+
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
14+
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
15+
"properties": {
16+
"privateEndpoint": {
17+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
18+
},
19+
"privateLinkServiceConnectionState": {
20+
"status": "Pending",
21+
"description": "Please approve my request!",
22+
"actionRequired": "None"
23+
},
24+
"provisioningState": "Succeeded"
25+
}
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parameters": {
3+
"workspaceName": "myWorkspace",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2018-04-01",
6+
"subscriptionId": "11111111-1111-1111-1111-111111111111",
7+
"privateEndpointConnectionName": "myWorkspace.23456789-1111-1111-1111-111111111111",
8+
"privateEndpointConnection": {
9+
"properties": {
10+
"privateLinkServiceConnectionState": {
11+
"status": "Approved",
12+
"description": "Approved by [email protected]"
13+
}
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
21+
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
22+
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
23+
"properties": {
24+
"privateEndpoint": {
25+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
26+
},
27+
"privateLinkServiceConnectionState": {
28+
"status": "Approved",
29+
"description": "Approved by [email protected]",
30+
"actionRequired": "None"
31+
},
32+
"provisioningState": "Succeeded"
33+
}
34+
}
35+
},
36+
"202": {
37+
"body": {
38+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
39+
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
40+
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
41+
"properties": {
42+
"privateEndpoint": {
43+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
44+
},
45+
"privateLinkServiceConnectionState": {
46+
"status": "Approved",
47+
"description": "Approved by [email protected]",
48+
"actionRequired": "None"
49+
},
50+
"provisioningState": "Succeeded"
51+
}
52+
}
53+
}
54+
}
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "myResourceGroup",
4+
"workspaceName": "myWorkspace",
5+
"api-version": "2018-04-01",
6+
"subscriptionId": "11111111-1111-1111-1111-111111111111",
7+
"groupId": "databricks_ui_api"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateLinkResources/databricks_ui_api",
13+
"name": "databricks_ui_api",
14+
"type": "Microsoft.Databricks/workspaces/PrivateLinkResources",
15+
"properties": {
16+
"groupId": "databricks_ui_api",
17+
"requiredMembers": [
18+
"databricks_ui_api"
19+
],
20+
"requiredZoneNames": [
21+
"privatelink.azuredatabricks.net"
22+
]
23+
}
24+
}
25+
}
26+
}
27+
}

specification/databricks/resource-manager/Microsoft.Databricks/preview/2021-04-01-preview/examples/WorkspaceGetParameters.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,27 @@
5252
},
5353
"createdDateTime": "2020-02-20T00:10:29.2858439Z",
5454
"workspaceId": "5555555555555555",
55-
"workspaceUrl": "adb-5555555555555555.19.azuredatabricks.net"
55+
"workspaceUrl": "adb-5555555555555555.19.azuredatabricks.net",
56+
"privateEndpointConnections": [
57+
{
58+
"id": "/subscriptions/subscriptionId/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace/privateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
59+
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
60+
"type": "Microsoft.Databricks/workspaces/privateEndpointConnections",
61+
"properties": {
62+
"privateEndpoint": {
63+
"id": "/subscriptions/subscriptionId/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
64+
},
65+
"privateLinkServiceConnectionState": {
66+
"status": "Approved",
67+
"description": "Auto-Approved",
68+
"actionRequired": "None"
69+
},
70+
"provisioningState": "Succeeded"
71+
}
72+
}
73+
],
74+
"publicNetworkAccess": "Disabled",
75+
"requiredNsgRules": "NoAzureDatabricksRules"
5676
}
5777
}
5878
}

specification/databricks/resource-manager/readme.go.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,17 @@ go:
1313
1414
``` yaml $(go) && $(multiapi)
1515
batch:
16+
- tag: package-2021-04-01-preview
1617
- tag: package-2018-04-01
1718
```
19+
### Tag: package-2021-04-01-preview and go
20+
21+
These settings apply only when `--tag=package-2021-04-01-preview --go` is specified on the command line.
22+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
23+
24+
``` yaml $(tag)=='package-2021-04-01-preview' && $(go)
25+
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-04-01-preview/$(namespace)
26+
```
1827

1928
### Tag: package-2018-04-01 and go
2029

0 commit comments

Comments
 (0)