From bdb2379a8d4ee1a3b4b8fdda58dd849e9e307ca3 Mon Sep 17 00:00:00 2001 From: Surya Date: Tue, 10 Aug 2021 16:25:40 +0530 Subject: [PATCH 1/5] Add missing features to be released in 2021-06-01 into 2021-06-01-preview --- .../azureADOnlyAuthentication.json | 299 ++++++++++++++++++ ...eateOrUpdateAzureADOnlyAuthentication.json | 41 +++ .../GetAzureADOnlyAuthentication.json | 23 ++ .../ListAzureADOnlyAuthentication.json | 26 ++ .../ListWorkspacesInResourceGroup.json | 2 +- .../preview/2021-06-01-preview/sqlPool.json | 5 + .../preview/2021-06-01-preview/workspace.json | 8 + .../synapse/resource-manager/readme.md | 13 +- 8 files changed, 410 insertions(+), 7 deletions(-) create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json new file mode 100644 index 000000000000..f7f5fd226b5f --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json @@ -0,0 +1,299 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-06-01-preview", + "title": "SynapseManagementClient", + "description": "Azure Synapse Analytics APIs" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "securityDefinitions": { + "azure_auth": { + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "type": "oauth2", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthentication}": { + "get": { + "operationId": "AzureADOnlyAuthentications_Get", + "summary": "Get Azure Active Directory only authentication property", + "description": "Gets a Azure Active Directory only authentication property", + "tags": [ + "WorkspaceAzureADOnlyAuthentications" + ], + "deprecated": false, + "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": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + }, + { + "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" + }, + "description": "OK" + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Get Azure Active Directory Only Authentication property": { + "$ref": "./examples/GetAzureADOnlyAuthentication.json" + } + } + }, + "put": { + "operationId": "AzureADOnlyAuthentications_Create", + "summary": "Create or Update Azure Active Directory only authentication property", + "description": "Create or Update a Azure Active Directory only authentication property for the workspaces", + "tags": [ + "WorkspaceAzureADOnlyAuthentications" + ], + "deprecated": false, + "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": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + }, + { + "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" + }, + { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" + }, + "in": "body", + "name": "AzureADOnlyAuthenticationInfo", + "description": "Azure Active Directory Property", + "required": true + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" + }, + "description": "OK" + }, + "201": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" + }, + "description": "Created" + }, + "202": { + "description": "Accepted" + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Create or Update Azure Active Directory Only Authentication property": { + "$ref": "./examples/CreateOrUpdateAzureADOnlyAuthentication.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications": { + "get": { + "operationId": "AzureADOnlyAuthentications_List", + "summary": "Gets a list of Azure Active Directory only authentication property", + "description": "Gets a list of Azure Active Directory only authentication property for a workspace", + "tags": [ + "WorkspaceAzureADOnlyAuthentications" + ], + "deprecated": false, + "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": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthenticationListResult" + }, + "description": "OK" + }, + "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": { + "Get a list of Azure Active Directory Only Authentication property": { + "$ref": "./examples/ListAzureADOnlyAuthentication.json" + } + } + } + } + }, + "definitions": { + "AzureADOnlyAuthenticationProperties": { + "description": "Properties of a active directory only authentication.", + "required": [ + "azureADOnlyAuthentication" + ], + "type": "object", + "properties": { + "azureADOnlyAuthentication": { + "description": "Azure Active Directory only Authentication enabled.", + "type": "boolean" + }, + "state": { + "description": "property configuration state", + "type": "string", + "readOnly": true, + "enum": [ + "Consistent", + "InConsistent", + "Updating" + ], + "x-ms-enum": { + "name": "state value", + "modelAsString": true + } + }, + "creationDate": { + "description": "property configuration date", + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "AzureADOnlyAuthentication": { + "description": "Azure Active Directory Only Authentication Info", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "azureADOnlyAuthentication resource properties", + "$ref": "#/definitions/AzureADOnlyAuthenticationProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } + } + }, + "AzureADOnlyAuthenticationListResult": { + "description": "A list of active directory only authentications.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/AzureADOnlyAuthentication" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "workspaceNameParameter": { + "name": "workspaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the workspace", + "x-ms-parameter-location": "method" + }, + "azureADOnlyAuthenticationNameParameter": { + "type": "string", + "in": "path", + "name": "azureADOnlyAuthentication", + "description": "name of the property", + "required": true, + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "AzureADOnlyAuthenticationName", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + } + } + } \ No newline at end of file diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json new file mode 100644 index 000000000000..7f34c5267e89 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "azureADOnlyAuthentication": "default", + "api-version": "2021-06-01-preview", + "AzureADOnlyAuthenticationInfo": { + "properties": { + "azureADOnlyAuthentication": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", + "properties": { + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Consistent" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", + "properties": { + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Updating" + } + } + }, + "202": {} + } + } \ No newline at end of file diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json new file mode 100644 index 000000000000..c7f2373744a3 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "azureADOnlyAuthentication": "default", + "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/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", + "properties": { + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Consistent" + } + } + } + } + } \ No newline at end of file diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json new file mode 100644 index 000000000000..cde816b1a0cf --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json @@ -0,0 +1,26 @@ +{ + "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/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", + "properties": { + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Consistent" + } + } + ] + } + } + } + } \ No newline at end of file diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json index 86103c7cf06d..3050d6894029 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json @@ -58,4 +58,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index b8c95f844000..91471a1dce62 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -5370,6 +5370,11 @@ "name": "StorageAccountType", "modelAsString": true } + }, + "sourceDatabaseDeletionDate": { + "type": "string", + "description": "Specifies the time that the sql pool was deleted", + "format": "date-time" } } }, 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 401a14d482b1..15aabbfdec0a 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 @@ -931,6 +931,14 @@ "filesystem": { "description": "Filesystem name", "type": "string" + }, + "resourceId": { + "description": "ARM resource Id of this storage account", + "type": "string" + }, + "createManagedPrivateEndpoint": { + "description": "Create managed private endpoint to this storage account or not", + "type": "boolean" } } }, diff --git a/specification/synapse/resource-manager/readme.md b/specification/synapse/resource-manager/readme.md index 622c9fcb78b4..713990d640c3 100644 --- a/specification/synapse/resource-manager/readme.md +++ b/specification/synapse/resource-manager/readme.md @@ -55,6 +55,7 @@ input-file: - Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json - Microsoft.Synapse/preview/2021-06-01-preview/workspace.json - Microsoft.Synapse/preview/2021-06-01-preview/sparkConfiguration.json + - Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json ``` ### Tag: package-kusto-pool-2021-06-preview @@ -209,18 +210,18 @@ directive: - suppress: TrackedResourceListBySubscription reason: Does not apply to sqlPool and bigDataPool as they are nested tracked resources - from: Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json - where: + where: - $.definitions.SqlPoolVulnerabilityAssessmentRuleBaseline - $.definitions.DataMaskingPolicy - $.definitions.DataWarehouseUserActivities - $.definitions.SqlPoolConnectionPolicy - $.definitions.TransparentDataEncryption - suppress: + suppress: - R4015 reason: SQL doesn't support 'list' operation everywhere, so we cannot support List for certain Sql pool operations - from: Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json where : - - '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}"].delete.responses' + - '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}"].delete.responses' suppress: - R4011 reason: SQL Pools APIs are proxy APIs that call SQL DB APIs. The SQL DB delete restore points API only supports return method 200, so we cannot support 204. It is not possible for the SQL DB team to add 204 support for delete restore points. @@ -245,18 +246,18 @@ directive: - $.definitions.IntegrationRuntimeStatusResponse.properties.properties - $.definitions.SsisObjectMetadataStatusResponse.properties.properties - from: Microsoft.Synapse/stable/2020-12-01/sqlPool.json - where: + where: - $.definitions.SqlPoolVulnerabilityAssessmentRuleBaseline - $.definitions.DataMaskingPolicy - $.definitions.DataWarehouseUserActivities - $.definitions.SqlPoolConnectionPolicy - $.definitions.TransparentDataEncryption - suppress: + suppress: - R4015 reason: SQL doesn't support 'list' operation everywhere, so we cannot support List for certain Sql pool operations - from: Microsoft.Synapse/stable/2020-12-01/sqlPool.json where : - - '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}"].delete.responses' + - '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}"].delete.responses' suppress: - R4011 reason: SQL Pools APIs are proxy APIs that call SQL DB APIs. The SQL DB delete restore points API only supports return method 200, so we cannot support 204. It is not possible for the SQL DB team to add 204 support for delete restore points. From 9011d0c2ab8196420553824741673c77e7913699 Mon Sep 17 00:00:00 2001 From: Surya Date: Thu, 12 Aug 2021 18:58:45 +0530 Subject: [PATCH 2/5] Prettier fix --- .../azureADOnlyAuthentication.json | 532 +++++++++--------- ...eateOrUpdateAzureADOnlyAuthentication.json | 70 +-- .../GetAzureADOnlyAuthentication.json | 38 +- .../ListAzureADOnlyAuthentication.json | 44 +- .../ListWorkspacesInResourceGroup.json | 2 +- 5 files changed, 343 insertions(+), 343 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json index f7f5fd226b5f..312df6f31523 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json @@ -1,299 +1,299 @@ { - "swagger": "2.0", - "info": { - "version": "2021-06-01-preview", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthentication}": { - "get": { - "operationId": "AzureADOnlyAuthentications_Get", - "summary": "Get Azure Active Directory only authentication property", - "description": "Gets a Azure Active Directory only authentication property", - "tags": [ - "WorkspaceAzureADOnlyAuthentications" - ], - "deprecated": false, - "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": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" - }, - { - "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } + "swagger": "2.0", + "info": { + "version": "2021-06-01-preview", + "title": "SynapseManagementClient", + "description": "Azure Synapse Analytics APIs" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "securityDefinitions": { + "azure_auth": { + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "type": "oauth2", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthentication}": { + "get": { + "operationId": "AzureADOnlyAuthentications_Get", + "summary": "Get Azure Active Directory only authentication property", + "description": "Gets a Azure Active Directory only authentication property", + "tags": [ + "WorkspaceAzureADOnlyAuthentications" + ], + "deprecated": false, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get Azure Active Directory Only Authentication property": { - "$ref": "./examples/GetAzureADOnlyAuthentication.json" - } + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + }, + { + "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" } - }, - "put": { - "operationId": "AzureADOnlyAuthentications_Create", - "summary": "Create or Update Azure Active Directory only authentication property", - "description": "Create or Update a Azure Active Directory only authentication property for the workspaces", - "tags": [ - "WorkspaceAzureADOnlyAuthentications" - ], - "deprecated": false, - "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": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" - }, - { - "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" - }, - { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "in": "body", - "name": "AzureADOnlyAuthenticationInfo", - "description": "Azure Active Directory Property", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "description": "OK" - }, - "201": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "description": "Created" - }, - "202": { - "description": "Accepted" + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or Update Azure Active Directory Only Authentication property": { - "$ref": "./examples/CreateOrUpdateAzureADOnlyAuthentication.json" - } + "description": "OK" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Get Azure Active Directory Only Authentication property": { + "$ref": "./examples/GetAzureADOnlyAuthentication.json" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications": { - "get": { - "operationId": "AzureADOnlyAuthentications_List", - "summary": "Gets a list of Azure Active Directory only authentication property", - "description": "Gets a list of Azure Active Directory only authentication property for a workspace", - "tags": [ - "WorkspaceAzureADOnlyAuthentications" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "put": { + "operationId": "AzureADOnlyAuthentications_Create", + "summary": "Create or Update Azure Active Directory only authentication property", + "description": "Create or Update a Azure Active Directory only authentication property for the workspaces", + "tags": [ + "WorkspaceAzureADOnlyAuthentications" + ], + "deprecated": false, + "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": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + }, + { + "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" + }, + { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "in": "body", + "name": "AzureADOnlyAuthenticationInfo", + "description": "Azure Active Directory Property", + "required": true + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" }, - { - "$ref": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthenticationListResult" - }, - "description": "OK" + "description": "OK" + }, + "201": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthentication" }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } + "description": "Created" }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" + "202": { + "description": "Accepted" }, - "x-ms-examples": { - "Get a list of Azure Active Directory Only Authentication property": { - "$ref": "./examples/ListAzureADOnlyAuthentication.json" - } + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Create or Update Azure Active Directory Only Authentication property": { + "$ref": "./examples/CreateOrUpdateAzureADOnlyAuthentication.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, - "definitions": { - "AzureADOnlyAuthenticationProperties": { - "description": "Properties of a active directory only authentication.", - "required": [ - "azureADOnlyAuthentication" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications": { + "get": { + "operationId": "AzureADOnlyAuthentications_List", + "summary": "Gets a list of Azure Active Directory only authentication property", + "description": "Gets a list of Azure Active Directory only authentication property for a workspace", + "tags": [ + "WorkspaceAzureADOnlyAuthentications" ], - "type": "object", - "properties": { - "azureADOnlyAuthentication": { - "description": "Azure Active Directory only Authentication enabled.", - "type": "boolean" + "deprecated": false, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, - "state": { - "description": "property configuration state", - "type": "string", - "readOnly": true, - "enum": [ - "Consistent", - "InConsistent", - "Updating" - ], - "x-ms-enum": { - "name": "state value", - "modelAsString": true - } + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, - "creationDate": { - "description": "property configuration date", - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "AzureADOnlyAuthentication": { - "description": "Azure Active Directory Only Authentication Info", - "type": "object", - "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + "$ref": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" } ], - "properties": { - "properties": { - "description": "azureADOnlyAuthentication resource properties", - "$ref": "#/definitions/AzureADOnlyAuthenticationProperties", - "x-ms-client-flatten": true + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/AzureADOnlyAuthenticationListResult" + }, + "description": "OK" }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true + "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": { + "Get a list of Azure Active Directory Only Authentication property": { + "$ref": "./examples/ListAzureADOnlyAuthentication.json" } } - }, - "AzureADOnlyAuthenticationListResult": { - "description": "A list of active directory only authentications.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true + } + } + }, + "definitions": { + "AzureADOnlyAuthenticationProperties": { + "description": "Properties of a active directory only authentication.", + "required": [ + "azureADOnlyAuthentication" + ], + "type": "object", + "properties": { + "azureADOnlyAuthentication": { + "description": "Azure Active Directory only Authentication enabled.", + "type": "boolean" + }, + "state": { + "description": "property configuration state", + "type": "string", + "readOnly": true, + "enum": [ + "Consistent", + "InConsistent", + "Updating" + ], + "x-ms-enum": { + "name": "state value", + "modelAsString": true } + }, + "creationDate": { + "description": "property configuration date", + "type": "string", + "format": "date-time", + "readOnly": true } } }, - "parameters": { - "workspaceNameParameter": { - "name": "workspaceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the workspace", - "x-ms-parameter-location": "method" - }, - "azureADOnlyAuthenticationNameParameter": { - "type": "string", - "in": "path", - "name": "azureADOnlyAuthentication", - "description": "name of the property", - "required": true, - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "AzureADOnlyAuthenticationName", - "modelAsString": true + "AzureADOnlyAuthentication": { + "description": "Azure Active Directory Only Authentication Info", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "azureADOnlyAuthentication resource properties", + "$ref": "#/definitions/AzureADOnlyAuthenticationProperties", + "x-ms-client-flatten": true }, - "x-ms-parameter-location": "method" + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } } + }, + "AzureADOnlyAuthenticationListResult": { + "description": "A list of active directory only authentications.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/AzureADOnlyAuthentication" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "workspaceNameParameter": { + "name": "workspaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the workspace", + "x-ms-parameter-location": "method" + }, + "azureADOnlyAuthenticationNameParameter": { + "type": "string", + "in": "path", + "name": "azureADOnlyAuthentication", + "description": "name of the property", + "required": true, + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "AzureADOnlyAuthenticationName", + "modelAsString": true + }, + "x-ms-parameter-location": "method" } - } \ No newline at end of file + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json index 7f34c5267e89..de698c8b7c39 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "azureADOnlyAuthentication": "default", - "api-version": "2021-06-01-preview", - "AzureADOnlyAuthenticationInfo": { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "azureADOnlyAuthentication": "default", + "api-version": "2021-06-01-preview", + "AzureADOnlyAuthenticationInfo": { + "properties": { + "azureADOnlyAuthentication": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", "properties": { - "azureADOnlyAuthentication": true + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Consistent" } } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Consistent" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Updating" - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", + "properties": { + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Updating" } - }, - "202": {} - } - } \ No newline at end of file + } + }, + "202": {} + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json index c7f2373744a3..31a618f8f467 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "azureADOnlyAuthentication": "default", - "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/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Consistent" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-6852", + "workspaceName": "workspace-2080", + "azureADOnlyAuthentication": "default", + "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/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", + "properties": { + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Consistent" } } } - } \ No newline at end of file + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json index cde816b1a0cf..dcbe788aab5c 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListAzureADOnlyAuthentication.json @@ -1,26 +1,26 @@ { - "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/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Consistent" - } + "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/azureADOnlyAuthentications/default", + "name": "default", + "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", + "properties": { + "azureADOnlyAuthentication": true, + "creationDate": "2017-02-10T00:56:19.2Z", + "state": "Consistent" } - ] - } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json index 3050d6894029..86103c7cf06d 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListWorkspacesInResourceGroup.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} From f6eafacebb282fe46d1c4d297b5446a3193444a9 Mon Sep 17 00:00:00 2001 From: Surya Date: Mon, 16 Aug 2021 13:43:28 +0530 Subject: [PATCH 3/5] Fix naming from review comments --- .../azureADOnlyAuthentication.json | 58 ++++++++----------- 1 file changed, 25 insertions(+), 33 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json index 312df6f31523..11c0e45433a3 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json @@ -20,12 +20,18 @@ "description": "Azure Active Directory OAuth2 Flow" } }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthentication}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthenticationName}": { "get": { "operationId": "AzureADOnlyAuthentications_Get", - "summary": "Get Azure Active Directory only authentication property", - "description": "Gets a Azure Active Directory only authentication property", + "summary": "Get Azure Active Directory Only Authentication property", + "description": "Gets a Azure Active Directory Only Authentication property for the workspace", "tags": [ "WorkspaceAzureADOnlyAuthentications" ], @@ -41,10 +47,10 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + "$ref": "#/parameters/workspaceNameParameter" }, { - "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" + "$ref": "#/parameters/azureADOnlyAuthenticationNameParameter" } ], "responses": { @@ -61,10 +67,6 @@ "description": "" } }, - "consumes": [], - "produces": [ - "application/json" - ], "x-ms-examples": { "Get Azure Active Directory Only Authentication property": { "$ref": "./examples/GetAzureADOnlyAuthentication.json" @@ -73,8 +75,8 @@ }, "put": { "operationId": "AzureADOnlyAuthentications_Create", - "summary": "Create or Update Azure Active Directory only authentication property", - "description": "Create or Update a Azure Active Directory only authentication property for the workspaces", + "summary": "Create or Update Azure Active Directory Only Authentication property", + "description": "Create or Update a Azure Active Directory Only Authentication property for the workspace", "tags": [ "WorkspaceAzureADOnlyAuthentications" ], @@ -90,10 +92,10 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + "$ref": "#/parameters/workspaceNameParameter" }, { - "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" + "$ref": "#/parameters/azureADOnlyAuthenticationNameParameter" }, { "schema": { @@ -128,12 +130,6 @@ "description": "" } }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "x-ms-examples": { "Create or Update Azure Active Directory Only Authentication property": { "$ref": "./examples/CreateOrUpdateAzureADOnlyAuthentication.json" @@ -148,8 +144,8 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications": { "get": { "operationId": "AzureADOnlyAuthentications_List", - "summary": "Gets a list of Azure Active Directory only authentication property", - "description": "Gets a list of Azure Active Directory only authentication property for a workspace", + "summary": "Gets a list of Azure Active Directory Only Authentication property", + "description": "Gets a list of Azure Active Directory Only Authentication properties for a workspace", "tags": [ "WorkspaceAzureADOnlyAuthentications" ], @@ -165,7 +161,7 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./azureADOnlyAuthentication.json#/parameters/workspaceNameParameter" + "$ref": "#/parameters/workspaceNameParameter" } ], "responses": { @@ -182,10 +178,6 @@ "description": "" } }, - "consumes": [], - "produces": [ - "application/json" - ], "x-ms-pageable": { "nextLinkName": "nextLink" }, @@ -199,18 +191,18 @@ }, "definitions": { "AzureADOnlyAuthenticationProperties": { - "description": "Properties of a active directory only authentication.", + "description": "Azure Active Directory Only Authentication properties", "required": [ "azureADOnlyAuthentication" ], "type": "object", "properties": { "azureADOnlyAuthentication": { - "description": "Azure Active Directory only Authentication enabled.", + "description": "Azure Active Directory Only Authentication enabled", "type": "boolean" }, "state": { - "description": "property configuration state", + "description": "Azure Active Directory Only Authentication configuration state", "type": "string", "readOnly": true, "enum": [ @@ -219,7 +211,7 @@ "Updating" ], "x-ms-enum": { - "name": "state value", + "name": "AuthenticationState", "modelAsString": true } }, @@ -241,7 +233,7 @@ ], "properties": { "properties": { - "description": "azureADOnlyAuthentication resource properties", + "description": "Azure Active Directory Only Authentication resource properties", "$ref": "#/definitions/AzureADOnlyAuthenticationProperties", "x-ms-client-flatten": true }, @@ -252,7 +244,7 @@ } }, "AzureADOnlyAuthenticationListResult": { - "description": "A list of active directory only authentications.", + "description": "A list of Azure Active Directory only authentications.", "type": "object", "properties": { "value": { @@ -283,7 +275,7 @@ "azureADOnlyAuthenticationNameParameter": { "type": "string", "in": "path", - "name": "azureADOnlyAuthentication", + "name": "azureADOnlyAuthenticationName", "description": "name of the property", "required": true, "enum": [ From e706eccdc10e31ccabce279a751a414ff5c698f2 Mon Sep 17 00:00:00 2001 From: Surya Date: Mon, 16 Aug 2021 13:54:57 +0530 Subject: [PATCH 4/5] Fix parameter names in azureADOnlyAuthentication examples --- .../examples/CreateOrUpdateAzureADOnlyAuthentication.json | 2 +- .../examples/GetAzureADOnlyAuthentication.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json index de698c8b7c39..d1f0f6e46f5b 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateAzureADOnlyAuthentication.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", - "azureADOnlyAuthentication": "default", + "azureADOnlyAuthenticationName": "default", "api-version": "2021-06-01-preview", "AzureADOnlyAuthenticationInfo": { "properties": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json index 31a618f8f467..919cdab6ff2a 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetAzureADOnlyAuthentication.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-6852", "workspaceName": "workspace-2080", - "azureADOnlyAuthentication": "default", + "azureADOnlyAuthenticationName": "default", "api-version": "2021-06-01-preview" }, "responses": { From 157d7a7535ce48a107776afeb4b36d898cb95e8b Mon Sep 17 00:00:00 2001 From: Surya Date: Tue, 17 Aug 2021 15:17:24 +0530 Subject: [PATCH 5/5] Remove systemData from azureAdOnlyAuthentication.json --- .../preview/2021-06-01-preview/azureADOnlyAuthentication.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json index 11c0e45433a3..b1568395fe5d 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/azureADOnlyAuthentication.json @@ -236,10 +236,6 @@ "description": "Azure Active Directory Only Authentication resource properties", "$ref": "#/definitions/AzureADOnlyAuthenticationProperties", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true } } },