From 2a08c7a6719c639013ad087a3826cf41a460b7ea Mon Sep 17 00:00:00 2001 From: Driele Neves Ribeiro Date: Tue, 19 Mar 2024 13:35:14 -0700 Subject: [PATCH 1/6] Move list all dev boxes to dev center operations --- .../devcenter/DevCenter/DevBox/routes.tsp | 21 ------------------- .../devcenter/DevCenter/DevCenter/routes.tsp | 19 +++++++++++++++++ specification/devcenter/DevCenter/client.tsp | 4 ++-- .../devcenter/DevCenter/python-client.tsp | 4 ++-- 4 files changed, 23 insertions(+), 25 deletions(-) diff --git a/specification/devcenter/DevCenter/DevBox/routes.tsp b/specification/devcenter/DevCenter/DevBox/routes.tsp index 6bde7e5c078d..188cd5d25435 100644 --- a/specification/devcenter/DevCenter/DevBox/routes.tsp +++ b/specification/devcenter/DevCenter/DevBox/routes.tsp @@ -238,24 +238,3 @@ interface DevBoxesOperations { DevBoxActionsDelayMultipleResult >; } - -interface DevBoxesDevCenter { - #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern since DevBox has a different path" - @doc("Lists Dev Boxes that the caller has access to in the DevCenter.") - @route("/devboxes") - @get - listAllDevBoxes is Azure.Core.Foundations.Operation<{}, DevBoxListResult>; - - #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern since DevBox has a different path" - @doc("Lists Dev Boxes in the Dev Center for a particular user.") - @route("/users/{userId}/devboxes") - @get - listAllDevBoxesByUser is Azure.Core.Foundations.Operation< - { - @doc("The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.") - @path - userId: string; - }, - DevBoxListResult - >; -} diff --git a/specification/devcenter/DevCenter/DevCenter/routes.tsp b/specification/devcenter/DevCenter/DevCenter/routes.tsp index 61be234c1c9a..07fbb7b7d9d3 100644 --- a/specification/devcenter/DevCenter/DevCenter/routes.tsp +++ b/specification/devcenter/DevCenter/DevCenter/routes.tsp @@ -14,4 +14,23 @@ interface DevCenterOperations { @doc("Gets a project.") getProject is StandardResourceOperations.ResourceRead; + + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern since DevBox has a different path" + @doc("Lists Dev Boxes that the caller has access to in the DevCenter.") + @route("/devboxes") + @get + listAllDevBoxes is Azure.Core.Foundations.Operation<{}, DevBoxListResult>; + + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern since DevBox has a different path" + @doc("Lists Dev Boxes in the Dev Center for a particular user.") + @route("/users/{userId}/devboxes") + @get + listAllDevBoxesByUser is Azure.Core.Foundations.Operation< + { + @doc("The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.") + @path + userId: string; + }, + DevBoxListResult + >; } diff --git a/specification/devcenter/DevCenter/client.tsp b/specification/devcenter/DevCenter/client.tsp index 69dc2c0c211f..9bbb3f50dde5 100644 --- a/specification/devcenter/DevCenter/client.tsp +++ b/specification/devcenter/DevCenter/client.tsp @@ -28,8 +28,8 @@ interface DevBoxesClientOperations { getPool is DevCenterService.DevBoxesOperations.getPool; listSchedules is DevCenterService.DevBoxesOperations.listSchedules; getSchedule is DevCenterService.DevBoxesOperations.getSchedule; - listAllDevBoxes is DevCenterService.DevBoxesDevCenter.listAllDevBoxes; - listAllDevBoxesByUser is DevCenterService.DevBoxesDevCenter.listAllDevBoxesByUser; + listAllDevBoxes is DevCenterService.DevCenterOperations.listAllDevBoxes; + listAllDevBoxesByUser is DevCenterService.DevCenterOperations.listAllDevBoxesByUser; listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxes; getDevBox is DevCenterService.DevBoxesOperations.getDevBox; @convenientAPI(false, "csharp") // https://github.com/Azure/azure-rest-api-specs/issues/28083 diff --git a/specification/devcenter/DevCenter/python-client.tsp b/specification/devcenter/DevCenter/python-client.tsp index accddbb1bbf7..5be9eb2f04cc 100644 --- a/specification/devcenter/DevCenter/python-client.tsp +++ b/specification/devcenter/DevCenter/python-client.tsp @@ -24,8 +24,8 @@ interface DevCenterClientOperations { getPool is DevCenterService.DevBoxesOperations.getPool; listSchedules is DevCenterService.DevBoxesOperations.listSchedules; getSchedule is DevCenterService.DevBoxesOperations.getSchedule; - listAllDevBoxes is DevCenterService.DevBoxesDevCenter.listAllDevBoxes; - listAllDevBoxesByUser is DevCenterService.DevBoxesDevCenter.listAllDevBoxesByUser; + listAllDevBoxes is DevCenterService.DevCenterOperations.listAllDevBoxes; + listAllDevBoxesByUser is DevCenterService.DevCenterOperations.listAllDevBoxesByUser; listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxes; getDevBox is DevCenterService.DevBoxesOperations.getDevBox; createDevBox is DevCenterService.DevBoxesOperations.createDevBox; From f4bc1ca41317e9004ceaa261579293dd25e40539 Mon Sep 17 00:00:00 2001 From: Driele Neves Ribeiro Date: Tue, 19 Mar 2024 14:02:29 -0700 Subject: [PATCH 2/6] Rename interface names for documentation --- .../devcenter/DevCenter/DevBox/routes.tsp | 16 ++++++------ .../DevCenter/Environments/routes.tsp | 14 +++++----- specification/devcenter/DevCenter/client.tsp | 26 +++++++++---------- .../devcenter/DevCenter/python-client.tsp | 26 +++++++++---------- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/specification/devcenter/DevCenter/DevBox/routes.tsp b/specification/devcenter/DevCenter/DevBox/routes.tsp index 188cd5d25435..25adf0e91a0a 100644 --- a/specification/devcenter/DevCenter/DevBox/routes.tsp +++ b/specification/devcenter/DevCenter/DevBox/routes.tsp @@ -17,10 +17,10 @@ interface DevBoxesOperations { getPool is StandardResourceOperations.ResourceRead; @doc("Lists available schedules for a pool.") - listSchedules is StandardResourceOperations.ResourceList; + listSchedulesByPool is StandardResourceOperations.ResourceList; @doc("Gets a schedule.") - getSchedule is StandardResourceOperations.ResourceRead; + getScheduleByPool is StandardResourceOperations.ResourceRead; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Need of reuse DevBoxListResult" // This does fit in the ResourceList but since there are three different operations that returns dev box list result, @@ -29,7 +29,7 @@ interface DevBoxesOperations { @doc("Lists Dev Boxes in the project for a particular user.") @route("/projects/{projectName}/users/{userId}/devboxes") @get - listDevBoxes is Azure.Core.Foundations.Operation< + listDevBoxesByUser is Azure.Core.Foundations.Operation< { @doc("The DevCenter Project upon which to execute operations.") @path @@ -43,7 +43,7 @@ interface DevBoxesOperations { >; @doc("Gets a Dev Box") - getDevBox is StandardResourceOperations.ResourceRead; + getDevBoxByUser is StandardResourceOperations.ResourceRead; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Standard operations produce wrong swagger" // The standard operation names the body as resource, so the generated swagger has parameter @@ -57,7 +57,7 @@ interface DevBoxesOperations { // "in": "body", // } @doc("Creates or replaces a Dev Box.") - @finalOperation(DevBoxesOperations.getDevBox) + @finalOperation(DevBoxesOperations.getDevBoxByUser) @pollingOperation(SharedOperations.getProjectOperationStatus) @route("/projects/{projectName}/users/{userId}/devboxes/{devBoxName}") @put @@ -201,10 +201,10 @@ interface DevBoxesOperations { >; @doc("Lists actions on a Dev Box.") - listDevBoxActions is StandardResourceOperations.ResourceList; + listActions is StandardResourceOperations.ResourceList; @doc("Gets an action.") - getDevBoxAction is StandardResourceOperations.ResourceRead; + getAction is StandardResourceOperations.ResourceRead; @doc("Skips an occurrence of an action.") @action("skip") @@ -228,7 +228,7 @@ interface DevBoxesOperations { @doc("Delays all actions.") @action("delay") - delayAllActions is StandardResourceOperations.ResourceCollectionAction< + delayActions is StandardResourceOperations.ResourceCollectionAction< DevBoxAction, { @doc("The time to delay the Dev Box action or actions until.") diff --git a/specification/devcenter/DevCenter/Environments/routes.tsp b/specification/devcenter/DevCenter/Environments/routes.tsp index f5c6d982b7cf..3efff0b3a882 100644 --- a/specification/devcenter/DevCenter/Environments/routes.tsp +++ b/specification/devcenter/DevCenter/Environments/routes.tsp @@ -15,7 +15,7 @@ interface EnvironmentsOperations { @doc("Lists the environments for a project.") @route("/projects/{projectName}/environments") @get - listAllEnvironments is Azure.Core.Foundations.Operation< + listEnvironments is Azure.Core.Foundations.Operation< { @doc("The DevCenter Project upon which to execute operations.") @path @@ -31,7 +31,7 @@ interface EnvironmentsOperations { @doc("Lists the environments for a project and user.") @route("/projects/{projectName}/users/{userId}/environments") @get - listEnvironments is Azure.Core.Foundations.Operation< + listEnvironmentsByUser is Azure.Core.Foundations.Operation< { @doc("The DevCenter Project upon which to execute operations.") @path @@ -45,16 +45,16 @@ interface EnvironmentsOperations { >; @doc("Gets an environment") - getEnvironment is StandardResourceOperations.ResourceRead; + getEnvironmentByUser is StandardResourceOperations.ResourceRead; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern" //Can not use LongRunningCreateOrReplace because response is 200 or 201, but we only respond with 201" @doc("Creates or updates an environment.") - @finalOperation(EnvironmentsOperations.getEnvironment) + @finalOperation(EnvironmentsOperations.getEnvironmentByUser) @pollingOperation(SharedOperations.getProjectOperationStatus) @route("/projects/{projectName}/users/{userId}/environments/{environmentName}") @put - createOrUpdateEnvironment is Azure.Core.Foundations.Operation< + createOrReplaceEnvironment is Azure.Core.Foundations.Operation< { @doc("The DevCenter Project upon which to execute operations.") @path @@ -123,7 +123,7 @@ interface EnvironmentsOperations { >; @doc("Lists all of the catalogs available for a project.") - listCatalogs is StandardResourceOperations.ResourceList; + listCatalogsByProject is StandardResourceOperations.ResourceList; @doc("Gets the specified catalog within the project") getCatalog is StandardResourceOperations.ResourceRead; @@ -132,7 +132,7 @@ interface EnvironmentsOperations { @doc("Lists all environment definitions available for a project.") @route("/projects/{projectName}/environmentDefinitions") @get - listEnvironmentDefinitions is Azure.Core.Foundations.Operation< + listEnvironmentDefinitionsByProject is Azure.Core.Foundations.Operation< { @doc("The DevCenter Project upon which to execute operations.") @path diff --git a/specification/devcenter/DevCenter/client.tsp b/specification/devcenter/DevCenter/client.tsp index 9bbb3f50dde5..f10202a3dc4d 100644 --- a/specification/devcenter/DevCenter/client.tsp +++ b/specification/devcenter/DevCenter/client.tsp @@ -26,12 +26,12 @@ interface DevCenterClientOperations { interface DevBoxesClientOperations { listPools is DevCenterService.DevBoxesOperations.listPools; getPool is DevCenterService.DevBoxesOperations.getPool; - listSchedules is DevCenterService.DevBoxesOperations.listSchedules; - getSchedule is DevCenterService.DevBoxesOperations.getSchedule; + listSchedules is DevCenterService.DevBoxesOperations.listSchedulesByPool; + getSchedule is DevCenterService.DevBoxesOperations.getScheduleByPool; listAllDevBoxes is DevCenterService.DevCenterOperations.listAllDevBoxes; listAllDevBoxesByUser is DevCenterService.DevCenterOperations.listAllDevBoxesByUser; - listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxes; - getDevBox is DevCenterService.DevBoxesOperations.getDevBox; + listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxesByUser; + getDevBox is DevCenterService.DevBoxesOperations.getDevBoxByUser; @convenientAPI(false, "csharp") // https://github.com/Azure/azure-rest-api-specs/issues/28083 createDevBox is DevCenterService.DevBoxesOperations.createDevBox; deleteDevBox is DevCenterService.DevBoxesOperations.deleteDevBox; @@ -39,11 +39,11 @@ interface DevBoxesClientOperations { stopDevBox is DevCenterService.DevBoxesOperations.stopDevBox; restartDevBox is DevCenterService.DevBoxesOperations.restartDevBox; getRemoteConnection is DevCenterService.DevBoxesOperations.getRemoteConnection; - listDevBoxActions is DevCenterService.DevBoxesOperations.listDevBoxActions; - getDevBoxAction is DevCenterService.DevBoxesOperations.getDevBoxAction; + listDevBoxActions is DevCenterService.DevBoxesOperations.listActions; + getDevBoxAction is DevCenterService.DevBoxesOperations.getAction; skipAction is DevCenterService.DevBoxesOperations.skipAction; delayAction is DevCenterService.DevBoxesOperations.delayAction; - delayAllActions is DevCenterService.DevBoxesOperations.delayAllActions; + delayAllActions is DevCenterService.DevBoxesOperations.delayActions; } #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "detailed suppress description for each operation can be found in routes.tsp" @@ -52,15 +52,15 @@ interface DevBoxesClientOperations { service: DevCenterService, }) interface EnvironmentClientOperations { - listAllEnvironments is DevCenterService.EnvironmentsOperations.listAllEnvironments; - listEnvironments is DevCenterService.EnvironmentsOperations.listEnvironments; - getEnvironment is DevCenterService.EnvironmentsOperations.getEnvironment; + listAllEnvironments is DevCenterService.EnvironmentsOperations.listEnvironments; + listEnvironments is DevCenterService.EnvironmentsOperations.listEnvironmentsByUser; + getEnvironment is DevCenterService.EnvironmentsOperations.getEnvironmentByUser; @convenientAPI(false, "csharp") // same issue as described in https://github.com/Azure/azure-rest-api-specs/issues/28083 - createOrUpdateEnvironment is DevCenterService.EnvironmentsOperations.createOrUpdateEnvironment; + createOrUpdateEnvironment is DevCenterService.EnvironmentsOperations.createOrReplaceEnvironment; deleteEnvironment is DevCenterService.EnvironmentsOperations.deleteEnvironment; - listCatalogs is DevCenterService.EnvironmentsOperations.listCatalogs; + listCatalogs is DevCenterService.EnvironmentsOperations.listCatalogsByProject; getCatalog is DevCenterService.EnvironmentsOperations.getCatalog; - listEnvironmentDefinitions is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitions; + listEnvironmentDefinitions is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByProject; listEnvironmentDefinitionsByCatalog is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByCatalog; getEnvironmentDefinition is DevCenterService.EnvironmentsOperations.getEnvironmentDefinition; listEnvironmentTypes is DevCenterService.EnvironmentsOperations.listEnvironmentTypes; diff --git a/specification/devcenter/DevCenter/python-client.tsp b/specification/devcenter/DevCenter/python-client.tsp index 5be9eb2f04cc..8f030b23cb27 100644 --- a/specification/devcenter/DevCenter/python-client.tsp +++ b/specification/devcenter/DevCenter/python-client.tsp @@ -22,33 +22,33 @@ interface DevCenterClientOperations { //DevBoxes listPools is DevCenterService.DevBoxesOperations.listPools; getPool is DevCenterService.DevBoxesOperations.getPool; - listSchedules is DevCenterService.DevBoxesOperations.listSchedules; - getSchedule is DevCenterService.DevBoxesOperations.getSchedule; + listSchedules is DevCenterService.DevBoxesOperations.listSchedulesByPool; + getSchedule is DevCenterService.DevBoxesOperations.getScheduleByPool; listAllDevBoxes is DevCenterService.DevCenterOperations.listAllDevBoxes; listAllDevBoxesByUser is DevCenterService.DevCenterOperations.listAllDevBoxesByUser; - listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxes; - getDevBox is DevCenterService.DevBoxesOperations.getDevBox; + listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxesByUser; + getDevBox is DevCenterService.DevBoxesOperations.getDevBoxByUser; createDevBox is DevCenterService.DevBoxesOperations.createDevBox; deleteDevBox is DevCenterService.DevBoxesOperations.deleteDevBox; startDevBox is DevCenterService.DevBoxesOperations.startDevBox; stopDevBox is DevCenterService.DevBoxesOperations.stopDevBox; restartDevBox is DevCenterService.DevBoxesOperations.restartDevBox; getRemoteConnection is DevCenterService.DevBoxesOperations.getRemoteConnection; - listDevBoxActions is DevCenterService.DevBoxesOperations.listDevBoxActions; - getDevBoxAction is DevCenterService.DevBoxesOperations.getDevBoxAction; + listDevBoxActions is DevCenterService.DevBoxesOperations.listActions; + getDevBoxAction is DevCenterService.DevBoxesOperations.getAction; skipDevBoxAction is DevCenterService.DevBoxesOperations.skipAction; delayDevBoxAction is DevCenterService.DevBoxesOperations.delayAction; - delayAllDevBoxActions is DevCenterService.DevBoxesOperations.delayAllActions; + delayAllDevBoxActions is DevCenterService.DevBoxesOperations.delayActions; //Environments - listAllEnvironments is DevCenterService.EnvironmentsOperations.listAllEnvironments; - listEnvironments is DevCenterService.EnvironmentsOperations.listEnvironments; - getEnvironment is DevCenterService.EnvironmentsOperations.getEnvironment; - createOrUpdateEnvironment is DevCenterService.EnvironmentsOperations.createOrUpdateEnvironment; + listAllEnvironments is DevCenterService.EnvironmentsOperations.listEnvironments; + listEnvironments is DevCenterService.EnvironmentsOperations.listEnvironmentsByUser; + getEnvironment is DevCenterService.EnvironmentsOperations.getEnvironmentByUser; + createOrUpdateEnvironment is DevCenterService.EnvironmentsOperations.createOrReplaceEnvironment; deleteEnvironment is DevCenterService.EnvironmentsOperations.deleteEnvironment; - listCatalogs is DevCenterService.EnvironmentsOperations.listCatalogs; + listCatalogs is DevCenterService.EnvironmentsOperations.listCatalogsByProject; getCatalog is DevCenterService.EnvironmentsOperations.getCatalog; - listEnvironmentDefinitions is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitions; + listEnvironmentDefinitions is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByProject; listEnvironmentDefinitionsByCatalog is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByCatalog; getEnvironmentDefinition is DevCenterService.EnvironmentsOperations.getEnvironmentDefinition; listEnvironmentTypes is DevCenterService.EnvironmentsOperations.listEnvironmentTypes; From d8f8d605c30ef8d3e133c2310dd276e5558666a4 Mon Sep 17 00:00:00 2001 From: Driele Neves Ribeiro Date: Tue, 19 Mar 2024 15:05:35 -0700 Subject: [PATCH 3/6] Update examples and swagger --- .../DevBoxesOperations_DelayActions.json} | 2 +- ...json => DevBoxesOperations_GetAction.json} | 2 +- .../DevBoxesOperations_GetDevBoxByUser.json} | 2 +- ...DevBoxesOperations_GetScheduleByPool.json} | 2 +- ...on => DevBoxesOperations_ListActions.json} | 2 +- ...evBoxesOperations_ListDevBoxesByUser.json} | 2 +- ...vBoxesOperations_ListSchedulesByPool.json} | 2 +- ... DevCenterOperations_ListAllDevBoxes.json} | 2 +- ...nterOperations_ListAllDevBoxesByUser.json} | 2 +- ...perations_CreateOrReplaceEnvironment.json} | 2 +- ...mentsOperations_GetEnvironmentByUser.json} | 2 +- ...entsOperations_ListCatalogsByProject.json} | 2 +- ..._ListEnvironmentDefinitionsByProject.json} | 2 +- ...vironmentsOperations_ListEnvironments.json | 5 +- ...ntsOperations_ListEnvironmentsByUser.json} | 7 ++- .../stable/2023-04-01/devcenter.json | 60 +++++++++---------- .../DevBoxesOperations_DelayActions.json} | 2 +- ...json => DevBoxesOperations_GetAction.json} | 2 +- .../DevBoxesOperations_GetDevBoxByUser.json} | 2 +- ...DevBoxesOperations_GetScheduleByPool.json} | 2 +- ...on => DevBoxesOperations_ListActions.json} | 2 +- ...evBoxesOperations_ListDevBoxesByUser.json} | 2 +- ...vBoxesOperations_ListSchedulesByPool.json} | 2 +- ... DevCenterOperations_ListAllDevBoxes.json} | 2 +- ...nterOperations_ListAllDevBoxesByUser.json} | 2 +- ...perations_CreateOrReplaceEnvironment.json} | 2 +- ...mentsOperations_GetEnvironmentByUser.json} | 2 +- ...entsOperations_ListCatalogsByProject.json} | 2 +- ..._ListEnvironmentDefinitionsByProject.json} | 2 +- ...vironmentsOperations_ListEnvironments.json | 5 +- ...ntsOperations_ListEnvironmentsByUser.json} | 7 ++- 31 files changed, 68 insertions(+), 68 deletions(-) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayAllActions.json => DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json} (95%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_GetDevBoxAction.json => DevBoxesOperations_GetAction.json} (91%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBox.json => DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json} (94%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetSchedule.json => DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json} (89%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_ListDevBoxActions.json => DevBoxesOperations_ListActions.json} (94%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_ListDevBoxes.json => DevBoxesOperations_ListDevBoxesByUser.json} (95%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedules.json => DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedulesByPool.json} (90%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesDevCenterOperations_ListAllDevBoxes.json => DevCenterOperations_ListAllDevBoxes.json} (95%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json => DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxesByUser.json} (94%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_CreateOrUpdateEnvironment.json => EnvironmentsOperations_CreateOrReplaceEnvironment.json} (95%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_GetEnvironment.json => EnvironmentsOperations_GetEnvironmentByUser.json} (92%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogs.json => DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogsByProject.json} (86%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_ListEnvironmentDefinitions.json => EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json} (99%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_ListAllEnvironments.json => EnvironmentsOperations_ListEnvironmentsByUser.json} (81%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_DelayAllActions.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json} (95%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_GetDevBoxAction.json => DevBoxesOperations_GetAction.json} (91%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBox.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json} (94%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_GetSchedule.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json} (89%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_ListDevBoxActions.json => DevBoxesOperations_ListActions.json} (94%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_ListDevBoxes.json => DevBoxesOperations_ListDevBoxesByUser.json} (95%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedules.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedulesByPool.json} (90%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesDevCenterOperations_ListAllDevBoxes.json => DevCenterOperations_ListAllDevBoxes.json} (95%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxesByUser.json} (94%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_CreateOrUpdateEnvironment.json => EnvironmentsOperations_CreateOrReplaceEnvironment.json} (95%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_GetEnvironment.json => EnvironmentsOperations_GetEnvironmentByUser.json} (92%) rename specification/devcenter/{DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogs.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogsByProject.json} (86%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_ListEnvironmentDefinitions.json => EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json} (99%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_ListAllEnvironments.json => EnvironmentsOperations_ListEnvironmentsByUser.json} (81%) diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayAllActions.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayAllActions.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json index 6a7ade1eef30..7fd6d0b2f035 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayAllActions.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json @@ -1,6 +1,6 @@ { "title": "Delays all actions.", - "operationId": "DevBoxesOperations_DelayAllActions", + "operationId": "DevBoxesOperations_DelayActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxAction.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetAction.json similarity index 91% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxAction.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetAction.json index 0d94918c712d..ed2885df1c16 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxAction.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetAction.json @@ -1,6 +1,6 @@ { "title": "Gets an action.", - "operationId": "DevBoxesOperations_GetDevBoxAction", + "operationId": "DevBoxesOperations_GetAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBox.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBox.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json index f29193eb0b35..8e679660c8a0 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBox.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json @@ -1,6 +1,6 @@ { "title": "Gets a Dev Box", - "operationId": "DevBoxesOperations_GetDevBox", + "operationId": "DevBoxesOperations_GetDevBoxByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetSchedule.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json similarity index 89% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetSchedule.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json index 8ba5489b95c6..5daba5a7ff0a 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetSchedule.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json @@ -1,6 +1,6 @@ { "title": "Gets a schedule.", - "operationId": "DevBoxesOperations_GetSchedule", + "operationId": "DevBoxesOperations_GetScheduleByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxActions.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListActions.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxActions.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListActions.json index db1ae0af7c62..5681b4ad7f38 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxActions.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListActions.json @@ -1,6 +1,6 @@ { "title": "Lists actions on a Dev Box.", - "operationId": "DevBoxesOperations_ListDevBoxActions", + "operationId": "DevBoxesOperations_ListActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxes.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxesByUser.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxes.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxesByUser.json index 2140a65cb857..edff509ca42f 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxes.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the project for a particular user.", - "operationId": "DevBoxesOperations_ListDevBoxes", + "operationId": "DevBoxesOperations_ListDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedules.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedulesByPool.json similarity index 90% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedules.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedulesByPool.json index 0a5afd4f207a..c6deea376ad1 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedules.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedulesByPool.json @@ -1,6 +1,6 @@ { "title": "Lists available schedules for a pool.", - "operationId": "DevBoxesOperations_ListSchedules", + "operationId": "DevBoxesOperations_ListSchedulesByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesDevCenterOperations_ListAllDevBoxes.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxes.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesDevCenterOperations_ListAllDevBoxes.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxes.json index 33e7210819fb..f46feb6ae5fc 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesDevCenterOperations_ListAllDevBoxes.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxes.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes that the caller has access to in the DevCenter.", - "operationId": "DevBoxesDevCenter_ListAllDevBoxes", + "operationId": "DevCenterOperations_ListAllDevBoxes", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxesByUser.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxesByUser.json index 1fde15c1bbb5..922ff40deeac 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the Dev Center for a particular user.", - "operationId": "DevBoxesDevCenter_ListAllDevBoxesByUser", + "operationId": "DevCenterOperations_ListAllDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrUpdateEnvironment.json b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrReplaceEnvironment.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrUpdateEnvironment.json rename to specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrReplaceEnvironment.json index 40bd8016a490..52309bce453c 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrUpdateEnvironment.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrReplaceEnvironment.json @@ -1,6 +1,6 @@ { "title": "Creates or updates an environment.", - "operationId": "EnvironmentsOperations_CreateOrUpdateEnvironment", + "operationId": "EnvironmentsOperations_CreateOrReplaceEnvironment", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironment.json b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentByUser.json similarity index 92% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironment.json rename to specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentByUser.json index eb89813acaf7..5efe4468be21 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironment.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentByUser.json @@ -1,6 +1,6 @@ { "title": "Gets an environment", - "operationId": "EnvironmentsOperations_GetEnvironment", + "operationId": "EnvironmentsOperations_GetEnvironmentByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogs.json b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogsByProject.json similarity index 86% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogs.json rename to specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogsByProject.json index 17c683e6c9b3..b8a17d6e414d 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogs.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all of the catalogs available for a project.", - "operationId": "EnvironmentsOperations_ListCatalogs", + "operationId": "EnvironmentsOperations_ListCatalogsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitions.json b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json similarity index 99% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitions.json rename to specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json index aabe3738602c..b922016f656b 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitions.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all environment definitions available for a project.", - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitions", + "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironments.json b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironments.json index 51f0384a6ffb..9ef4963163bf 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironments.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironments.json @@ -1,11 +1,10 @@ { - "title": "Lists the environments for a project and user.", + "title": "Lists the environments for a project.", "operationId": "EnvironmentsOperations_ListEnvironments", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", - "projectName": "myProject", - "userId": "me" + "projectName": "myProject" }, "responses": { "200": { diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListAllEnvironments.json b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentsByUser.json similarity index 81% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListAllEnvironments.json rename to specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentsByUser.json index ab203c460a33..878bcb8898cf 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListAllEnvironments.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentsByUser.json @@ -1,10 +1,11 @@ { - "title": "Lists the environments for a project.", - "operationId": "EnvironmentsOperations_ListAllEnvironments", + "title": "Lists the environments for a project and user.", + "operationId": "EnvironmentsOperations_ListEnvironmentsByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", - "projectName": "myProject" + "projectName": "myProject", + "userId": "me" }, "responses": { "200": { diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json index acc05839e320..847c37ad97d5 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json @@ -53,7 +53,7 @@ "paths": { "/devboxes": { "get": { - "operationId": "DevBoxesDevCenter_ListAllDevBoxes", + "operationId": "DevCenterOperations_ListAllDevBoxes", "description": "Lists Dev Boxes that the caller has access to in the DevCenter.", "parameters": [ { @@ -82,7 +82,7 @@ }, "x-ms-examples": { "Lists Dev Boxes that the caller has access to in the DevCenter.": { - "$ref": "./examples/DevBoxesDevCenterOperations_ListAllDevBoxes.json" + "$ref": "./examples/DevCenterOperations_ListAllDevBoxes.json" } }, "x-ms-pageable": { @@ -177,7 +177,7 @@ }, "/projects/{projectName}/catalogs": { "get": { - "operationId": "EnvironmentsOperations_ListCatalogs", + "operationId": "EnvironmentsOperations_ListCatalogsByProject", "description": "Lists all of the catalogs available for a project.", "parameters": [ { @@ -216,7 +216,7 @@ }, "x-ms-examples": { "Lists all of the catalogs available for a project.": { - "$ref": "./examples/EnvironmentsOperations_ListCatalogs.json" + "$ref": "./examples/EnvironmentsOperations_ListCatalogsByProject.json" } }, "x-ms-pageable": { @@ -401,7 +401,7 @@ }, "/projects/{projectName}/environmentDefinitions": { "get": { - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitions", + "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByProject", "description": "Lists all environment definitions available for a project.", "parameters": [ { @@ -437,7 +437,7 @@ }, "x-ms-examples": { "Lists all environment definitions available for a project.": { - "$ref": "./examples/EnvironmentsOperations_ListEnvironmentDefinitions.json" + "$ref": "./examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json" } }, "x-ms-pageable": { @@ -493,7 +493,7 @@ }, "/projects/{projectName}/environments": { "get": { - "operationId": "EnvironmentsOperations_ListAllEnvironments", + "operationId": "EnvironmentsOperations_ListEnvironments", "description": "Lists the environments for a project.", "parameters": [ { @@ -529,7 +529,7 @@ }, "x-ms-examples": { "Lists the environments for a project.": { - "$ref": "./examples/EnvironmentsOperations_ListAllEnvironments.json" + "$ref": "./examples/EnvironmentsOperations_ListEnvironments.json" } }, "x-ms-pageable": { @@ -694,7 +694,7 @@ }, "/projects/{projectName}/pools/{poolName}/schedules": { "get": { - "operationId": "DevBoxesOperations_ListSchedules", + "operationId": "DevBoxesOperations_ListSchedulesByPool", "description": "Lists available schedules for a pool.", "parameters": [ { @@ -740,7 +740,7 @@ }, "x-ms-examples": { "Lists available schedules for a pool.": { - "$ref": "./examples/DevBoxesOperations_ListSchedules.json" + "$ref": "./examples/DevBoxesOperations_ListSchedulesByPool.json" } }, "x-ms-pageable": { @@ -750,7 +750,7 @@ }, "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}": { "get": { - "operationId": "DevBoxesOperations_GetSchedule", + "operationId": "DevBoxesOperations_GetScheduleByPool", "description": "Gets a schedule.", "parameters": [ { @@ -803,14 +803,14 @@ }, "x-ms-examples": { "Gets a schedule.": { - "$ref": "./examples/DevBoxesOperations_GetSchedule.json" + "$ref": "./examples/DevBoxesOperations_GetScheduleByPool.json" } } } }, "/projects/{projectName}/users/{userId}/devboxes": { "get": { - "operationId": "DevBoxesOperations_ListDevBoxes", + "operationId": "DevBoxesOperations_ListDevBoxesByUser", "description": "Lists Dev Boxes in the project for a particular user.", "parameters": [ { @@ -853,7 +853,7 @@ }, "x-ms-examples": { "Lists Dev Boxes in the project for a particular user.": { - "$ref": "./examples/DevBoxesOperations_ListDevBoxes.json" + "$ref": "./examples/DevBoxesOperations_ListDevBoxesByUser.json" } }, "x-ms-pageable": { @@ -863,7 +863,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}": { "get": { - "operationId": "DevBoxesOperations_GetDevBox", + "operationId": "DevBoxesOperations_GetDevBoxByUser", "description": "Gets a Dev Box", "parameters": [ { @@ -922,7 +922,7 @@ }, "x-ms-examples": { "Gets a Dev Box": { - "$ref": "./examples/DevBoxesOperations_GetDevBox.json" + "$ref": "./examples/DevBoxesOperations_GetDevBoxByUser.json" } } }, @@ -1306,7 +1306,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions": { "get": { - "operationId": "DevBoxesOperations_ListDevBoxActions", + "operationId": "DevBoxesOperations_ListActions", "description": "Lists actions on a Dev Box.", "parameters": [ { @@ -1365,7 +1365,7 @@ }, "x-ms-examples": { "Lists actions on a Dev Box.": { - "$ref": "./examples/DevBoxesOperations_ListDevBoxActions.json" + "$ref": "./examples/DevBoxesOperations_ListActions.json" } }, "x-ms-pageable": { @@ -1375,7 +1375,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}": { "get": { - "operationId": "DevBoxesOperations_GetDevBoxAction", + "operationId": "DevBoxesOperations_GetAction", "description": "Gets an action.", "parameters": [ { @@ -1444,7 +1444,7 @@ }, "x-ms-examples": { "Gets an action.": { - "$ref": "./examples/DevBoxesOperations_GetDevBoxAction.json" + "$ref": "./examples/DevBoxesOperations_GetAction.json" } } } @@ -1609,7 +1609,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay": { "post": { - "operationId": "DevBoxesOperations_DelayAllActions", + "operationId": "DevBoxesOperations_DelayActions", "description": "Delays all actions.", "parameters": [ { @@ -1677,7 +1677,7 @@ }, "x-ms-examples": { "Delays all actions.": { - "$ref": "./examples/DevBoxesOperations_DelayAllActions.json" + "$ref": "./examples/DevBoxesOperations_DelayActions.json" } }, "x-ms-pageable": { @@ -1744,7 +1744,7 @@ }, "/projects/{projectName}/users/{userId}/environments": { "get": { - "operationId": "EnvironmentsOperations_ListEnvironments", + "operationId": "EnvironmentsOperations_ListEnvironmentsByUser", "description": "Lists the environments for a project and user.", "parameters": [ { @@ -1787,7 +1787,7 @@ }, "x-ms-examples": { "Lists the environments for a project and user.": { - "$ref": "./examples/EnvironmentsOperations_ListEnvironments.json" + "$ref": "./examples/EnvironmentsOperations_ListEnvironmentsByUser.json" } }, "x-ms-pageable": { @@ -1797,7 +1797,7 @@ }, "/projects/{projectName}/users/{userId}/environments/{environmentName}": { "get": { - "operationId": "EnvironmentsOperations_GetEnvironment", + "operationId": "EnvironmentsOperations_GetEnvironmentByUser", "description": "Gets an environment", "parameters": [ { @@ -1856,12 +1856,12 @@ }, "x-ms-examples": { "Gets an environment": { - "$ref": "./examples/EnvironmentsOperations_GetEnvironment.json" + "$ref": "./examples/EnvironmentsOperations_GetEnvironmentByUser.json" } } }, "put": { - "operationId": "EnvironmentsOperations_CreateOrUpdateEnvironment", + "operationId": "EnvironmentsOperations_CreateOrReplaceEnvironment", "description": "Creates or updates an environment.", "parameters": [ { @@ -1925,7 +1925,7 @@ }, "x-ms-examples": { "Creates or updates an environment.": { - "$ref": "./examples/EnvironmentsOperations_CreateOrUpdateEnvironment.json" + "$ref": "./examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json" } }, "x-ms-long-running-operation": true @@ -2000,7 +2000,7 @@ }, "/users/{userId}/devboxes": { "get": { - "operationId": "DevBoxesDevCenter_ListAllDevBoxesByUser", + "operationId": "DevCenterOperations_ListAllDevBoxesByUser", "description": "Lists Dev Boxes in the Dev Center for a particular user.", "parameters": [ { @@ -2036,7 +2036,7 @@ }, "x-ms-examples": { "Lists Dev Boxes in the Dev Center for a particular user.": { - "$ref": "./examples/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json" + "$ref": "./examples/DevCenterOperations_ListAllDevBoxesByUser.json" } }, "x-ms-pageable": { diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayAllActions.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayAllActions.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json index 6a7ade1eef30..7fd6d0b2f035 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayAllActions.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json @@ -1,6 +1,6 @@ { "title": "Delays all actions.", - "operationId": "DevBoxesOperations_DelayAllActions", + "operationId": "DevBoxesOperations_DelayActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxAction.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetAction.json similarity index 91% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxAction.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetAction.json index 0d94918c712d..ed2885df1c16 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxAction.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetAction.json @@ -1,6 +1,6 @@ { "title": "Gets an action.", - "operationId": "DevBoxesOperations_GetDevBoxAction", + "operationId": "DevBoxesOperations_GetAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBox.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBox.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json index f29193eb0b35..8e679660c8a0 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBox.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json @@ -1,6 +1,6 @@ { "title": "Gets a Dev Box", - "operationId": "DevBoxesOperations_GetDevBox", + "operationId": "DevBoxesOperations_GetDevBoxByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetSchedule.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json similarity index 89% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetSchedule.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json index 8ba5489b95c6..5daba5a7ff0a 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetSchedule.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json @@ -1,6 +1,6 @@ { "title": "Gets a schedule.", - "operationId": "DevBoxesOperations_GetSchedule", + "operationId": "DevBoxesOperations_GetScheduleByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxActions.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListActions.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxActions.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListActions.json index db1ae0af7c62..5681b4ad7f38 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxActions.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListActions.json @@ -1,6 +1,6 @@ { "title": "Lists actions on a Dev Box.", - "operationId": "DevBoxesOperations_ListDevBoxActions", + "operationId": "DevBoxesOperations_ListActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxes.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxesByUser.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxes.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxesByUser.json index 2140a65cb857..edff509ca42f 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxes.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the project for a particular user.", - "operationId": "DevBoxesOperations_ListDevBoxes", + "operationId": "DevBoxesOperations_ListDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedules.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedulesByPool.json similarity index 90% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedules.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedulesByPool.json index 0a5afd4f207a..c6deea376ad1 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedules.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedulesByPool.json @@ -1,6 +1,6 @@ { "title": "Lists available schedules for a pool.", - "operationId": "DevBoxesOperations_ListSchedules", + "operationId": "DevBoxesOperations_ListSchedulesByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesDevCenterOperations_ListAllDevBoxes.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxes.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesDevCenterOperations_ListAllDevBoxes.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxes.json index 33e7210819fb..f46feb6ae5fc 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesDevCenterOperations_ListAllDevBoxes.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxes.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes that the caller has access to in the DevCenter.", - "operationId": "DevBoxesDevCenter_ListAllDevBoxes", + "operationId": "DevCenterOperations_ListAllDevBoxes", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxesByUser.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxesByUser.json index 1fde15c1bbb5..922ff40deeac 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesDevCenterOperations_ListAllDevBoxesByUser.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the Dev Center for a particular user.", - "operationId": "DevBoxesDevCenter_ListAllDevBoxesByUser", + "operationId": "DevCenterOperations_ListAllDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrUpdateEnvironment.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrUpdateEnvironment.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json index 40bd8016a490..52309bce453c 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrUpdateEnvironment.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json @@ -1,6 +1,6 @@ { "title": "Creates or updates an environment.", - "operationId": "EnvironmentsOperations_CreateOrUpdateEnvironment", + "operationId": "EnvironmentsOperations_CreateOrReplaceEnvironment", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironment.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentByUser.json similarity index 92% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironment.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentByUser.json index eb89813acaf7..5efe4468be21 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironment.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentByUser.json @@ -1,6 +1,6 @@ { "title": "Gets an environment", - "operationId": "EnvironmentsOperations_GetEnvironment", + "operationId": "EnvironmentsOperations_GetEnvironmentByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogs.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogsByProject.json similarity index 86% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogs.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogsByProject.json index 17c683e6c9b3..b8a17d6e414d 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogs.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all of the catalogs available for a project.", - "operationId": "EnvironmentsOperations_ListCatalogs", + "operationId": "EnvironmentsOperations_ListCatalogsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitions.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json similarity index 99% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitions.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json index aabe3738602c..b922016f656b 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitions.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all environment definitions available for a project.", - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitions", + "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironments.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironments.json index 51f0384a6ffb..9ef4963163bf 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironments.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironments.json @@ -1,11 +1,10 @@ { - "title": "Lists the environments for a project and user.", + "title": "Lists the environments for a project.", "operationId": "EnvironmentsOperations_ListEnvironments", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", - "projectName": "myProject", - "userId": "me" + "projectName": "myProject" }, "responses": { "200": { diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListAllEnvironments.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentsByUser.json similarity index 81% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListAllEnvironments.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentsByUser.json index ab203c460a33..878bcb8898cf 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListAllEnvironments.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentsByUser.json @@ -1,10 +1,11 @@ { - "title": "Lists the environments for a project.", - "operationId": "EnvironmentsOperations_ListAllEnvironments", + "title": "Lists the environments for a project and user.", + "operationId": "EnvironmentsOperations_ListEnvironmentsByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", - "projectName": "myProject" + "projectName": "myProject", + "userId": "me" }, "responses": { "200": { From 00e1164d90b0d080db0f9a903d807c07fa183e79 Mon Sep 17 00:00:00 2001 From: Driele Neves Ribeiro Date: Tue, 19 Mar 2024 15:29:48 -0700 Subject: [PATCH 4/6] Update Operation Status name --- specification/devcenter/DevCenter/DevBox/routes.tsp | 10 +++++----- .../devcenter/DevCenter/Environments/routes.tsp | 4 ++-- ...OperationStatus.json => OperationStatuses_Get.json} | 2 +- specification/devcenter/DevCenter/shared/routes.tsp | 4 ++-- .../stable/2023-04-01/devcenter.json | 4 ++-- ...OperationStatus.json => OperationStatuses_Get.json} | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) rename specification/devcenter/DevCenter/examples/2023-04-01/{SharedOperations_GetProjectOperationStatus.json => OperationStatuses_Get.json} (88%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{SharedOperations_GetProjectOperationStatus.json => OperationStatuses_Get.json} (88%) diff --git a/specification/devcenter/DevCenter/DevBox/routes.tsp b/specification/devcenter/DevCenter/DevBox/routes.tsp index 25adf0e91a0a..1c3cf7506e26 100644 --- a/specification/devcenter/DevCenter/DevBox/routes.tsp +++ b/specification/devcenter/DevCenter/DevBox/routes.tsp @@ -58,7 +58,7 @@ interface DevBoxesOperations { // } @doc("Creates or replaces a Dev Box.") @finalOperation(DevBoxesOperations.getDevBoxByUser) - @pollingOperation(SharedOperations.getProjectOperationStatus) + @pollingOperation(OperationStatuses.get) @route("/projects/{projectName}/users/{userId}/devboxes/{devBoxName}") @put createDevBox is Azure.Core.Foundations.Operation< @@ -96,7 +96,7 @@ interface DevBoxesOperations { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern" //Can not use LongRunningResourceDelete because response is 202 or error, but we also accept 204 response" @doc("Deletes a Dev Box.") - @pollingOperation(SharedOperations.getProjectOperationStatus) + @pollingOperation(OperationStatuses.get) @route("/projects/{projectName}/users/{userId}/devboxes/{devBoxName}") @delete deleteDevBox is Azure.Core.Foundations.Operation< @@ -130,7 +130,7 @@ interface DevBoxesOperations { >; @doc("Starts a Dev Box") - @pollingOperation(SharedOperations.getProjectOperationStatus) + @pollingOperation(OperationStatuses.get) @action("start") startDevBox is StandardResourceOperations.LongRunningResourceAction< DevBox, @@ -145,7 +145,7 @@ interface DevBoxesOperations { >; @doc("Stops a Dev Box") - @pollingOperation(SharedOperations.getProjectOperationStatus) + @pollingOperation(OperationStatuses.get) @action("stop") stopDevBox is StandardResourceOperations.LongRunningResourceAction< DevBox, @@ -164,7 +164,7 @@ interface DevBoxesOperations { >; @doc("Restarts a Dev Box") - @pollingOperation(SharedOperations.getProjectOperationStatus) + @pollingOperation(OperationStatuses.get) @action("restart") restartDevBox is StandardResourceOperations.LongRunningResourceAction< DevBox, diff --git a/specification/devcenter/DevCenter/Environments/routes.tsp b/specification/devcenter/DevCenter/Environments/routes.tsp index 3efff0b3a882..210ccf9fa37c 100644 --- a/specification/devcenter/DevCenter/Environments/routes.tsp +++ b/specification/devcenter/DevCenter/Environments/routes.tsp @@ -51,7 +51,7 @@ interface EnvironmentsOperations { //Can not use LongRunningCreateOrReplace because response is 200 or 201, but we only respond with 201" @doc("Creates or updates an environment.") @finalOperation(EnvironmentsOperations.getEnvironmentByUser) - @pollingOperation(SharedOperations.getProjectOperationStatus) + @pollingOperation(OperationStatuses.get) @route("/projects/{projectName}/users/{userId}/environments/{environmentName}") @put createOrReplaceEnvironment is Azure.Core.Foundations.Operation< @@ -87,7 +87,7 @@ interface EnvironmentsOperations { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern" //Can not use LongRunningResourceDelete because response is 202 or error, but we also accept 204 response" @doc("Deletes an environment and all its associated resources") - @pollingOperation(SharedOperations.getProjectOperationStatus) + @pollingOperation(OperationStatuses.get) @route("/projects/{projectName}/users/{userId}/environments/{environmentName}") @delete deleteEnvironment is Azure.Core.Foundations.Operation< diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/SharedOperations_GetProjectOperationStatus.json b/specification/devcenter/DevCenter/examples/2023-04-01/OperationStatuses_Get.json similarity index 88% rename from specification/devcenter/DevCenter/examples/2023-04-01/SharedOperations_GetProjectOperationStatus.json rename to specification/devcenter/DevCenter/examples/2023-04-01/OperationStatuses_Get.json index d6c4b10ab2f4..5eb732d0c312 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/SharedOperations_GetProjectOperationStatus.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/OperationStatuses_Get.json @@ -1,6 +1,6 @@ { "title": "Get the status of an operation.", - "operationId": "SharedOperations_GetProjectOperationStatus", + "operationId": "OperationStatuses_Get", "parameters": { "api-version": "2023-04-01", "projectName": "myProject", diff --git a/specification/devcenter/DevCenter/shared/routes.tsp b/specification/devcenter/DevCenter/shared/routes.tsp index a477894e502b..2a88ef3ede80 100644 --- a/specification/devcenter/DevCenter/shared/routes.tsp +++ b/specification/devcenter/DevCenter/shared/routes.tsp @@ -8,7 +8,7 @@ using TypeSpec.Http; namespace DevCenterService; -interface SharedOperations { +interface OperationStatuses { @doc("Get the status of an operation.") - getProjectOperationStatus is StandardResourceOperations.ResourceRead; + get is StandardResourceOperations.ResourceRead; } diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json index 847c37ad97d5..02088d0ba183 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json @@ -539,7 +539,7 @@ }, "/projects/{projectName}/operationstatuses/{operationId}": { "get": { - "operationId": "SharedOperations_GetProjectOperationStatus", + "operationId": "OperationStatuses_Get", "description": "Get the status of an operation.", "parameters": [ { @@ -585,7 +585,7 @@ }, "x-ms-examples": { "Get the status of an operation.": { - "$ref": "./examples/SharedOperations_GetProjectOperationStatus.json" + "$ref": "./examples/OperationStatuses_Get.json" } } } diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/SharedOperations_GetProjectOperationStatus.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/OperationStatuses_Get.json similarity index 88% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/SharedOperations_GetProjectOperationStatus.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/OperationStatuses_Get.json index d6c4b10ab2f4..5eb732d0c312 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/SharedOperations_GetProjectOperationStatus.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/OperationStatuses_Get.json @@ -1,6 +1,6 @@ { "title": "Get the status of an operation.", - "operationId": "SharedOperations_GetProjectOperationStatus", + "operationId": "OperationStatuses_Get", "parameters": { "api-version": "2023-04-01", "projectName": "myProject", From bc7ee5ea04cc159c54637901aca32f0201e781dd Mon Sep 17 00:00:00 2001 From: Driele Neves Ribeiro Date: Tue, 19 Mar 2024 16:19:31 -0700 Subject: [PATCH 5/6] Remove "Operation" from operation names --- .../devcenter/DevCenter/DevBox/routes.tsp | 4 +- .../devcenter/DevCenter/DevCenter/routes.tsp | 2 +- .../DevCenter/Environments/routes.tsp | 4 +- specification/devcenter/DevCenter/client.tsp | 68 +++++----- ...DevBox.json => DevBoxes_CreateDevBox.json} | 2 +- ...yAction.json => DevBoxes_DelayAction.json} | 2 +- .../2023-04-01/DevBoxes_DelayActions.json} | 2 +- .../2023-04-01/DevBoxes_DeleteDevBox.json} | 2 +- ...GetAction.json => DevBoxes_GetAction.json} | 2 +- .../2023-04-01/DevBoxes_GetDevBoxByUser.json} | 2 +- .../2023-04-01/DevBoxes_GetPool.json} | 2 +- .../DevBoxes_GetRemoteConnection.json} | 2 +- .../DevBoxes_GetScheduleByPool.json} | 2 +- .../2023-04-01/DevBoxes_ListActions.json} | 2 +- ....json => DevBoxes_ListDevBoxesByUser.json} | 2 +- ...ListPools.json => DevBoxes_ListPools.json} | 2 +- ...json => DevBoxes_ListSchedulesByPool.json} | 2 +- ...evBox.json => DevBoxes_RestartDevBox.json} | 2 +- ...ipAction.json => DevBoxes_SkipAction.json} | 2 +- ...tDevBox.json => DevBoxes_StartDevBox.json} | 2 +- .../2023-04-01/DevBoxes_StopDevBox.json} | 2 +- ...Project.json => DevCenter_GetProject.json} | 2 +- .../DevCenter_ListAllDevBoxes.json} | 2 +- ...n => DevCenter_ListAllDevBoxesByUser.json} | 2 +- .../2023-04-01/DevCenter_ListProjects.json} | 2 +- ...ironments_CreateOrReplaceEnvironment.json} | 2 +- ...on => Environments_DeleteEnvironment.json} | 2 +- .../2023-04-01/Environments_GetCatalog.json} | 2 +- ...=> Environments_GetEnvironmentByUser.json} | 2 +- ...nvironments_GetEnvironmentDefinition.json} | 2 +- ...> Environments_ListCatalogsByProject.json} | 2 +- ..._ListEnvironmentDefinitionsByCatalog.json} | 2 +- ..._ListEnvironmentDefinitionsByProject.json} | 2 +- .../Environments_ListEnvironmentTypes.json} | 2 +- ...son => Environments_ListEnvironments.json} | 2 +- ... Environments_ListEnvironmentsByUser.json} | 2 +- .../devcenter/DevCenter/python-client.tsp | 64 ++++----- .../stable/2023-04-01/devcenter.json | 128 +++++++++--------- ...DevBox.json => DevBoxes_CreateDevBox.json} | 2 +- ...yAction.json => DevBoxes_DelayAction.json} | 2 +- .../examples/DevBoxes_DelayActions.json} | 2 +- .../examples/DevBoxes_DeleteDevBox.json} | 2 +- ...GetAction.json => DevBoxes_GetAction.json} | 2 +- .../examples/DevBoxes_GetDevBoxByUser.json} | 2 +- .../examples/DevBoxes_GetPool.json} | 2 +- .../DevBoxes_GetRemoteConnection.json} | 2 +- .../examples/DevBoxes_GetScheduleByPool.json} | 2 +- .../examples/DevBoxes_ListActions.json} | 2 +- ....json => DevBoxes_ListDevBoxesByUser.json} | 2 +- ...ListPools.json => DevBoxes_ListPools.json} | 2 +- ...json => DevBoxes_ListSchedulesByPool.json} | 2 +- ...evBox.json => DevBoxes_RestartDevBox.json} | 2 +- ...ipAction.json => DevBoxes_SkipAction.json} | 2 +- ...tDevBox.json => DevBoxes_StartDevBox.json} | 2 +- .../examples/DevBoxes_StopDevBox.json} | 2 +- ...Project.json => DevCenter_GetProject.json} | 2 +- .../examples/DevCenter_ListAllDevBoxes.json} | 2 +- ...n => DevCenter_ListAllDevBoxesByUser.json} | 2 +- .../examples/DevCenter_ListProjects.json} | 2 +- ...ironments_CreateOrReplaceEnvironment.json} | 2 +- ...on => Environments_DeleteEnvironment.json} | 2 +- .../examples/Environments_GetCatalog.json} | 2 +- ...=> Environments_GetEnvironmentByUser.json} | 2 +- ...nvironments_GetEnvironmentDefinition.json} | 2 +- ...> Environments_ListCatalogsByProject.json} | 2 +- ..._ListEnvironmentDefinitionsByCatalog.json} | 2 +- ..._ListEnvironmentDefinitionsByProject.json} | 2 +- .../Environments_ListEnvironmentTypes.json} | 2 +- ...son => Environments_ListEnvironments.json} | 2 +- ... Environments_ListEnvironmentsByUser.json} | 2 +- 70 files changed, 199 insertions(+), 199 deletions(-) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_CreateDevBox.json => DevBoxes_CreateDevBox.json} (97%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_DelayAction.json => DevBoxes_DelayAction.json} (93%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json => DevCenter/examples/2023-04-01/DevBoxes_DelayActions.json} (95%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DeleteDevBox.json => DevCenter/examples/2023-04-01/DevBoxes_DeleteDevBox.json} (95%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_GetAction.json => DevBoxes_GetAction.json} (92%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json => DevCenter/examples/2023-04-01/DevBoxes_GetDevBoxByUser.json} (94%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetPool.json => DevCenter/examples/2023-04-01/DevBoxes_GetPool.json} (95%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetRemoteConnection.json => DevCenter/examples/2023-04-01/DevBoxes_GetRemoteConnection.json} (87%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json => DevCenter/examples/2023-04-01/DevBoxes_GetScheduleByPool.json} (89%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListActions.json => DevCenter/examples/2023-04-01/DevBoxes_ListActions.json} (94%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_ListDevBoxesByUser.json => DevBoxes_ListDevBoxesByUser.json} (95%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_ListPools.json => DevBoxes_ListPools.json} (97%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_ListSchedulesByPool.json => DevBoxes_ListSchedulesByPool.json} (90%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_RestartDevBox.json => DevBoxes_RestartDevBox.json} (94%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_SkipAction.json => DevBoxes_SkipAction.json} (88%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevBoxesOperations_StartDevBox.json => DevBoxes_StartDevBox.json} (95%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_StopDevBox.json => DevCenter/examples/2023-04-01/DevBoxes_StopDevBox.json} (95%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevCenterOperations_GetProject.json => DevCenter_GetProject.json} (87%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxes.json => DevCenter/examples/2023-04-01/DevCenter_ListAllDevBoxes.json} (95%) rename specification/devcenter/DevCenter/examples/2023-04-01/{DevCenterOperations_ListAllDevBoxesByUser.json => DevCenter_ListAllDevBoxesByUser.json} (94%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListProjects.json => DevCenter/examples/2023-04-01/DevCenter_ListProjects.json} (88%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json => DevCenter/examples/2023-04-01/Environments_CreateOrReplaceEnvironment.json} (95%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_DeleteEnvironment.json => Environments_DeleteEnvironment.json} (94%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetCatalog.json => DevCenter/examples/2023-04-01/Environments_GetCatalog.json} (87%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_GetEnvironmentByUser.json => Environments_GetEnvironmentByUser.json} (92%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_GetEnvironmentDefinition.json => Environments_GetEnvironmentDefinition.json} (96%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_ListCatalogsByProject.json => Environments_ListCatalogsByProject.json} (86%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json => DevCenter/examples/2023-04-01/Environments_ListEnvironmentDefinitionsByCatalog.json} (97%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json => Environments_ListEnvironmentDefinitionsByProject.json} (97%) rename specification/devcenter/{data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentTypes.json => DevCenter/examples/2023-04-01/Environments_ListEnvironmentTypes.json} (89%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_ListEnvironments.json => Environments_ListEnvironments.json} (93%) rename specification/devcenter/DevCenter/examples/2023-04-01/{EnvironmentsOperations_ListEnvironmentsByUser.json => Environments_ListEnvironmentsByUser.json} (93%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_CreateDevBox.json => DevBoxes_CreateDevBox.json} (97%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_DelayAction.json => DevBoxes_DelayAction.json} (93%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DelayActions.json} (95%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_DeleteDevBox.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DeleteDevBox.json} (95%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_GetAction.json => DevBoxes_GetAction.json} (92%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetDevBoxByUser.json} (94%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_GetPool.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetPool.json} (95%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_GetRemoteConnection.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetRemoteConnection.json} (87%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetScheduleByPool.json} (89%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_ListActions.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListActions.json} (94%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_ListDevBoxesByUser.json => DevBoxes_ListDevBoxesByUser.json} (95%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_ListPools.json => DevBoxes_ListPools.json} (97%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_ListSchedulesByPool.json => DevBoxes_ListSchedulesByPool.json} (90%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_RestartDevBox.json => DevBoxes_RestartDevBox.json} (94%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_SkipAction.json => DevBoxes_SkipAction.json} (88%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevBoxesOperations_StartDevBox.json => DevBoxes_StartDevBox.json} (95%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevBoxesOperations_StopDevBox.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_StopDevBox.json} (95%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevCenterOperations_GetProject.json => DevCenter_GetProject.json} (87%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxes.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListAllDevBoxes.json} (95%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{DevCenterOperations_ListAllDevBoxesByUser.json => DevCenter_ListAllDevBoxesByUser.json} (94%) rename specification/devcenter/{DevCenter/examples/2023-04-01/DevCenterOperations_ListProjects.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListProjects.json} (88%) rename specification/devcenter/{DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrReplaceEnvironment.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_CreateOrReplaceEnvironment.json} (95%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_DeleteEnvironment.json => Environments_DeleteEnvironment.json} (94%) rename specification/devcenter/{DevCenter/examples/2023-04-01/EnvironmentsOperations_GetCatalog.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetCatalog.json} (87%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_GetEnvironmentByUser.json => Environments_GetEnvironmentByUser.json} (92%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_GetEnvironmentDefinition.json => Environments_GetEnvironmentDefinition.json} (96%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_ListCatalogsByProject.json => Environments_ListCatalogsByProject.json} (86%) rename specification/devcenter/{DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentDefinitionsByCatalog.json} (97%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json => Environments_ListEnvironmentDefinitionsByProject.json} (97%) rename specification/devcenter/{DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentTypes.json => data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentTypes.json} (89%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_ListEnvironments.json => Environments_ListEnvironments.json} (93%) rename specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/{EnvironmentsOperations_ListEnvironmentsByUser.json => Environments_ListEnvironmentsByUser.json} (93%) diff --git a/specification/devcenter/DevCenter/DevBox/routes.tsp b/specification/devcenter/DevCenter/DevBox/routes.tsp index 1c3cf7506e26..38ff057848ea 100644 --- a/specification/devcenter/DevCenter/DevBox/routes.tsp +++ b/specification/devcenter/DevCenter/DevBox/routes.tsp @@ -9,7 +9,7 @@ using TypeSpec.Http; namespace DevCenterService; -interface DevBoxesOperations { +interface DevBoxes { @doc("Lists available pools") listPools is StandardResourceOperations.ResourceList; @@ -57,7 +57,7 @@ interface DevBoxesOperations { // "in": "body", // } @doc("Creates or replaces a Dev Box.") - @finalOperation(DevBoxesOperations.getDevBoxByUser) + @finalOperation(DevBoxes.getDevBoxByUser) @pollingOperation(OperationStatuses.get) @route("/projects/{projectName}/users/{userId}/devboxes/{devBoxName}") @put diff --git a/specification/devcenter/DevCenter/DevCenter/routes.tsp b/specification/devcenter/DevCenter/DevCenter/routes.tsp index 07fbb7b7d9d3..3b8dec68b01b 100644 --- a/specification/devcenter/DevCenter/DevCenter/routes.tsp +++ b/specification/devcenter/DevCenter/DevCenter/routes.tsp @@ -8,7 +8,7 @@ using TypeSpec.Http; namespace DevCenterService; -interface DevCenterOperations { +interface DevCenter { @doc("Lists all projects.") listProjects is StandardResourceOperations.ResourceList; diff --git a/specification/devcenter/DevCenter/Environments/routes.tsp b/specification/devcenter/DevCenter/Environments/routes.tsp index 210ccf9fa37c..d894a7044305 100644 --- a/specification/devcenter/DevCenter/Environments/routes.tsp +++ b/specification/devcenter/DevCenter/Environments/routes.tsp @@ -10,7 +10,7 @@ using TypeSpec.Http; namespace DevCenterService; -interface EnvironmentsOperations { +interface Environments { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern since Environment has a different path" @doc("Lists the environments for a project.") @route("/projects/{projectName}/environments") @@ -50,7 +50,7 @@ interface EnvironmentsOperations { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern" //Can not use LongRunningCreateOrReplace because response is 200 or 201, but we only respond with 201" @doc("Creates or updates an environment.") - @finalOperation(EnvironmentsOperations.getEnvironmentByUser) + @finalOperation(Environments.getEnvironmentByUser) @pollingOperation(OperationStatuses.get) @route("/projects/{projectName}/users/{userId}/environments/{environmentName}") @put diff --git a/specification/devcenter/DevCenter/client.tsp b/specification/devcenter/DevCenter/client.tsp index f10202a3dc4d..f8f698325673 100644 --- a/specification/devcenter/DevCenter/client.tsp +++ b/specification/devcenter/DevCenter/client.tsp @@ -14,8 +14,8 @@ namespace SdkCustomizations; service: DevCenterService, }) interface DevCenterClientOperations { - listProjects is DevCenterService.DevCenterOperations.listProjects; - getProject is DevCenterService.DevCenterOperations.getProject; + listProjects is DevCenterService.DevCenter.listProjects; + getProject is DevCenterService.DevCenter.getProject; } #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "detailed suppress description for each operation can be found in routes.tsp" @@ -24,26 +24,26 @@ interface DevCenterClientOperations { service: DevCenterService, }) interface DevBoxesClientOperations { - listPools is DevCenterService.DevBoxesOperations.listPools; - getPool is DevCenterService.DevBoxesOperations.getPool; - listSchedules is DevCenterService.DevBoxesOperations.listSchedulesByPool; - getSchedule is DevCenterService.DevBoxesOperations.getScheduleByPool; - listAllDevBoxes is DevCenterService.DevCenterOperations.listAllDevBoxes; - listAllDevBoxesByUser is DevCenterService.DevCenterOperations.listAllDevBoxesByUser; - listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxesByUser; - getDevBox is DevCenterService.DevBoxesOperations.getDevBoxByUser; + listPools is DevCenterService.DevBoxes.listPools; + getPool is DevCenterService.DevBoxes.getPool; + listSchedules is DevCenterService.DevBoxes.listSchedulesByPool; + getSchedule is DevCenterService.DevBoxes.getScheduleByPool; + listAllDevBoxes is DevCenterService.DevCenter.listAllDevBoxes; + listAllDevBoxesByUser is DevCenterService.DevCenter.listAllDevBoxesByUser; + listDevBoxes is DevCenterService.DevBoxes.listDevBoxesByUser; + getDevBox is DevCenterService.DevBoxes.getDevBoxByUser; @convenientAPI(false, "csharp") // https://github.com/Azure/azure-rest-api-specs/issues/28083 - createDevBox is DevCenterService.DevBoxesOperations.createDevBox; - deleteDevBox is DevCenterService.DevBoxesOperations.deleteDevBox; - startDevBox is DevCenterService.DevBoxesOperations.startDevBox; - stopDevBox is DevCenterService.DevBoxesOperations.stopDevBox; - restartDevBox is DevCenterService.DevBoxesOperations.restartDevBox; - getRemoteConnection is DevCenterService.DevBoxesOperations.getRemoteConnection; - listDevBoxActions is DevCenterService.DevBoxesOperations.listActions; - getDevBoxAction is DevCenterService.DevBoxesOperations.getAction; - skipAction is DevCenterService.DevBoxesOperations.skipAction; - delayAction is DevCenterService.DevBoxesOperations.delayAction; - delayAllActions is DevCenterService.DevBoxesOperations.delayActions; + createDevBox is DevCenterService.DevBoxes.createDevBox; + deleteDevBox is DevCenterService.DevBoxes.deleteDevBox; + startDevBox is DevCenterService.DevBoxes.startDevBox; + stopDevBox is DevCenterService.DevBoxes.stopDevBox; + restartDevBox is DevCenterService.DevBoxes.restartDevBox; + getRemoteConnection is DevCenterService.DevBoxes.getRemoteConnection; + listDevBoxActions is DevCenterService.DevBoxes.listActions; + getDevBoxAction is DevCenterService.DevBoxes.getAction; + skipAction is DevCenterService.DevBoxes.skipAction; + delayAction is DevCenterService.DevBoxes.delayAction; + delayAllActions is DevCenterService.DevBoxes.delayActions; } #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "detailed suppress description for each operation can be found in routes.tsp" @@ -52,18 +52,18 @@ interface DevBoxesClientOperations { service: DevCenterService, }) interface EnvironmentClientOperations { - listAllEnvironments is DevCenterService.EnvironmentsOperations.listEnvironments; - listEnvironments is DevCenterService.EnvironmentsOperations.listEnvironmentsByUser; - getEnvironment is DevCenterService.EnvironmentsOperations.getEnvironmentByUser; + listAllEnvironments is DevCenterService.Environments.listEnvironments; + listEnvironments is DevCenterService.Environments.listEnvironmentsByUser; + getEnvironment is DevCenterService.Environments.getEnvironmentByUser; @convenientAPI(false, "csharp") // same issue as described in https://github.com/Azure/azure-rest-api-specs/issues/28083 - createOrUpdateEnvironment is DevCenterService.EnvironmentsOperations.createOrReplaceEnvironment; - deleteEnvironment is DevCenterService.EnvironmentsOperations.deleteEnvironment; - listCatalogs is DevCenterService.EnvironmentsOperations.listCatalogsByProject; - getCatalog is DevCenterService.EnvironmentsOperations.getCatalog; - listEnvironmentDefinitions is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByProject; - listEnvironmentDefinitionsByCatalog is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByCatalog; - getEnvironmentDefinition is DevCenterService.EnvironmentsOperations.getEnvironmentDefinition; - listEnvironmentTypes is DevCenterService.EnvironmentsOperations.listEnvironmentTypes; + createOrUpdateEnvironment is DevCenterService.Environments.createOrReplaceEnvironment; + deleteEnvironment is DevCenterService.Environments.deleteEnvironment; + listCatalogs is DevCenterService.Environments.listCatalogsByProject; + getCatalog is DevCenterService.Environments.getCatalog; + listEnvironmentDefinitions is DevCenterService.Environments.listEnvironmentDefinitionsByProject; + listEnvironmentDefinitionsByCatalog is DevCenterService.Environments.listEnvironmentDefinitionsByCatalog; + getEnvironmentDefinition is DevCenterService.Environments.getEnvironmentDefinition; + listEnvironmentTypes is DevCenterService.Environments.listEnvironmentTypes; } @@usage(DevCenterService.DevBox, Usage.input | Usage.output); @@ -167,7 +167,7 @@ interface EnvironmentClientOperations { ); @@projectedName(DevCenterService.OperationStatusValue, "csharp", - "DevCenterOperationStatus" + "DevCentertatus" ); @@projectedName(DevCenterService.OperationStatus, "csharp", @@ -242,7 +242,7 @@ interface EnvironmentClientOperations { @@projectedName(DevCenterService.HardwareProfile.memoryGB, "java", "memoryGb"); @@projectedName(DevCenterService.OperationStatusValue, "java", - "DevCenterOperationStatus" + "DevCentertatus" ); @@projectedName(DevCenterService.OperationStatus, "java", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_CreateDevBox.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_CreateDevBox.json similarity index 97% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_CreateDevBox.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_CreateDevBox.json index f51bad1c0086..c7e4037d4b1d 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_CreateDevBox.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_CreateDevBox.json @@ -1,6 +1,6 @@ { "title": "Creates or replaces a Dev Box.", - "operationId": "DevBoxesOperations_CreateDevBox", + "operationId": "DevBoxes_CreateDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayAction.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DelayAction.json similarity index 93% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayAction.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DelayAction.json index db7107cfc6bc..6a5868c5ec6f 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayAction.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DelayAction.json @@ -1,6 +1,6 @@ { "title": "Delays the occurrence of an action.", - "operationId": "DevBoxesOperations_DelayAction", + "operationId": "DevBoxes_DelayAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DelayActions.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DelayActions.json index 7fd6d0b2f035..4a262b90f9a4 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayActions.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DelayActions.json @@ -1,6 +1,6 @@ { "title": "Delays all actions.", - "operationId": "DevBoxesOperations_DelayActions", + "operationId": "DevBoxes_DelayActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DeleteDevBox.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DeleteDevBox.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DeleteDevBox.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DeleteDevBox.json index 4843a80ed6c9..bf47f4e2ece2 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DeleteDevBox.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_DeleteDevBox.json @@ -1,6 +1,6 @@ { "title": "Deletes a Dev Box.", - "operationId": "DevBoxesOperations_DeleteDevBox", + "operationId": "DevBoxes_DeleteDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetAction.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetAction.json similarity index 92% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetAction.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetAction.json index ed2885df1c16..b876055179ad 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetAction.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetAction.json @@ -1,6 +1,6 @@ { "title": "Gets an action.", - "operationId": "DevBoxesOperations_GetAction", + "operationId": "DevBoxes_GetAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetDevBoxByUser.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetDevBoxByUser.json index 8e679660c8a0..d4c50766da3f 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetDevBoxByUser.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetDevBoxByUser.json @@ -1,6 +1,6 @@ { "title": "Gets a Dev Box", - "operationId": "DevBoxesOperations_GetDevBoxByUser", + "operationId": "DevBoxes_GetDevBoxByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetPool.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetPool.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetPool.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetPool.json index 7b53a6ac96b4..3bd532947546 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetPool.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetPool.json @@ -1,6 +1,6 @@ { "title": "Gets a pool", - "operationId": "DevBoxesOperations_GetPool", + "operationId": "DevBoxes_GetPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetRemoteConnection.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetRemoteConnection.json similarity index 87% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetRemoteConnection.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetRemoteConnection.json index a01b7df571fd..3ff9f5a30770 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetRemoteConnection.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetRemoteConnection.json @@ -1,6 +1,6 @@ { "title": "Gets RDP Connection info", - "operationId": "DevBoxesOperations_GetRemoteConnection", + "operationId": "DevBoxes_GetRemoteConnection", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetScheduleByPool.json similarity index 89% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetScheduleByPool.json index 5daba5a7ff0a..24b194ccf289 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetScheduleByPool.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_GetScheduleByPool.json @@ -1,6 +1,6 @@ { "title": "Gets a schedule.", - "operationId": "DevBoxesOperations_GetScheduleByPool", + "operationId": "DevBoxes_GetScheduleByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListActions.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListActions.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListActions.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListActions.json index 5681b4ad7f38..cb83e457ecd9 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListActions.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListActions.json @@ -1,6 +1,6 @@ { "title": "Lists actions on a Dev Box.", - "operationId": "DevBoxesOperations_ListActions", + "operationId": "DevBoxes_ListActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxesByUser.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListDevBoxesByUser.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxesByUser.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListDevBoxesByUser.json index edff509ca42f..7d0056e0593e 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListDevBoxesByUser.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the project for a particular user.", - "operationId": "DevBoxesOperations_ListDevBoxesByUser", + "operationId": "DevBoxes_ListDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListPools.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListPools.json similarity index 97% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListPools.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListPools.json index 42c39b484d20..f31808873991 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListPools.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListPools.json @@ -1,6 +1,6 @@ { "title": "Lists available pools", - "operationId": "DevBoxesOperations_ListPools", + "operationId": "DevBoxes_ListPools", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedulesByPool.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListSchedulesByPool.json similarity index 90% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedulesByPool.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListSchedulesByPool.json index c6deea376ad1..1f97f0f41fe7 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListSchedulesByPool.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_ListSchedulesByPool.json @@ -1,6 +1,6 @@ { "title": "Lists available schedules for a pool.", - "operationId": "DevBoxesOperations_ListSchedulesByPool", + "operationId": "DevBoxes_ListSchedulesByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_RestartDevBox.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_RestartDevBox.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_RestartDevBox.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_RestartDevBox.json index 3c0e55515dd6..f9abacb1d881 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_RestartDevBox.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_RestartDevBox.json @@ -1,6 +1,6 @@ { "title": "Restarts a Dev Box", - "operationId": "DevBoxesOperations_RestartDevBox", + "operationId": "DevBoxes_RestartDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_SkipAction.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_SkipAction.json similarity index 88% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_SkipAction.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_SkipAction.json index 1e8552d6bd35..b44cbd7dc65a 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_SkipAction.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_SkipAction.json @@ -1,6 +1,6 @@ { "title": "Skips an occurrence of an action.", - "operationId": "DevBoxesOperations_SkipAction", + "operationId": "DevBoxes_SkipAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_StartDevBox.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_StartDevBox.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_StartDevBox.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_StartDevBox.json index 292e5e1c947a..462358dc151e 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_StartDevBox.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_StartDevBox.json @@ -1,6 +1,6 @@ { "title": "Starts a Dev Box", - "operationId": "DevBoxesOperations_StartDevBox", + "operationId": "DevBoxes_StartDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_StopDevBox.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_StopDevBox.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_StopDevBox.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_StopDevBox.json index b92d1089e864..eb10c60cf0c8 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_StopDevBox.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxes_StopDevBox.json @@ -1,6 +1,6 @@ { "title": "Stops a Dev Box", - "operationId": "DevBoxesOperations_StopDevBox", + "operationId": "DevBoxes_StopDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_GetProject.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_GetProject.json similarity index 87% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_GetProject.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_GetProject.json index fe1a721864bc..cc1f988275f0 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_GetProject.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_GetProject.json @@ -1,6 +1,6 @@ { "title": "Gets a project.", - "operationId": "DevCenterOperations_GetProject", + "operationId": "DevCenter_GetProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxes.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListAllDevBoxes.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxes.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListAllDevBoxes.json index f46feb6ae5fc..490fdc30c11a 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxes.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListAllDevBoxes.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes that the caller has access to in the DevCenter.", - "operationId": "DevCenterOperations_ListAllDevBoxes", + "operationId": "DevCenter_ListAllDevBoxes", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxesByUser.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListAllDevBoxesByUser.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxesByUser.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListAllDevBoxesByUser.json index 922ff40deeac..84afde2e5cae 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxesByUser.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListAllDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the Dev Center for a particular user.", - "operationId": "DevCenterOperations_ListAllDevBoxesByUser", + "operationId": "DevCenter_ListAllDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListProjects.json b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListProjects.json similarity index 88% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListProjects.json rename to specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListProjects.json index 1e7bdde95309..08b5c7d28016 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListProjects.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/DevCenter_ListProjects.json @@ -1,6 +1,6 @@ { "title": "Lists all projects.", - "operationId": "DevCenterOperations_ListProjects", + "operationId": "DevCenter_ListProjects", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com" diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_CreateOrReplaceEnvironment.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_CreateOrReplaceEnvironment.json index 52309bce453c..4fe037bc3d8a 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_CreateOrReplaceEnvironment.json @@ -1,6 +1,6 @@ { "title": "Creates or updates an environment.", - "operationId": "EnvironmentsOperations_CreateOrReplaceEnvironment", + "operationId": "Environments_CreateOrReplaceEnvironment", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_DeleteEnvironment.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_DeleteEnvironment.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_DeleteEnvironment.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_DeleteEnvironment.json index db378d427835..2c6dec31e1f3 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_DeleteEnvironment.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_DeleteEnvironment.json @@ -1,6 +1,6 @@ { "title": "Deletes an environment and all its associated resources", - "operationId": "EnvironmentsOperations_DeleteEnvironment", + "operationId": "Environments_DeleteEnvironment", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetCatalog.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetCatalog.json similarity index 87% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetCatalog.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetCatalog.json index 7d9de8e13786..7a6ccf37974b 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetCatalog.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetCatalog.json @@ -1,6 +1,6 @@ { "title": "Gets the specified catalog within the project", - "operationId": "EnvironmentsOperations_GetCatalog", + "operationId": "Environments_GetCatalog", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentByUser.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetEnvironmentByUser.json similarity index 92% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentByUser.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetEnvironmentByUser.json index 5efe4468be21..2268bb527cb7 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentByUser.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetEnvironmentByUser.json @@ -1,6 +1,6 @@ { "title": "Gets an environment", - "operationId": "EnvironmentsOperations_GetEnvironmentByUser", + "operationId": "Environments_GetEnvironmentByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentDefinition.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetEnvironmentDefinition.json similarity index 96% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentDefinition.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetEnvironmentDefinition.json index e4efa7edea54..e08ddd9df7f6 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetEnvironmentDefinition.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_GetEnvironmentDefinition.json @@ -1,6 +1,6 @@ { "title": "Get an environment definition from a catalog.", - "operationId": "EnvironmentsOperations_GetEnvironmentDefinition", + "operationId": "Environments_GetEnvironmentDefinition", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogsByProject.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListCatalogsByProject.json similarity index 86% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogsByProject.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListCatalogsByProject.json index b8a17d6e414d..d4c4efe8440a 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListCatalogsByProject.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListCatalogsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all of the catalogs available for a project.", - "operationId": "EnvironmentsOperations_ListCatalogsByProject", + "operationId": "Environments_ListCatalogsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentDefinitionsByCatalog.json similarity index 97% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentDefinitionsByCatalog.json index d9c411224b8e..4c021662bf33 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentDefinitionsByCatalog.json @@ -1,6 +1,6 @@ { "title": "Lists all environment definitions available within a catalog.", - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog", + "operationId": "Environments_ListEnvironmentDefinitionsByCatalog", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentDefinitionsByProject.json similarity index 97% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentDefinitionsByProject.json index b922016f656b..ad3f1b05bbe7 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentDefinitionsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all environment definitions available for a project.", - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByProject", + "operationId": "Environments_ListEnvironmentDefinitionsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentTypes.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentTypes.json similarity index 89% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentTypes.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentTypes.json index 83e22df09846..364712b931e0 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentTypes.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentTypes.json @@ -1,6 +1,6 @@ { "title": "Lists all environment types configured for a project.", - "operationId": "EnvironmentsOperations_ListEnvironmentTypes", + "operationId": "Environments_ListEnvironmentTypes", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironments.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironments.json similarity index 93% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironments.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironments.json index 9ef4963163bf..dbee94d1a1ea 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironments.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironments.json @@ -1,6 +1,6 @@ { "title": "Lists the environments for a project.", - "operationId": "EnvironmentsOperations_ListEnvironments", + "operationId": "Environments_ListEnvironments", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentsByUser.json b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentsByUser.json similarity index 93% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentsByUser.json rename to specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentsByUser.json index 878bcb8898cf..6d34c99ca04a 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentsByUser.json +++ b/specification/devcenter/DevCenter/examples/2023-04-01/Environments_ListEnvironmentsByUser.json @@ -1,6 +1,6 @@ { "title": "Lists the environments for a project and user.", - "operationId": "EnvironmentsOperations_ListEnvironmentsByUser", + "operationId": "Environments_ListEnvironmentsByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/python-client.tsp b/specification/devcenter/DevCenter/python-client.tsp index 8f030b23cb27..34cdaa2a9f7f 100644 --- a/specification/devcenter/DevCenter/python-client.tsp +++ b/specification/devcenter/DevCenter/python-client.tsp @@ -16,42 +16,42 @@ namespace PythonSdkCustomizations; }) interface DevCenterClientOperations { //DevCenters - listProjects is DevCenterService.DevCenterOperations.listProjects; - getProject is DevCenterService.DevCenterOperations.getProject; + listProjects is DevCenterService.DevCenter.listProjects; + getProject is DevCenterService.DevCenter.getProject; //DevBoxes - listPools is DevCenterService.DevBoxesOperations.listPools; - getPool is DevCenterService.DevBoxesOperations.getPool; - listSchedules is DevCenterService.DevBoxesOperations.listSchedulesByPool; - getSchedule is DevCenterService.DevBoxesOperations.getScheduleByPool; - listAllDevBoxes is DevCenterService.DevCenterOperations.listAllDevBoxes; - listAllDevBoxesByUser is DevCenterService.DevCenterOperations.listAllDevBoxesByUser; - listDevBoxes is DevCenterService.DevBoxesOperations.listDevBoxesByUser; - getDevBox is DevCenterService.DevBoxesOperations.getDevBoxByUser; - createDevBox is DevCenterService.DevBoxesOperations.createDevBox; - deleteDevBox is DevCenterService.DevBoxesOperations.deleteDevBox; - startDevBox is DevCenterService.DevBoxesOperations.startDevBox; - stopDevBox is DevCenterService.DevBoxesOperations.stopDevBox; - restartDevBox is DevCenterService.DevBoxesOperations.restartDevBox; - getRemoteConnection is DevCenterService.DevBoxesOperations.getRemoteConnection; - listDevBoxActions is DevCenterService.DevBoxesOperations.listActions; - getDevBoxAction is DevCenterService.DevBoxesOperations.getAction; - skipDevBoxAction is DevCenterService.DevBoxesOperations.skipAction; - delayDevBoxAction is DevCenterService.DevBoxesOperations.delayAction; - delayAllDevBoxActions is DevCenterService.DevBoxesOperations.delayActions; + listPools is DevCenterService.DevBoxes.listPools; + getPool is DevCenterService.DevBoxes.getPool; + listSchedules is DevCenterService.DevBoxes.listSchedulesByPool; + getSchedule is DevCenterService.DevBoxes.getScheduleByPool; + listAllDevBoxes is DevCenterService.DevCenter.listAllDevBoxes; + listAllDevBoxesByUser is DevCenterService.DevCenter.listAllDevBoxesByUser; + listDevBoxes is DevCenterService.DevBoxes.listDevBoxesByUser; + getDevBox is DevCenterService.DevBoxes.getDevBoxByUser; + createDevBox is DevCenterService.DevBoxes.createDevBox; + deleteDevBox is DevCenterService.DevBoxes.deleteDevBox; + startDevBox is DevCenterService.DevBoxes.startDevBox; + stopDevBox is DevCenterService.DevBoxes.stopDevBox; + restartDevBox is DevCenterService.DevBoxes.restartDevBox; + getRemoteConnection is DevCenterService.DevBoxes.getRemoteConnection; + listDevBoxActions is DevCenterService.DevBoxes.listActions; + getDevBoxAction is DevCenterService.DevBoxes.getAction; + skipDevBoxAction is DevCenterService.DevBoxes.skipAction; + delayDevBoxAction is DevCenterService.DevBoxes.delayAction; + delayAllDevBoxActions is DevCenterService.DevBoxes.delayActions; //Environments - listAllEnvironments is DevCenterService.EnvironmentsOperations.listEnvironments; - listEnvironments is DevCenterService.EnvironmentsOperations.listEnvironmentsByUser; - getEnvironment is DevCenterService.EnvironmentsOperations.getEnvironmentByUser; - createOrUpdateEnvironment is DevCenterService.EnvironmentsOperations.createOrReplaceEnvironment; - deleteEnvironment is DevCenterService.EnvironmentsOperations.deleteEnvironment; - listCatalogs is DevCenterService.EnvironmentsOperations.listCatalogsByProject; - getCatalog is DevCenterService.EnvironmentsOperations.getCatalog; - listEnvironmentDefinitions is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByProject; - listEnvironmentDefinitionsByCatalog is DevCenterService.EnvironmentsOperations.listEnvironmentDefinitionsByCatalog; - getEnvironmentDefinition is DevCenterService.EnvironmentsOperations.getEnvironmentDefinition; - listEnvironmentTypes is DevCenterService.EnvironmentsOperations.listEnvironmentTypes; + listAllEnvironments is DevCenterService.Environments.listEnvironments; + listEnvironments is DevCenterService.Environments.listEnvironmentsByUser; + getEnvironment is DevCenterService.Environments.getEnvironmentByUser; + createOrUpdateEnvironment is DevCenterService.Environments.createOrReplaceEnvironment; + deleteEnvironment is DevCenterService.Environments.deleteEnvironment; + listCatalogs is DevCenterService.Environments.listCatalogsByProject; + getCatalog is DevCenterService.Environments.getCatalog; + listEnvironmentDefinitions is DevCenterService.Environments.listEnvironmentDefinitionsByProject; + listEnvironmentDefinitionsByCatalog is DevCenterService.Environments.listEnvironmentDefinitionsByCatalog; + getEnvironmentDefinition is DevCenterService.Environments.getEnvironmentDefinition; + listEnvironmentTypes is DevCenterService.Environments.listEnvironmentTypes; } @@projectedName(DevCenterService.LocalAdminStatus, diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json index 02088d0ba183..9a5b1b2b71b5 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devcenter.json @@ -53,7 +53,7 @@ "paths": { "/devboxes": { "get": { - "operationId": "DevCenterOperations_ListAllDevBoxes", + "operationId": "DevCenter_ListAllDevBoxes", "description": "Lists Dev Boxes that the caller has access to in the DevCenter.", "parameters": [ { @@ -82,7 +82,7 @@ }, "x-ms-examples": { "Lists Dev Boxes that the caller has access to in the DevCenter.": { - "$ref": "./examples/DevCenterOperations_ListAllDevBoxes.json" + "$ref": "./examples/DevCenter_ListAllDevBoxes.json" } }, "x-ms-pageable": { @@ -92,7 +92,7 @@ }, "/projects": { "get": { - "operationId": "DevCenterOperations_ListProjects", + "operationId": "DevCenter_ListProjects", "description": "Lists all projects.", "parameters": [ { @@ -121,7 +121,7 @@ }, "x-ms-examples": { "Lists all projects.": { - "$ref": "./examples/DevCenterOperations_ListProjects.json" + "$ref": "./examples/DevCenter_ListProjects.json" } }, "x-ms-pageable": { @@ -131,7 +131,7 @@ }, "/projects/{projectName}": { "get": { - "operationId": "DevCenterOperations_GetProject", + "operationId": "DevCenter_GetProject", "description": "Gets a project.", "parameters": [ { @@ -170,14 +170,14 @@ }, "x-ms-examples": { "Gets a project.": { - "$ref": "./examples/DevCenterOperations_GetProject.json" + "$ref": "./examples/DevCenter_GetProject.json" } } } }, "/projects/{projectName}/catalogs": { "get": { - "operationId": "EnvironmentsOperations_ListCatalogsByProject", + "operationId": "Environments_ListCatalogsByProject", "description": "Lists all of the catalogs available for a project.", "parameters": [ { @@ -216,7 +216,7 @@ }, "x-ms-examples": { "Lists all of the catalogs available for a project.": { - "$ref": "./examples/EnvironmentsOperations_ListCatalogsByProject.json" + "$ref": "./examples/Environments_ListCatalogsByProject.json" } }, "x-ms-pageable": { @@ -226,7 +226,7 @@ }, "/projects/{projectName}/catalogs/{catalogName}": { "get": { - "operationId": "EnvironmentsOperations_GetCatalog", + "operationId": "Environments_GetCatalog", "description": "Gets the specified catalog within the project", "parameters": [ { @@ -275,14 +275,14 @@ }, "x-ms-examples": { "Gets the specified catalog within the project": { - "$ref": "./examples/EnvironmentsOperations_GetCatalog.json" + "$ref": "./examples/Environments_GetCatalog.json" } } } }, "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions": { "get": { - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog", + "operationId": "Environments_ListEnvironmentDefinitionsByCatalog", "description": "Lists all environment definitions available within a catalog.", "parameters": [ { @@ -325,7 +325,7 @@ }, "x-ms-examples": { "Lists all environment definitions available within a catalog.": { - "$ref": "./examples/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json" + "$ref": "./examples/Environments_ListEnvironmentDefinitionsByCatalog.json" } }, "x-ms-pageable": { @@ -335,7 +335,7 @@ }, "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}": { "get": { - "operationId": "EnvironmentsOperations_GetEnvironmentDefinition", + "operationId": "Environments_GetEnvironmentDefinition", "description": "Get an environment definition from a catalog.", "parameters": [ { @@ -394,14 +394,14 @@ }, "x-ms-examples": { "Get an environment definition from a catalog.": { - "$ref": "./examples/EnvironmentsOperations_GetEnvironmentDefinition.json" + "$ref": "./examples/Environments_GetEnvironmentDefinition.json" } } } }, "/projects/{projectName}/environmentDefinitions": { "get": { - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByProject", + "operationId": "Environments_ListEnvironmentDefinitionsByProject", "description": "Lists all environment definitions available for a project.", "parameters": [ { @@ -437,7 +437,7 @@ }, "x-ms-examples": { "Lists all environment definitions available for a project.": { - "$ref": "./examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json" + "$ref": "./examples/Environments_ListEnvironmentDefinitionsByProject.json" } }, "x-ms-pageable": { @@ -447,7 +447,7 @@ }, "/projects/{projectName}/environmentTypes": { "get": { - "operationId": "EnvironmentsOperations_ListEnvironmentTypes", + "operationId": "Environments_ListEnvironmentTypes", "description": "Lists all environment types configured for a project.", "parameters": [ { @@ -483,7 +483,7 @@ }, "x-ms-examples": { "Lists all environment types configured for a project.": { - "$ref": "./examples/EnvironmentsOperations_ListEnvironmentTypes.json" + "$ref": "./examples/Environments_ListEnvironmentTypes.json" } }, "x-ms-pageable": { @@ -493,7 +493,7 @@ }, "/projects/{projectName}/environments": { "get": { - "operationId": "EnvironmentsOperations_ListEnvironments", + "operationId": "Environments_ListEnvironments", "description": "Lists the environments for a project.", "parameters": [ { @@ -529,7 +529,7 @@ }, "x-ms-examples": { "Lists the environments for a project.": { - "$ref": "./examples/EnvironmentsOperations_ListEnvironments.json" + "$ref": "./examples/Environments_ListEnvironments.json" } }, "x-ms-pageable": { @@ -592,7 +592,7 @@ }, "/projects/{projectName}/pools": { "get": { - "operationId": "DevBoxesOperations_ListPools", + "operationId": "DevBoxes_ListPools", "description": "Lists available pools", "parameters": [ { @@ -631,7 +631,7 @@ }, "x-ms-examples": { "Lists available pools": { - "$ref": "./examples/DevBoxesOperations_ListPools.json" + "$ref": "./examples/DevBoxes_ListPools.json" } }, "x-ms-pageable": { @@ -641,7 +641,7 @@ }, "/projects/{projectName}/pools/{poolName}": { "get": { - "operationId": "DevBoxesOperations_GetPool", + "operationId": "DevBoxes_GetPool", "description": "Gets a pool", "parameters": [ { @@ -687,14 +687,14 @@ }, "x-ms-examples": { "Gets a pool": { - "$ref": "./examples/DevBoxesOperations_GetPool.json" + "$ref": "./examples/DevBoxes_GetPool.json" } } } }, "/projects/{projectName}/pools/{poolName}/schedules": { "get": { - "operationId": "DevBoxesOperations_ListSchedulesByPool", + "operationId": "DevBoxes_ListSchedulesByPool", "description": "Lists available schedules for a pool.", "parameters": [ { @@ -740,7 +740,7 @@ }, "x-ms-examples": { "Lists available schedules for a pool.": { - "$ref": "./examples/DevBoxesOperations_ListSchedulesByPool.json" + "$ref": "./examples/DevBoxes_ListSchedulesByPool.json" } }, "x-ms-pageable": { @@ -750,7 +750,7 @@ }, "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}": { "get": { - "operationId": "DevBoxesOperations_GetScheduleByPool", + "operationId": "DevBoxes_GetScheduleByPool", "description": "Gets a schedule.", "parameters": [ { @@ -803,14 +803,14 @@ }, "x-ms-examples": { "Gets a schedule.": { - "$ref": "./examples/DevBoxesOperations_GetScheduleByPool.json" + "$ref": "./examples/DevBoxes_GetScheduleByPool.json" } } } }, "/projects/{projectName}/users/{userId}/devboxes": { "get": { - "operationId": "DevBoxesOperations_ListDevBoxesByUser", + "operationId": "DevBoxes_ListDevBoxesByUser", "description": "Lists Dev Boxes in the project for a particular user.", "parameters": [ { @@ -853,7 +853,7 @@ }, "x-ms-examples": { "Lists Dev Boxes in the project for a particular user.": { - "$ref": "./examples/DevBoxesOperations_ListDevBoxesByUser.json" + "$ref": "./examples/DevBoxes_ListDevBoxesByUser.json" } }, "x-ms-pageable": { @@ -863,7 +863,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}": { "get": { - "operationId": "DevBoxesOperations_GetDevBoxByUser", + "operationId": "DevBoxes_GetDevBoxByUser", "description": "Gets a Dev Box", "parameters": [ { @@ -922,12 +922,12 @@ }, "x-ms-examples": { "Gets a Dev Box": { - "$ref": "./examples/DevBoxesOperations_GetDevBoxByUser.json" + "$ref": "./examples/DevBoxes_GetDevBoxByUser.json" } } }, "put": { - "operationId": "DevBoxesOperations_CreateDevBox", + "operationId": "DevBoxes_CreateDevBox", "description": "Creates or replaces a Dev Box.", "parameters": [ { @@ -1002,13 +1002,13 @@ }, "x-ms-examples": { "Creates or replaces a Dev Box.": { - "$ref": "./examples/DevBoxesOperations_CreateDevBox.json" + "$ref": "./examples/DevBoxes_CreateDevBox.json" } }, "x-ms-long-running-operation": true }, "delete": { - "operationId": "DevBoxesOperations_DeleteDevBox", + "operationId": "DevBoxes_DeleteDevBox", "description": "Deletes a Dev Box.", "parameters": [ { @@ -1069,7 +1069,7 @@ }, "x-ms-examples": { "Deletes a Dev Box.": { - "$ref": "./examples/DevBoxesOperations_DeleteDevBox.json" + "$ref": "./examples/DevBoxes_DeleteDevBox.json" } }, "x-ms-long-running-operation": true @@ -1077,7 +1077,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start": { "post": { - "operationId": "DevBoxesOperations_StartDevBox", + "operationId": "DevBoxes_StartDevBox", "description": "Starts a Dev Box", "parameters": [ { @@ -1143,7 +1143,7 @@ }, "x-ms-examples": { "Starts a Dev Box": { - "$ref": "./examples/DevBoxesOperations_StartDevBox.json" + "$ref": "./examples/DevBoxes_StartDevBox.json" } }, "x-ms-long-running-operation": true @@ -1151,7 +1151,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop": { "post": { - "operationId": "DevBoxesOperations_StopDevBox", + "operationId": "DevBoxes_StopDevBox", "description": "Stops a Dev Box", "parameters": [ { @@ -1224,7 +1224,7 @@ }, "x-ms-examples": { "Stops a Dev Box": { - "$ref": "./examples/DevBoxesOperations_StopDevBox.json" + "$ref": "./examples/DevBoxes_StopDevBox.json" } }, "x-ms-long-running-operation": true @@ -1232,7 +1232,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart": { "post": { - "operationId": "DevBoxesOperations_RestartDevBox", + "operationId": "DevBoxes_RestartDevBox", "description": "Restarts a Dev Box", "parameters": [ { @@ -1298,7 +1298,7 @@ }, "x-ms-examples": { "Restarts a Dev Box": { - "$ref": "./examples/DevBoxesOperations_RestartDevBox.json" + "$ref": "./examples/DevBoxes_RestartDevBox.json" } }, "x-ms-long-running-operation": true @@ -1306,7 +1306,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions": { "get": { - "operationId": "DevBoxesOperations_ListActions", + "operationId": "DevBoxes_ListActions", "description": "Lists actions on a Dev Box.", "parameters": [ { @@ -1365,7 +1365,7 @@ }, "x-ms-examples": { "Lists actions on a Dev Box.": { - "$ref": "./examples/DevBoxesOperations_ListActions.json" + "$ref": "./examples/DevBoxes_ListActions.json" } }, "x-ms-pageable": { @@ -1375,7 +1375,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}": { "get": { - "operationId": "DevBoxesOperations_GetAction", + "operationId": "DevBoxes_GetAction", "description": "Gets an action.", "parameters": [ { @@ -1444,14 +1444,14 @@ }, "x-ms-examples": { "Gets an action.": { - "$ref": "./examples/DevBoxesOperations_GetAction.json" + "$ref": "./examples/DevBoxes_GetAction.json" } } } }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip": { "post": { - "operationId": "DevBoxesOperations_SkipAction", + "operationId": "DevBoxes_SkipAction", "description": "Skips an occurrence of an action.", "parameters": [ { @@ -1517,14 +1517,14 @@ }, "x-ms-examples": { "Skips an occurrence of an action.": { - "$ref": "./examples/DevBoxesOperations_SkipAction.json" + "$ref": "./examples/DevBoxes_SkipAction.json" } } } }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:delay": { "post": { - "operationId": "DevBoxesOperations_DelayAction", + "operationId": "DevBoxes_DelayAction", "description": "Delays the occurrence of an action.", "parameters": [ { @@ -1602,14 +1602,14 @@ }, "x-ms-examples": { "Delays the occurrence of an action.": { - "$ref": "./examples/DevBoxesOperations_DelayAction.json" + "$ref": "./examples/DevBoxes_DelayAction.json" } } } }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay": { "post": { - "operationId": "DevBoxesOperations_DelayActions", + "operationId": "DevBoxes_DelayActions", "description": "Delays all actions.", "parameters": [ { @@ -1677,7 +1677,7 @@ }, "x-ms-examples": { "Delays all actions.": { - "$ref": "./examples/DevBoxesOperations_DelayActions.json" + "$ref": "./examples/DevBoxes_DelayActions.json" } }, "x-ms-pageable": { @@ -1687,7 +1687,7 @@ }, "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection": { "get": { - "operationId": "DevBoxesOperations_GetRemoteConnection", + "operationId": "DevBoxes_GetRemoteConnection", "description": "Gets RDP Connection info", "parameters": [ { @@ -1737,14 +1737,14 @@ }, "x-ms-examples": { "Gets RDP Connection info": { - "$ref": "./examples/DevBoxesOperations_GetRemoteConnection.json" + "$ref": "./examples/DevBoxes_GetRemoteConnection.json" } } } }, "/projects/{projectName}/users/{userId}/environments": { "get": { - "operationId": "EnvironmentsOperations_ListEnvironmentsByUser", + "operationId": "Environments_ListEnvironmentsByUser", "description": "Lists the environments for a project and user.", "parameters": [ { @@ -1787,7 +1787,7 @@ }, "x-ms-examples": { "Lists the environments for a project and user.": { - "$ref": "./examples/EnvironmentsOperations_ListEnvironmentsByUser.json" + "$ref": "./examples/Environments_ListEnvironmentsByUser.json" } }, "x-ms-pageable": { @@ -1797,7 +1797,7 @@ }, "/projects/{projectName}/users/{userId}/environments/{environmentName}": { "get": { - "operationId": "EnvironmentsOperations_GetEnvironmentByUser", + "operationId": "Environments_GetEnvironmentByUser", "description": "Gets an environment", "parameters": [ { @@ -1856,12 +1856,12 @@ }, "x-ms-examples": { "Gets an environment": { - "$ref": "./examples/EnvironmentsOperations_GetEnvironmentByUser.json" + "$ref": "./examples/Environments_GetEnvironmentByUser.json" } } }, "put": { - "operationId": "EnvironmentsOperations_CreateOrReplaceEnvironment", + "operationId": "Environments_CreateOrReplaceEnvironment", "description": "Creates or updates an environment.", "parameters": [ { @@ -1925,13 +1925,13 @@ }, "x-ms-examples": { "Creates or updates an environment.": { - "$ref": "./examples/EnvironmentsOperations_CreateOrReplaceEnvironment.json" + "$ref": "./examples/Environments_CreateOrReplaceEnvironment.json" } }, "x-ms-long-running-operation": true }, "delete": { - "operationId": "EnvironmentsOperations_DeleteEnvironment", + "operationId": "Environments_DeleteEnvironment", "description": "Deletes an environment and all its associated resources", "parameters": [ { @@ -1992,7 +1992,7 @@ }, "x-ms-examples": { "Deletes an environment and all its associated resources": { - "$ref": "./examples/EnvironmentsOperations_DeleteEnvironment.json" + "$ref": "./examples/Environments_DeleteEnvironment.json" } }, "x-ms-long-running-operation": true @@ -2000,7 +2000,7 @@ }, "/users/{userId}/devboxes": { "get": { - "operationId": "DevCenterOperations_ListAllDevBoxesByUser", + "operationId": "DevCenter_ListAllDevBoxesByUser", "description": "Lists Dev Boxes in the Dev Center for a particular user.", "parameters": [ { @@ -2036,7 +2036,7 @@ }, "x-ms-examples": { "Lists Dev Boxes in the Dev Center for a particular user.": { - "$ref": "./examples/DevCenterOperations_ListAllDevBoxesByUser.json" + "$ref": "./examples/DevCenter_ListAllDevBoxesByUser.json" } }, "x-ms-pageable": { diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_CreateDevBox.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_CreateDevBox.json similarity index 97% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_CreateDevBox.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_CreateDevBox.json index f51bad1c0086..c7e4037d4b1d 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_CreateDevBox.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_CreateDevBox.json @@ -1,6 +1,6 @@ { "title": "Creates or replaces a Dev Box.", - "operationId": "DevBoxesOperations_CreateDevBox", + "operationId": "DevBoxes_CreateDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayAction.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DelayAction.json similarity index 93% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayAction.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DelayAction.json index db7107cfc6bc..6a5868c5ec6f 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_DelayAction.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DelayAction.json @@ -1,6 +1,6 @@ { "title": "Delays the occurrence of an action.", - "operationId": "DevBoxesOperations_DelayAction", + "operationId": "DevBoxes_DelayAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DelayActions.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DelayActions.json index 7fd6d0b2f035..4a262b90f9a4 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DelayActions.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DelayActions.json @@ -1,6 +1,6 @@ { "title": "Delays all actions.", - "operationId": "DevBoxesOperations_DelayActions", + "operationId": "DevBoxes_DelayActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DeleteDevBox.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DeleteDevBox.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DeleteDevBox.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DeleteDevBox.json index 4843a80ed6c9..bf47f4e2ece2 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_DeleteDevBox.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_DeleteDevBox.json @@ -1,6 +1,6 @@ { "title": "Deletes a Dev Box.", - "operationId": "DevBoxesOperations_DeleteDevBox", + "operationId": "DevBoxes_DeleteDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetAction.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetAction.json similarity index 92% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetAction.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetAction.json index ed2885df1c16..b876055179ad 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_GetAction.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetAction.json @@ -1,6 +1,6 @@ { "title": "Gets an action.", - "operationId": "DevBoxesOperations_GetAction", + "operationId": "DevBoxes_GetAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetDevBoxByUser.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetDevBoxByUser.json index 8e679660c8a0..d4c50766da3f 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetDevBoxByUser.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetDevBoxByUser.json @@ -1,6 +1,6 @@ { "title": "Gets a Dev Box", - "operationId": "DevBoxesOperations_GetDevBoxByUser", + "operationId": "DevBoxes_GetDevBoxByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetPool.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetPool.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetPool.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetPool.json index 7b53a6ac96b4..3bd532947546 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetPool.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetPool.json @@ -1,6 +1,6 @@ { "title": "Gets a pool", - "operationId": "DevBoxesOperations_GetPool", + "operationId": "DevBoxes_GetPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetRemoteConnection.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetRemoteConnection.json similarity index 87% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetRemoteConnection.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetRemoteConnection.json index a01b7df571fd..3ff9f5a30770 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetRemoteConnection.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetRemoteConnection.json @@ -1,6 +1,6 @@ { "title": "Gets RDP Connection info", - "operationId": "DevBoxesOperations_GetRemoteConnection", + "operationId": "DevBoxes_GetRemoteConnection", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetScheduleByPool.json similarity index 89% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetScheduleByPool.json index 5daba5a7ff0a..24b194ccf289 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_GetScheduleByPool.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_GetScheduleByPool.json @@ -1,6 +1,6 @@ { "title": "Gets a schedule.", - "operationId": "DevBoxesOperations_GetScheduleByPool", + "operationId": "DevBoxes_GetScheduleByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListActions.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListActions.json similarity index 94% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListActions.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListActions.json index 5681b4ad7f38..cb83e457ecd9 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_ListActions.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListActions.json @@ -1,6 +1,6 @@ { "title": "Lists actions on a Dev Box.", - "operationId": "DevBoxesOperations_ListActions", + "operationId": "DevBoxes_ListActions", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxesByUser.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListDevBoxesByUser.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxesByUser.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListDevBoxesByUser.json index edff509ca42f..7d0056e0593e 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListDevBoxesByUser.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the project for a particular user.", - "operationId": "DevBoxesOperations_ListDevBoxesByUser", + "operationId": "DevBoxes_ListDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListPools.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListPools.json similarity index 97% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListPools.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListPools.json index 42c39b484d20..f31808873991 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListPools.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListPools.json @@ -1,6 +1,6 @@ { "title": "Lists available pools", - "operationId": "DevBoxesOperations_ListPools", + "operationId": "DevBoxes_ListPools", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedulesByPool.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListSchedulesByPool.json similarity index 90% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedulesByPool.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListSchedulesByPool.json index c6deea376ad1..1f97f0f41fe7 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_ListSchedulesByPool.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_ListSchedulesByPool.json @@ -1,6 +1,6 @@ { "title": "Lists available schedules for a pool.", - "operationId": "DevBoxesOperations_ListSchedulesByPool", + "operationId": "DevBoxes_ListSchedulesByPool", "parameters": { "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", "projectName": "myProject", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_RestartDevBox.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_RestartDevBox.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_RestartDevBox.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_RestartDevBox.json index 3c0e55515dd6..f9abacb1d881 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_RestartDevBox.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_RestartDevBox.json @@ -1,6 +1,6 @@ { "title": "Restarts a Dev Box", - "operationId": "DevBoxesOperations_RestartDevBox", + "operationId": "DevBoxes_RestartDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_SkipAction.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_SkipAction.json similarity index 88% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_SkipAction.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_SkipAction.json index 1e8552d6bd35..b44cbd7dc65a 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_SkipAction.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_SkipAction.json @@ -1,6 +1,6 @@ { "title": "Skips an occurrence of an action.", - "operationId": "DevBoxesOperations_SkipAction", + "operationId": "DevBoxes_SkipAction", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_StartDevBox.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_StartDevBox.json similarity index 95% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_StartDevBox.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_StartDevBox.json index 292e5e1c947a..462358dc151e 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxesOperations_StartDevBox.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_StartDevBox.json @@ -1,6 +1,6 @@ { "title": "Starts a Dev Box", - "operationId": "DevBoxesOperations_StartDevBox", + "operationId": "DevBoxes_StartDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_StopDevBox.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_StopDevBox.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_StopDevBox.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_StopDevBox.json index b92d1089e864..eb10c60cf0c8 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevBoxesOperations_StopDevBox.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxes_StopDevBox.json @@ -1,6 +1,6 @@ { "title": "Stops a Dev Box", - "operationId": "DevBoxesOperations_StopDevBox", + "operationId": "DevBoxes_StopDevBox", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_GetProject.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_GetProject.json similarity index 87% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_GetProject.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_GetProject.json index fe1a721864bc..cc1f988275f0 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_GetProject.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_GetProject.json @@ -1,6 +1,6 @@ { "title": "Gets a project.", - "operationId": "DevCenterOperations_GetProject", + "operationId": "DevCenter_GetProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxes.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListAllDevBoxes.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxes.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListAllDevBoxes.json index f46feb6ae5fc..490fdc30c11a 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListAllDevBoxes.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListAllDevBoxes.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes that the caller has access to in the DevCenter.", - "operationId": "DevCenterOperations_ListAllDevBoxes", + "operationId": "DevCenter_ListAllDevBoxes", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxesByUser.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListAllDevBoxesByUser.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxesByUser.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListAllDevBoxesByUser.json index 922ff40deeac..84afde2e5cae 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenterOperations_ListAllDevBoxesByUser.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListAllDevBoxesByUser.json @@ -1,6 +1,6 @@ { "title": "Lists Dev Boxes in the Dev Center for a particular user.", - "operationId": "DevCenterOperations_ListAllDevBoxesByUser", + "operationId": "DevCenter_ListAllDevBoxesByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListProjects.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListProjects.json similarity index 88% rename from specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListProjects.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListProjects.json index 1e7bdde95309..08b5c7d28016 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/DevCenterOperations_ListProjects.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenter_ListProjects.json @@ -1,6 +1,6 @@ { "title": "Lists all projects.", - "operationId": "DevCenterOperations_ListProjects", + "operationId": "DevCenter_ListProjects", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com" diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrReplaceEnvironment.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_CreateOrReplaceEnvironment.json similarity index 95% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrReplaceEnvironment.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_CreateOrReplaceEnvironment.json index 52309bce453c..4fe037bc3d8a 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_CreateOrReplaceEnvironment.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_CreateOrReplaceEnvironment.json @@ -1,6 +1,6 @@ { "title": "Creates or updates an environment.", - "operationId": "EnvironmentsOperations_CreateOrReplaceEnvironment", + "operationId": "Environments_CreateOrReplaceEnvironment", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_DeleteEnvironment.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_DeleteEnvironment.json similarity index 94% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_DeleteEnvironment.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_DeleteEnvironment.json index db378d427835..2c6dec31e1f3 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_DeleteEnvironment.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_DeleteEnvironment.json @@ -1,6 +1,6 @@ { "title": "Deletes an environment and all its associated resources", - "operationId": "EnvironmentsOperations_DeleteEnvironment", + "operationId": "Environments_DeleteEnvironment", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetCatalog.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetCatalog.json similarity index 87% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetCatalog.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetCatalog.json index 7d9de8e13786..7a6ccf37974b 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_GetCatalog.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetCatalog.json @@ -1,6 +1,6 @@ { "title": "Gets the specified catalog within the project", - "operationId": "EnvironmentsOperations_GetCatalog", + "operationId": "Environments_GetCatalog", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentByUser.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetEnvironmentByUser.json similarity index 92% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentByUser.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetEnvironmentByUser.json index 5efe4468be21..2268bb527cb7 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentByUser.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetEnvironmentByUser.json @@ -1,6 +1,6 @@ { "title": "Gets an environment", - "operationId": "EnvironmentsOperations_GetEnvironmentByUser", + "operationId": "Environments_GetEnvironmentByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentDefinition.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetEnvironmentDefinition.json similarity index 96% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentDefinition.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetEnvironmentDefinition.json index e4efa7edea54..e08ddd9df7f6 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_GetEnvironmentDefinition.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_GetEnvironmentDefinition.json @@ -1,6 +1,6 @@ { "title": "Get an environment definition from a catalog.", - "operationId": "EnvironmentsOperations_GetEnvironmentDefinition", + "operationId": "Environments_GetEnvironmentDefinition", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogsByProject.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListCatalogsByProject.json similarity index 86% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogsByProject.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListCatalogsByProject.json index b8a17d6e414d..d4c4efe8440a 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListCatalogsByProject.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListCatalogsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all of the catalogs available for a project.", - "operationId": "EnvironmentsOperations_ListCatalogsByProject", + "operationId": "Environments_ListCatalogsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentDefinitionsByCatalog.json similarity index 97% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentDefinitionsByCatalog.json index d9c411224b8e..4c021662bf33 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentDefinitionsByCatalog.json @@ -1,6 +1,6 @@ { "title": "Lists all environment definitions available within a catalog.", - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByCatalog", + "operationId": "Environments_ListEnvironmentDefinitionsByCatalog", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentDefinitionsByProject.json similarity index 97% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentDefinitionsByProject.json index b922016f656b..ad3f1b05bbe7 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentDefinitionsByProject.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentDefinitionsByProject.json @@ -1,6 +1,6 @@ { "title": "Lists all environment definitions available for a project.", - "operationId": "EnvironmentsOperations_ListEnvironmentDefinitionsByProject", + "operationId": "Environments_ListEnvironmentDefinitionsByProject", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentTypes.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentTypes.json similarity index 89% rename from specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentTypes.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentTypes.json index 83e22df09846..364712b931e0 100644 --- a/specification/devcenter/DevCenter/examples/2023-04-01/EnvironmentsOperations_ListEnvironmentTypes.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentTypes.json @@ -1,6 +1,6 @@ { "title": "Lists all environment types configured for a project.", - "operationId": "EnvironmentsOperations_ListEnvironmentTypes", + "operationId": "Environments_ListEnvironmentTypes", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironments.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironments.json similarity index 93% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironments.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironments.json index 9ef4963163bf..dbee94d1a1ea 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironments.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironments.json @@ -1,6 +1,6 @@ { "title": "Lists the environments for a project.", - "operationId": "EnvironmentsOperations_ListEnvironments", + "operationId": "Environments_ListEnvironments", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentsByUser.json b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentsByUser.json similarity index 93% rename from specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentsByUser.json rename to specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentsByUser.json index 878bcb8898cf..6d34c99ca04a 100644 --- a/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentsOperations_ListEnvironmentsByUser.json +++ b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/examples/Environments_ListEnvironmentsByUser.json @@ -1,6 +1,6 @@ { "title": "Lists the environments for a project and user.", - "operationId": "EnvironmentsOperations_ListEnvironmentsByUser", + "operationId": "Environments_ListEnvironmentsByUser", "parameters": { "api-version": "2023-04-01", "endpoint": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/", From c818fcac9ae58d2c7bacfd568c50df9242e324b1 Mon Sep 17 00:00:00 2001 From: Driele Neves Ribeiro Date: Wed, 20 Mar 2024 11:03:30 -0700 Subject: [PATCH 6/6] Add suppress for OperationIdNounVerb --- specification/devcenter/data-plane/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/devcenter/data-plane/readme.md b/specification/devcenter/data-plane/readme.md index 1a2a95ddb94e..165301f3859c 100644 --- a/specification/devcenter/data-plane/readme.md +++ b/specification/devcenter/data-plane/readme.md @@ -101,6 +101,8 @@ input-file: directive: - suppress: HostParametersValidation reason: Requires URL format for endpoint params, which violates R2003 and causes problems with codegen + - suppress: OperationIdNounVerb + reason: DevBoxes and Environments are operations with multiple models. ``` ### Tag: 2023-01-01-preview