Skip to content

Commit

Permalink
Curiekim0 databricks microsoft.databricks 2024 05 01 (#28156)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.Databricks from version preview/2023-09-15-preview to version 2024-05-01

* Updates readme

* Updates API version in new specs and examples

* Add swagger spec for default storage firewall (#28152)

* Add custom npip boolean parameter (#28286)

* Add custom npip boolean parameter

* modify npip paramter name

* Force deletion change (#28414)

* modify retainUCData parameter name

* ucdata to forcedeletion

* add default value for Force Deletion (#28418)

* fix merge errors (#28423)

* add access connector (#28445)

* add access connector to the 20240501 version and add referedBy property

* Create sdk-suppressions.yaml

* fix WorkspaceNoPublicIPBooleanParameter type (#28582)

* Update sdk-suppressions.yaml

* Address Comments - use plain English and fix Capitalization (#28917)

* capitalize Azure Databricks Access Connector

* modify to Access Connector

* undo breaking of SystemAssigned and UserAssigned (#28918)

* modify type to commontype (#28939)

* modify subscriptionId format in examples (#28951)

* modify commontype reference to be direct (#28954)

* remove required parameter in workspacenNoPublicIpBooleanpParameter (#28967)

* add back the required parameter and remove default (#28968)

---------

Co-authored-by: kazrael2119 <[email protected]>
  • Loading branch information
curiekim0 and kazrael2119 authored May 7, 2024
1 parent 3b0fe0f commit 8dc708f
Show file tree
Hide file tree
Showing 41 changed files with 5,498 additions and 38 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg",
"connectorName": "myAccessConnector",
"api-version": "2024-05-01",
"identity": {
"type": "SystemAssigned"
},
"parameters": {
"location": "westus"
}
},
"responses": {
"200": {
"body": {
"name": "myAccessConnector",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
}
},
"201": {
"body": {
"name": "myAccessConnector",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parameters": {
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg",
"connectorName": "myAccessConnector",
"api-version": "2024-05-01",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuseridentity": {}
}
},
"parameters": {
"location": "westus"
}
},
"responses": {
"200": {
"body": {
"name": "myAccessConnector",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuseridentity": {
"principalId": "329429bc-adec-4dce-9568-25a6d486e468",
"clientId": "329419bc-adec-4dce-9568-25a6d486e468"
}
}
}
}
},
"201": {
"body": {
"name": "myAccessConnector",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuseridentity": {
"principalId": "329429bc-adec-4dce-9568-25a6d486e468",
"clientId": "329419bc-adec-4dce-9568-25a6d486e468"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"connectorName": "myAccessConnector",
"resourceGroupName": "rg",
"api-version": "2024-05-01",
"subscriptionId": "11111111-1111-1111-1111-111111111111"
},
"responses": {
"202": {
"headers": {
"Retry-After": "10",
"Azure-AsyncOperation": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-05-01",
"Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-05-01"
}
},
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg",
"connectorName": "myAccessConnector",
"api-version": "2024-05-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "myAccessConnector",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg",
"connectorName": "myAccessConnector",
"api-version": "2024-05-01",
"parameters": {
"tags": {
"key1": "value1"
}
}
},
"responses": {
"202": {
"headers": {
"Retry-After": "10",
"Azure-AsyncOperation": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-05-01",
"Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-05-01"
}
},
"200": {
"body": {
"name": "myAccessConnector",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg",
"api-version": "2024-05-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "myAccessConnector1",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector1",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
},
{
"name": "myAccessConnector",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "7ad2bae1-37d0-413e-91f8-b0b7bef807fc",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"parameters": {
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"api-version": "2024-05-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "myAccessConnector1",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Databricks/accessConnectors/myAccessConnector1",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "7ad2bae1-37d0-413e-91f8-b0b7bef807fc",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
},
{
"name": "myAccessConnector2",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
},
{
"name": "myAccessConnector3",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg2/providers/Microsoft.Databricks/accessConnectors/myAccessConnector3",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "04b25430-8db1-48a0-9c2f-32270ed63eef",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
},
{
"name": "myAccessConnector4",
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg3/providers/Microsoft.Databricks/accessConnectors/myAccessConnector4",
"type": "Microsoft.Databricks/accessConnectors",
"location": "West US",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"referedBy": []
},
"identity": {
"principalId": "4856ceed-0a99-4df7-b9fc-35603650af06",
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da",
"type": "SystemAssigned"
}
}
]
}
}
}
}
Loading

0 comments on commit 8dc708f

Please sign in to comment.