From c8be12eacb85dfb1a07022134983bd1f72ddbdc3 Mon Sep 17 00:00:00 2001 From: Subrahmanyam Mandavilli Date: Fri, 16 Dec 2022 11:33:50 -0800 Subject: [PATCH] Revert "Adding User Assigned MI Support for Access Connector Resource (#21765)" This reverts commit 2181a44b0f75c71ae65142702876e3de59041f3a. --- .../2022-10-01-preview/accessconnector.json | 430 ------------------ .../AccessConnectorCreateOrUpdate.json | 52 --- ...nnectorCreateOrUpdateWithUserAssigned.json | 63 --- .../examples/AccessConnectorDelete.json | 19 - .../examples/AccessConnectorGet.json | 30 -- .../examples/AccessConnectorPatchUpdate.json | 41 -- .../AccessConnectorsListByResourceGroup.json | 46 -- .../AccessConnectorsListBySubscriptionId.json | 75 --- .../databricks/resource-manager/readme.md | 28 +- 9 files changed, 1 insertion(+), 783 deletions(-) delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdate.json delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdateWithUserAssigned.json delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.json delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorGet.json delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorPatchUpdate.json delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListByResourceGroup.json delete mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListBySubscriptionId.json diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json deleted file mode 100644 index 00716fabc212..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json +++ /dev/null @@ -1,430 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "DatabricksAccessConnectorClient", - "version": "2022-10-01-preview", - "description": "These APIs allow end users to operate on Azure Databricks Access Connector resources." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/accessConnectors/{connectorName}": { - "get": { - "tags": [ - "AccessConnector" - ], - "operationId": "AccessConnectors_Get", - "description": "Gets an azure databricks accessConnector.", - "x-ms-examples": { - "Get an azure databricks accessConnector": { - "$ref": "./examples/AccessConnectorGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/ConnectorName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns the accessConnector.", - "schema": { - "$ref": "#/definitions/AccessConnector" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "AccessConnector" - ], - "operationId": "AccessConnectors_Delete", - "description": "Deletes the azure databricks accessConnector.", - "x-ms-examples": { - "Delete an azure databricks accessConnector": { - "$ref": "./examples/AccessConnectorDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/ConnectorName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted - Returns this status until the asynchronous operation has completed." - }, - "204": { - "description": "NoContent" - }, - "200": { - "description": "OK. The request has succeeded." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "put": { - "tags": [ - "AccessConnector" - ], - "operationId": "AccessConnectors_CreateOrUpdate", - "description": "Creates or updates azure databricks accessConnector.", - "x-ms-examples": { - "Create an azure databricks accessConnector with SystemAssigned Identity": { - "$ref": "./examples/AccessConnectorCreateOrUpdate.json" - }, - "Create an azure databricks accessConnector with UserAssigned Identity": { - "$ref": "./examples/AccessConnectorCreateOrUpdateWithUserAssigned.json" - } - }, - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AccessConnector" - }, - "description": "Parameters supplied to the create or update an azure databricks accessConnector." - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/ConnectorName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the azure databricks accessConnector.", - "schema": { - "$ref": "#/definitions/AccessConnector" - } - }, - "201": { - "description": "Created - Returns information about the azure databricks accessConnector.", - "schema": { - "$ref": "#/definitions/AccessConnector" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AccessConnector" - ], - "operationId": "AccessConnectors_Update", - "description": "Updates an azure databricks accessConnector.", - "x-ms-examples": { - "Update an azure databricks accessConnector": { - "$ref": "./examples/AccessConnectorPatchUpdate.json" - } - }, - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AccessConnectorUpdate" - }, - "description": "The update to the azure databricks accessConnector." - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/ConnectorName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted - Returns this status until the asynchronous operation has completed." - }, - "200": { - "description": "Successfully updated the azure databricks accessConnector.", - "schema": { - "$ref": "#/definitions/AccessConnector" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/accessConnectors": { - "get": { - "tags": [ - "AccessConnector" - ], - "operationId": "AccessConnectors_ListByResourceGroup", - "description": "Gets all the azure databricks accessConnectors within a resource group.", - "x-ms-examples": { - "Lists azure databricks accessConnectors within a resource group": { - "$ref": "./examples/AccessConnectorsListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of azure databricks accessConnectors.", - "schema": { - "$ref": "#/definitions/AccessConnectorListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Databricks/accessConnectors": { - "get": { - "tags": [ - "AccessConnector" - ], - "operationId": "AccessConnectors_ListBySubscription", - "description": "Gets all the azure databricks accessConnectors within a subscription.", - "x-ms-examples": { - "Lists all the azure databricks accessConnectors within a subscription.": { - "$ref": "./examples/AccessConnectorsListBySubscriptionId.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of azure databricks accessConnectors.", - "schema": { - "$ref": "#/definitions/AccessConnectorListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "AccessConnector": { - "type": "object", - "properties": { - "identity": { - "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" - }, - "systemData": { - "description": "The system metadata relating to this resource", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" - }, - "properties": { - "description": "Azure Databricks accessConnector properties", - "$ref": "#/definitions/AccessConnectorProperties" - } - }, - "allOf": [ - { - "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/TrackedResource" - } - ], - "description": "Information about azure databricks accessConnector." - }, - "AccessConnectorProperties": { - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning status of the accessConnector.", - "readOnly": true, - "enum": [ - "Deleted", - "Failed", - "Succeeded" - ], - "type": "string", - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "AccessConnectorUpdate": { - "description": "An update to an azure databricks accessConnector.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" - } - } - }, - "AccessConnectorListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AccessConnector" - }, - "description": "The array of azure databricks accessConnector." - }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "List of azure databricks accessConnector." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the target subscription." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation." - }, - "ResourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "ConnectorName": { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the azure databricks accessConnector.", - "minLength": 3, - "maxLength": 64, - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdate.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdate.json deleted file mode 100644 index ffa406cdf163..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdate.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "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" - } - } - } - } -} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdateWithUserAssigned.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdateWithUserAssigned.json deleted file mode 100644 index 27d56df02a62..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdateWithUserAssigned.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "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" - } - } - } - } - } - } -} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.json deleted file mode 100644 index b29ab3f5110b..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "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": {} - } -} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorGet.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorGet.json deleted file mode 100644 index f82f5656a116..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorGet.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "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" - } - } - } - } -} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorPatchUpdate.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorPatchUpdate.json deleted file mode 100644 index f8767e58bb39..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorPatchUpdate.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "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" - } - } - } - } -} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListByResourceGroup.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListByResourceGroup.json deleted file mode 100644 index 4229afd6e7bc..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListByResourceGroup.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "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" - } - } - ] - } - } - } -} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListBySubscriptionId.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListBySubscriptionId.json deleted file mode 100644 index 14c96c650903..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListBySubscriptionId.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "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" - } - } - ] - } - } - } -} diff --git a/specification/databricks/resource-manager/readme.md b/specification/databricks/resource-manager/readme.md index c1f4daf59fbd..54743dcf821f 100644 --- a/specification/databricks/resource-manager/readme.md +++ b/specification/databricks/resource-manager/readme.md @@ -12,25 +12,10 @@ This is the AutoRest configuration file for Databricks. ``` yaml $(java) && $(multiapi) batch: - - tag: package-2022-10-01-preview - tag: package-2022-04-01-preview - tag: package-2021-04-01-preview - tag: package-2018-04-01 ``` - -### Tag: package-2022-10-01-preview and java - -These settings apply only when `--tag=package-2022-10-01-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2022-10-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.databricks.v2022_10_01_preview - output-folder: $(azure-libraries-for-java-folder)/sdk/databricks/mgmt-v2022_10_01_preview -regenerate-manager: true -generate-interface: true -``` - ### Tag: package-2022-04-01-preview and java These settings apply only when `--tag=package-2022-04-01-preview --java` is specified on the command line. @@ -92,7 +77,7 @@ These are the global settings for the Databricks API. title: AzureDatabricksManagementClient description: 'The Microsoft Azure management APIs allow end users to operate on Azure Databricks Workspace resources.' openapi-type: arm -tag: package-2022-10-01-preview +tag: package-2022-04-01-preview ``` ### Tag: package-2018-04-01 @@ -126,17 +111,6 @@ input-file: - Microsoft.Databricks/preview/2022-04-01-preview/accessconnector.json ``` -### Tag: package-2022-10-01-preview - -These settings apply only when `--tag=package-2022-10-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2022-10-01-preview' -input-file: -- Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json -- Microsoft.Databricks/preview/2022-04-01-preview/databricks.json -- Microsoft.Databricks/preview/2022-04-01-preview/vnetpeering.json -``` - --- # Suppressions