forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding User Assigned MI Support for Access Connector Resource (Azure#…
…21765) * Adding new API version for accessConnector * Adding User Assigned MI Changes * Updating Version in Examples folder
- Loading branch information
Showing
9 changed files
with
783 additions
and
1 deletion.
There are no files selected for viewing
430 changes: 430 additions & 0 deletions
430
...cks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json
Large diffs are not rendered by default.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
...crosoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdate.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,52 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"connectorName": "myAccessConnector", | ||
"api-version": "2022-10-01-preview", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"parameters": { | ||
"location": "westus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "myAccessConnector", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": { | ||
"key1": "value1" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "myAccessConnector", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...ks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdateWithUserAssigned.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,63 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"connectorName": "myAccessConnector", | ||
"api-version": "2022-10-01-preview", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuseridentity": {} | ||
} | ||
}, | ||
"parameters": { | ||
"location": "westus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "myAccessConnector", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": { | ||
"key1": "value1" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/subid/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/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuseridentity": { | ||
"principalId": "329429bc-adec-4dce-9568-25a6d486e468", | ||
"clientId": "329419bc-adec-4dce-9568-25a6d486e468" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...nager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.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,19 @@ | ||
{ | ||
"parameters": { | ||
"connectorName": "myAccessConnector", | ||
"resourceGroupName": "rg", | ||
"api-version": "2022-10-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"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=2022-10-01-preview", | ||
"Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-10-01-preview" | ||
} | ||
}, | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorGet.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": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"connectorName": "myAccessConnector", | ||
"api-version": "2022-10-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myAccessConnector", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": { | ||
"key1": "value1" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
.../Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorPatchUpdate.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,41 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"connectorName": "myAccessConnector", | ||
"api-version": "2022-10-01-preview", | ||
"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=2022-10-01-preview", | ||
"Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-10-01-preview" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "myAccessConnector", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": { | ||
"key1": "value1" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...t.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListByResourceGroup.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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"api-version": "2022-10-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "myAccessConnector1", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector1", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
}, | ||
{ | ||
"name": "myAccessConnector", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "7ad2bae1-37d0-413e-91f8-b0b7bef807fc", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
....Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListBySubscriptionId.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,75 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"api-version": "2022-10-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "myAccessConnector1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Databricks/accessConnectors/myAccessConnector1", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "7ad2bae1-37d0-413e-91f8-b0b7bef807fc", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
}, | ||
{ | ||
"name": "myAccessConnector2", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Databricks/accessConnectors/myAccessConnector2", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "5619ff16-afe1-47e5-ae67-8393c6c3223d", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
}, | ||
{ | ||
"name": "myAccessConnector3", | ||
"id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Databricks/accessConnectors/myAccessConnector3", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "04b25430-8db1-48a0-9c2f-32270ed63eef", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
}, | ||
{ | ||
"name": "myAccessConnector4", | ||
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Databricks/accessConnectors/myAccessConnector4", | ||
"type": "Microsoft.Databricks/accessConnectors", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "4856ceed-0a99-4df7-b9fc-35603650af06", | ||
"tenantId": "e3fe3f22-4b98-4c04-82cc-d8817d1b17da", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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