-
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.
Mvvsubbu databricks microsoft.databricks 2024 02 01 preview (#27607)
* Adds base for updating Microsoft.Databricks from version preview/2023-09-15-preview to version 2024-02-01-preview * Updates readme * Updates API version in new specs and examples * Adding Swagger Spec for Private DBFS * Reverting Package Tag Change * Changing Package Tag * Fixing the comments for PR * Fixing format id violations * Fixing format error
- Loading branch information
Showing
32 changed files
with
4,738 additions
and
1 deletion.
There are no files selected for viewing
1,997 changes: 1,997 additions & 0 deletions
1,997
...tabricks/resource-manager/Microsoft.Databricks/preview/2024-02-01-preview/databricks.json
Large diffs are not rendered by default.
Oops, something went wrong.
132 changes: 132 additions & 0 deletions
132
...e-manager/Microsoft.Databricks/preview/2024-02-01-preview/examples/DisableEncryption.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,132 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"workspaceName": "myWorkspace", | ||
"api-version": "2024-02-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"parameters": { | ||
"encryption": { | ||
"value": { | ||
"keySource": "Default" | ||
} | ||
} | ||
} | ||
}, | ||
"location": "westus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myWorkspace", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace", | ||
"type": "Microsoft.Databricks/workspaces", | ||
"sku": { | ||
"name": "premium" | ||
}, | ||
"location": "East US 2", | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"parameters": { | ||
"customPrivateSubnetName": { | ||
"type": "String", | ||
"value": "PrivateBob" | ||
}, | ||
"customPublicSubnetName": { | ||
"type": "String", | ||
"value": "PublicSarah" | ||
}, | ||
"customVirtualNetworkId": { | ||
"type": "String", | ||
"value": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/myNetwork" | ||
}, | ||
"prepareEncryption": { | ||
"type": "Bool", | ||
"value": true | ||
}, | ||
"encryption": { | ||
"type": "Object", | ||
"value": { | ||
"keySource": "Default" | ||
} | ||
} | ||
}, | ||
"provisioningState": "Succeeded", | ||
"uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json", | ||
"authorizations": [ | ||
{ | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"roleDefinitionId": "11111111-1111-1111-1111-111111111111" | ||
} | ||
], | ||
"createdBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"storageAccountIdentity": { | ||
"principalId": "55555555-5555-5555-5555-555555555555", | ||
"tenantId": "66666666-6666-6666-6666-666666666666", | ||
"type": "SystemAssigned" | ||
}, | ||
"updatedBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"createdDateTime": "2020-02-20T00:10:29.2858439Z", | ||
"workspaceId": "5555555555555555", | ||
"workspaceUrl": "adb-5555555555555555.19.azuredatabricks.net", | ||
"isUcEnabled": true | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myWorkspace", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace", | ||
"type": "Microsoft.Databricks/workspaces", | ||
"location": "East US 2", | ||
"tags": { | ||
"environment": "dev" | ||
}, | ||
"sku": { | ||
"name": "premium" | ||
}, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"provisioningState": "Accepted", | ||
"uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json", | ||
"authorizations": [ | ||
{ | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"roleDefinitionId": "11111111-1111-1111-1111-111111111111" | ||
} | ||
], | ||
"createdBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"updatedBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"createdDateTime": "2020-02-20T00:10:29.2858439Z", | ||
"storageAccountIdentity": { | ||
"principalId": "55555555-5555-5555-5555-555555555555", | ||
"tenantId": "66666666-6666-6666-6666-666666666666", | ||
"type": "SystemAssigned" | ||
}, | ||
"isUcEnabled": true | ||
} | ||
} | ||
} | ||
} | ||
} |
141 changes: 141 additions & 0 deletions
141
...ce-manager/Microsoft.Databricks/preview/2024-02-01-preview/examples/EnableEncryption.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,141 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"workspaceName": "myWorkspace", | ||
"api-version": "2024-02-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"parameters": { | ||
"prepareEncryption": { | ||
"value": true | ||
}, | ||
"encryption": { | ||
"value": { | ||
"keySource": "Microsoft.Keyvault", | ||
"keyvaulturi": "https://myKeyVault.vault.azure.net/", | ||
"KeyName": "myKeyName", | ||
"keyversion": "00000000000000000000000000000000" | ||
} | ||
} | ||
} | ||
}, | ||
"location": "westus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myWorkspace", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace", | ||
"type": "Microsoft.Databricks/workspaces", | ||
"sku": { | ||
"name": "premium" | ||
}, | ||
"location": "East US 2", | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"parameters": { | ||
"customPrivateSubnetName": { | ||
"type": "String", | ||
"value": "PrivateBob" | ||
}, | ||
"customPublicSubnetName": { | ||
"type": "String", | ||
"value": "PublicSarah" | ||
}, | ||
"customVirtualNetworkId": { | ||
"type": "String", | ||
"value": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/myNetwork" | ||
}, | ||
"prepareEncryption": { | ||
"type": "Bool", | ||
"value": true | ||
}, | ||
"encryption": { | ||
"type": "Object", | ||
"value": { | ||
"keySource": "Microsoft.Keyvault", | ||
"keyvaulturi": "https://myKeyVault.vault.azure.net/", | ||
"KeyName": "myKeyName", | ||
"keyversion": "00000000000000000000000000000000" | ||
} | ||
} | ||
}, | ||
"provisioningState": "Succeeded", | ||
"uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json", | ||
"authorizations": [ | ||
{ | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"roleDefinitionId": "11111111-1111-1111-1111-111111111111" | ||
} | ||
], | ||
"createdBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"storageAccountIdentity": { | ||
"principalId": "55555555-5555-5555-5555-555555555555", | ||
"tenantId": "66666666-6666-6666-6666-666666666666", | ||
"type": "SystemAssigned" | ||
}, | ||
"updatedBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"createdDateTime": "2020-02-20T00:10:29.2858439Z", | ||
"workspaceId": "5555555555555555", | ||
"workspaceUrl": "adb-5555555555555555.19.azuredatabricks.net", | ||
"isUcEnabled": true | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myWorkspace", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace", | ||
"type": "Microsoft.Databricks/workspaces", | ||
"location": "East US 2", | ||
"tags": { | ||
"environment": "dev" | ||
}, | ||
"sku": { | ||
"name": "premium" | ||
}, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"provisioningState": "Accepted", | ||
"uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json", | ||
"authorizations": [ | ||
{ | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"roleDefinitionId": "11111111-1111-1111-1111-111111111111" | ||
} | ||
], | ||
"createdBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"updatedBy": { | ||
"oid": "22222222-2222-2222-2222-222222222222", | ||
"puid": "33333333", | ||
"applicationId": "44444444-4444-4444-4444-444444444444" | ||
}, | ||
"createdDateTime": "2020-02-20T00:10:29.2858439Z", | ||
"storageAccountIdentity": { | ||
"principalId": "55555555-5555-5555-5555-555555555555", | ||
"tenantId": "66666666-6666-6666-6666-666666666666", | ||
"type": "SystemAssigned" | ||
}, | ||
"isUcEnabled": true | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...rosoft.Databricks/preview/2024-02-01-preview/examples/ListPrivateEndpointConnections.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,32 @@ | ||
{ | ||
"parameters": { | ||
"workspaceName": "myWorkspace", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2024-02-01-preview", | ||
"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 [email protected]", | ||
"actionsRequired": "None" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...er/Microsoft.Databricks/preview/2024-02-01-preview/examples/ListPrivateLinkResources.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,30 @@ | ||
{ | ||
"parameters": { | ||
"workspaceName": "myWorkspace", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2024-02-01-preview", | ||
"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" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.