From 4a70f20b63afef8e0f6bce8e31a1ed3eeabcda19 Mon Sep 17 00:00:00 2001 From: Zhenyu Zhou <zhezhou@microsoft.com> Date: Sat, 20 Jun 2020 12:39:03 +0800 Subject: [PATCH] 1. Add a property as required 2. Remove AccessControl's operation id to elevate methods to client --- .../preview/2019-06-01-preview/artifacts.json | 3 ++- .../preview/2020-02-01-preview/roleAssignments.json | 10 +++++----- .../preview/2020-02-01-preview/roles.json | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json index df96c4e9e6fe..0dfc0e51ebbd 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json @@ -2716,7 +2716,8 @@ } }, "required": [ - "sessionId" + "sessionId", + "commandPayload" ] }, "DataFlowDebugQueryResponse": { diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roleAssignments.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roleAssignments.json index 634133c68370..5d2a04daacd5 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roleAssignments.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roleAssignments.json @@ -22,7 +22,7 @@ "tags": [ "RoleAssignments" ], - "operationId": "AccessControl_CreateRoleAssignment", + "operationId": "CreateRoleAssignment", "description": "Create role assignment.", "x-ms-examples": { "Create role assignment": { @@ -68,7 +68,7 @@ "tags": [ "RoleAssignments" ], - "operationId": "AccessControl_GetRoleAssignments", + "operationId": "GetRoleAssignments", "description": "List role assignments.", "x-ms-examples": { "Get role assignment information": { @@ -120,7 +120,7 @@ "tags": [ "RoleAssignments" ], - "operationId": "AccessControl_GetRoleAssignmentById", + "operationId": "GetRoleAssignmentById", "description": "Get role assignment by role assignment Id.", "x-ms-examples": { "Get role assignment information": { @@ -158,7 +158,7 @@ "tags": [ "RoleAssignments" ], - "operationId": "AccessControl_DeleteRoleAssignmentById", + "operationId": "DeleteRoleAssignmentById", "description": "Delete role assignment by role assignment Id.", "x-ms-examples": { "Delete role assignment": { @@ -198,7 +198,7 @@ "tags": [ "RoleAssignments" ], - "operationId": "AccessControl_GetCallerRoleAssignments", + "operationId": "GetCallerRoleAssignments", "description": "List role assignments of the caller.", "x-ms-examples": { "Get caller role assignments": { diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roles.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roles.json index f17f83f41ade..8751013f2784 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roles.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2020-02-01-preview/roles.json @@ -22,7 +22,7 @@ "tags": [ "SynapseRoles" ], - "operationId": "AccessControl_GetRoleDefinitions", + "operationId": "GetRoleDefinitions", "description": "List roles.", "x-ms-examples": { "Get access control information": { @@ -62,7 +62,7 @@ "tags": [ "SynapseRoles" ], - "operationId": "AccessControl_GetRoleDefinitionById", + "operationId": "GetRoleDefinitionById", "description": "Get role by role Id.", "x-ms-examples": { "Get access control information": {