Skip to content

Commit 3caad06

Browse files
author
msftbot[bot]
authored
[ReleasePR databricks] Adding User Assigned MI Support for Azure Databricks Access Connector (#2707)
Create to sync Azure/azure-rest-api-specs#22416 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...azure-sdk:sdkAuto/databricks?expand=1)
2 parents 42a3928 + 911b97c commit 3caad06

File tree

2 files changed

+202
-0
lines changed

2 files changed

+202
-0
lines changed
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.Databricks.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Databricks",
5+
"description": "Microsoft Databricks Resource Types",
6+
"resourceDefinitions": {
7+
"accessConnectors": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2022-10-01-preview"
14+
]
15+
},
16+
"identity": {
17+
"oneOf": [
18+
{
19+
"$ref": "#/definitions/ManagedServiceIdentity"
20+
},
21+
{
22+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
23+
}
24+
],
25+
"description": "Managed service identity (system assigned and/or user assigned identities)"
26+
},
27+
"location": {
28+
"type": "string",
29+
"description": "The geo-location where the resource lives"
30+
},
31+
"name": {
32+
"type": "string",
33+
"minLength": 3,
34+
"maxLength": 64,
35+
"description": "The name of the azure databricks accessConnector."
36+
},
37+
"properties": {
38+
"oneOf": [
39+
{
40+
"$ref": "#/definitions/AccessConnectorProperties"
41+
},
42+
{
43+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
44+
}
45+
]
46+
},
47+
"systemData": {
48+
"oneOf": [
49+
{
50+
"$ref": "#/definitions/SystemData"
51+
},
52+
{
53+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
54+
}
55+
],
56+
"description": "Metadata pertaining to creation and last modification of the resource."
57+
},
58+
"tags": {
59+
"oneOf": [
60+
{
61+
"type": "object",
62+
"additionalProperties": {
63+
"type": "string"
64+
},
65+
"properties": {}
66+
},
67+
{
68+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
69+
}
70+
],
71+
"description": "Resource tags."
72+
},
73+
"type": {
74+
"type": "string",
75+
"enum": [
76+
"Microsoft.Databricks/accessConnectors"
77+
]
78+
}
79+
},
80+
"required": [
81+
"apiVersion",
82+
"location",
83+
"name",
84+
"properties",
85+
"type"
86+
],
87+
"description": "Microsoft.Databricks/accessConnectors"
88+
}
89+
},
90+
"definitions": {
91+
"AccessConnectorProperties": {
92+
"type": "object",
93+
"properties": {}
94+
},
95+
"ManagedServiceIdentity": {
96+
"type": "object",
97+
"properties": {
98+
"type": {
99+
"oneOf": [
100+
{
101+
"type": "string",
102+
"enum": [
103+
"None",
104+
"SystemAssigned",
105+
"UserAssigned",
106+
"SystemAssigned,UserAssigned"
107+
]
108+
},
109+
{
110+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
111+
}
112+
]
113+
},
114+
"userAssignedIdentities": {
115+
"oneOf": [
116+
{
117+
"type": "object",
118+
"additionalProperties": {
119+
"$ref": "#/definitions/UserAssignedIdentity"
120+
},
121+
"properties": {}
122+
},
123+
{
124+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
125+
}
126+
],
127+
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."
128+
}
129+
},
130+
"required": [
131+
"type"
132+
],
133+
"description": "Managed service identity (system assigned and/or user assigned identities)"
134+
},
135+
"SystemData": {
136+
"type": "object",
137+
"properties": {
138+
"createdAt": {
139+
"type": "string",
140+
"format": "date-time",
141+
"description": "The timestamp of resource creation (UTC)."
142+
},
143+
"createdBy": {
144+
"type": "string",
145+
"description": "The identity that created the resource."
146+
},
147+
"createdByType": {
148+
"oneOf": [
149+
{
150+
"type": "string",
151+
"enum": [
152+
"User",
153+
"Application",
154+
"ManagedIdentity",
155+
"Key"
156+
]
157+
},
158+
{
159+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
160+
}
161+
],
162+
"description": "The type of identity that created the resource."
163+
},
164+
"lastModifiedAt": {
165+
"type": "string",
166+
"format": "date-time",
167+
"description": "The timestamp of resource last modification (UTC)"
168+
},
169+
"lastModifiedBy": {
170+
"type": "string",
171+
"description": "The identity that last modified the resource."
172+
},
173+
"lastModifiedByType": {
174+
"oneOf": [
175+
{
176+
"type": "string",
177+
"enum": [
178+
"User",
179+
"Application",
180+
"ManagedIdentity",
181+
"Key"
182+
]
183+
},
184+
{
185+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
186+
}
187+
],
188+
"description": "The type of identity that last modified the resource."
189+
}
190+
},
191+
"description": "Metadata pertaining to creation and last modification of the resource."
192+
},
193+
"UserAssignedIdentity": {
194+
"type": "object",
195+
"properties": {},
196+
"description": "User assigned identity properties"
197+
}
198+
}
199+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7768,6 +7768,9 @@
77687768
{
77697769
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_virtualNetworkPeerings"
77707770
},
7771+
{
7772+
"$ref": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.Databricks.json#/resourceDefinitions/accessConnectors"
7773+
},
77717774
{
77727775
"$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.Databricks.json#/resourceDefinitions/workspaces"
77737776
},

0 commit comments

Comments
 (0)