From 61ce3f5a8abedb829a8eb06129684e63762a0dae Mon Sep 17 00:00:00 2001 From: Naresh Polu Date: Fri, 21 Jan 2022 18:11:01 -0800 Subject: [PATCH 01/15] Checking in the swagger related changes to dedicated sql minial tls settings support --- ...lServerDedicatedSQLminimalTlsSettings.json | 24 ++ ...lServerDedicatedSQLminimalTlsSettings.json | 40 ++++ ...lServerDedicatedSQLminimalTlsSettings.json | 24 ++ .../preview/2021-06-01-preview/sqlServer.json | 212 ++++++++++++++++++ ...lServerDedicatedSQLminimalTlsSettings.json | 24 ++ ...lServerDedicatedSQLminimalTlsSettings.json | 40 ++++ ...lServerDedicatedSQLminimalTlsSettings.json | 24 ++ .../stable/2021-06-01/sqlServer.json | 211 +++++++++++++++++ 8 files changed, 599 insertions(+) create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json new file mode 100644 index 000000000000..22a2c086ed4f --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "admin", + "fullyQualifiedDomainName": "database.windows.net", + "state": "succeded", + "minimalTlsVersion": "1.2" + } + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json new file mode 100644 index 000000000000..b06b2f8b65ad --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "", + "fullyQualifiedDomainName": "", + "state": "", + "minimalTlsVersion": "" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "", + "fullyQualifiedDomainName": "", + "state": "", + "minimalTlsVersion": "" + } + } + ] + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json new file mode 100644 index 000000000000..299f385709f5 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "", + "fullyQualifiedDomainName": "", + "state": "", + "minimalTlsVersion": "" + } + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index b39c7e183140..f66a13f98fce 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1188,6 +1188,158 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}": { + "patch": { + "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", + "summary": "Updates dedicated sql server minimal tls settings.", + "description": "Updates dedicated sql server minimal tls settings.", + "tags": [ + "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" + ], + "deprecated": false, + "parameters": [ + { + "$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#/parameters/WorkspaceNameParameter" + }, + { + "name": "dedicatedSQLminimalTlsSettingsName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated sql minimal tls settings." + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + }, + "description": "Successfully updated dedicated sql minimal tls settings." + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Only MinimalTlsVersion is allowed to update on Worksapce SQL Server" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update tls version of the workspace managed sql server": { + "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" + } + } + }, + "get": { + "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Get", + "summary": "Get Workspace dedicated sql server minimal tls settings.", + "description": "Get Workspace dedicated sql server minimal tls settings.", + "tags": [ + "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" + ], + "parameters": [ + { + "$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#/parameters/WorkspaceNameParameter" + }, + { + "name": "dedicatedSQLminimalTlsSettingsName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated sql minimal tls settings." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved dedicated sql minimal tls settings.", + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Get workspace managed sql server dedicated sql minimal tls settings": { + "$ref": "./examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings": { + "get": { + "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_List", + "summary": "Lists the dedicated sql minimal tls settings associated with a server.", + "description": "Lists the dedicated sql minimal tls settings associated with a server.", + "tags": [ + "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" + ], + "parameters": [ + { + "$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#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved dedicated sql minimal tls settings.", + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsListResult" + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List dedicated sql minimal tls settings of the workspace managed sql server": { + "$ref": "./examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" + } + } + } } }, "definitions": { @@ -1788,6 +1940,66 @@ "readOnly": true } } + }, + "DedicatedSQLminimalTlsSettingsProperties": { + "description": "Properties of a dedicated sql minimal tls settings.", + "properties": { + "administratorLogin": { + "readOnly": true, + "type": "string", + "description": "The administrator login of the sql server." + }, + "fullyQualifiedDomainName": { + "readOnly": true, + "type": "string", + "description": "The fully qualified domain name of the sql server." + }, + "state": { + "readOnly": true, + "type": "string", + "description": "The state of the sql server." + }, + "minimalTlsVersion": { + "readOnly": true, + "type": "string", + "description": "The minimal tls version of the sql server." + } + } + }, + "DedicatedSQLminimalTlsSettings": { + "description": "Dedicated Sql Minimal Tls Settings Info", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + } + }, + "DedicatedSQLminimalTlsSettingsListResult": { + "description": "A list of the server's dedicated sql minimal tls settings.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } } } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json new file mode 100644 index 000000000000..e897c601eb15 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "api-version": "2021-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "", + "fullyQualifiedDomainName": "", + "state": "", + "minimalTlsVersion": "" + } + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json new file mode 100644 index 000000000000..92e530a73c4b --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "api-version": "2021-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "", + "fullyQualifiedDomainName": "", + "state": "", + "minimalTlsVersion": "" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "", + "fullyQualifiedDomainName": "", + "state": "", + "minimalTlsVersion": "" + } + } + ] + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json new file mode 100644 index 000000000000..e897c601eb15 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "api-version": "2021-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "location": "East US", + "properties": { + "administratorLogin": "", + "fullyQualifiedDomainName": "", + "state": "", + "minimalTlsVersion": "" + } + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index cdf4c29b1b9f..bd40734ca3ef 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1188,6 +1188,157 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}": { + "patch": { + "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", + "description": "Updates dedicated sql server minimal tls settings.", + "tags": [ + "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" + ], + "deprecated": false, + "parameters": [ + { + "$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#/parameters/WorkspaceNameParameter" + }, + { + "name": "dedicatedSQLminimalTlsSettingsName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated sql minimal tls settings." + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + }, + "description": "Successfully updated dedicated sql minimal tls settings." + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Only MinimalTlsVersion is allowed to update on Worksapce SQL Server" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update tls version of the workspace managed sql server": { + "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" + } + } + }, + "get": { + "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Get", + "summary": "Get Workspace dedicate sql minimal tls settings.", + "description": "Get Workspace dedicate sql minimal tls settings.", + "tags": [ + "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" + ], + "parameters": [ + { + "$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#/parameters/WorkspaceNameParameter" + }, + { + "name": "dedicatedSQLminimalTlsSettingsName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated sql minimal tls settings." + } + ], + "responses": { + "200": { + "description": "Successfully retrieved dedicated sql minimal tls settings.", + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Get workspace managed sql server dedicated sql minimal tls settings": { + "$ref": "./examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings": { + "get": { + "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_List", + "summary": "Lists the dedicated sql minimal tls settings associated with a server.", + "description": "Lists the dedicated sql minimal tls settings associated with a server.", + "tags": [ + "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" + ], + "parameters": [ + { + "$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#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved dedicated sql minimal tls settings.", + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsListResult" + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List dedicated sql minimal tls settings of the workspace managed sql server": { + "$ref": "./examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" + } + } + } } }, "definitions": { @@ -1792,6 +1943,66 @@ "readOnly": true } } + }, + "DedicatedSQLminimalTlsSettingsProperties": { + "description": "Properties of a dedicated sql minimal tls settings.", + "properties": { + "administratorLogin": { + "readOnly": true, + "type": "string", + "description": "The administrator login of the sql server." + }, + "fullyQualifiedDomainName": { + "readOnly": true, + "type": "string", + "description": "The fully qualified domain name of the sql server." + }, + "state": { + "readOnly": true, + "type": "string", + "description": "The state of the sql server." + }, + "minimalTlsVersion": { + "readOnly": true, + "type": "string", + "description": "The minimal tls version of the sql server." + } + } + }, + "DedicatedSQLminimalTlsSettings": { + "description": "Dedicated Sql Minimal Tls Settings Info", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + } + }, + "DedicatedSQLminimalTlsSettingsListResult": { + "description": "A list of the server's dedicated sql minimal tls settings.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } } } } From 667cdea88c574eb193c15e3ae8f1d90fd3bc1c67 Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Sun, 23 Jan 2022 20:45:55 -0800 Subject: [PATCH 02/15] Updated the ms-examples related to minimal tls settings in both preview and stable folders --- ...dSqlServerDedicatedSQLminimalTlsSettings.json | 6 +++--- ...dSqlServerDedicatedSQLminimalTlsSettings.json | 16 ++++++++-------- ...dSqlServerDedicatedSQLminimalTlsSettings.json | 8 ++++---- ...dSqlServerDedicatedSQLminimalTlsSettings.json | 8 ++++---- ...dSqlServerDedicatedSQLminimalTlsSettings.json | 16 ++++++++-------- ...dSqlServerDedicatedSQLminimalTlsSettings.json | 8 ++++---- 6 files changed, 31 insertions(+), 31 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 22a2c086ed4f..a31e6ddc2fb2 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -13,9 +13,9 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "admin", - "fullyQualifiedDomainName": "database.windows.net", - "state": "succeded", + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", "minimalTlsVersion": "1.2" } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index b06b2f8b65ad..8d3a599aacfa 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -15,10 +15,10 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "", - "fullyQualifiedDomainName": "", - "state": "", - "minimalTlsVersion": "" + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", + "minimalTlsVersion": "1.2" } }, { @@ -27,10 +27,10 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "", - "fullyQualifiedDomainName": "", - "state": "", - "minimalTlsVersion": "" + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", + "minimalTlsVersion": "1.2" } } ] diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 299f385709f5..a31e6ddc2fb2 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -13,10 +13,10 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "", - "fullyQualifiedDomainName": "", - "state": "", - "minimalTlsVersion": "" + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", + "minimalTlsVersion": "1.2" } } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index e897c601eb15..36cad873091c 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -13,10 +13,10 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "", - "fullyQualifiedDomainName": "", - "state": "", - "minimalTlsVersion": "" + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", + "minimalTlsVersion": "1.2" } } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 92e530a73c4b..b31709a2cedd 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -15,10 +15,10 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "", - "fullyQualifiedDomainName": "", - "state": "", - "minimalTlsVersion": "" + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", + "minimalTlsVersion": "1.2" } }, { @@ -27,10 +27,10 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "", - "fullyQualifiedDomainName": "", - "state": "", - "minimalTlsVersion": "" + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", + "minimalTlsVersion": "1.2" } } ] diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index e897c601eb15..36cad873091c 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -13,10 +13,10 @@ "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", "location": "East US", "properties": { - "administratorLogin": "", - "fullyQualifiedDomainName": "", - "state": "", - "minimalTlsVersion": "" + "administratorLogin": "sqladminuser", + "fullyQualifiedDomainName": "workspace-2080.database.windows.net", + "state": "Ready", + "minimalTlsVersion": "1.2" } } } From 1d32e68f0cc9d058984942ec46e44186005b1255 Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Mon, 24 Jan 2022 13:43:19 -0800 Subject: [PATCH 03/15] Fixing the swagger validation errors --- custom-words.txt | 1 + ...edSqlServerDedicatedSQLminimalTlsSettings.json | 1 + .../preview/2021-06-01-preview/sqlServer.json | 15 ++++++++------- ...edSqlServerDedicatedSQLminimalTlsSettings.json | 1 + .../stable/2021-06-01/sqlServer.json | 14 ++++++++------ 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index 574b56127e3f..bf2ad9c96b8b 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1150,6 +1150,7 @@ Lucene Lumia LUNs Luxembourgish +Lminimal machinelearning machinelearningcompute machinelearningexperimentation diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index a31e6ddc2fb2..263326533197 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -3,6 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", + "dedicatedSQLminimalTlsSettingsName": "default", "api-version": "2021-06-01-preview" }, "responses": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index f66a13f98fce..755e8acf6d2e 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1192,8 +1192,8 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}": { "patch": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", - "summary": "Updates dedicated sql server minimal tls settings.", - "description": "Updates dedicated sql server minimal tls settings.", + "summary": "Update server's tls settings.", + "description": "Update a workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1227,7 +1227,7 @@ "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "Only MinimalTlsVersion is allowed to update on Worksapce SQL Server" + "description": "Only MinimalTlsVersion is allowed to update on Workspace SQL Server" } }, "consumes": [ @@ -1245,8 +1245,8 @@ }, "get": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Get", - "summary": "Get Workspace dedicated sql server minimal tls settings.", - "description": "Get Workspace dedicated sql server minimal tls settings.", + "summary": "Get server's minimal tls settings.", + "description": "Get workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1297,8 +1297,8 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings": { "get": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_List", - "summary": "Lists the dedicated sql minimal tls settings associated with a server.", - "description": "Lists the dedicated sql minimal tls settings associated with a server.", + "summary": "List workspace server's minimal tls settings.", + "description": "List workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1943,6 +1943,7 @@ }, "DedicatedSQLminimalTlsSettingsProperties": { "description": "Properties of a dedicated sql minimal tls settings.", + "type": "object", "properties": { "administratorLogin": { "readOnly": true, diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 36cad873091c..d8619ee6ceb2 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -3,6 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", + "dedicatedSQLminimalTlsSettingsName ": "default", "api-version": "2021-06-01" }, "responses": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index bd40734ca3ef..11595d07c678 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1192,7 +1192,8 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}": { "patch": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", - "description": "Updates dedicated sql server minimal tls settings.", + "summary": "Update server's tls settings.", + "description": "Update a workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1226,7 +1227,7 @@ "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "Only MinimalTlsVersion is allowed to update on Worksapce SQL Server" + "description": "Only MinimalTlsVersion is allowed to update on Workspace SQL Server" } }, "consumes": [ @@ -1244,8 +1245,8 @@ }, "get": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Get", - "summary": "Get Workspace dedicate sql minimal tls settings.", - "description": "Get Workspace dedicate sql minimal tls settings.", + "summary": "Get server's minimal tls settings.", + "description": "Get workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1296,8 +1297,8 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings": { "get": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_List", - "summary": "Lists the dedicated sql minimal tls settings associated with a server.", - "description": "Lists the dedicated sql minimal tls settings associated with a server.", + "summary": "List workspace server's minimal tls settings.", + "description": "List workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1946,6 +1947,7 @@ }, "DedicatedSQLminimalTlsSettingsProperties": { "description": "Properties of a dedicated sql minimal tls settings.", + "type": "object", "properties": { "administratorLogin": { "readOnly": true, From 0c14e8bc4feb526b11a713fa93abf60c330d9221 Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Mon, 24 Jan 2022 13:54:00 -0800 Subject: [PATCH 04/15] Fixing the swagger model validation errors --- ...WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json | 1 + ...WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json | 1 + ...WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index a31e6ddc2fb2..263326533197 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -3,6 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", + "dedicatedSQLminimalTlsSettingsName": "default", "api-version": "2021-06-01-preview" }, "responses": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 36cad873091c..c1fc48e90513 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -3,6 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", + "dedicatedSQLminimalTlsSettingsName": "default", "api-version": "2021-06-01" }, "responses": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index d8619ee6ceb2..c1fc48e90513 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", - "dedicatedSQLminimalTlsSettingsName ": "default", + "dedicatedSQLminimalTlsSettingsName": "default", "api-version": "2021-06-01" }, "responses": { From 6e492419dc5c7867af887b25910b921fd3bbefda Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Tue, 25 Jan 2022 20:14:08 -0800 Subject: [PATCH 05/15] Updated ms-examples and swagger files after review --- ...lServerDedicatedSQLminimalTlsSettings.json | 7 +-- ...lServerDedicatedSQLminimalTlsSettings.json | 18 ++---- ...lServerDedicatedSQLminimalTlsSettings.json | 20 ++---- .../preview/2021-06-01-preview/sqlServer.json | 62 +++++++++++-------- ...lServerDedicatedSQLminimalTlsSettings.json | 7 +-- ...lServerDedicatedSQLminimalTlsSettings.json | 18 ++---- ...lServerDedicatedSQLminimalTlsSettings.json | 20 ++---- .../stable/2021-06-01/sqlServer.json | 62 +++++++++++-------- 8 files changed, 100 insertions(+), 114 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 263326533197..3d1db9c72719 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -12,12 +12,9 @@ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", "name": "default", "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", + "location": "eastus", "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" + "minimalTlsVersion": "1.1" } } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 8d3a599aacfa..f36256e50246 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -10,27 +10,21 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", "name": "default", "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", + "location": "eastus", "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" + "minimalTlsVersion": "1.1" } }, { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", "name": "default", "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", + "location": "eastus", "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" + "minimalTlsVersion": "1.1" } } ] diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 263326533197..7373f6e98d41 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -4,22 +4,12 @@ "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", "dedicatedSQLminimalTlsSettingsName": "default", - "api-version": "2021-06-01-preview" + "api-version": "2021-06-01-preview", + "dedicatedSQLminimalTlsSettingsPatchInfo": { + "minimalTlsVersion": "1.1" + } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", - "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" - } - } - } + "202": {} } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index 755e8acf6d2e..844c8f35b2e2 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1193,7 +1193,7 @@ "patch": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", "summary": "Update server's tls settings.", - "description": "Update a workspace managed sql server's minimal tls settings.", + "description": "Update workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1211,23 +1211,36 @@ { "name": "dedicatedSQLminimalTlsSettingsName", "in": "path", + "description": "The name of the dedicated sql minimal tls settings.", "required": true, "type": "string", - "description": "The name of the dedicated sql minimal tls settings." + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "DedicatedSQLMinimalTlsSettingsName", + "modelAsString": true + } + }, + { + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsPatchInfo" + }, + "in": "body", + "name": "dedicatedSQLminimalTlsSettingsPatchInfo", + "description": "minimal tls settings", + "required": true } ], "responses": { - "200": { - "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" - }, - "description": "Successfully updated dedicated sql minimal tls settings." + "202": { + "description": "Accepted" }, "default": { "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "Only MinimalTlsVersion is allowed to update on Workspace SQL Server" + "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." } }, "consumes": [ @@ -1279,7 +1292,7 @@ "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "" + "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." } }, "consumes": [], @@ -1303,6 +1316,9 @@ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, @@ -1324,7 +1340,7 @@ "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "" + "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." } }, "consumes": [], @@ -1941,25 +1957,21 @@ } } }, + "DedicatedSQLminimalTlsSettingsPatchInfo": { + "type": "object", + "title": "Dedicated SQL minimal tls settings patch info", + "description": "Dedicated SQL minimal tls settings patch info", + "properties": { + "minimalTlsVersion": { + "type": "string", + "description": "minimal tls version" + } + } + }, "DedicatedSQLminimalTlsSettingsProperties": { "description": "Properties of a dedicated sql minimal tls settings.", "type": "object", "properties": { - "administratorLogin": { - "readOnly": true, - "type": "string", - "description": "The administrator login of the sql server." - }, - "fullyQualifiedDomainName": { - "readOnly": true, - "type": "string", - "description": "The fully qualified domain name of the sql server." - }, - "state": { - "readOnly": true, - "type": "string", - "description": "The state of the sql server." - }, "minimalTlsVersion": { "readOnly": true, "type": "string", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index c1fc48e90513..8050a350c356 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -12,12 +12,9 @@ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", "name": "default", "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", + "location": "eastus", "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" + "minimalTlsVersion": "1.1" } } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index b31709a2cedd..014fdfb5bf1e 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -10,27 +10,21 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", "name": "default", "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", + "location": "eastus", "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" + "minimalTlsVersion": "1.1" } }, { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", "name": "default", "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", + "location": "eastus", "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" + "minimalTlsVersion": "1.1" } } ] diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index c1fc48e90513..a0e5dce3e2c9 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -4,22 +4,12 @@ "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", "dedicatedSQLminimalTlsSettingsName": "default", - "api-version": "2021-06-01" + "api-version": "2021-06-01", + "dedicatedSQLminimalTlsSettingsPatchInfo": { + "minimalTlsVersion": "1.1" + } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "East US", - "properties": { - "administratorLogin": "sqladminuser", - "fullyQualifiedDomainName": "workspace-2080.database.windows.net", - "state": "Ready", - "minimalTlsVersion": "1.2" - } - } - } + "202": {} } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index 11595d07c678..ad21ee34d95a 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1193,7 +1193,7 @@ "patch": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", "summary": "Update server's tls settings.", - "description": "Update a workspace managed sql server's minimal tls settings.", + "description": "Update workspace managed sql server's minimal tls settings.", "tags": [ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], @@ -1211,23 +1211,36 @@ { "name": "dedicatedSQLminimalTlsSettingsName", "in": "path", + "description": "The name of the dedicated sql minimal tls settings.", "required": true, "type": "string", - "description": "The name of the dedicated sql minimal tls settings." + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "DedicatedSQLMinimalTlsSettingsName", + "modelAsString": true + } + }, + { + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsPatchInfo" + }, + "in": "body", + "name": "dedicatedSQLminimalTlsSettingsPatchInfo", + "description": "minimal tls settings", + "required": true } ], "responses": { - "200": { - "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" - }, - "description": "Successfully updated dedicated sql minimal tls settings." + "202": { + "description": "Accepted" }, "default": { "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "Only MinimalTlsVersion is allowed to update on Workspace SQL Server" + "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." } }, "consumes": [ @@ -1279,7 +1292,7 @@ "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "" + "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." } }, "consumes": [], @@ -1303,6 +1316,9 @@ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, @@ -1324,7 +1340,7 @@ "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, - "description": "" + "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." } }, "consumes": [], @@ -1945,25 +1961,21 @@ } } }, + "DedicatedSQLminimalTlsSettingsPatchInfo": { + "type": "object", + "title": "Dedicated SQL minimal tls settings patch info", + "description": "Dedicated SQL minimal tls settings patch info", + "properties": { + "minimalTlsVersion": { + "type": "string", + "description": "minimal tls version" + } + } + }, "DedicatedSQLminimalTlsSettingsProperties": { "description": "Properties of a dedicated sql minimal tls settings.", "type": "object", "properties": { - "administratorLogin": { - "readOnly": true, - "type": "string", - "description": "The administrator login of the sql server." - }, - "fullyQualifiedDomainName": { - "readOnly": true, - "type": "string", - "description": "The fully qualified domain name of the sql server." - }, - "state": { - "readOnly": true, - "type": "string", - "description": "The state of the sql server." - }, "minimalTlsVersion": { "readOnly": true, "type": "string", From f65d4b7f16a93441ead8b567074163819eefbb9e Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Tue, 25 Jan 2022 20:33:56 -0800 Subject: [PATCH 06/15] Updated swagger files to include additional property --- .../preview/2021-06-01-preview/sqlServer.json | 8 ++++++-- .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index 844c8f35b2e2..1ef465d0c6aa 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1248,8 +1248,7 @@ ], "produces": [ "application/json" - ], - "x-ms-long-running-operation": true, + ], "x-ms-examples": { "Update tls version of the workspace managed sql server": { "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" @@ -1988,6 +1987,11 @@ } ], "properties": { + "location": { + "description": "Resource location.", + "type": "string", + "readOnly": true + }, "properties": { "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsProperties", "description": "Resource properties.", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index ad21ee34d95a..3fcdd8d50471 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1248,8 +1248,7 @@ ], "produces": [ "application/json" - ], - "x-ms-long-running-operation": true, + ], "x-ms-examples": { "Update tls version of the workspace managed sql server": { "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" @@ -1992,6 +1991,11 @@ } ], "properties": { + "location": { + "description": "Resource location.", + "type": "string", + "readOnly": true + }, "properties": { "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsProperties", "description": "Resource properties.", From 7bbc8ddc5038571eee38a221f59bb020a5e34e55 Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Tue, 25 Jan 2022 20:37:35 -0800 Subject: [PATCH 07/15] Fixing the swagger prettier check --- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json | 2 +- .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index 1ef465d0c6aa..0be61d311c75 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1248,7 +1248,7 @@ ], "produces": [ "application/json" - ], + ], "x-ms-examples": { "Update tls version of the workspace managed sql server": { "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index 3fcdd8d50471..32cec81202ad 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1248,7 +1248,7 @@ ], "produces": [ "application/json" - ], + ], "x-ms-examples": { "Update tls version of the workspace managed sql server": { "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" From affed9f2257695c3870c1733fccd515d83c673eb Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Tue, 25 Jan 2022 20:48:27 -0800 Subject: [PATCH 08/15] Fixing the swagger model validation errors --- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json | 1 + .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 1 + 2 files changed, 2 insertions(+) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index 0be61d311c75..c20f684ee28f 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1249,6 +1249,7 @@ "produces": [ "application/json" ], + "x-ms-long-running-operation": true, "x-ms-examples": { "Update tls version of the workspace managed sql server": { "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index 32cec81202ad..cab7b859dfce 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1249,6 +1249,7 @@ "produces": [ "application/json" ], + "x-ms-long-running-operation": true, "x-ms-examples": { "Update tls version of the workspace managed sql server": { "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" From 05dde6860c61ac1abc9ecf4f57ef2f5da1201ebf Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Wed, 26 Jan 2022 22:01:08 -0800 Subject: [PATCH 09/15] Updated the ms-examples related to patch and changes in swagger files --- ...ManagedSqlServerDedicatedSQLminimalTlsSettings.json | 10 ++++++++++ .../preview/2021-06-01-preview/sqlServer.json | 6 ++++++ ...ManagedSqlServerDedicatedSQLminimalTlsSettings.json | 10 ++++++++++ .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 6 ++++++ 4 files changed, 32 insertions(+) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 7373f6e98d41..97284bbbe530 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -10,6 +10,16 @@ } }, "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "properties": { + "minimalTlsVersion": "1.1" + } + } + }, "202": {} } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index c20f684ee28f..0e07300558a1 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1233,6 +1233,12 @@ } ], "responses": { + "200": { + "description": "Successfully retrieved dedicated sql minimal tls settings.", + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + } + }, "202": { "description": "Accepted" }, diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index a0e5dce3e2c9..8aa73fe42811 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -10,6 +10,16 @@ } }, "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", + "properties": { + "minimalTlsVersion": "1.1" + } + } + }, "202": {} } } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index cab7b859dfce..ba25e96835b6 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1233,6 +1233,12 @@ } ], "responses": { + "200": { + "description": "Successfully retrieved dedicated sql minimal tls settings.", + "schema": { + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" + } + }, "202": { "description": "Accepted" }, From 6f158a246e36a050d6942c0b968bdc770fce579a Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Tue, 8 Feb 2022 15:51:47 -0800 Subject: [PATCH 10/15] Updated the swagger files for fixing few of the code review comments --- .../preview/2021-06-01-preview/sqlServer.json | 6 ------ .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 1 - 2 files changed, 7 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index 0e07300558a1..b62c6b1bc6ab 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1305,7 +1305,6 @@ "produces": [ "application/json" ], - "x-ms-long-running-operation": true, "x-ms-examples": { "Get workspace managed sql server dedicated sql minimal tls settings": { "$ref": "./examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" @@ -1994,11 +1993,6 @@ } ], "properties": { - "location": { - "description": "Resource location.", - "type": "string", - "readOnly": true - }, "properties": { "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsProperties", "description": "Resource properties.", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index ba25e96835b6..128018e0f09d 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1305,7 +1305,6 @@ "produces": [ "application/json" ], - "x-ms-long-running-operation": true, "x-ms-examples": { "Get workspace managed sql server dedicated sql minimal tls settings": { "$ref": "./examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" From eef0340b3a8a50009d6810922ad8ee6f65891d83 Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Tue, 8 Feb 2022 17:12:22 -0800 Subject: [PATCH 11/15] Updated the swagger files for fixing few of the code review comments --- .../preview/2021-06-01-preview/sqlServer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index b62c6b1bc6ab..bc8922699ff1 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1993,6 +1993,11 @@ } ], "properties": { + "location": { + "description": "Resource location.", + "type": "string", + "readOnly": true + }, "properties": { "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsProperties", "description": "Resource properties.", From 8798faf63b81a373cce124ba8b0ed87dcda4e211 Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Tue, 8 Feb 2022 17:59:38 -0800 Subject: [PATCH 12/15] Updated the swagger files for fixing few of the code review comments --- .../preview/2021-06-01-preview/sqlServer.json | 6 ++++++ .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index bc8922699ff1..0de27ab7554f 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1199,6 +1199,9 @@ ], "deprecated": false, "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, @@ -1270,6 +1273,9 @@ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index 128018e0f09d..56ba5c304b16 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1199,6 +1199,9 @@ ], "deprecated": false, "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, @@ -1270,6 +1273,9 @@ "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" ], "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, From 343c7293e649be592bad09eb031bae19f7dfe87e Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Wed, 9 Feb 2022 17:03:02 -0800 Subject: [PATCH 13/15] Updated the swagger files and ms-examples for fixing code review comments --- ...SqlServerDedicatedSQLminimalTlsSettings.json | 6 ++++-- .../preview/2021-06-01-preview/sqlServer.json | 17 +++-------------- ...SqlServerDedicatedSQLminimalTlsSettings.json | 6 ++++-- .../stable/2021-06-01/sqlServer.json | 6 +++--- 4 files changed, 14 insertions(+), 21 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 97284bbbe530..5d79350d39da 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -5,8 +5,10 @@ "workspaceName": "workspace-2080", "dedicatedSQLminimalTlsSettingsName": "default", "api-version": "2021-06-01-preview", - "dedicatedSQLminimalTlsSettingsPatchInfo": { - "minimalTlsVersion": "1.1" + "parameters": { + "properties": { + "minimalTlsVersion": "1.1" + } } }, "responses": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index 0de27ab7554f..b35365812e34 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1190,7 +1190,7 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}": { - "patch": { + "put": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", "summary": "Update server's tls settings.", "description": "Update workspace managed sql server's minimal tls settings.", @@ -1227,7 +1227,7 @@ }, { "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsPatchInfo" + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" }, "in": "body", "name": "dedicatedSQLminimalTlsSettingsPatchInfo", @@ -1237,7 +1237,7 @@ ], "responses": { "200": { - "description": "Successfully retrieved dedicated sql minimal tls settings.", + "description": "Successfully updated dedicated sql minimal tls settings.", "schema": { "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" } @@ -1968,17 +1968,6 @@ } } }, - "DedicatedSQLminimalTlsSettingsPatchInfo": { - "type": "object", - "title": "Dedicated SQL minimal tls settings patch info", - "description": "Dedicated SQL minimal tls settings patch info", - "properties": { - "minimalTlsVersion": { - "type": "string", - "description": "minimal tls version" - } - } - }, "DedicatedSQLminimalTlsSettingsProperties": { "description": "Properties of a dedicated sql minimal tls settings.", "type": "object", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json index 8aa73fe42811..04302c925aca 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -5,8 +5,10 @@ "workspaceName": "workspace-2080", "dedicatedSQLminimalTlsSettingsName": "default", "api-version": "2021-06-01", - "dedicatedSQLminimalTlsSettingsPatchInfo": { - "minimalTlsVersion": "1.1" + "parameters": { + "properties": { + "minimalTlsVersion": "1.1" + } } }, "responses": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index 56ba5c304b16..24a3d262cab6 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1190,7 +1190,7 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}": { - "patch": { + "put": { "operationId": "WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update", "summary": "Update server's tls settings.", "description": "Update workspace managed sql server's minimal tls settings.", @@ -1227,7 +1227,7 @@ }, { "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsPatchInfo" + "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" }, "in": "body", "name": "dedicatedSQLminimalTlsSettingsPatchInfo", @@ -1237,7 +1237,7 @@ ], "responses": { "200": { - "description": "Successfully retrieved dedicated sql minimal tls settings.", + "description": "Successfully updated dedicated sql minimal tls settings.", "schema": { "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" } From eb405861255a746a985102db10c13f3586bde9fa Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Wed, 9 Feb 2022 17:50:54 -0800 Subject: [PATCH 14/15] Updated the swagger files for fixing code review comments --- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json | 2 +- .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index b35365812e34..6052dbe1fac0 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1230,7 +1230,7 @@ "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" }, "in": "body", - "name": "dedicatedSQLminimalTlsSettingsPatchInfo", + "name": "parameters", "description": "minimal tls settings", "required": true } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index 24a3d262cab6..db305017e892 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1230,7 +1230,7 @@ "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" }, "in": "body", - "name": "dedicatedSQLminimalTlsSettingsPatchInfo", + "name": "parameters", "description": "minimal tls settings", "required": true } From 171e14c3fe61c42d5a2714796568d24b47feb8db Mon Sep 17 00:00:00 2001 From: naresh-polu Date: Thu, 10 Feb 2022 09:11:59 -0800 Subject: [PATCH 15/15] Updated the swagger files for fixing code review comments --- .../Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json | 1 - .../Microsoft.Synapse/stable/2021-06-01/sqlServer.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json index 6052dbe1fac0..980d0cfc5152 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json @@ -1973,7 +1973,6 @@ "type": "object", "properties": { "minimalTlsVersion": { - "readOnly": true, "type": "string", "description": "The minimal tls version of the sql server." } diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json index db305017e892..a932fbf55a36 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json @@ -1988,7 +1988,6 @@ "type": "object", "properties": { "minimalTlsVersion": { - "readOnly": true, "type": "string", "description": "The minimal tls version of the sql server." }