diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateTrustedServiceByPassConfiguration.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateTrustedServiceByPassConfiguration.json new file mode 100644 index 000000000000..59e37a372f75 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateTrustedServiceByPassConfiguration.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "cde3513f-fbc4-414d-abc2-c4b2ad011bd8", + "resourceGroupName": "kedodd2021synrg1", + "workspaceName": "kedoddsynprodws", + "trustedServiceByPassConfiguration": { + "properties": { + "trustedServiceBypassConfigurationInfo": { + "trustedServiceBypassEnabled": false + } + } + }, + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/cde3513f-fbc4-414d-abc2-c4b2ad011bd8/resourceGroups/kedodd2021synrg1/providers/Microsoft.Synapse/workspaces/kedoddsynprodws/trustedServiceByPassConfiguration/default", + "type": "Microsoft.Synapse/workspaces/trustedServiceByPassConfiguration/default", + "name": "default", + "properties": { + "trustedServiceBypassConfigurationInfo": { + "trustedServiceBypassEnabled": false + } + } + } + ] + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/workspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/workspace.json index c9f615abb39b..82db2cc3c225 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/workspace.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/workspace.json @@ -878,6 +878,63 @@ "nextLinkName": null } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/trustedServiceByPassConfiguration/default": { + "put": { + "operationId": "WorkspaceTrustedServiceByPassConfiguration_CreateOrUpdate", + "summary": "Create or update Trusted Service By Pass Configuration", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../common/v1/types.json../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "schema": { + "type": "object", + "items": { + "$ref": "#/definitions/TrustedServiceByPassConfiguration" + } + }, + "name": "trustedServiceByPassConfiguration", + "in": "body", + "description": "Trusted Service By Pass Configuration", + "required": true + } + ], + "responses": { + "200": { + "schema": { + "type": "object", + "items": { + "$ref": "#/definitions/TrustedServiceByPassConfiguration" + } + }, + "description": "OK" + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error" + } + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Create or update trusted service by pass configuration": { + "$ref": "./examples/CreateOrUpdateTrustedServiceByPassConfiguration.json" + } + } + } } }, "definitions": { @@ -1512,6 +1569,36 @@ "value" ], "description": "The response to a list restorable dropped Sql pools request" + }, + "TrustedServiceByPassConfiguration": { + "type": "object", + "title": "Trusted Service By Pass Configuration properties", + "description": "Trusted Service By Pass Configuration", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "title": "Trusted Service By Pass Configuration properties", + "description": "Trusted Service By Pass Configuration properties", + "type": "object", + "properties": { + "trustedServiceBypassConfigurationInfo": { + "description": "Trusted Service By pass Configuration Info", + "type": "object", + "properties": { + "trustedServiceBypassEnabled": { + "description": "Trusted Service By pass Enabled", + "type": "boolean" + } + } + } + }, + "x-ms-client-flatten": true + } + } } } }