From 24812ceab27dd85c958ceb18590db4dd304b6c74 Mon Sep 17 00:00:00 2001 From: Subrahmanyam Veera Mandavilli Date: Mon, 5 Dec 2022 16:24:24 -0800 Subject: [PATCH 1/3] Adding new API version for accessConnector --- .../2022-10-01-preview/accessconnector.json | 457 ++++++++++++++++++ .../AccessConnectorCreateOrUpdate.json | 52 ++ .../examples/AccessConnectorDelete.json | 19 + .../examples/AccessConnectorGet.json | 30 ++ .../examples/AccessConnectorPatchUpdate.json | 41 ++ .../AccessConnectorsListByResourceGroup.json | 46 ++ .../AccessConnectorsListBySubscriptionId.json | 75 +++ .../examples/OperationsList.json | 128 +++++ 8 files changed, 848 insertions(+) create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdate.json create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.json create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorGet.json create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorPatchUpdate.json create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListByResourceGroup.json create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListBySubscriptionId.json create mode 100644 specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/OperationsList.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 new file mode 100644 index 000000000000..e1d44fa4def0 --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/accessconnector.json @@ -0,0 +1,457 @@ +{ + "swagger": "2.0", + "info": { + "title": "DatabricksAccessConnectorClient", + "version": "2022-04-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": "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": "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": { + "$ref": "./examples/AccessConnectorCreateOrUpdate.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": "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": "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": "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": "databricks.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AccessConnector": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityData" + }, + "properties": { + "description": "Azure Databricks accessConnector properties", + "$ref": "#/definitions/AccessConnectorProperties" + } + }, + "allOf": [ + { + "$ref": "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 + } + } + } + }, + "IdentityData": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "format": "uuid", + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "format": "uuid", + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "None", + "SystemAssigned" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + } + }, + "required": [ + "type" + ], + "description": "Identity for the resource." + }, + "AccessConnectorUpdate": { + "description": "An update to an azure databricks accessConnector.", + "type": "object", + "properties": { + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/IdentityData", + "description": "The identity of the resource." + } + } + }, + "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 new file mode 100644 index 000000000000..7674c601f9d0 --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "connectorName": "myAccessConnector", + "api-version": "2022-04-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/AccessConnectorDelete.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.json new file mode 100644 index 000000000000..5560526ea01f --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "connectorName": "myAccessConnector", + "resourceGroupName": "rg", + "api-version": "2022-04-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-04-01-preview", + "Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-04-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 new file mode 100644 index 000000000000..60fff725d60f --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "connectorName": "myAccessConnector", + "api-version": "2022-04-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 new file mode 100644 index 000000000000..43051075bd60 --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorPatchUpdate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "connectorName": "myAccessConnector", + "api-version": "2022-04-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-04-01-preview", + "Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-04-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 new file mode 100644 index 000000000000..50b2d2b43b4a --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListByResourceGroup.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "api-version": "2022-04-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 new file mode 100644 index 000000000000..f4f3deb32a38 --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorsListBySubscriptionId.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2022-04-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/Microsoft.Databricks/preview/2022-10-01-preview/examples/OperationsList.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/OperationsList.json new file mode 100644 index 000000000000..6bddf4300529 --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/OperationsList.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview" + }, + "responses": { + "200": { + "body": [ + { + "name": "Microsoft.Databricks/workspaces/read", + "display": { + "provider": "Microsoft Databricks", + "resource": "Workspace", + "operation": "List Workspaces", + "description": "Retrieves a list of workspaces." + } + }, + { + "name": "Microsoft.Databricks/workspaces/write", + "display": { + "provider": "Microsoft Databricks", + "resource": "Workspace", + "operation": "Create Workspace", + "description": "Creates an workspace." + } + }, + { + "name": "Microsoft.Databricks/workspaces/delete", + "display": { + "provider": "Microsoft Databricks", + "resource": "Workspace", + "operation": "Remove Workspace", + "description": "Removes an workspace." + } + }, + { + "name": "Microsoft.Databricks/workspaces/virtualNetworkPeerings/read", + "display": { + "provider": "Microsoft Databricks", + "resource": "Virtual Network Peering", + "operation": "Get Virtual Network Peering", + "description": "Gets the virtual network peering." + } + }, + { + "name": "Microsoft.Databricks/workspaces/virtualNetworkPeerings/write", + "display": { + "provider": "Microsoft Databricks", + "resource": "Virtual Network Peering", + "operation": "Add Virtual Network Peering", + "description": "Add or modify virtual network peering" + } + }, + { + "name": "Microsoft.Databricks/workspaces/virtualNetworkPeerings/delete", + "display": { + "provider": "Microsoft Databricks", + "resource": "Virtual Network Peering", + "operation": "Delete Virtual Network Peering", + "description": "Deletes a virtual network peering" + } + }, + { + "name": "Microsoft.Databricks/workspaces/PrivateLinkResources/read", + "display": { + "provider": "Microsoft Databricks", + "resource": "Private Link Resources", + "operation": "List Private Link Resources", + "description": "Retrieve List of Private Link Resources" + } + }, + { + "name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/read", + "display": { + "provider": "Microsoft Databricks", + "resource": "Private Endpoint Connection", + "operation": "List Private Endpoint Connections", + "description": "Retrieve List of Private Endpoint Connections" + } + }, + { + "name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/write", + "display": { + "provider": "Microsoft Databricks", + "resource": "Private Endpoint Connection", + "operation": "Update Private Endpoint Connection", + "description": "Update a virtual network peering" + } + }, + { + "name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/delete", + "display": { + "provider": "Microsoft Databricks", + "resource": "Private Endpoint Connection", + "operation": "Delete Private Endpoint Connection", + "description": "Delete a Private Endpoint Connection" + } + }, + { + "name": "Microsoft.Databricks/accessConnectors/read", + "display": { + "provider": "Azure Databricks", + "resource": "AccessConnector", + "operation": "List Azure Databricks Access Connector", + "description": "Retrieves a list of Azure Databricks Access Connector." + } + }, + { + "name": "Microsoft.Databricks/accessConnectors/write", + "display": { + "provider": "Azure Databricks", + "resource": "AccessConnector", + "operation": "Create Azure Databricks Access Connector", + "description": "Creates an Azure Databricks Access Connector." + } + }, + { + "name": "Microsoft.Databricks/accessConnectors/delete", + "display": { + "provider": "Azure Databricks", + "resource": "AccessConnector", + "operation": "Remove Azure Databricks Access Connector", + "description": "Removes Azure Databricks Access Connector." + } + } + ] + } + } +} From 4df11599016680efab63ef715e6817d1bcc9b227 Mon Sep 17 00:00:00 2001 From: Subrahmanyam Veera Mandavilli Date: Mon, 5 Dec 2022 16:31:12 -0800 Subject: [PATCH 2/3] Adding User Assigned MI Changes --- .../2022-10-01-preview/accessconnector.json | 63 +++------ ...nnectorCreateOrUpdateWithUserAssigned.json | 63 +++++++++ .../examples/OperationsList.json | 128 ------------------ .../databricks/resource-manager/readme.md | 28 +++- 4 files changed, 108 insertions(+), 174 deletions(-) create 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/OperationsList.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 index e1d44fa4def0..00716fabc212 100644 --- 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 @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "DatabricksAccessConnectorClient", - "version": "2022-04-01-preview", + "version": "2022-10-01-preview", "description": "These APIs allow end users to operate on Azure Databricks Access Connector resources." }, "host": "management.azure.com", @@ -70,7 +70,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "databricks.json#/definitions/ErrorResponse" + "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" } } } @@ -113,7 +113,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "databricks.json#/definitions/ErrorResponse" + "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" } } }, @@ -126,8 +126,11 @@ "operationId": "AccessConnectors_CreateOrUpdate", "description": "Creates or updates azure databricks accessConnector.", "x-ms-examples": { - "Create an azure databricks accessConnector": { + "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": [ @@ -169,7 +172,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "databricks.json#/definitions/ErrorResponse" + "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" } } }, @@ -222,7 +225,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "databricks.json#/definitions/ErrorResponse" + "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" } } }, @@ -262,7 +265,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "databricks.json#/definitions/ErrorResponse" + "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" } } }, @@ -301,7 +304,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "databricks.json#/definitions/ErrorResponse" + "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/ErrorResponse" } } }, @@ -316,7 +319,11 @@ "type": "object", "properties": { "identity": { - "$ref": "#/definitions/IdentityData" + "$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", @@ -325,7 +332,7 @@ }, "allOf": [ { - "$ref": "databricks.json#/definitions/TrackedResource" + "$ref": "../../preview/2022-04-01-preview/databricks.json#/definitions/TrackedResource" } ], "description": "Information about azure databricks accessConnector." @@ -349,39 +356,6 @@ } } }, - "IdentityData": { - "type": "object", - "properties": { - "principalId": { - "readOnly": true, - "format": "uuid", - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "format": "uuid", - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "None", - "SystemAssigned" - ], - "x-ms-enum": { - "name": "IdentityType", - "modelAsString": true - } - } - }, - "required": [ - "type" - ], - "description": "Identity for the resource." - }, "AccessConnectorUpdate": { "description": "An update to an azure databricks accessConnector.", "type": "object", @@ -394,8 +368,7 @@ } }, "identity": { - "$ref": "#/definitions/IdentityData", - "description": "The identity of the resource." + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" } } }, 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 new file mode 100644 index 000000000000..27d56df02a62 --- /dev/null +++ b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/AccessConnectorCreateOrUpdateWithUserAssigned.json @@ -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" + } + } + } + } + } + } +} diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/OperationsList.json b/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/OperationsList.json deleted file mode 100644 index 6bddf4300529..000000000000 --- a/specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-10-01-preview/examples/OperationsList.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "parameters": { - "api-version": "2022-04-01-preview" - }, - "responses": { - "200": { - "body": [ - { - "name": "Microsoft.Databricks/workspaces/read", - "display": { - "provider": "Microsoft Databricks", - "resource": "Workspace", - "operation": "List Workspaces", - "description": "Retrieves a list of workspaces." - } - }, - { - "name": "Microsoft.Databricks/workspaces/write", - "display": { - "provider": "Microsoft Databricks", - "resource": "Workspace", - "operation": "Create Workspace", - "description": "Creates an workspace." - } - }, - { - "name": "Microsoft.Databricks/workspaces/delete", - "display": { - "provider": "Microsoft Databricks", - "resource": "Workspace", - "operation": "Remove Workspace", - "description": "Removes an workspace." - } - }, - { - "name": "Microsoft.Databricks/workspaces/virtualNetworkPeerings/read", - "display": { - "provider": "Microsoft Databricks", - "resource": "Virtual Network Peering", - "operation": "Get Virtual Network Peering", - "description": "Gets the virtual network peering." - } - }, - { - "name": "Microsoft.Databricks/workspaces/virtualNetworkPeerings/write", - "display": { - "provider": "Microsoft Databricks", - "resource": "Virtual Network Peering", - "operation": "Add Virtual Network Peering", - "description": "Add or modify virtual network peering" - } - }, - { - "name": "Microsoft.Databricks/workspaces/virtualNetworkPeerings/delete", - "display": { - "provider": "Microsoft Databricks", - "resource": "Virtual Network Peering", - "operation": "Delete Virtual Network Peering", - "description": "Deletes a virtual network peering" - } - }, - { - "name": "Microsoft.Databricks/workspaces/PrivateLinkResources/read", - "display": { - "provider": "Microsoft Databricks", - "resource": "Private Link Resources", - "operation": "List Private Link Resources", - "description": "Retrieve List of Private Link Resources" - } - }, - { - "name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/read", - "display": { - "provider": "Microsoft Databricks", - "resource": "Private Endpoint Connection", - "operation": "List Private Endpoint Connections", - "description": "Retrieve List of Private Endpoint Connections" - } - }, - { - "name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/write", - "display": { - "provider": "Microsoft Databricks", - "resource": "Private Endpoint Connection", - "operation": "Update Private Endpoint Connection", - "description": "Update a virtual network peering" - } - }, - { - "name": "Microsoft.Databricks/workspaces/PrivateEndpointConnections/delete", - "display": { - "provider": "Microsoft Databricks", - "resource": "Private Endpoint Connection", - "operation": "Delete Private Endpoint Connection", - "description": "Delete a Private Endpoint Connection" - } - }, - { - "name": "Microsoft.Databricks/accessConnectors/read", - "display": { - "provider": "Azure Databricks", - "resource": "AccessConnector", - "operation": "List Azure Databricks Access Connector", - "description": "Retrieves a list of Azure Databricks Access Connector." - } - }, - { - "name": "Microsoft.Databricks/accessConnectors/write", - "display": { - "provider": "Azure Databricks", - "resource": "AccessConnector", - "operation": "Create Azure Databricks Access Connector", - "description": "Creates an Azure Databricks Access Connector." - } - }, - { - "name": "Microsoft.Databricks/accessConnectors/delete", - "display": { - "provider": "Azure Databricks", - "resource": "AccessConnector", - "operation": "Remove Azure Databricks Access Connector", - "description": "Removes Azure Databricks Access Connector." - } - } - ] - } - } -} diff --git a/specification/databricks/resource-manager/readme.md b/specification/databricks/resource-manager/readme.md index 54743dcf821f..c1f4daf59fbd 100644 --- a/specification/databricks/resource-manager/readme.md +++ b/specification/databricks/resource-manager/readme.md @@ -12,10 +12,25 @@ 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. @@ -77,7 +92,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-04-01-preview +tag: package-2022-10-01-preview ``` ### Tag: package-2018-04-01 @@ -111,6 +126,17 @@ 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 From 64afba8eef1cc3b7e3ffa1b64d66d7d669983f5c Mon Sep 17 00:00:00 2001 From: Subrahmanyam Veera Mandavilli Date: Mon, 5 Dec 2022 16:40:08 -0800 Subject: [PATCH 3/3] Updating Version in Examples folder --- .../examples/AccessConnectorCreateOrUpdate.json | 2 +- .../2022-10-01-preview/examples/AccessConnectorDelete.json | 6 +++--- .../2022-10-01-preview/examples/AccessConnectorGet.json | 2 +- .../examples/AccessConnectorPatchUpdate.json | 6 +++--- .../examples/AccessConnectorsListByResourceGroup.json | 2 +- .../examples/AccessConnectorsListBySubscriptionId.json | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) 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 index 7674c601f9d0..ffa406cdf163 100644 --- 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 @@ -3,7 +3,7 @@ "subscriptionId": "subid", "resourceGroupName": "rg", "connectorName": "myAccessConnector", - "api-version": "2022-04-01-preview", + "api-version": "2022-10-01-preview", "identity": { "type": "SystemAssigned" }, 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 index 5560526ea01f..b29ab3f5110b 100644 --- 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 @@ -2,15 +2,15 @@ "parameters": { "connectorName": "myAccessConnector", "resourceGroupName": "rg", - "api-version": "2022-04-01-preview", + "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-04-01-preview", - "Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-04-01-preview" + "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": {}, 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 index 60fff725d60f..f82f5656a116 100644 --- 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 @@ -3,7 +3,7 @@ "subscriptionId": "subid", "resourceGroupName": "rg", "connectorName": "myAccessConnector", - "api-version": "2022-04-01-preview" + "api-version": "2022-10-01-preview" }, "responses": { "200": { 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 index 43051075bd60..f8767e58bb39 100644 --- 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 @@ -3,7 +3,7 @@ "subscriptionId": "subid", "resourceGroupName": "rg", "connectorName": "myAccessConnector", - "api-version": "2022-04-01-preview", + "api-version": "2022-10-01-preview", "parameters": { "tags": { "key1": "value1" @@ -14,8 +14,8 @@ "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-04-01-preview", - "Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.Databricks/accessConnectors/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-04-01-preview" + "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": { 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 index 50b2d2b43b4a..4229afd6e7bc 100644 --- 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 @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "resourceGroupName": "rg", - "api-version": "2022-04-01-preview" + "api-version": "2022-10-01-preview" }, "responses": { "200": { 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 index f4f3deb32a38..14c96c650903 100644 --- 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 @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "subid", - "api-version": "2022-04-01-preview" + "api-version": "2022-10-01-preview" }, "responses": { "200": {