Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Public private branch 'databricks-privatelink' #14756

Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"workspaceName": "myWorkspace",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-04-01",
"subscriptionId": "11111111-1111-1111-1111-111111111111"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by johndoe@company.com",
"actionRequired": "None"
},
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"workspaceName": "myWorkspace",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-04-01",
"subscriptionId": "11111111-1111-1111-1111-111111111111"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateLinkResources/databricks_ui_api",
"name": "databricks_ui_api",
"type": "Microsoft.Databricks/workspaces/PrivateLinkResources",
"properties": {
"groupId": "databricks_ui_api",
"requiredMembers": [
"databricks_ui_api"
],
"requiredZoneNames": [
"privatelink.azuredatabricks.net"
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,42 @@
"operation": "Delete Virtual Network Peering",
"description": "Deletes a virtual network peering"
}
},
{
"name": "Microsoft.Databricks/workspaces/PrivateLinkResources/read",
"display": {
"provider": "Microsoft Databricks",
"resource": "Private Link Resources",
"operation": "List Private Link Resources",
"description": "Retrieve List of Private Link Resources"
}
},
{
"name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/read",
"display": {
"provider": "Microsoft Databricks",
"resource": "Private Endpoint Connection",
"operation": "List Private Endpoint Connections",
"description": "Retrieve List of Private Endpoint Connections"
}
},
{
"name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/write",
"display": {
"provider": "Microsoft Databricks",
"resource": "Private Endpoint Connection",
"operation": "Update Private Endpoint Connection",
"description": "Update a virtual network peering"
}
},
{
"name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/delete",
"display": {
"provider": "Microsoft Databricks",
"resource": "Private Endpoint Connection",
"operation": "Delete Private Endpoint Connection",
"description": "Delete a Private Endpoint Connection"
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"workspaceName": "myWorkspace",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-04-01",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"privateEndpointConnectionName": "myWorkspace.23456789-1111-1111-1111-111111111111"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"workspaceName": "myWorkspace",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-04-01",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"privateEndpointConnectionName": "myWorkspace.23456789-1111-1111-1111-111111111111"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Please approve my request!",
"actionRequired": "None"
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"workspaceName": "myWorkspace",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-04-01",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"privateEndpointConnectionName": "myWorkspace.23456789-1111-1111-1111-111111111111",
"privateEndpointConnection": {
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by databricksadmin@contoso.com"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by databricksadmin@contoso.com",
"actionRequired": "None"
},
"provisioningState": "Succeeded"
}
}
},
"202": {
"body": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
"type": "Microsoft.Databricks/workspaces/PrivateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by databricksadmin@contoso.com",
"actionRequired": "None"
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"resourceGroupName": "myResourceGroup",
"workspaceName": "myWorkspace",
"api-version": "2018-04-01",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"groupId": "databricks_ui_api"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateLinkResources/databricks_ui_api",
"name": "databricks_ui_api",
"type": "Microsoft.Databricks/workspaces/PrivateLinkResources",
"properties": {
"groupId": "databricks_ui_api",
"requiredMembers": [
"databricks_ui_api"
],
"requiredZoneNames": [
"privatelink.azuredatabricks.net"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,27 @@
},
"createdDateTime": "2020-02-20T00:10:29.2858439Z",
"workspaceId": "5555555555555555",
"workspaceUrl": "adb-5555555555555555.19.azuredatabricks.net"
"workspaceUrl": "adb-5555555555555555.19.azuredatabricks.net",
"privateEndpointConnections": [
{
"id": "/subscriptions/subscriptionId/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace/privateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111",
"name": "myWorkspace.23456789-1111-1111-1111-111111111111",
"type": "Microsoft.Databricks/workspaces/privateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/subscriptionId/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-Approved",
"actionRequired": "None"
},
"provisioningState": "Succeeded"
}
}
],
"publicNetworkAccess": "Disabled",
"requiredNsgRules": "NoAzureDatabricksRules"
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions specification/databricks/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ go:

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2021-04-01-preview
- tag: package-2018-04-01
```
### Tag: package-2021-04-01-preview and go

These settings apply only when `--tag=package-2021-04-01-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag)=='package-2021-04-01-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-04-01-preview/$(namespace)
```

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

Expand Down
26 changes: 26 additions & 0 deletions specification/databricks/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,23 @@ This is the AutoRest configuration file for Databricks.

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2021-04-01-preview
- tag: package-2018-04-01
```

### Tag: package-2021-04-01-preview and java

These settings apply only when `--tag=package-2021-04-01-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2021-04-01-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.databricks.v2021_04_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/databricks/mgmt-v2021_04_01_preview
regenerate-manager: true
generate-interface: true
```

### Tag: package-2018-04-01 and java

These settings apply only when `--tag=package-2018-04-01 --java` is specified on the command line.
Expand Down Expand Up @@ -47,10 +61,20 @@ To see additional help and options, run:
These are the global settings for the Databricks API.

``` yaml
title: AzureDatabricksManagementClient
description: 'The Microsoft Azure management APIs allow end users to operate on Azure Databricks Workspace resources.'
openapi-type: arm
tag: package-2021-04-01-preview
```

### Tag: package-2021-04-01-preview

These settings apply only when `--tag=package-2021-04-01-preview` is specified on the command line.

``` yaml $(tag) == 'package-2021-04-01-preview'
input-file:
- Microsoft.Databricks/preview/2021-04-01-preview/databricks.json
```

### Tag: package-2018-04-01

Expand Down Expand Up @@ -81,6 +105,8 @@ directive:
from: databricks.json
where: $.definitions.Encryption.properties.KeyName
reason: Response from service is not camel case
- suppress: RequiredReadOnlySystemData
reason: We do not yet support system data. Currently our system support system data inside property field.
```

---
Expand Down