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

[ReleasePR databricks] Adding User Assigned MI Support for Azure Databricks Access Connector #2707

Merged
1 commit merged into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
199 changes: 199 additions & 0 deletions schemas/2022-10-01-preview/Microsoft.Databricks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
{
"id": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.Databricks.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Databricks",
"description": "Microsoft Databricks Resource Types",
"resourceDefinitions": {
"accessConnectors": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-10-01-preview"
]
},
"identity": {
"oneOf": [
{
"$ref": "#/definitions/ManagedServiceIdentity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Managed service identity (system assigned and/or user assigned identities)"
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"minLength": 3,
"maxLength": 64,
"description": "The name of the azure databricks accessConnector."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AccessConnectorProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"systemData": {
"oneOf": [
{
"$ref": "#/definitions/SystemData"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Metadata pertaining to creation and last modification of the resource."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Databricks/accessConnectors"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.Databricks/accessConnectors"
}
},
"definitions": {
"AccessConnectorProperties": {
"type": "object",
"properties": {}
},
"ManagedServiceIdentity": {
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"None",
"SystemAssigned",
"UserAssigned",
"SystemAssigned,UserAssigned"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"userAssignedIdentities": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/UserAssignedIdentity"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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."
}
},
"required": [
"type"
],
"description": "Managed service identity (system assigned and/or user assigned identities)"
},
"SystemData": {
"type": "object",
"properties": {
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource creation (UTC)."
},
"createdBy": {
"type": "string",
"description": "The identity that created the resource."
},
"createdByType": {
"oneOf": [
{
"type": "string",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of identity that created the resource."
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource last modification (UTC)"
},
"lastModifiedBy": {
"type": "string",
"description": "The identity that last modified the resource."
},
"lastModifiedByType": {
"oneOf": [
{
"type": "string",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of identity that last modified the resource."
}
},
"description": "Metadata pertaining to creation and last modification of the resource."
},
"UserAssignedIdentity": {
"type": "object",
"properties": {},
"description": "User assigned identity properties"
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -7768,6 +7768,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_virtualNetworkPeerings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.Databricks.json#/resourceDefinitions/accessConnectors"
},
{
"$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.Databricks.json#/resourceDefinitions/workspaces"
},
Expand Down