diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_Create.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_Create.json new file mode 100644 index 000000000000..0a6fdffc481b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_Create.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "body": { + "properties": { + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/devcenters/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-uswest3", + "properties": { + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/devcenters/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-uswest3", + "properties": { + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AttachedNetworks_CreateOrUpdate", + "title": "AttachedNetworks_Create" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_Delete.json new file mode 100644 index 000000000000..5b952be825f6 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "AttachedNetworks_Delete", + "title": "AttachedNetworks_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_GetByDevCenter.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_GetByDevCenter.json new file mode 100644 index 000000000000..531e90de6272 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_GetByDevCenter.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/devcenters/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-uswest3", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Created" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AttachedNetworks_GetByDevCenter", + "title": "AttachedNetworks_GetByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_GetByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_GetByProject.json new file mode 100644 index 000000000000..1c252932a0da --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_GetByProject.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/projects/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/attachednetworks/network-uswest3", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Created" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AttachedNetworks_GetByProject", + "title": "AttachedNetworks_GetByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_ListByDevCenter.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_ListByDevCenter.json new file mode 100644 index 000000000000..4f64a5bd1f43 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_ListByDevCenter.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "netmap1", + "type": "Microsoft.DevCenter/devcenters/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/netmap1", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "Application" + } + }, + { + "name": "netmap2", + "type": "Microsoft.DevCenter/devcenters/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/netmap2", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AttachedNetworks_ListByDevCenter", + "title": "AttachedNetworks_ListByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_ListByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_ListByProject.json new file mode 100644 index 000000000000..dffbf17fde1d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/AttachedNetworks_ListByProject.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "netmap1", + "type": "Microsoft.DevCenter/projects/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/attachednetworks/netmap1", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "Application" + } + }, + { + "name": "netmap2", + "type": "Microsoft.DevCenter/projects/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/attachednetworks/netmap2", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AttachedNetworks_ListByProject", + "title": "AttachedNetworks_ListByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Connect.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Connect.json new file mode 100644 index 000000000000..0878d684f917 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Connect.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Catalogs_Connect", + "title": "Catalogs_Connect" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_CreateAdo.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_CreateAdo.json new file mode 100644 index 000000000000..5d92ec895bd9 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_CreateAdo.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + } + }, + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Catalogs_CreateOrUpdate", + "title": "Catalogs_CreateOrUpdateAdo" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_CreateGitHub.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_CreateGitHub.json new file mode 100644 index 000000000000..963f6fd54f83 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_CreateGitHub.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "syncType": "Manual", + "autoImageBuildEnableStatus": "Enabled" + } + }, + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Manual", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Manual", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Catalogs_CreateOrUpdate", + "title": "Catalogs_CreateOrUpdateGitHub" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Delete.json new file mode 100644 index 000000000000..479266d2b6b7 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Catalogs_Delete", + "title": "Catalogs_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Get.json new file mode 100644 index 000000000000..efa2c399f31b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Get.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Catalogs_Get", + "title": "Catalogs_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_GetSyncErrorDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_GetSyncErrorDetails.json new file mode 100644 index 000000000000..9819fd2475bf --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_GetSyncErrorDetails.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "conflicts": [ + { + "name": "DuplicateEnvironmentName", + "path": "/Environments/Duplicate/manifest.yaml" + } + ], + "errors": [ + { + "path": "/Environments/Invalid/manifest.yaml", + "errorDetails": [ + { + "code": "ParseError", + "message": "Schema Error Within Catalog Item: Missing Name" + } + ] + } + ], + "operationError": { + "code": "Conflict", + "message": "The source control credentials could not be validated successfully." + } + } + } + }, + "operationId": "Catalogs_GetSyncErrorDetails", + "title": "Catalogs_GetSyncErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_List.json new file mode 100644 index 000000000000..3242c550c48c --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_List.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Catalogs_ListByDevCenter", + "title": "Catalogs_ListByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Patch.json new file mode 100644 index 000000000000..ed230da9db65 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Patch.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/environments" + }, + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + } + }, + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/environments", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Catalogs_Update", + "title": "Catalogs_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Sync.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Sync.json new file mode 100644 index 000000000000..fff3ec258260 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Catalogs_Sync.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Catalogs_Sync", + "title": "Catalogs_Sync" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckNameAvailability.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckNameAvailability.json new file mode 100644 index 000000000000..1675999f5c84 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DevCenter/devcenters" + }, + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "CheckNameAvailability_Execute", + "title": "NameAvailability" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckScopedNameAvailability_DevCenterCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckScopedNameAvailability_DevCenterCatalog.json new file mode 100644 index 000000000000..a315bbc2e609 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckScopedNameAvailability_DevCenterCatalog.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "scope": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso" + }, + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "CheckScopedNameAvailability_Execute", + "title": "DevcenterCatalogNameAvailability" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckScopedNameAvailability_ProjectCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckScopedNameAvailability_ProjectCatalog.json new file mode 100644 index 000000000000..5bdb9a109796 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CheckScopedNameAvailability_ProjectCatalog.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DevCenter/projects/catalogs", + "scope": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + }, + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "CheckScopedNameAvailability_Execute", + "title": "ProjectCatalogNameAvailability" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_Get.json new file mode 100644 index 000000000000..60dce2d49d51 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "taskName": "SampleTask" + }, + "responses": { + "200": { + "body": { + "name": "SampleTask", + "type": "Microsoft.DevCenter/devcenters/catalogs/tasks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog/tasks/SampleTask", + "properties": { + "inputs": { + "feed": { + "type": "string" + }, + "package": { + "type": "string", + "required": true + } + }, + "timeout": 30, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "CustomizationTasks_Get", + "title": "CustomizationTasks_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_GetErrorDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_GetErrorDetails.json new file mode 100644 index 000000000000..eff7b737cd7a --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "taskName": "SampleTask" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "ParameterValueInvalid", + "message": "Expected parameter value for 'InstanceCount' to be integer but found the string 'test'." + } + ] + } + } + }, + "operationId": "CustomizationTasks_GetErrorDetails", + "title": "CustomizationTasks_GetErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_ListByCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_ListByCatalog.json new file mode 100644 index 000000000000..3ef9ae6953f1 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/CustomizationTasks_ListByCatalog.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "SampleTask", + "type": "Microsoft.DevCenter/devcenters/catalogs/tasks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog/tasks/SampleTask", + "properties": { + "inputs": { + "feed": { + "type": "string" + }, + "package": { + "type": "string", + "required": true + } + }, + "timeout": 30 + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "CustomizationTasks_ListByCatalog", + "title": "CustomizationTasks_ListByCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Create.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Create.json new file mode 100644 index 000000000000..2b0e914f3651 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Create.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "sku": { + "name": "Preview" + } + } + }, + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/devBoxDefinitionName", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/devBoxDefinitionName", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Created", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevBoxDefinitions_CreateOrUpdate", + "title": "DevBoxDefinitions_Create" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Delete.json new file mode 100644 index 000000000000..82f5f8ffc88c --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "DevBoxDefinitions_Delete", + "title": "DevBoxDefinitions_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Get.json new file mode 100644 index 000000000000..04ee6f8d0236 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevBoxDefinitions_Get", + "title": "DevBoxDefinitions_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_GetByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_GetByProject.json new file mode 100644 index 000000000000..e03029c64d11 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_GetByProject.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevBoxDefinitions_GetByProject", + "title": "DevBoxDefinitions_GetByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_ListByDevCenter.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_ListByDevCenter.json new file mode 100644 index 000000000000..b1582a1967ef --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_ListByDevCenter.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevBoxDefinitions_ListByDevCenter", + "title": "DevBoxDefinitions_ListByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_ListByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_ListByProject.json new file mode 100644 index 000000000000..8526460f89d4 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_ListByProject.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevBoxDefinitions_ListByProject", + "title": "DevBoxDefinitions_ListByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Patch.json new file mode 100644 index 000000000000..9257e9b3141b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevBoxDefinitions_Patch.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/2.0.0" + } + } + }, + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/2.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "DevBoxDefinitions_Update", + "title": "DevBoxDefinitions_Patch" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Create.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Create.json new file mode 100644 index 000000000000..465790757b3c --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Create.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek" + } + }, + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EncryptionSets_CreateOrUpdate", + "title": "EncryptionSets_Create" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Delete.json new file mode 100644 index 000000000000..eda90c6ea676 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview" + } + }, + "204": {} + }, + "operationId": "EncryptionSets_Delete", + "title": "EncryptionSets_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Get.json new file mode 100644 index 000000000000..2fbbb7760625 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EncryptionSets_Get", + "title": "EncryptionSets_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_List.json new file mode 100644 index 000000000000..fc434cf2329e --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_List.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "EncryptionSets_List", + "title": "EncryptionSets_List" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Patch.json new file mode 100644 index 000000000000..0d6900d7919b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterEncryptionSets_Patch.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled" + } + }, + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokekwestus", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview" + } + } + }, + "operationId": "EncryptionSets_Update", + "title": "EncryptionSets_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_BuildImage.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_BuildImage.json new file mode 100644 index 000000000000..2fa4736265ca --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_BuildImage.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_BuildImage", + "title": "DevCenterCatalogImageDefinitions_BuildImage" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_CancelImageBuild.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_CancelImageBuild.json new file mode 100644 index 000000000000..58441b96fec4 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_CancelImageBuild.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuild_Cancel", + "title": "DevCenterImageDefinitionBuilds_CancelByImageDefinition" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetErrorDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..07c9df6237e9 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "WebDevBox", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "CatalogItemNotExist", + "message": "Task choco doesn't exist in the dev center." + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_GetErrorDetails", + "title": "DevCenterImageDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetImageBuild.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetImageBuild.json new file mode 100644 index 000000000000..b95f1f70ed1b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetImageBuild.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/centers/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/DevDevCenter/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuild_Get", + "title": "DevCenterImageDefinitionBuilds_GetByImageDefinition" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetImageBuildDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetImageBuildDetails.json new file mode 100644 index 000000000000..ef6594f9b240 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_GetImageBuildDetails.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded", + "taskGroups": [ + { + "name": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Provisioning", + "displayName": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Customizations", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "vs2022", + "displayName": "Install Visual Studio 2022", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7/logs/e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Generalization", + "displayName": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuild_GetBuildDetails", + "title": "DevCenterCatalogImageDefinitionBuild_GetErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_ListImageBuildsByImageDefinition.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_ListImageBuildsByImageDefinition.json new file mode 100644 index 000000000000..8a0f9d88a38b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenterImageDefinitions_ListImageBuildsByImageDefinition.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/devcenters/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/DevDevCenter/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuilds_ListByImageDefinition", + "title": "DevCenterImageDefinitionBuilds_ListByImageDefinition" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Create.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Create.json new file mode 100644 index 000000000000..bb3db3f9fe86 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Create.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "displayName": "ContosoDevCenter", + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + } + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345", + "hidden-title": "ContosoDevCenter" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345", + "hidden-title": "ContosoDevCenter" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_Create" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithDisabledManagedNetworks.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithDisabledManagedNetworks.json new file mode 100644 index 000000000000..dc2c6e8dd4b3 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithDisabledManagedNetworks.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Disabled" + } + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Disabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Disabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_CreateWithDisabledManagedNetworks" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithEncryption.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithEncryption.json new file mode 100644 index 000000000000..971f9f4c6565 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithEncryption.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "displayName": "ContosoDevCenter", + "encryption": { + "customerManagedKeyEncryption": { + "keyEncryptionKeyIdentity": { + "identityType": "userAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" + } + } + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "encryption": { + "customerManagedKeyEncryption": { + "keyEncryptionKeyIdentity": { + "identityType": "userAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" + } + }, + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "encryption": { + "customerManagedKeyEncryption": { + "keyEncryptionKeyIdentity": { + "identityType": "userAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" + } + }, + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_CreateWithEncryption" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithUserIdentity.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithUserIdentity.json new file mode 100644 index 000000000000..377b456a7276 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_CreateWithUserIdentity.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "displayName": "ContosoDevCenter" + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_CreateWithUserIdentity" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Delete.json new file mode 100644 index 000000000000..9415296f3f9b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "DevCenters_Delete", + "title": "DevCenters_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Get.json new file mode 100644 index 000000000000..3f9e97737623 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345", + "hidden-title": "ContosoDevCenter" + } + } + } + }, + "operationId": "DevCenters_Get", + "title": "DevCenters_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_ListByResourceGroup.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_ListByResourceGroup.json new file mode 100644 index 000000000000..10335b67ef29 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_ListByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/contoso", + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:08.896Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + ] + } + } + }, + "operationId": "DevCenters_ListByResourceGroup", + "title": "DevCenters_ListByResourceGroup" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_ListBySubscription.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_ListBySubscription.json new file mode 100644 index 000000000000..56cb2eaf63fa --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_ListBySubscription.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/contoso", + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:08.896Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + ] + } + } + }, + "operationId": "DevCenters_ListBySubscription", + "title": "DevCenters_ListBySubscription" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Patch.json new file mode 100644 index 000000000000..88f764e02fe4 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/DevCenters_Patch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "DevCenters_Update", + "title": "DevCenters_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_Get.json new file mode 100644 index 000000000000..e7dcdfe48f01 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_Get.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "devCenterName": "Contoso", + "environmentDefinitionName": "myEnvironmentDefinition", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/devcenters/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EnvironmentDefinitions_Get", + "title": "EnvironmentDefinitions_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_GetByProjectCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_GetByProjectCatalog.json new file mode 100644 index 000000000000..53e2f1aaae21 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_GetByProjectCatalog.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "environmentDefinitionName": "myEnvironmentDefinition", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/projects/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EnvironmentDefinitions_GetByProjectCatalog", + "title": "EnvironmentDefinitions_GetByProjectCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_GetErrorDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..1367033c61d3 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "devCenterName": "Contoso", + "environmentDefinitionName": "myEnvironmentDefinition", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "ParameterValueInvalid", + "message": "Expected parameter value for 'InstanceCount' to be integer but found the string 'test'." + } + ] + } + } + }, + "operationId": "EnvironmentDefinitions_GetErrorDetails", + "title": "EnvironmentDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_ListByCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_ListByCatalog.json new file mode 100644 index 000000000000..1b48bff7c51e --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_ListByCatalog.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/devcenters/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "EnvironmentDefinitions_ListByCatalog", + "title": "EnvironmentDefinitions_ListByCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_ListByProjectCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_ListByProjectCatalog.json new file mode 100644 index 000000000000..c5fe2dfb8818 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentDefinitions_ListByProjectCatalog.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/projects/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "EnvironmentDefinitions_ListByProjectCatalog", + "title": "EnvironmentDefinitions_ListByProjectCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Delete.json new file mode 100644 index 000000000000..a9ce1ef1c840 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "EnvironmentTypes_Delete", + "title": "EnvironmentTypes_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Get.json new file mode 100644 index 000000000000..f440a627ea3b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "EnvironmentTypes_Get", + "title": "EnvironmentTypes_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_List.json new file mode 100644 index 000000000000..e179aea3c6eb --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_List.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + ] + } + } + }, + "operationId": "EnvironmentTypes_ListByDevCenter", + "title": "EnvironmentTypes_ListByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Patch.json new file mode 100644 index 000000000000..bdd45d368eb8 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Patch.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "displayName": "Dev" + }, + "tags": { + "Owner": "superuser" + } + }, + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "Owner": "superuser", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "EnvironmentTypes_Update", + "title": "EnvironmentTypes_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Put.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Put.json new file mode 100644 index 000000000000..00ce0d9203bb --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/EnvironmentTypes_Put.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "displayName": "Dev" + }, + "tags": { + "Owner": "superuser" + } + }, + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "Owner": "superuser", + "hidden-title": "Dev" + } + } + }, + "201": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "Owner": "superuser", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "EnvironmentTypes_CreateOrUpdate", + "title": "EnvironmentTypes_CreateOrUpdate" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Create.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Create.json new file mode 100644 index 000000000000..b9aa25895a39 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Create.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery" + } + }, + "devCenterName": "Contoso", + "galleryName": "StandardGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/StandardGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/StandardGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Galleries_CreateOrUpdate", + "title": "Galleries_CreateOrUpdate" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Delete.json new file mode 100644 index 000000000000..454c1295506c --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "StandardGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Galleries_Delete", + "title": "Galleries_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Get.json new file mode 100644 index 000000000000..bff88a875222 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "StandardGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/StandardGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Galleries_Get", + "title": "Galleries_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_List.json new file mode 100644 index 000000000000..ac96221e065d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Galleries_List.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/default", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/CentralGallery", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + }, + { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/ImageGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/SharedGallery", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Galleries_ListByDevCenter", + "title": "Galleries_ListByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_BuildImage.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_BuildImage.json new file mode 100644 index 000000000000..512ef4ded36a --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_BuildImage.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_BuildImage", + "title": "ProjectCatalogImageDefinitions_BuildImage" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_CancelImageBuild.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_CancelImageBuild.json new file mode 100644 index 000000000000..ea5ad52857d2 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_CancelImageBuild.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuild_Cancel", + "title": "ImageDefinitionBuilds_CancelByImageDefinition" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetByDevCenterCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetByDevCenterCatalog.json new file mode 100644 index 000000000000..17fc074197c7 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetByDevCenterCatalog.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "devCenterName": "ContosoDevCenter", + "imageDefinitionName": "WebDevBox", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/ContosoDevCenter/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "extends": { + "imageDefinition": "it-base", + "parameters": [ + { + "name": "vssku", + "value": "Community" + } + ] + }, + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "tasks": [ + { + "name": "git-clone", + "parameters": [ + { + "name": "cloneUri", + "value": "https://github.com/microsoft/devcenter-catalog" + } + ] + } + ], + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_GetByDevCenterCatalog", + "title": "ImageDefinitions_GetByDevCenterCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetByProjectCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetByProjectCatalog.json new file mode 100644 index 000000000000..e0460c057fc3 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetByProjectCatalog.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "imageDefinitionName": "WebDevBox", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_GetByProjectCatalog", + "title": "ImageDefinitions_GetByProjectCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetImageBuild.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetImageBuild.json new file mode 100644 index 000000000000..77f2dff5d449 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetImageBuild.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/projects/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuild_Get", + "title": "ImageDefinitionBuilds_GetByImageDefinition" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetImageBuildDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetImageBuildDetails.json new file mode 100644 index 000000000000..e060f20d5e46 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_GetImageBuildDetails.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded", + "taskGroups": [ + { + "name": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Provisioning", + "displayName": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Customizations", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "vs2022", + "displayName": "Install Visual Studio 2022", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7/logs/e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Generalization", + "displayName": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuild_GetBuildDetails", + "title": "ProjectCatalogImageDefinitionBuild_GetErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListByDevCenterCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListByDevCenterCatalog.json new file mode 100644 index 000000000000..8599bb8e837f --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListByDevCenterCatalog.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "devCenterName": "ContosoDevCenter", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/ContosoDevCenter/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_ListByDevCenterCatalog", + "title": "ImageDefinitions_ListByDevCenterCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListByProjectCatalog.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListByProjectCatalog.json new file mode 100644 index 000000000000..e9c256183d4e --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListByProjectCatalog.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_ListByProjectCatalog", + "title": "ImageDefinitions_ListByProjectCatalog" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListImageBuildsByImageDefinition.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListImageBuildsByImageDefinition.json new file mode 100644 index 000000000000..b0fc6267603d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageDefinitions_ListImageBuildsByImageDefinition.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/projects/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuilds_ListByImageDefinition", + "title": "ImageDefinitionBuilds_ListByImageDefinition" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_Get.json new file mode 100644 index 000000000000..c3cc8d46c989 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DefaultDevGallery", + "imageName": "Win11", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "versionName": "1.0.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0.0", + "type": "Microsoft.DevCenter/devcenters/galleries/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DefaultDevGallery/images/Win11/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ImageVersions_Get", + "title": "Versions_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_GetByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_GetByProject.json new file mode 100644 index 000000000000..f2608485defb --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_GetByProject.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "imageName": "~gallery~DefaultDevGallery~ContosoImageDefinition", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "versionName": "1.0.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0.0", + "type": "Microsoft.DevCenter/project/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/project/myProject/images/~gallery~DefaultDevGallery~ContosoImageDefinition/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ImageVersions_GetByProject", + "title": "ImageVersions_GetByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_List.json new file mode 100644 index 000000000000..8ef0f2959efc --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_List.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DefaultDevGallery", + "imageName": "Win11", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1.0.0", + "type": "Microsoft.DevCenter/devcenters/galleries/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DefaultDevGallery/images/Win11/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ImageVersions_ListByImage", + "title": "ImageVersions_ListByImage" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_ListByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_ListByProject.json new file mode 100644 index 000000000000..10bc1c65400b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ImageVersions_ListByProject.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "imageName": "~gallery~DefaultDevGallery~ContosoImageDefinition", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1.0.0", + "type": "Microsoft.DevCenter/project/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/project/myProject/images/~gallery~DefaultDevGallery~ContosoImageDefinition/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ImageVersions_ListByProject", + "title": "ImageVersions_ListByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_Get.json new file mode 100644 index 000000000000..88f9d5551369 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_Get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DefaultDevGallery", + "imageName": "ContosoBaseImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DefaultDevGallery/images/ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "provisioningState": "Succeeded", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Images_Get", + "title": "Images_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_GetByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_GetByProject.json new file mode 100644 index 000000000000..1ad7577ce4cb --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_GetByProject.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "imageName": "~gallery~DefaultDevGallery~ContosoBaseImage", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/project/myProject/images/~gallery~DefaultDevGallery~ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "provisioningState": "Succeeded", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Images_GetByProject", + "title": "Images_GetByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByDevCenter.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByDevCenter.json new file mode 100644 index 000000000000..c155ba758c96 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByDevCenter.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "ContosoBaseImage2", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage2", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Images_ListByDevCenter", + "title": "Images_ListByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByGallery.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByGallery.json new file mode 100644 index 000000000000..0f84cf300895 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByGallery.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DevGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "ContosoBaseImage2", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage2", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Images_ListByGallery", + "title": "Images_ListByGallery" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByProject.json new file mode 100644 index 000000000000..c772c2c81246 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Images_ListByProject.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "~gallery~DefaultDevGallery~ContosoBaseImage", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myProject/images/~gallery~DefaultDevGallery~ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "~catalog~DefaultCatalog~DefaultImage", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myProject/images/~catalog~DefaultCatalog~DefaultImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "~gallery~DefaultDevGallery~ContosoImageDefinition", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myProject/images/~gallery~DefaultDevGallery~ContosoImageDefinition", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Images_ListByProject", + "title": "Images_ListByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Delete.json new file mode 100644 index 000000000000..31f0c02e2198 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "eastusnetwork", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "NetworkConnections_Delete", + "title": "NetworkConnections_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Get.json new file mode 100644 index 000000000000..9db25541e68d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "healthCheckStatus": "Passed", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkConnections_Get", + "title": "NetworkConnections_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_GetHealthDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_GetHealthDetails.json new file mode 100644 index 000000000000..060992f54efb --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_GetHealthDetails.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "eastusnetwork", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "latest", + "type": "Microsoft.DevCenter/networkconnections/healthchecks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/eastusnetwork/healthchecks/latest", + "properties": { + "endDateTime": "2021-07-03T12:43:15Z", + "healthChecks": [ + { + "displayName": "Azure AD device sync", + "endDateTime": "2021-07-03T12:43:14Z", + "startDateTime": "2021-07-03T12:43:15Z", + "status": "Passed" + } + ], + "startDateTime": "2021-07-03T12:43:14Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "System", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "System", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "NetworkConnections_GetHealthDetails", + "title": "NetworkConnections_GetHealthDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListByResourceGroup.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..ce4367b984e3 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkConnections_ListByResourceGroup", + "title": "NetworkConnections_ListByResourceGroup" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListBySubscription.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListBySubscription.json new file mode 100644 index 000000000000..eb328861e83a --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListBySubscription.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnection", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkConnections_ListBySubscription", + "title": "NetworkConnections_ListBySubscription" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListHealthDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListHealthDetails.json new file mode 100644 index 000000000000..22d3eb60eacb --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListHealthDetails.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "latest", + "type": "Microsoft.DevCenter/networkconnections/healthchecks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network/healthchecks/latest", + "properties": { + "endDateTime": "2021-07-03T12:43:15Z", + "healthChecks": [ + { + "displayName": "Azure AD device sync", + "endDateTime": "2021-07-03T12:43:14Z", + "startDateTime": "2021-07-03T12:43:15Z", + "status": "Passed" + } + ], + "startDateTime": "2021-07-03T12:43:14Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "System", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "System", + "lastModifiedByType": "Application" + } + } + ] + } + } + }, + "operationId": "NetworkConnections_ListHealthDetails", + "title": "NetworkConnections_ListHealthDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json new file mode 100644 index 000000000000..465422a88646 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "category": "Dev Box Service", + "endpoints": [ + { + "domainName": "devbox.azure.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Intune", + "endpoints": [ + { + "domainName": "login.microsoftonline.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Cloud PC", + "endpoints": [ + { + "domainName": "rdweb.wvd.microsoft.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + } + ] + } + } + }, + "operationId": "NetworkConnections_ListOutboundNetworkDependenciesEndpoints", + "title": "ListOutboundNetworkDependencies" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Patch.json new file mode 100644 index 000000000000..c5b6f3f238f2 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Patch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "domainPassword": "New Password value for user" + } + }, + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "NetworkConnections_Update", + "title": "NetworkConnections_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Put.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Put.json new file mode 100644 index 000000000000..a33421b23a32 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_Put.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainPassword": "Password value for user", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + } + }, + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Created", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkConnections_CreateOrUpdate", + "title": "NetworkConnections_CreateOrUpdate" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_RunHealthChecks.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_RunHealthChecks.json new file mode 100644 index 000000000000..76657be4fd76 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/NetworkConnections_RunHealthChecks.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "NetworkConnections_RunHealthChecks", + "title": "NetworkConnections_RunHealthChecks" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/OperationStatus_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/OperationStatus_Get.json new file mode 100644 index 000000000000..d29f4a20f15d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/OperationStatus_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "operationId": "3fa1a29d-e807-488d-81d1-f1c5456a08cd", + "api-version": "2026-01-01-preview", + "location": "westus3", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "endTime": "2020-12-01T15:16:55.100Z", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4", + "percentComplete": 100, + "startTime": "2020-12-01T15:16:29.500Z", + "status": "Succeeded" + } + }, + "202": { + "body": { + "endTime": "2020-12-01T15:16:55.100Z", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4", + "percentComplete": 99, + "startTime": "2020-12-01T15:16:29.500Z", + "status": "Succeeded" + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "default": { + "body": { + "error": { + "code": "OperationNotFound", + "message": "The requested async operation was not found" + } + } + } + }, + "operationId": "OperationStatuses_Get", + "title": "Get OperationStatus" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Operations_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Operations_Get.json new file mode 100644 index 000000000000..337412c7a8e3 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Operations_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DevCenter/devcenters/write", + "display": { + "operation": "write", + "provider": "Microsoft DevTest Center", + "resource": "Microsoft DevTest Center devcenter resource" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Delete.json new file mode 100644 index 000000000000..ae9069734a53 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "poolName", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Pools_Delete", + "title": "Pools_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Get.json new file mode 100644 index 000000000000..50d7af8b7fbc --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Get.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_GetUnhealthyStatus.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_GetUnhealthyStatus.json new file mode 100644 index 000000000000..80f419030037 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_GetUnhealthyStatus.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Unhealthy", + "healthStatusDetails": [ + { + "code": "NetworkConnectionUnhealthy", + "message": "The Pool's Network Connection is in an unhealthy state. Check the Network Connection's health status for more details." + }, + { + "code": "ImageValidationFailed", + "message": "Image validation has failed. Check the Dev Box Definition's image validation status for more details." + }, + { + "code": "IntuneValidationFailed", + "message": "Intune license validation has failed. The tenant does not have a valid Intune license." + } + ], + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_GetUnhealthyStatus" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_List.json new file mode 100644 index 000000000000..d48f934b4931 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_List.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Pools_ListByProject", + "title": "Pools_ListByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Patch.json new file mode 100644 index 000000000000..c7d88cf36411 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Patch.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "devBoxDefinitionName": "WebDevBox2" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox2", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Put.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Put.json new file mode 100644 index 000000000000..f9cbf3ebca78 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_Put.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "networkConnectionName": "Network1-westus2", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Pending", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Created", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_PutWithManagedNetwork.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_PutWithManagedNetwork.json new file mode 100644 index 000000000000..ed9a8946b36d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_PutWithManagedNetwork.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "managedNetwork", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "managedNetwork", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Pending", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "managedNetwork", + "provisioningState": "Created", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdateWithManagedNetwork" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_PutWithValueDevBoxDefinition.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_PutWithValueDevBoxDefinition.json new file mode 100644 index 000000000000..60bd82e0299e --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_PutWithValueDevBoxDefinition.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "devBoxDefinition": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/projects/DevProject/images/exampleImage/version/1.0.0" + }, + "sku": { + "name": "Preview" + } + }, + "devBoxDefinitionName": "", + "devBoxDefinitionType": "Value", + "displayName": "Developer Pool", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "networkConnectionName": "Network1-westus2", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinition": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/projects/DevProject/images/exampleImage/version/1.0.0" + }, + "sku": { + "name": "Preview" + } + }, + "devBoxDefinitionName": "", + "devBoxDefinitionType": "Value", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxDefinition": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/projects/DevProject/images/exampleImage/version/1.0.0" + }, + "sku": { + "name": "Preview" + } + }, + "devBoxDefinitionName": "", + "devBoxDefinitionType": "Value", + "displayName": "Developer Pool", + "healthStatus": "Pending", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Created", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdateWithValueDevBoxDefinition" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_RunHealthChecks.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_RunHealthChecks.json new file mode 100644 index 000000000000..01ae5437ec0e --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Pools_RunHealthChecks.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Pools_RunHealthChecks", + "title": "Pools_RefreshStatus" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectAllowedEnvironmentTypes_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectAllowedEnvironmentTypes_Get.json new file mode 100644 index 000000000000..70eb71d1de54 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectAllowedEnvironmentTypes_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/allowedenvironmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/Contoso/allowedEnvironmentTypes/DevTest", + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectAllowedEnvironmentTypes_Get", + "title": "ProjectAllowedEnvironmentTypes_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectAllowedEnvironmentTypes_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectAllowedEnvironmentTypes_List.json new file mode 100644 index 000000000000..70a12e713d47 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectAllowedEnvironmentTypes_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/allowedenvironmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/Contoso/allowedEnvironmentTypes/DevTest", + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectAllowedEnvironmentTypes_List", + "title": "ProjectAllowedEnvironmentTypes_List" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogEnvironmentDefinitions_GetErrorDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogEnvironmentDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..10d7292f2f72 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogEnvironmentDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "environmentDefinitionName": "myEnvironmentDefinition", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "ParameterValueInvalid", + "message": "Expected parameter value for 'InstanceCount' to be integer but found the string 'test'." + } + ] + } + } + }, + "operationId": "ProjectCatalogEnvironmentDefinitions_GetErrorDetails", + "title": "ProjectCatalogEnvironmentDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogImageDefinitions_GetErrorDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogImageDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..404fffccca78 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogImageDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "imageDefinitionName": "WebDevBox", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "CatalogItemNotExist", + "message": "Task choco doesn't exist in the dev center." + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_GetErrorDetails", + "title": "ProjectCatalogImageDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Connect.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Connect.json new file mode 100644 index 000000000000..f6ba22b13916 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Connect.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogs_Connect", + "title": "ProjectCatalogs_Connect" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_CreateAdo.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_CreateAdo.json new file mode 100644 index 000000000000..ead48bcd9990 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_CreateAdo.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + } + } + }, + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogs_CreateOrUpdate", + "title": "ProjectCatalogs_CreateOrUpdateAdo" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_CreateGitHub.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_CreateGitHub.json new file mode 100644 index 000000000000..bc63cbf26cf3 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_CreateGitHub.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + } + } + }, + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogs_CreateOrUpdate", + "title": "ProjectCatalogs_CreateOrUpdateGitHub" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Delete.json new file mode 100644 index 000000000000..74fe785dc826 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ProjectCatalogs_Delete", + "title": "ProjectCatalogs_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Get.json new file mode 100644 index 000000000000..12a2acd0b61a --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogs_Get", + "title": "ProjectCatalogs_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_GetSyncErrorDetails.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_GetSyncErrorDetails.json new file mode 100644 index 000000000000..7570a2b34707 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_GetSyncErrorDetails.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "conflicts": [ + { + "name": "DuplicateEnvironmentName", + "path": "/Environments/Duplicate/manifest.yaml" + } + ], + "errors": [ + { + "path": "/Environments/Invalid/manifest.yaml", + "errorDetails": [ + { + "code": "ParseError", + "message": "Schema Error Within Catalog Item: Missing Name" + } + ] + } + ], + "operationError": { + "code": "Conflict", + "message": "The source control credentials could not be validated successfully." + } + } + } + }, + "operationId": "ProjectCatalogs_GetSyncErrorDetails", + "title": "ProjectCatalogs_GetSyncErrorDetails" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_List.json new file mode 100644 index 000000000000..cd1cb8f5759b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_List.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/Contoso/catalogs", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectCatalogs_List", + "title": "ProjectCatalogs_List" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Patch.json new file mode 100644 index 000000000000..e2a4864dadb9 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Patch.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/environments" + } + } + }, + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/environments", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogs_Patch", + "title": "ProjectCatalogs_Patch" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Sync.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Sync.json new file mode 100644 index 000000000000..6c222575f29e --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectCatalogs_Sync.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogs_Sync", + "title": "ProjectCatalogs_Sync" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Delete.json new file mode 100644 index 000000000000..f2edba5ac823 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ProjectEnvironmentTypes_Delete", + "title": "ProjectEnvironmentTypes_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Get.json new file mode 100644 index 000000000000..c152330e6fdb --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Get.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "environmentCount": 1, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + } + }, + "operationId": "ProjectEnvironmentTypes_Get", + "title": "ProjectEnvironmentTypes_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_List.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_List.json new file mode 100644 index 000000000000..8152cbd25c9b --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_List.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + ] + } + } + }, + "operationId": "ProjectEnvironmentTypes_List", + "title": "ProjectEnvironmentTypes_List" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Patch.json new file mode 100644 index 000000000000..be9d4d8a75dc --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Patch.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "properties": { + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": {} + } + } + } + }, + "tags": { + "CostCenter": "RnD" + } + }, + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "environmentCount": 1, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + } + }, + "operationId": "ProjectEnvironmentTypes_Update", + "title": "ProjectEnvironmentTypes_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Put.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Put.json new file mode 100644 index 000000000000..c06bb6bddf0d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectEnvironmentTypes_Put.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": {} + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": {} + } + } + } + }, + "tags": { + "CostCenter": "RnD" + } + }, + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "displayName": "DevTest", + "environmentCount": 0, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD", + "hidden-title": "Dev" + } + } + }, + "201": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "displayName": "DevTest", + "environmentCount": 0, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "ProjectEnvironmentTypes_CreateOrUpdate", + "title": "ProjectEnvironmentTypes_CreateOrUpdate" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Delete.json new file mode 100644 index 000000000000..b48eb8a8bbee --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01" + } + }, + "204": {} + }, + "operationId": "ProjectPolicies_Delete", + "title": "ProjectPolicies_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Get.json new file mode 100644 index 000000000000..9909ed750b3d --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Get.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "displayNameFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ] + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectPolicies_Get", + "title": "ProjectPolicies_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_ListByDevCenter.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_ListByDevCenter.json new file mode 100644 index 000000000000..465ae5a521ea --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_ListByDevCenter.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "displayNameFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable" + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "Modifiable" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectPolicies_ListByDevCenter", + "title": "ProjectPolicies_ListByDevCenter" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Patch.json new file mode 100644 index 000000000000..a8076aea6eac --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Patch.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + } + ], + "configurationPolicies": { + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + } + } + } + }, + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Allow" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "displayNameFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable" + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "Modifiable" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01" + } + } + }, + "operationId": "ProjectPolicies_Update", + "title": "ProjectPolicies_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Put.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Put.json new file mode 100644 index 000000000000..7faf685e4521 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/ProjectPolicies_Put.json @@ -0,0 +1,245 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "displayNameFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ] + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy" + } + } + } + }, + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "displayNameFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ] + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectPolicies_CreateOrUpdate", + "title": "ProjectPolicies_CreateOrUpdate" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Delete.json new file mode 100644 index 000000000000..62ab3fb1b9d5 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Projects_Delete", + "title": "Projects_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Get.json new file mode 100644 index 000000000000..a118c54340e9 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Get.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "catalogSettings": { + "catalogItemSyncTypes": [ + "EnvironmentDefinition" + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "Projects_Get", + "title": "Projects_Get" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_GetInheritedSettings.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_GetInheritedSettings.json new file mode 100644 index 000000000000..3c7e1df63f8a --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_GetInheritedSettings.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled", + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "azureAiServicesSettings": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteSettings": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsSettings": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ], + "defaultStatus": "Enabled" + }, + "displayNameSettings": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelSettings": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "serverlessGpuSessionsSettings": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ], + "defaultStatus": "AutoDeploy" + }, + "userCustomizationsSettings": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageSettings": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + } + } + } + }, + "operationId": "Projects_GetInheritedSettings", + "title": "Projects_GetInheritedSettings" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_ListByResourceGroup.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_ListByResourceGroup.json new file mode 100644 index 000000000000..c35abee4ae99 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_ListByResourceGroup.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myproject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myproject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + ] + } + } + }, + "operationId": "Projects_ListByResourceGroup", + "title": "Projects_ListByResourceGroup" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_ListBySubscription.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_ListBySubscription.json new file mode 100644 index 000000000000..38ef036190cd --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_ListBySubscription.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myproject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myproject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + ] + } + } + }, + "operationId": "Projects_ListBySubscription", + "title": "Projects_ListBySubscription" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Patch.json new file mode 100644 index 000000000000..47b6c23b8ff8 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Patch.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "description": "This is my first project.", + "catalogSettings": { + "catalogItemSyncTypes": [ + "EnvironmentDefinition" + ] + }, + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "33333333-3333-3333-3333-333333333333", + "scope": "DevBox" + } + ] + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "myproject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project. Very exciting.", + "catalogSettings": { + "catalogItemSyncTypes": [ + "EnvironmentDefinition" + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "33333333-3333-3333-3333-333333333333", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "displayName": "Dev" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Projects_Update", + "title": "Projects_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Put.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Put.json new file mode 100644 index 000000000000..7d95546c18b1 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_Put.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ] + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "hidden-title": "Dev" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdate" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithCustomizationSettings.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithCustomizationSettings.json new file mode 100644 index 000000000000..f5e37b59e35e --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithCustomizationSettings.json @@ -0,0 +1,119 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1", + "identityType": "userAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso" + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1", + "identityType": "userAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1", + "identityType": "userAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3 + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdateWithCustomizationSettings" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithCustomizationSettings_SystemIdentity.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithCustomizationSettings_SystemIdentity.json new file mode 100644 index 000000000000..974231569ced --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithCustomizationSettings_SystemIdentity.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "SystemAssigned" + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityType": "systemAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso" + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "SystemAssigned", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494", + "tenantId": "e35621a5-f615-4a20-940e-de8a84b15abc" + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityType": "systemAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "SystemAssigned", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494", + "tenantId": "e35621a5-f615-4a20-940e-de8a84b15abc" + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityType": "systemAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3 + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdateWithCustomizationSettings_SystemIdentity" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithMaxDevBoxPerUser.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithMaxDevBoxPerUser.json new file mode 100644 index 000000000000..64871a3ac287 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Projects_PutWithMaxDevBoxPerUser.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3 + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "maxDevBoxesPerUser": 3, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdateWithLimitsPerDev" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_CreateDailyShutdownPoolSchedule.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_CreateDailyShutdownPoolSchedule.json new file mode 100644 index 000000000000..462110d3b6d4 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_CreateDailyShutdownPoolSchedule.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Accepted", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Schedules_CreateOrUpdate", + "title": "Schedules_CreateDailyShutdownPoolSchedule" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Delete.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Delete.json new file mode 100644 index 000000000000..deb621b01e12 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Schedules_Delete", + "title": "Schedules_Delete" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Get.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Get.json new file mode 100644 index 000000000000..604944cc4485 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Schedules_Get", + "title": "Schedules_GetByPool" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_ListByPool.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_ListByPool.json new file mode 100644 index 000000000000..c1a83404ebb6 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_ListByPool.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Schedules_ListByPool", + "title": "Schedules_ListByPool" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Patch.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Patch.json new file mode 100644 index 000000000000..74f8cf8500a6 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Schedules_Patch.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "time": "18:00" + } + }, + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Schedules_Update", + "title": "Schedules_Update" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Skus_ListByProject.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Skus_ListByProject.json new file mode 100644 index 000000000000..80b64b99cecf --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Skus_ListByProject.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Large", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Premium" + }, + { + "name": "Medium", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Standard" + } + ] + } + } + }, + "operationId": "Skus_ListByProject", + "title": "Skus_ListByProject" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Skus_ListBySubscription.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Skus_ListBySubscription.json new file mode 100644 index 000000000000..f9b1c76ccb2a --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Skus_ListBySubscription.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Large", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Premium" + }, + { + "name": "Medium", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Standard" + } + ] + } + } + }, + "operationId": "Skus_ListBySubscription", + "title": "Skus_ListBySubscription" +} diff --git a/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Usages_ListByLocation.json b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Usages_ListByLocation.json new file mode 100644 index 000000000000..490183440c29 --- /dev/null +++ b/specification/devcenter/DevCenter.Management/examples/2026-01-01-preview/Usages_ListByLocation.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "location": "westus", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": { + "value": "devcenters" + }, + "currentValue": 2, + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/Microsoft.DevCenter/locations/westus/quotas/devcenters", + "limit": 8, + "unit": "Count" + }, + { + "name": { + "value": "projects" + }, + "currentValue": 5, + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/Microsoft.DevCenter/locations/westus/quotas/projects", + "limit": 30, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_ListByLocation", + "title": "listUsages" +} diff --git a/specification/devcenter/DevCenter.Management/main.tsp b/specification/devcenter/DevCenter.Management/main.tsp index 53e53fb1b394..962eb8952459 100644 --- a/specification/devcenter/DevCenter.Management/main.tsp +++ b/specification/devcenter/DevCenter.Management/main.tsp @@ -53,6 +53,9 @@ enum Versions { @doc("The 2025-10-01-preview API version.") v2025_10_01_preview: "2025-10-01-preview", + + @doc("The 2026-01-01-preview API version.") + v2026_01_01_preview: "2026-01-01-preview", } interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/devcenter/DevCenter.Management/models.tsp b/specification/devcenter/DevCenter.Management/models.tsp index 929ccb102ac9..23e4f1f07653 100644 --- a/specification/devcenter/DevCenter.Management/models.tsp +++ b/specification/devcenter/DevCenter.Management/models.tsp @@ -1415,6 +1415,22 @@ model ImageProperties { @doc("Indicates whether this image has hibernate enabled. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate") @visibility(Lifecycle.Read) hibernateSupport?: HibernateSupport; + + /** The architecture type of the image. */ + @added(Versions.v2026_01_01_preview) + @visibility(Lifecycle.Read) + architecture?: ArchitectureType; +} + +/** Architecture Types. */ +union ArchitectureType { + string, + + /** x64 architecture */ + x64: "x64", + + /** ARM64 architecture */ + Arm64: "Arm64", } @doc("Properties for a recommended machine configuration.") diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/DevCenterRP.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/DevCenterRP.json new file mode 100644 index 000000000000..3c3f4a43a135 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/DevCenterRP.json @@ -0,0 +1,13675 @@ +{ + "swagger": "2.0", + "info": { + "title": "DevCenter", + "version": "2026-01-01-preview", + "description": "DevCenter Management API", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Images" + }, + { + "name": "DevCenters" + }, + { + "name": "DevCenterEncryptionSets" + }, + { + "name": "ProjectPolicies" + }, + { + "name": "Projects" + }, + { + "name": "AttachedNetworks" + }, + { + "name": "AttachedNetworkConnections" + }, + { + "name": "Catalogs" + }, + { + "name": "CatalogOperationGroup" + }, + { + "name": "EnvironmentDefinitions" + }, + { + "name": "EnvironmentDefinitionOperationGroup" + }, + { + "name": "Galleries" + }, + { + "name": "ImageOperationGroup" + }, + { + "name": "ImageVersions" + }, + { + "name": "ImageVersionOperationGroup" + }, + { + "name": "EnvironmentTypes" + }, + { + "name": "AllowedEnvironmentTypes" + }, + { + "name": "ProjectEnvironmentTypes" + }, + { + "name": "DevBoxDefinitions" + }, + { + "name": "DevBoxDefinitionOperationGroup" + }, + { + "name": "CustomizationTasks" + }, + { + "name": "ImageDefinitions" + }, + { + "name": "ProjectCatalogImageDefinitions" + }, + { + "name": "ImageDefinitionBuilds" + }, + { + "name": "ProjectCatalogImageDefinitionBuild" + }, + { + "name": "Pools" + }, + { + "name": "Schedules" + }, + { + "name": "NetworkConnections" + }, + { + "name": "HealthCheckStatusDetailsOperationGroup" + } + ], + "paths": { + "/providers/Microsoft.DevCenter/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_Get": { + "$ref": "./examples/Operations_Get.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/checkNameAvailability": { + "post": { + "operationId": "CheckNameAvailability_Execute", + "description": "Check the availability of name for resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/CheckNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/CheckNameAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/checkScopedNameAvailability": { + "post": { + "operationId": "CheckScopedNameAvailability_Execute", + "description": "Check the availability of name for resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckScopedNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/CheckNameAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevcenterCatalogNameAvailability": { + "$ref": "./examples/CheckScopedNameAvailability_DevCenterCatalog.json" + }, + "ProjectCatalogNameAvailability": { + "$ref": "./examples/CheckScopedNameAvailability_ProjectCatalog.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/devcenters": { + "get": { + "operationId": "DevCenters_ListBySubscription", + "tags": [ + "DevCenters" + ], + "description": "Lists all devcenters in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DevCenterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenters_ListBySubscription": { + "$ref": "./examples/DevCenters_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/locations/{location}/operationStatuses/{operationId}": { + "get": { + "operationId": "OperationStatuses_Get", + "summary": "Get Operation Status", + "description": "Gets the current status of an async operation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/LocationParameter" + }, + { + "name": "operationId", + "in": "path", + "description": "The ID of an ongoing async operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/OperationStatus" + }, + "headers": { + "location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get OperationStatus": { + "$ref": "./examples/OperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/locations/{location}/usages": { + "get": { + "operationId": "Usages_ListByLocation", + "description": "Lists the current usages and limits in this location for the provided subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "listUsages": { + "$ref": "./examples/Usages_ListByLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/networkConnections": { + "get": { + "operationId": "NetworkConnections_ListBySubscription", + "tags": [ + "NetworkConnections" + ], + "description": "Lists network connections in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_ListBySubscription": { + "$ref": "./examples/NetworkConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/projects": { + "get": { + "operationId": "Projects_ListBySubscription", + "tags": [ + "Projects" + ], + "description": "Lists all projects in the subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProjectListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Projects_ListBySubscription": { + "$ref": "./examples/Projects_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/skus": { + "get": { + "operationId": "Skus_ListBySubscription", + "description": "Lists the Microsoft.DevCenter SKUs available in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/SkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Skus_ListBySubscription": { + "$ref": "./examples/Skus_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters": { + "get": { + "operationId": "DevCenters_ListByResourceGroup", + "tags": [ + "DevCenters" + ], + "description": "Lists all devcenters in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DevCenterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenters_ListByResourceGroup": { + "$ref": "./examples/DevCenters_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}": { + "get": { + "operationId": "DevCenters_Get", + "tags": [ + "DevCenters" + ], + "description": "Gets a devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DevCenter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenters_Get": { + "$ref": "./examples/DevCenters_Get.json" + } + } + }, + "put": { + "operationId": "DevCenters_CreateOrUpdate", + "tags": [ + "DevCenters" + ], + "description": "Creates or updates a devcenter resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a devcenter.", + "required": true, + "schema": { + "$ref": "#/definitions/DevCenter" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DevCenter' update operation succeeded", + "schema": { + "$ref": "#/definitions/DevCenter" + } + }, + "201": { + "description": "Resource 'DevCenter' create operation succeeded", + "schema": { + "$ref": "#/definitions/DevCenter" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenters_Create": { + "$ref": "./examples/DevCenters_Create.json" + }, + "DevCenters_CreateWithDisabledManagedNetworks": { + "$ref": "./examples/DevCenters_CreateWithDisabledManagedNetworks.json" + }, + "DevCenters_CreateWithEncryption": { + "$ref": "./examples/DevCenters_CreateWithEncryption.json" + }, + "DevCenters_CreateWithUserIdentity": { + "$ref": "./examples/DevCenters_CreateWithUserIdentity.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DevCenter" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DevCenters_Update", + "tags": [ + "DevCenters" + ], + "description": "Partially updates a devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable devcenter properties.", + "required": true, + "schema": { + "$ref": "#/definitions/DevCenterUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DevCenter" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenters_Update": { + "$ref": "./examples/DevCenters_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DevCenter" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DevCenters_Delete", + "tags": [ + "DevCenters" + ], + "description": "Deletes a devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenters_Delete": { + "$ref": "./examples/DevCenters_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks": { + "get": { + "operationId": "AttachedNetworks_ListByDevCenter", + "tags": [ + "AttachedNetworks" + ], + "description": "Lists the attached NetworkConnections for a DevCenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AttachedNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AttachedNetworks_ListByDevCenter": { + "$ref": "./examples/AttachedNetworks_ListByDevCenter.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}": { + "get": { + "operationId": "AttachedNetworks_GetByDevCenter", + "tags": [ + "AttachedNetworks" + ], + "description": "Gets an attached NetworkConnection.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "attachedNetworkConnectionName", + "in": "path", + "description": "The name of the attached NetworkConnection.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AttachedNetworkConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AttachedNetworks_GetByDevCenter": { + "$ref": "./examples/AttachedNetworks_GetByDevCenter.json" + } + } + }, + "put": { + "operationId": "AttachedNetworks_CreateOrUpdate", + "tags": [ + "AttachedNetworks" + ], + "description": "Creates or updates an attached NetworkConnection.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "attachedNetworkConnectionName", + "in": "path", + "description": "The name of the attached NetworkConnection.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents an attached NetworkConnection.", + "required": true, + "schema": { + "$ref": "#/definitions/AttachedNetworkConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AttachedNetworkConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/AttachedNetworkConnection" + } + }, + "201": { + "description": "Resource 'AttachedNetworkConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/AttachedNetworkConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AttachedNetworks_Create": { + "$ref": "./examples/AttachedNetworks_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AttachedNetworkConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AttachedNetworks_Delete", + "tags": [ + "AttachedNetworks" + ], + "description": "Un-attach a NetworkConnection.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "attachedNetworkConnectionName", + "in": "path", + "description": "The name of the attached NetworkConnection.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AttachedNetworks_Delete": { + "$ref": "./examples/AttachedNetworks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs": { + "get": { + "operationId": "Catalogs_ListByDevCenter", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Lists catalogs for a devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CatalogListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_ListByDevCenter": { + "$ref": "./examples/Catalogs_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}": { + "get": { + "operationId": "Catalogs_Get", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Gets a catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Catalog" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_Get": { + "$ref": "./examples/Catalogs_Get.json" + } + } + }, + "put": { + "operationId": "Catalogs_CreateOrUpdate", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Creates or updates a catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a catalog.", + "required": true, + "schema": { + "$ref": "#/definitions/Catalog" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Catalog' update operation succeeded", + "schema": { + "$ref": "#/definitions/Catalog" + } + }, + "201": { + "description": "Resource 'Catalog' create operation succeeded", + "schema": { + "$ref": "#/definitions/Catalog" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_CreateOrUpdateAdo": { + "$ref": "./examples/Catalogs_CreateAdo.json" + }, + "Catalogs_CreateOrUpdateGitHub": { + "$ref": "./examples/Catalogs_CreateGitHub.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Catalog" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Catalogs_Update", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Partially updates a catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable catalog properties.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Catalog" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_Update": { + "$ref": "./examples/Catalogs_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Catalog" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Catalogs_Delete", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Deletes a catalog resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_Delete": { + "$ref": "./examples/Catalogs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/connect": { + "post": { + "operationId": "Catalogs_Connect", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Connects a catalog to enable syncing.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_Connect": { + "$ref": "./examples/Catalogs_Connect.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/environmentDefinitions": { + "get": { + "operationId": "EnvironmentDefinitions_ListByCatalog", + "tags": [ + "EnvironmentDefinitionOperationGroup" + ], + "description": "List environment definitions in the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/EnvironmentDefinitionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentDefinitions_ListByCatalog": { + "$ref": "./examples/EnvironmentDefinitions_ListByCatalog.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/environmentDefinitions/{environmentDefinitionName}": { + "get": { + "operationId": "EnvironmentDefinitions_Get", + "tags": [ + "EnvironmentDefinitionOperationGroup" + ], + "description": "Gets an environment definition from the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentDefinitionName", + "in": "path", + "description": "The name of the Environment Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnvironmentDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentDefinitions_Get": { + "$ref": "./examples/EnvironmentDefinitions_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/environmentDefinitions/{environmentDefinitionName}/getErrorDetails": { + "post": { + "operationId": "EnvironmentDefinitions_GetErrorDetails", + "tags": [ + "EnvironmentDefinitionOperationGroup" + ], + "description": "Gets Environment Definition error details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentDefinitionName", + "in": "path", + "description": "The name of the Environment Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceValidationErrorDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentDefinitions_GetErrorDetails": { + "$ref": "./examples/EnvironmentDefinitions_GetErrorDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/getSyncErrorDetails": { + "post": { + "operationId": "Catalogs_GetSyncErrorDetails", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Gets catalog synchronization error details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SyncErrorDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_GetSyncErrorDetails": { + "$ref": "./examples/Catalogs_GetSyncErrorDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions": { + "get": { + "operationId": "DevCenterCatalogImageDefinitions_ListByDevCenterCatalog", + "tags": [ + "ImageDefinitions" + ], + "description": "List Image Definitions in the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageDefinitionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageDefinitions_ListByDevCenterCatalog": { + "$ref": "./examples/ImageDefinitions_ListByDevCenterCatalog.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}": { + "get": { + "operationId": "DevCenterCatalogImageDefinitions_GetByDevCenterCatalog", + "tags": [ + "ImageDefinitions" + ], + "description": "Gets an Image Definition from the catalog", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageDefinitions_GetByDevCenterCatalog": { + "$ref": "./examples/ImageDefinitions_GetByDevCenterCatalog.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/buildImage": { + "post": { + "operationId": "DevCenterCatalogImageDefinitions_BuildImage", + "tags": [ + "ImageDefinitions" + ], + "description": "Builds an image for the specified Image Definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenterCatalogImageDefinitions_BuildImage": { + "$ref": "./examples/DevCenterImageDefinitions_BuildImage.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds": { + "get": { + "operationId": "DevCenterCatalogImageDefinitionBuilds_ListByImageDefinition", + "tags": [ + "ImageDefinitionBuilds" + ], + "description": "Lists builds for a specified image definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageDefinitionBuildListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenterImageDefinitionBuilds_ListByImageDefinition": { + "$ref": "./examples/DevCenterImageDefinitions_ListImageBuildsByImageDefinition.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}": { + "get": { + "operationId": "DevCenterCatalogImageDefinitionBuild_Get", + "tags": [ + "ImageDefinitionBuilds" + ], + "description": "Gets a build for a specified image definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "buildName", + "in": "path", + "description": "The ID of the Image Definition Build.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageDefinitionBuild" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenterImageDefinitionBuilds_GetByImageDefinition": { + "$ref": "./examples/DevCenterImageDefinitions_GetImageBuild.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/cancel": { + "post": { + "operationId": "DevCenterCatalogImageDefinitionBuild_Cancel", + "tags": [ + "ImageDefinitionBuilds" + ], + "description": "Cancels the specified build for an image definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "buildName", + "in": "path", + "description": "The ID of the Image Definition Build.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenterImageDefinitionBuilds_CancelByImageDefinition": { + "$ref": "./examples/DevCenterImageDefinitions_CancelImageBuild.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/getBuildDetails": { + "post": { + "operationId": "DevCenterCatalogImageDefinitionBuild_GetBuildDetails", + "tags": [ + "ImageDefinitionBuilds" + ], + "description": "Gets Build details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "buildName", + "in": "path", + "description": "The ID of the Image Definition Build.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageDefinitionBuildDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenterCatalogImageDefinitionBuild_GetErrorDetails": { + "$ref": "./examples/DevCenterImageDefinitions_GetImageBuildDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/getErrorDetails": { + "post": { + "operationId": "DevCenterCatalogImageDefinitions_GetErrorDetails", + "tags": [ + "ImageDefinitions" + ], + "description": "Gets Image Definition error details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceValidationErrorDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevCenterImageDefinitions_GetErrorDetails": { + "$ref": "./examples/DevCenterImageDefinitions_GetErrorDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/sync": { + "post": { + "operationId": "Catalogs_Sync", + "tags": [ + "CatalogOperationGroup" + ], + "description": "Syncs templates for a template source.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalogs_Sync": { + "$ref": "./examples/Catalogs_Sync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/tasks": { + "get": { + "operationId": "CustomizationTasks_ListByCatalog", + "tags": [ + "CustomizationTasks" + ], + "description": "List Tasks in the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CustomizationTaskListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CustomizationTasks_ListByCatalog": { + "$ref": "./examples/CustomizationTasks_ListByCatalog.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/tasks/{taskName}": { + "get": { + "operationId": "CustomizationTasks_Get", + "tags": [ + "CustomizationTasks" + ], + "description": "Gets a Task from the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the Customization Task.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomizationTask" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CustomizationTasks_Get": { + "$ref": "./examples/CustomizationTasks_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/tasks/{taskName}/getErrorDetails": { + "post": { + "operationId": "CustomizationTasks_GetErrorDetails", + "tags": [ + "CustomizationTasks" + ], + "description": "Gets Customization Task error details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the Customization Task.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceValidationErrorDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CustomizationTasks_GetErrorDetails": { + "$ref": "./examples/CustomizationTasks_GetErrorDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions": { + "get": { + "operationId": "DevBoxDefinitions_ListByDevCenter", + "tags": [ + "DevBoxDefinitions" + ], + "description": "List Dev Box definitions for a devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DevBoxDefinitionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevBoxDefinitions_ListByDevCenter": { + "$ref": "./examples/DevBoxDefinitions_ListByDevCenter.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions/{devBoxDefinitionName}": { + "get": { + "operationId": "DevBoxDefinitions_Get", + "tags": [ + "DevBoxDefinitions" + ], + "description": "Gets a Dev Box definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "devBoxDefinitionName", + "in": "path", + "description": "The name of the Dev Box definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DevBoxDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevBoxDefinitions_Get": { + "$ref": "./examples/DevBoxDefinitions_Get.json" + } + } + }, + "put": { + "operationId": "DevBoxDefinitions_CreateOrUpdate", + "tags": [ + "DevBoxDefinitions" + ], + "description": "Creates or updates a Dev Box definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "devBoxDefinitionName", + "in": "path", + "description": "The name of the Dev Box definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a Dev Box definition.", + "required": true, + "schema": { + "$ref": "#/definitions/DevBoxDefinition" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DevBoxDefinition' update operation succeeded", + "schema": { + "$ref": "#/definitions/DevBoxDefinition" + } + }, + "201": { + "description": "Resource 'DevBoxDefinition' create operation succeeded", + "schema": { + "$ref": "#/definitions/DevBoxDefinition" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevBoxDefinitions_Create": { + "$ref": "./examples/DevBoxDefinitions_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DevBoxDefinition" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DevBoxDefinitions_Update", + "tags": [ + "DevBoxDefinitions" + ], + "description": "Partially updates a Dev Box definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "devBoxDefinitionName", + "in": "path", + "description": "The name of the Dev Box definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a Dev Box definition.", + "required": true, + "schema": { + "$ref": "#/definitions/DevBoxDefinitionUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DevBoxDefinition" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevBoxDefinitions_Patch": { + "$ref": "./examples/DevBoxDefinitions_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DevBoxDefinition" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DevBoxDefinitions_Delete", + "tags": [ + "DevBoxDefinitions" + ], + "description": "Deletes a Dev Box definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "devBoxDefinitionName", + "in": "path", + "description": "The name of the Dev Box definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevBoxDefinitions_Delete": { + "$ref": "./examples/DevBoxDefinitions_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/encryptionSets": { + "get": { + "operationId": "EncryptionSets_List", + "tags": [ + "DevCenterEncryptionSets" + ], + "description": "Lists all encryption sets in the devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/EncryptionSetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EncryptionSets_List": { + "$ref": "./examples/DevCenterEncryptionSets_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/encryptionSets/{encryptionSetName}": { + "get": { + "operationId": "EncryptionSets_Get", + "tags": [ + "DevCenterEncryptionSets" + ], + "description": "Gets a devcenter encryption set.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "encryptionSetName", + "in": "path", + "description": "The name of the devcenter encryption set.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DevCenterEncryptionSet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EncryptionSets_Get": { + "$ref": "./examples/DevCenterEncryptionSets_Get.json" + } + } + }, + "put": { + "operationId": "EncryptionSets_CreateOrUpdate", + "tags": [ + "DevCenterEncryptionSets" + ], + "description": "Creates or updates a devcenter encryption set resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "encryptionSetName", + "in": "path", + "description": "The name of the devcenter encryption set.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a devcenter encryption set.", + "required": true, + "schema": { + "$ref": "#/definitions/DevCenterEncryptionSet" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DevCenterEncryptionSet' update operation succeeded", + "schema": { + "$ref": "#/definitions/DevCenterEncryptionSet" + } + }, + "201": { + "description": "Resource 'DevCenterEncryptionSet' create operation succeeded", + "schema": { + "$ref": "#/definitions/DevCenterEncryptionSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EncryptionSets_Create": { + "$ref": "./examples/DevCenterEncryptionSets_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DevCenterEncryptionSet" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EncryptionSets_Update", + "tags": [ + "DevCenterEncryptionSets" + ], + "description": "Partially updates a devcenter encryption set.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "encryptionSetName", + "in": "path", + "description": "The name of the devcenter encryption set.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable devcenter encryption set properties.", + "required": true, + "schema": { + "$ref": "#/definitions/EncryptionSetUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DevCenterEncryptionSet" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EncryptionSets_Update": { + "$ref": "./examples/DevCenterEncryptionSets_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DevCenterEncryptionSet" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EncryptionSets_Delete", + "tags": [ + "DevCenterEncryptionSets" + ], + "description": "Deletes a devcenter encryption set.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "encryptionSetName", + "in": "path", + "description": "The name of the devcenter encryption set.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EncryptionSets_Delete": { + "$ref": "./examples/DevCenterEncryptionSets_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes": { + "get": { + "operationId": "EnvironmentTypes_ListByDevCenter", + "tags": [ + "EnvironmentTypes" + ], + "description": "Lists environment types for the devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/EnvironmentTypeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentTypes_ListByDevCenter": { + "$ref": "./examples/EnvironmentTypes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}": { + "get": { + "operationId": "EnvironmentTypes_Get", + "tags": [ + "EnvironmentTypes" + ], + "description": "Gets an environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnvironmentType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentTypes_Get": { + "$ref": "./examples/EnvironmentTypes_Get.json" + } + } + }, + "put": { + "operationId": "EnvironmentTypes_CreateOrUpdate", + "tags": [ + "EnvironmentTypes" + ], + "description": "Creates or updates an environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents an Environment Type.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentType" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnvironmentType' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnvironmentType" + } + }, + "201": { + "description": "Resource 'EnvironmentType' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnvironmentType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentTypes_CreateOrUpdate": { + "$ref": "./examples/EnvironmentTypes_Put.json" + } + } + }, + "patch": { + "operationId": "EnvironmentTypes_Update", + "tags": [ + "EnvironmentTypes" + ], + "description": "Partially updates an environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable environment type properties.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentTypeUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnvironmentType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentTypes_Update": { + "$ref": "./examples/EnvironmentTypes_Patch.json" + } + } + }, + "delete": { + "operationId": "EnvironmentTypes_Delete", + "tags": [ + "EnvironmentTypes" + ], + "description": "Deletes an environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentTypes_Delete": { + "$ref": "./examples/EnvironmentTypes_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries": { + "get": { + "operationId": "Galleries_ListByDevCenter", + "tags": [ + "Galleries" + ], + "description": "Lists galleries for a devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/GalleryListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Galleries_ListByDevCenter": { + "$ref": "./examples/Galleries_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}": { + "get": { + "operationId": "Galleries_Get", + "tags": [ + "Galleries" + ], + "description": "Gets a gallery.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "galleryName", + "in": "path", + "description": "The name of the gallery.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Gallery" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Galleries_Get": { + "$ref": "./examples/Galleries_Get.json" + } + } + }, + "put": { + "operationId": "Galleries_CreateOrUpdate", + "tags": [ + "Galleries" + ], + "description": "Creates or updates a gallery.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "galleryName", + "in": "path", + "description": "The name of the gallery.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a gallery.", + "required": true, + "schema": { + "$ref": "#/definitions/Gallery" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Gallery' update operation succeeded", + "schema": { + "$ref": "#/definitions/Gallery" + } + }, + "201": { + "description": "Resource 'Gallery' create operation succeeded", + "schema": { + "$ref": "#/definitions/Gallery" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Galleries_CreateOrUpdate": { + "$ref": "./examples/Galleries_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Gallery" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Galleries_Delete", + "tags": [ + "Galleries" + ], + "description": "Deletes a gallery resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "galleryName", + "in": "path", + "description": "The name of the gallery.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Galleries_Delete": { + "$ref": "./examples/Galleries_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images": { + "get": { + "operationId": "Images_ListByGallery", + "tags": [ + "Images" + ], + "description": "Lists images for a gallery.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "galleryName", + "in": "path", + "description": "The name of the gallery.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Images_ListByGallery": { + "$ref": "./examples/Images_ListByGallery.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}": { + "get": { + "operationId": "Images_Get", + "tags": [ + "Images" + ], + "description": "Gets a gallery image.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "galleryName", + "in": "path", + "description": "The name of the gallery.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageName", + "in": "path", + "description": "The name of the image.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]{0,78}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Image" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Images_Get": { + "$ref": "./examples/Images_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions": { + "get": { + "operationId": "ImageVersions_ListByImage", + "tags": [ + "ImageVersions" + ], + "description": "Lists versions for an image.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "galleryName", + "in": "path", + "description": "The name of the gallery.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageName", + "in": "path", + "description": "The name of the image.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]{0,78}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageVersions_ListByImage": { + "$ref": "./examples/ImageVersions_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions/{versionName}": { + "get": { + "operationId": "ImageVersions_Get", + "tags": [ + "ImageVersions" + ], + "description": "Gets an image version.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "galleryName", + "in": "path", + "description": "The name of the gallery.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageName", + "in": "path", + "description": "The name of the image.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]{0,78}[a-zA-Z0-9]$" + }, + { + "name": "versionName", + "in": "path", + "description": "The version of the image.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 32, + "pattern": "^[0-9]{1,10}[.][0-9]{1,10}[.][0-9]{1,10}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageVersion" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Versions_Get": { + "$ref": "./examples/ImageVersions_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/images": { + "get": { + "operationId": "Images_ListByDevCenter", + "tags": [ + "DevCenters" + ], + "description": "Lists images for a devcenter.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Images_ListByDevCenter": { + "$ref": "./examples/Images_ListByDevCenter.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies": { + "get": { + "operationId": "ProjectPolicies_ListByDevCenter", + "tags": [ + "ProjectPolicies" + ], + "description": "Lists all project policies in the dev center.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProjectPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectPolicies_ListByDevCenter": { + "$ref": "./examples/ProjectPolicies_ListByDevCenter.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies/{projectPolicyName}": { + "get": { + "operationId": "ProjectPolicies_Get", + "tags": [ + "ProjectPolicies" + ], + "description": "Gets a specific project policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "projectPolicyName", + "in": "path", + "description": "The name of the project policy.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProjectPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectPolicies_Get": { + "$ref": "./examples/ProjectPolicies_Get.json" + } + } + }, + "put": { + "operationId": "ProjectPolicies_CreateOrUpdate", + "tags": [ + "ProjectPolicies" + ], + "description": "Creates or updates an project policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "projectPolicyName", + "in": "path", + "description": "The name of the project policy.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents an project policy.", + "required": true, + "schema": { + "$ref": "#/definitions/ProjectPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ProjectPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ProjectPolicy" + } + }, + "201": { + "description": "Resource 'ProjectPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/ProjectPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectPolicies_CreateOrUpdate": { + "$ref": "./examples/ProjectPolicies_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ProjectPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ProjectPolicies_Update", + "tags": [ + "ProjectPolicies" + ], + "description": "Partially updates an project policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "projectPolicyName", + "in": "path", + "description": "The name of the project policy.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable project policy properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ProjectPolicyUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProjectPolicy" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectPolicies_Update": { + "$ref": "./examples/ProjectPolicies_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ProjectPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ProjectPolicies_Delete", + "tags": [ + "ProjectPolicies" + ], + "description": "Deletes an project policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "devCenterName", + "in": "path", + "description": "The name of the devcenter.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 26, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$" + }, + { + "name": "projectPolicyName", + "in": "path", + "description": "The name of the project policy.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectPolicies_Delete": { + "$ref": "./examples/ProjectPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections": { + "get": { + "operationId": "NetworkConnections_ListByResourceGroup", + "tags": [ + "NetworkConnections" + ], + "description": "Lists network connections in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_ListByResourceGroup": { + "$ref": "./examples/NetworkConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}": { + "get": { + "operationId": "NetworkConnections_Get", + "tags": [ + "NetworkConnections" + ], + "description": "Gets a network connection resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_Get": { + "$ref": "./examples/NetworkConnections_Get.json" + } + } + }, + "put": { + "operationId": "NetworkConnections_CreateOrUpdate", + "tags": [ + "NetworkConnections" + ], + "description": "Creates or updates a Network Connections resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents network connection", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkConnection" + } + }, + "201": { + "description": "Resource 'NetworkConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_CreateOrUpdate": { + "$ref": "./examples/NetworkConnections_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NetworkConnection" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkConnections_Update", + "tags": [ + "NetworkConnections" + ], + "description": "Partially updates a Network Connection.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents network connection", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_Update": { + "$ref": "./examples/NetworkConnections_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkConnections_Delete", + "tags": [ + "NetworkConnections" + ], + "description": "Deletes a Network Connections resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_Delete": { + "$ref": "./examples/NetworkConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/healthChecks": { + "get": { + "operationId": "NetworkConnections_ListHealthDetails", + "tags": [ + "HealthCheckStatusDetailsOperationGroup" + ], + "description": "Lists health check status details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/HealthCheckStatusDetailsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_ListHealthDetails": { + "$ref": "./examples/NetworkConnections_ListHealthDetails.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/healthChecks/latest": { + "get": { + "operationId": "NetworkConnections_GetHealthDetails", + "tags": [ + "HealthCheckStatusDetailsOperationGroup" + ], + "description": "Gets health check status details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HealthCheckStatusDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_GetHealthDetails": { + "$ref": "./examples/NetworkConnections_GetHealthDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/outboundNetworkDependenciesEndpoints": { + "get": { + "operationId": "NetworkConnections_ListOutboundNetworkDependenciesEndpoints", + "tags": [ + "NetworkConnections" + ], + "description": "Lists the endpoints that agents may call as part of Dev Box service administration. These FQDNs should be allowed for outbound access in order for the Dev Box service to function.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OutboundEnvironmentEndpointCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListOutboundNetworkDependencies": { + "$ref": "./examples/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/runHealthChecks": { + "post": { + "operationId": "NetworkConnections_RunHealthChecks", + "tags": [ + "NetworkConnections" + ], + "description": "Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkConnectionName", + "in": "path", + "description": "Name of the Network Connection that can be applied to a Pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkConnections_RunHealthChecks": { + "$ref": "./examples/NetworkConnections_RunHealthChecks.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects": { + "get": { + "operationId": "Projects_ListByResourceGroup", + "tags": [ + "Projects" + ], + "description": "Lists all projects in the resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProjectListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Projects_ListByResourceGroup": { + "$ref": "./examples/Projects_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}": { + "get": { + "operationId": "Projects_Get", + "tags": [ + "Projects" + ], + "description": "Gets a specific project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Projects_Get": { + "$ref": "./examples/Projects_Get.json" + } + } + }, + "put": { + "operationId": "Projects_CreateOrUpdate", + "tags": [ + "Projects" + ], + "description": "Creates or updates a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a project.", + "required": true, + "schema": { + "$ref": "#/definitions/Project" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Project' update operation succeeded", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "201": { + "description": "Resource 'Project' create operation succeeded", + "schema": { + "$ref": "#/definitions/Project" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Projects_CreateOrUpdate": { + "$ref": "./examples/Projects_Put.json" + }, + "Projects_CreateOrUpdateWithCustomizationSettings": { + "$ref": "./examples/Projects_PutWithCustomizationSettings.json" + }, + "Projects_CreateOrUpdateWithCustomizationSettings_SystemIdentity": { + "$ref": "./examples/Projects_PutWithCustomizationSettings_SystemIdentity.json" + }, + "Projects_CreateOrUpdateWithLimitsPerDev": { + "$ref": "./examples/Projects_PutWithMaxDevBoxPerUser.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Project" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Projects_Update", + "tags": [ + "Projects" + ], + "description": "Partially updates a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable project properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ProjectUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Projects_Update": { + "$ref": "./examples/Projects_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Project" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Projects_Delete", + "tags": [ + "Projects" + ], + "description": "Deletes a project resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Projects_Delete": { + "$ref": "./examples/Projects_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes": { + "get": { + "operationId": "ProjectAllowedEnvironmentTypes_List", + "tags": [ + "AllowedEnvironmentTypes" + ], + "description": "Lists allowed environment types for a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AllowedEnvironmentTypeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectAllowedEnvironmentTypes_List": { + "$ref": "./examples/ProjectAllowedEnvironmentTypes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes/{environmentTypeName}": { + "get": { + "operationId": "ProjectAllowedEnvironmentTypes_Get", + "tags": [ + "AllowedEnvironmentTypes" + ], + "description": "Gets an allowed environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AllowedEnvironmentType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectAllowedEnvironmentTypes_Get": { + "$ref": "./examples/ProjectAllowedEnvironmentTypes_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks": { + "get": { + "operationId": "AttachedNetworks_ListByProject", + "tags": [ + "AttachedNetworkConnections" + ], + "description": "Lists the attached NetworkConnections for a Project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AttachedNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AttachedNetworks_ListByProject": { + "$ref": "./examples/AttachedNetworks_ListByProject.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks/{attachedNetworkConnectionName}": { + "get": { + "operationId": "AttachedNetworks_GetByProject", + "tags": [ + "AttachedNetworkConnections" + ], + "description": "Gets an attached NetworkConnection.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "attachedNetworkConnectionName", + "in": "path", + "description": "The name of the attached NetworkConnection.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AttachedNetworkConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AttachedNetworks_GetByProject": { + "$ref": "./examples/AttachedNetworks_GetByProject.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs": { + "get": { + "operationId": "ProjectCatalogs_List", + "tags": [ + "Catalogs" + ], + "description": "Lists the catalogs associated with a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CatalogListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_List": { + "$ref": "./examples/ProjectCatalogs_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}": { + "get": { + "operationId": "ProjectCatalogs_Get", + "tags": [ + "Catalogs" + ], + "description": "Gets an associated project catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Catalog" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_Get": { + "$ref": "./examples/ProjectCatalogs_Get.json" + } + } + }, + "put": { + "operationId": "ProjectCatalogs_CreateOrUpdate", + "tags": [ + "Catalogs" + ], + "description": "Creates or updates a project catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a catalog.", + "required": true, + "schema": { + "$ref": "#/definitions/Catalog" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Catalog' update operation succeeded", + "schema": { + "$ref": "#/definitions/Catalog" + } + }, + "201": { + "description": "Resource 'Catalog' create operation succeeded", + "schema": { + "$ref": "#/definitions/Catalog" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_CreateOrUpdateAdo": { + "$ref": "./examples/ProjectCatalogs_CreateAdo.json" + }, + "ProjectCatalogs_CreateOrUpdateGitHub": { + "$ref": "./examples/ProjectCatalogs_CreateGitHub.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Catalog" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ProjectCatalogs_Patch", + "tags": [ + "Catalogs" + ], + "description": "Partially updates a project catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable project catalog properties.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Catalog" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_Patch": { + "$ref": "./examples/ProjectCatalogs_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Catalog" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ProjectCatalogs_Delete", + "tags": [ + "Catalogs" + ], + "description": "Deletes a project catalog resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_Delete": { + "$ref": "./examples/ProjectCatalogs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/connect": { + "post": { + "operationId": "ProjectCatalogs_Connect", + "tags": [ + "Catalogs" + ], + "description": "Connects a project catalog to enable syncing.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_Connect": { + "$ref": "./examples/ProjectCatalogs_Connect.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions": { + "get": { + "operationId": "EnvironmentDefinitions_ListByProjectCatalog", + "tags": [ + "EnvironmentDefinitions" + ], + "description": "Lists the environment definitions in this project catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/EnvironmentDefinitionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentDefinitions_ListByProjectCatalog": { + "$ref": "./examples/EnvironmentDefinitions_ListByProjectCatalog.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{environmentDefinitionName}": { + "get": { + "operationId": "EnvironmentDefinitions_GetByProjectCatalog", + "tags": [ + "EnvironmentDefinitions" + ], + "description": "Gets an environment definition from the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentDefinitionName", + "in": "path", + "description": "The name of the Environment Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnvironmentDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnvironmentDefinitions_GetByProjectCatalog": { + "$ref": "./examples/EnvironmentDefinitions_GetByProjectCatalog.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{environmentDefinitionName}/getErrorDetails": { + "post": { + "operationId": "ProjectCatalogEnvironmentDefinitions_GetErrorDetails", + "tags": [ + "EnvironmentDefinitions" + ], + "description": "Gets Environment Definition error details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentDefinitionName", + "in": "path", + "description": "The name of the Environment Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceValidationErrorDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogEnvironmentDefinitions_GetErrorDetails": { + "$ref": "./examples/ProjectCatalogEnvironmentDefinitions_GetErrorDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/getSyncErrorDetails": { + "post": { + "operationId": "ProjectCatalogs_GetSyncErrorDetails", + "tags": [ + "Catalogs" + ], + "description": "Gets project catalog synchronization error details", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SyncErrorDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_GetSyncErrorDetails": { + "$ref": "./examples/ProjectCatalogs_GetSyncErrorDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions": { + "get": { + "operationId": "ProjectCatalogImageDefinitions_ListByProjectCatalog", + "tags": [ + "ProjectCatalogImageDefinitions" + ], + "description": "List Image Definitions in the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageDefinitionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageDefinitions_ListByProjectCatalog": { + "$ref": "./examples/ImageDefinitions_ListByProjectCatalog.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}": { + "get": { + "operationId": "ProjectCatalogImageDefinitions_GetByProjectCatalog", + "tags": [ + "ProjectCatalogImageDefinitions" + ], + "description": "Gets an Image Definition from the catalog.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageDefinitions_GetByProjectCatalog": { + "$ref": "./examples/ImageDefinitions_GetByProjectCatalog.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/buildImage": { + "post": { + "operationId": "ProjectCatalogImageDefinitions_BuildImage", + "tags": [ + "ProjectCatalogImageDefinitions" + ], + "description": "Builds an image for the specified Image Definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogImageDefinitions_BuildImage": { + "$ref": "./examples/ImageDefinitions_BuildImage.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds": { + "get": { + "operationId": "ProjectCatalogImageDefinitionBuilds_ListByImageDefinition", + "tags": [ + "ProjectCatalogImageDefinitionBuild" + ], + "description": "Lists builds for a specified image definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageDefinitionBuildListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageDefinitionBuilds_ListByImageDefinition": { + "$ref": "./examples/ImageDefinitions_ListImageBuildsByImageDefinition.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}": { + "get": { + "operationId": "ProjectCatalogImageDefinitionBuild_Get", + "tags": [ + "ProjectCatalogImageDefinitionBuild" + ], + "description": "Gets a build for a specified image definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "buildName", + "in": "path", + "description": "The ID of the Image Definition Build.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageDefinitionBuild" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageDefinitionBuilds_GetByImageDefinition": { + "$ref": "./examples/ImageDefinitions_GetImageBuild.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/cancel": { + "post": { + "operationId": "ProjectCatalogImageDefinitionBuild_Cancel", + "tags": [ + "ProjectCatalogImageDefinitionBuild" + ], + "description": "Cancels the specified build for an image definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "buildName", + "in": "path", + "description": "The ID of the Image Definition Build.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageDefinitionBuilds_CancelByImageDefinition": { + "$ref": "./examples/ImageDefinitions_CancelImageBuild.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/getBuildDetails": { + "post": { + "operationId": "ProjectCatalogImageDefinitionBuild_GetBuildDetails", + "tags": [ + "ProjectCatalogImageDefinitionBuild" + ], + "description": "Gets Build details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "buildName", + "in": "path", + "description": "The ID of the Image Definition Build.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageDefinitionBuildDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogImageDefinitionBuild_GetErrorDetails": { + "$ref": "./examples/ImageDefinitions_GetImageBuildDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/getErrorDetails": { + "post": { + "operationId": "ProjectCatalogImageDefinitions_GetErrorDetails", + "tags": [ + "ProjectCatalogImageDefinitions" + ], + "description": "Gets Image Definition error details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageDefinitionName", + "in": "path", + "description": "The name of the Image Definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceValidationErrorDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogImageDefinitions_GetErrorDetails": { + "$ref": "./examples/ProjectCatalogImageDefinitions_GetErrorDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/sync": { + "post": { + "operationId": "ProjectCatalogs_Sync", + "tags": [ + "Catalogs" + ], + "description": "Syncs templates for a template source.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "catalogName", + "in": "path", + "description": "The name of the Catalog.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectCatalogs_Sync": { + "$ref": "./examples/ProjectCatalogs_Sync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/devboxdefinitions": { + "get": { + "operationId": "DevBoxDefinitions_ListByProject", + "tags": [ + "DevBoxDefinitionOperationGroup" + ], + "description": "List Dev Box definitions configured for a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DevBoxDefinitionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevBoxDefinitions_ListByProject": { + "$ref": "./examples/DevBoxDefinitions_ListByProject.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/devboxdefinitions/{devBoxDefinitionName}": { + "get": { + "operationId": "DevBoxDefinitions_GetByProject", + "tags": [ + "DevBoxDefinitionOperationGroup" + ], + "description": "Gets a Dev Box definition configured for a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "devBoxDefinitionName", + "in": "path", + "description": "The name of the Dev Box definition.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DevBoxDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DevBoxDefinitions_GetByProject": { + "$ref": "./examples/DevBoxDefinitions_GetByProject.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes": { + "get": { + "operationId": "ProjectEnvironmentTypes_List", + "tags": [ + "ProjectEnvironmentTypes" + ], + "description": "Lists environment types for a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProjectEnvironmentTypeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectEnvironmentTypes_List": { + "$ref": "./examples/ProjectEnvironmentTypes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}": { + "get": { + "operationId": "ProjectEnvironmentTypes_Get", + "tags": [ + "ProjectEnvironmentTypes" + ], + "description": "Gets a project environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProjectEnvironmentType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectEnvironmentTypes_Get": { + "$ref": "./examples/ProjectEnvironmentTypes_Get.json" + } + } + }, + "put": { + "operationId": "ProjectEnvironmentTypes_CreateOrUpdate", + "tags": [ + "ProjectEnvironmentTypes" + ], + "description": "Creates or updates a project environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a Project Environment Type.", + "required": true, + "schema": { + "$ref": "#/definitions/ProjectEnvironmentType" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ProjectEnvironmentType' update operation succeeded", + "schema": { + "$ref": "#/definitions/ProjectEnvironmentType" + } + }, + "201": { + "description": "Resource 'ProjectEnvironmentType' create operation succeeded", + "schema": { + "$ref": "#/definitions/ProjectEnvironmentType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectEnvironmentTypes_CreateOrUpdate": { + "$ref": "./examples/ProjectEnvironmentTypes_Put.json" + } + } + }, + "patch": { + "operationId": "ProjectEnvironmentTypes_Update", + "tags": [ + "ProjectEnvironmentTypes" + ], + "description": "Partially updates a project environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Updatable project environment type properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ProjectEnvironmentTypeUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProjectEnvironmentType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectEnvironmentTypes_Update": { + "$ref": "./examples/ProjectEnvironmentTypes_Patch.json" + } + } + }, + "delete": { + "operationId": "ProjectEnvironmentTypes_Delete", + "tags": [ + "ProjectEnvironmentTypes" + ], + "description": "Deletes a project environment type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "environmentTypeName", + "in": "path", + "description": "The name of the environment type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProjectEnvironmentTypes_Delete": { + "$ref": "./examples/ProjectEnvironmentTypes_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/getInheritedSettings": { + "post": { + "operationId": "Projects_GetInheritedSettings", + "tags": [ + "Projects" + ], + "description": "Gets applicable inherited settings for this project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InheritedSettingsForProject" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Projects_GetInheritedSettings": { + "$ref": "./examples/Projects_GetInheritedSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images": { + "get": { + "operationId": "Images_ListByProject", + "tags": [ + "ImageOperationGroup" + ], + "description": "Lists images for a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Images_ListByProject": { + "$ref": "./examples/Images_ListByProject.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}": { + "get": { + "operationId": "Images_GetByProject", + "tags": [ + "ImageOperationGroup" + ], + "description": "Gets an image.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageName", + "in": "path", + "description": "The name of the image.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 153, + "pattern": "^[a-zA-Z0-9~][a-zA-Z0-9-.~]{0,151}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Image" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Images_GetByProject": { + "$ref": "./examples/Images_GetByProject.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}/versions": { + "get": { + "operationId": "ImageVersions_ListByProject", + "tags": [ + "ImageVersionOperationGroup" + ], + "description": "Lists versions for an image.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageName", + "in": "path", + "description": "The name of the image.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 153, + "pattern": "^[a-zA-Z0-9~][a-zA-Z0-9-.~]{0,151}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImageVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageVersions_ListByProject": { + "$ref": "./examples/ImageVersions_ListByProject.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/images/{imageName}/versions/{versionName}": { + "get": { + "operationId": "ImageVersions_GetByProject", + "tags": [ + "ImageVersionOperationGroup" + ], + "description": "Gets an image version.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "imageName", + "in": "path", + "description": "The name of the image.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 153, + "pattern": "^[a-zA-Z0-9~][a-zA-Z0-9-.~]{0,151}[a-zA-Z0-9]$" + }, + { + "name": "versionName", + "in": "path", + "description": "The version of the image.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 32, + "pattern": "^[0-9]{1,10}[.][0-9]{1,10}[.][0-9]{1,10}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImageVersion" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImageVersions_GetByProject": { + "$ref": "./examples/ImageVersions_GetByProject.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/listSkus": { + "post": { + "operationId": "Skus_ListByProject", + "tags": [ + "Projects" + ], + "description": "Lists SKUs available to the project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Skus_ListByProject": { + "$ref": "./examples/Skus_ListByProject.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools": { + "get": { + "operationId": "Pools_ListByProject", + "tags": [ + "Pools" + ], + "description": "Lists pools for a project.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PoolListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_ListByProject": { + "$ref": "./examples/Pools_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}": { + "get": { + "operationId": "Pools_Get", + "tags": [ + "Pools" + ], + "description": "Gets a machine pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Pool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Get": { + "$ref": "./examples/Pools_Get.json" + }, + "Pools_GetUnhealthyStatus": { + "$ref": "./examples/Pools_GetUnhealthyStatus.json" + } + } + }, + "put": { + "operationId": "Pools_CreateOrUpdate", + "tags": [ + "Pools" + ], + "description": "Creates or updates a machine pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a machine pool", + "required": true, + "schema": { + "$ref": "#/definitions/Pool" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Pool' update operation succeeded", + "schema": { + "$ref": "#/definitions/Pool" + } + }, + "201": { + "description": "Resource 'Pool' create operation succeeded", + "schema": { + "$ref": "#/definitions/Pool" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_CreateOrUpdate": { + "$ref": "./examples/Pools_Put.json" + }, + "Pools_CreateOrUpdateWithManagedNetwork": { + "$ref": "./examples/Pools_PutWithManagedNetwork.json" + }, + "Pools_CreateOrUpdateWithValueDevBoxDefinition": { + "$ref": "./examples/Pools_PutWithValueDevBoxDefinition.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Pool" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Pools_Update", + "tags": [ + "Pools" + ], + "description": "Partially updates a machine pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "body", + "in": "body", + "description": "Represents a machine pool", + "required": true, + "schema": { + "$ref": "#/definitions/PoolUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Pool" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Update": { + "$ref": "./examples/Pools_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Pool" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Pools_Delete", + "tags": [ + "Pools" + ], + "description": "Deletes a machine pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Delete": { + "$ref": "./examples/Pools_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/runHealthChecks": { + "post": { + "operationId": "Pools_RunHealthChecks", + "tags": [ + "Pools" + ], + "description": "Triggers a refresh of the pool status.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_RefreshStatus": { + "$ref": "./examples/Pools_RunHealthChecks.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules": { + "get": { + "operationId": "Schedules_ListByPool", + "tags": [ + "Schedules" + ], + "description": "Lists schedules for a pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ScheduleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Schedules_ListByPool": { + "$ref": "./examples/Schedules_ListByPool.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}": { + "get": { + "operationId": "Schedules_Get", + "tags": [ + "Schedules" + ], + "description": "Gets a schedule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "scheduleName", + "in": "path", + "description": "The name of the schedule that uniquely identifies it.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-\\w]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Schedules_GetByPool": { + "$ref": "./examples/Schedules_Get.json" + } + } + }, + "put": { + "operationId": "Schedules_CreateOrUpdate", + "tags": [ + "Schedules" + ], + "description": "Creates or updates a Schedule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "scheduleName", + "in": "path", + "description": "The name of the schedule that uniquely identifies it.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-\\w]+$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "body", + "in": "body", + "description": "Represents a scheduled task", + "required": true, + "schema": { + "$ref": "#/definitions/Schedule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Schedule' update operation succeeded", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, + "201": { + "description": "Resource 'Schedule' create operation succeeded", + "schema": { + "$ref": "#/definitions/Schedule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Schedules_CreateDailyShutdownPoolSchedule": { + "$ref": "./examples/Schedules_CreateDailyShutdownPoolSchedule.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Schedule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Schedules_Update", + "tags": [ + "Schedules" + ], + "description": "Partially updates a Schedule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "scheduleName", + "in": "path", + "description": "The name of the schedule that uniquely identifies it.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-\\w]+$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "body", + "in": "body", + "description": "Represents a scheduled task.", + "required": true, + "schema": { + "$ref": "#/definitions/ScheduleUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Schedules_Update": { + "$ref": "./examples/Schedules_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Schedule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Schedules_Delete", + "tags": [ + "Schedules" + ], + "description": "Deletes a Schedule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "poolName", + "in": "path", + "description": "Name of the pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$" + }, + { + "name": "scheduleName", + "in": "path", + "description": "The name of the schedule that uniquely identifies it.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 100, + "pattern": "^[-\\w]+$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of resources to return from the operation. Example: '$top=10'.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Schedules_Delete": { + "$ref": "./examples/Schedules_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ActiveHoursConfiguration": { + "type": "object", + "description": "Active hours configuration.", + "properties": { + "keepAwakeEnableStatus": { + "$ref": "#/definitions/KeepAwakeEnableStatus", + "description": "Enables or disables whether the Dev Box should be kept awake during active hours." + }, + "autoStartEnableStatus": { + "$ref": "#/definitions/AutoStartEnableStatus", + "description": "Enables or disables whether the Dev Box should be automatically started at commencement of active hours." + }, + "defaultTimeZone": { + "type": "string", + "description": "The default IANA timezone id of the active hours." + }, + "defaultStartTimeHour": { + "type": "integer", + "format": "int32", + "description": "The default start time of the active hours." + }, + "defaultEndTimeHour": { + "type": "integer", + "format": "int32", + "description": "The default end time of the active hours." + }, + "defaultDaysOfWeek": { + "type": "array", + "description": "The days of the week that active hours features will be enabled. This serves as a default that can be updated by each individual user.", + "items": { + "$ref": "#/definitions/DayOfWeek" + } + }, + "daysOfWeekLimit": { + "type": "integer", + "format": "int32", + "description": "The maximum amount of days per week that a user can enable active hours related features." + } + } + }, + "AllowedEnvironmentType": { + "type": "object", + "description": "Represents an allowed environment type.", + "properties": { + "properties": { + "$ref": "#/definitions/AllowedEnvironmentTypeProperties", + "description": "Properties of an allowed environment type.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "AllowedEnvironmentTypeListResult": { + "type": "object", + "description": "Paged collection of AllowedEnvironmentType items", + "properties": { + "value": { + "type": "array", + "description": "The AllowedEnvironmentType items on this page", + "items": { + "$ref": "#/definitions/AllowedEnvironmentType" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AllowedEnvironmentTypeProperties": { + "type": "object", + "description": "Properties of an allowed environment type.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The display name of the allowed environment type.", + "readOnly": true + } + } + }, + "ArchitectureType": { + "type": "string", + "description": "Architecture Types.", + "enum": [ + "x64", + "Arm64" + ], + "x-ms-enum": { + "name": "ArchitectureType", + "modelAsString": true, + "values": [ + { + "name": "x64", + "value": "x64", + "description": "x64 architecture" + }, + { + "name": "Arm64", + "value": "Arm64", + "description": "ARM64 architecture" + } + ] + } + }, + "AssignedGroup": { + "type": "object", + "description": "Represents an Entra group assigned to this Project, entitling all members to resources for the given scope.", + "properties": { + "objectId": { + "$ref": "#/definitions/Azure.Core.uuid", + "description": "The Entra group object ID (GUID)." + }, + "scope": { + "$ref": "#/definitions/AssignedGroupScope", + "description": "The scope of the assignment." + } + } + }, + "AssignedGroupScope": { + "type": "string", + "description": "The scope of an assignment.", + "enum": [ + "DevBox" + ], + "x-ms-enum": { + "name": "AssignedGroupScope", + "modelAsString": true, + "values": [ + { + "name": "DevBox", + "value": "DevBox", + "description": "Assignment entitles group members to Dev Boxes in the Project." + } + ] + } + }, + "AttachedNetworkConnection": { + "type": "object", + "description": "Represents an attached NetworkConnection.", + "properties": { + "properties": { + "$ref": "#/definitions/AttachedNetworkConnectionProperties", + "description": "Attached NetworkConnection properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "AttachedNetworkConnectionProperties": { + "type": "object", + "description": "Properties of an attached NetworkConnection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "networkConnectionId": { + "type": "string", + "description": "The resource ID of the NetworkConnection you want to attach.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "networkConnectionLocation": { + "type": "string", + "description": "The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives.", + "readOnly": true + }, + "healthCheckStatus": { + "$ref": "#/definitions/HealthCheckStatus", + "description": "Health check status values.", + "readOnly": true + }, + "domainJoinType": { + "$ref": "#/definitions/DomainJoinType", + "description": "AAD Join type of the network. This is populated based on the referenced Network Connection.", + "readOnly": true + } + } + }, + "AttachedNetworkListResult": { + "type": "object", + "description": "Paged collection of AttachedNetworkConnection items", + "properties": { + "value": { + "type": "array", + "description": "The AttachedNetworkConnection items on this page", + "items": { + "$ref": "#/definitions/AttachedNetworkConnection" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AutoImageBuildStatus": { + "type": "string", + "description": "Indicates whether auto image build is enabled/disabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "AutoImageBuildStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Auto image build is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Auto image build is enabled." + } + ] + } + }, + "AutoStartEnableStatus": { + "type": "string", + "description": "Enables or disables whether Dev Boxes should be automatically started at commencement of active hours.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AutoStartEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Auto start is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Auto start is disabled." + } + ] + } + }, + "Azure.Core.uuid": { + "type": "string", + "format": "uuid", + "description": "Universally Unique Identifier" + }, + "AzureAiServicesMode": { + "type": "string", + "description": "Indicates whether Azure AI services are enabled for a project.", + "enum": [ + "Disabled", + "AutoDeploy" + ], + "x-ms-enum": { + "name": "AzureAiServicesMode", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Azure AI services are disabled for this project." + }, + { + "name": "AutoDeploy", + "value": "AutoDeploy", + "description": "Azure AI services are enabled for this project and necessary resources will be automatically setup." + } + ] + } + }, + "AzureAiServicesSettings": { + "type": "object", + "description": "Configures Azure AI related services for the project.", + "properties": { + "azureAiServicesMode": { + "$ref": "#/definitions/AzureAiServicesMode", + "description": "The property indicates whether Azure AI services is enabled." + } + } + }, + "CancelOnConnectEnableStatus": { + "type": "string", + "description": "Indicates whether cancel on connect is enabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "CancelOnConnectEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Cancel on connect is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Cancel on connect is disabled." + } + ] + } + }, + "Capability": { + "type": "object", + "description": "A name/value pair to describe a capability.", + "properties": { + "name": { + "type": "string", + "description": "Name of the capability.", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Value of the capability.", + "readOnly": true + } + } + }, + "Catalog": { + "type": "object", + "description": "Represents a catalog.", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "Catalog properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "CatalogAutoImageBuildEnableStatus": { + "type": "string", + "description": "Indicates whether auto image build is enabled/disabled for image definitions in the catalog.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "CatalogAutoImageBuildEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Auto image build is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Auto image build is enabled." + } + ] + } + }, + "CatalogConflictError": { + "type": "object", + "description": "An individual conflict error.", + "properties": { + "path": { + "type": "string", + "description": "The path of the file that has a conflicting name.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of the conflicting catalog item.", + "readOnly": true + } + } + }, + "CatalogConnectionState": { + "type": "string", + "description": "The connection state of the catalog.", + "enum": [ + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "CatalogConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "Connected state." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected state." + } + ] + } + }, + "CatalogErrorDetails": { + "type": "object", + "description": "Catalog error details", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error." + }, + "message": { + "type": "string", + "description": "A message describing the error." + } + } + }, + "CatalogItemSyncEnableStatus": { + "type": "string", + "description": "Catalog item sync types enable or disable status. Indicates whether project catalogs are allowed to sync catalog items under projects associated to this dev center.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "CatalogItemSyncEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Catalog item sync is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Catalog item sync is disabled." + } + ] + } + }, + "CatalogItemType": { + "type": "string", + "description": "Indicates catalog item types.", + "enum": [ + "EnvironmentDefinition", + "ImageDefinition" + ], + "x-ms-enum": { + "name": "CatalogItemType", + "modelAsString": true, + "values": [ + { + "name": "EnvironmentDefinition", + "value": "EnvironmentDefinition", + "description": "Environment definition catalog item type." + }, + { + "name": "ImageDefinition", + "value": "ImageDefinition", + "description": "Image definition catalog item type." + } + ] + } + }, + "CatalogListResult": { + "type": "object", + "description": "Paged collection of Catalog items", + "properties": { + "value": { + "type": "array", + "description": "The Catalog items on this page", + "items": { + "$ref": "#/definitions/Catalog" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CatalogProperties": { + "type": "object", + "description": "Properties of a catalog.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "syncState": { + "$ref": "#/definitions/CatalogSyncState", + "description": "The synchronization state of the catalog.", + "readOnly": true + }, + "lastSyncStats": { + "$ref": "#/definitions/SyncStats", + "description": "Stats of the latest synchronization.", + "readOnly": true + }, + "connectionState": { + "$ref": "#/definitions/CatalogConnectionState", + "description": "The connection state of the catalog.", + "readOnly": true + }, + "lastConnectionTime": { + "type": "string", + "format": "date-time", + "description": "When the catalog was last connected.", + "readOnly": true + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "description": "When the catalog was last synced.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/CatalogUpdateProperties" + } + ] + }, + "CatalogResourceValidationErrorDetails": { + "type": "object", + "description": "List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource.", + "properties": { + "errors": { + "type": "array", + "description": "Errors associated with resources synchronized from the catalog.", + "items": { + "$ref": "#/definitions/CatalogErrorDetails" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "CatalogResourceValidationStatus": { + "type": "string", + "description": "Catalog resource validation status.", + "enum": [ + "Unknown", + "Pending", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "CatalogResourceValidationStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown validation status." + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending validation status." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded validation status." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed validation status." + } + ] + }, + "readOnly": true + }, + "CatalogSyncError": { + "type": "object", + "description": "An individual synchronization error.", + "properties": { + "path": { + "type": "string", + "description": "The path of the file the error is associated with.", + "readOnly": true + }, + "errorDetails": { + "type": "array", + "description": "Errors associated with the file.", + "items": { + "$ref": "#/definitions/CatalogErrorDetails" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "CatalogSyncState": { + "type": "string", + "description": "The synchronization state of the catalog.", + "enum": [ + "Succeeded", + "InProgress", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "CatalogSyncState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded synchronization state." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "In progress synchronization state." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed synchronization state." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled synchronization state." + } + ] + }, + "readOnly": true + }, + "CatalogSyncType": { + "type": "string", + "description": "Indicates the type of sync that is configured for the catalog.", + "enum": [ + "Manual", + "Scheduled" + ], + "x-ms-enum": { + "name": "CatalogSyncType", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual", + "description": "Manual sync type." + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Scheduled sync type." + } + ] + } + }, + "CatalogUpdate": { + "type": "object", + "description": "The catalog's properties for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogUpdateProperties", + "description": "Catalog properties for update.", + "x-ms-client-flatten": true + } + } + }, + "CatalogUpdateProperties": { + "type": "object", + "description": "Properties of a catalog. These properties can be updated after the resource has been created.", + "properties": { + "gitHub": { + "$ref": "#/definitions/GitCatalog", + "description": "Properties for a GitHub catalog type." + }, + "adoGit": { + "$ref": "#/definitions/GitCatalog", + "description": "Properties for an Azure DevOps catalog type." + }, + "syncType": { + "$ref": "#/definitions/CatalogSyncType", + "description": "Indicates the type of sync that is configured for the catalog." + }, + "autoImageBuildEnableStatus": { + "$ref": "#/definitions/CatalogAutoImageBuildEnableStatus", + "description": "Indicates whether the catalog is configured to automatically build image definitions. Defaults to enabled." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "CheckScopedNameAvailabilityRequest": { + "type": "object", + "description": "The scoped name check availability request body.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource for which availability needs to be checked." + }, + "type": { + "type": "string", + "description": "The resource type." + }, + "scope": { + "type": "string", + "description": "The resource id to scope the name check." + } + } + }, + "CmkIdentityType": { + "type": "string", + "description": "The type of identity used to access the key vault key.", + "enum": [ + "SystemAssigned", + "UserAssigned" + ], + "x-ms-enum": { + "name": "CmkIdentityType", + "modelAsString": true, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned", + "description": "System assigned identity type." + }, + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "User assigned identity type." + } + ] + } + }, + "ConfigurationPolicies": { + "type": "object", + "description": "Represents policies to enforce configuration settings on a project.", + "properties": { + "azureAiServicesFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "The property indicates the Azure AI services settings on a project." + }, + "devBoxScheduleDeleteFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether the setting is configurable at Project scope." + }, + "devBoxLimitsFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether DevBox limits are configurable at Project scope." + }, + "displayNameFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether project display name is configurable at Project scope." + }, + "devBoxTunnelFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether DevBox tunnel settings are configurable at Pool scope." + }, + "projectCatalogFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether project catalogs are configurable at Project scope." + }, + "serverlessGpuSessionsFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether serverless GPU sessions are configurable at Project scope." + }, + "userCustomizationsFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether user customizations is configurable at Project scope." + }, + "workspaceStorageFeatureStatus": { + "$ref": "#/definitions/FeatureState", + "description": "Indicates whether workspace storage is configurable at Project scope." + } + } + }, + "CustomizationTask": { + "type": "object", + "description": "Represents a Task to be used in customizing a Dev Box.", + "properties": { + "properties": { + "$ref": "#/definitions/CustomizationTaskProperties", + "description": "Task properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "CustomizationTaskInput": { + "type": "object", + "description": "Input for a Task.", + "properties": { + "description": { + "type": "string", + "description": "Description of the input.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/CustomizationTaskInputType", + "description": "Type of the input.", + "readOnly": true + }, + "required": { + "type": "boolean", + "description": "Whether or not the input is required.", + "readOnly": true + } + } + }, + "CustomizationTaskInputType": { + "type": "string", + "description": "Type of the input.", + "enum": [ + "string", + "number", + "boolean" + ], + "x-ms-enum": { + "name": "CustomizationTaskInputType", + "modelAsString": true, + "values": [ + { + "name": "string", + "value": "string", + "description": "The parameter accepts a string value." + }, + { + "name": "number", + "value": "number", + "description": "The parameter accepts a number value." + }, + { + "name": "boolean", + "value": "boolean", + "description": "The parameter accepts a boolean value." + } + ] + } + }, + "CustomizationTaskInstance": { + "type": "object", + "description": "A customization task to run.", + "properties": { + "name": { + "type": "string", + "description": "Name of the task." + }, + "parameters": { + "type": "array", + "description": "Parameters for the task.", + "items": { + "$ref": "#/definitions/DefinitionParametersItem" + } + }, + "displayName": { + "type": "string", + "description": "Display name to help differentiate multiple instances of the same task." + }, + "timeoutInSeconds": { + "type": "integer", + "format": "int32", + "description": "Timeout, in seconds. Overrides any timeout provided on the task definition." + }, + "condition": { + "type": "string", + "description": "An expression that must evaluate to true in order for the task to run." + } + }, + "required": [ + "name" + ] + }, + "CustomizationTaskListResult": { + "type": "object", + "description": "Paged collection of CustomizationTask items", + "properties": { + "value": { + "type": "array", + "description": "The CustomizationTask items on this page", + "items": { + "$ref": "#/definitions/CustomizationTask" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CustomizationTaskProperties": { + "type": "object", + "description": "Properties of a Task.", + "properties": { + "inputs": { + "type": "object", + "description": "Inputs to the task.", + "additionalProperties": { + "$ref": "#/definitions/CustomizationTaskInput" + }, + "readOnly": true + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "The default timeout for the task.", + "readOnly": true + }, + "validationStatus": { + "$ref": "#/definitions/CatalogResourceValidationStatus", + "description": "Validation status for the Task.", + "readOnly": true + } + } + }, + "DayOfWeek": { + "type": "string", + "description": "The days of the week.", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": false, + "values": [ + { + "name": "Monday", + "value": "Monday", + "description": "Monday" + }, + { + "name": "Tuesday", + "value": "Tuesday", + "description": "Tuesday" + }, + { + "name": "Wednesday", + "value": "Wednesday", + "description": "Wednesday" + }, + { + "name": "Thursday", + "value": "Thursday", + "description": "Thursday" + }, + { + "name": "Friday", + "value": "Friday", + "description": "Friday" + }, + { + "name": "Saturday", + "value": "Saturday", + "description": "Saturday" + }, + { + "name": "Sunday", + "value": "Sunday", + "description": "Sunday" + } + ] + } + }, + "DefaultValue": { + "type": "object", + "description": "A default value that can be provided for a feature property.", + "properties": { + "name": { + "type": "string", + "description": "The name of the feature property." + }, + "value": { + "type": "string", + "description": "The default value to be applied for the given property." + } + } + }, + "DefinitionParametersItem": { + "type": "object", + "description": "Parameters for the task.", + "properties": { + "name": { + "type": "string", + "description": "Name of the parameter." + }, + "value": { + "type": "string", + "description": "value of the parameter." + } + }, + "required": [ + "name", + "value" + ] + }, + "DevBoxDefinition": { + "type": "object", + "description": "Represents a definition for a Developer Machine.", + "properties": { + "properties": { + "$ref": "#/definitions/DevBoxDefinitionProperties", + "description": "Dev Box definition properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" + } + ] + }, + "DevBoxDefinitionListResult": { + "type": "object", + "description": "Paged collection of DevBoxDefinition items", + "properties": { + "value": { + "type": "array", + "description": "The DevBoxDefinition items on this page", + "items": { + "$ref": "#/definitions/DevBoxDefinition" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DevBoxDefinitionProperties": { + "type": "object", + "description": "Properties of a Dev Box definition.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "imageValidationStatus": { + "$ref": "#/definitions/ImageValidationStatus", + "description": "Validation status of the configured image.", + "readOnly": true + }, + "imageValidationErrorDetails": { + "$ref": "#/definitions/ImageValidationErrorDetails", + "description": "Details for image validator error. Populated when the image validation is not successful.", + "readOnly": true + }, + "validationStatus": { + "$ref": "#/definitions/CatalogResourceValidationStatus", + "description": "Validation status for the Dev Box Definition.", + "readOnly": true + }, + "activeImageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Image reference information for the currently active image (only populated during updates).", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/DevBoxDefinitionUpdateProperties" + } + ] + }, + "DevBoxDefinitionUpdate": { + "type": "object", + "description": "Partial update of a Dev Box definition resource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/DevBoxDefinitionUpdateProperties", + "description": "Properties of a Dev Box definition to be updated.", + "x-ms-client-flatten": true + } + } + }, + "DevBoxDefinitionUpdateProperties": { + "type": "object", + "description": "Properties of a Dev Box definition. These properties can be updated after the resource has been created.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Image reference information." + }, + "sku": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/Sku", + "description": "The SKU for Dev Boxes created using this definition." + }, + "osStorageType": { + "type": "string", + "description": "The storage type used for the Operating System disk of Dev Boxes created using this definition." + }, + "hibernateSupport": { + "$ref": "#/definitions/HibernateSupport", + "description": "Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate" + } + } + }, + "DevBoxDeleteMode": { + "type": "string", + "description": "Indicates possible values for Dev Box delete mode.", + "enum": [ + "Manual", + "Auto" + ], + "x-ms-enum": { + "name": "DevBoxDeleteMode", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual", + "description": "Dev Boxes will not be deleted automatically, and user must manually delete. This is the default." + }, + { + "name": "Auto", + "value": "Auto", + "description": "Dev Boxes will be deleted automatically according to configured settings." + } + ] + } + }, + "DevBoxProvisioningSettings": { + "type": "object", + "description": "Provisioning settings that apply to all Dev Boxes created in this dev center.", + "properties": { + "installAzureMonitorAgentEnableStatus": { + "$ref": "#/definitions/InstallAzureMonitorAgentEnableStatus", + "description": "Indicates whether to install the Azure Monitor Agent service on Dev Boxes that belong to this dev center" + } + } + }, + "DevBoxScheduleDeleteSettings": { + "type": "object", + "description": "Settings controlling the auto deletion of inactive dev boxes.", + "properties": { + "deleteMode": { + "$ref": "#/definitions/DevBoxDeleteMode", + "description": "Indicates the delete mode for Dev Boxes within this project." + }, + "inactiveThreshold": { + "type": "string", + "format": "duration", + "description": "ISO8601 duration required for the dev box to not be inactive prior to it being scheduled for deletion. ISO8601 format PT[n]H[n]M[n]S." + }, + "gracePeriod": { + "type": "string", + "format": "duration", + "description": "ISO8601 duration required for the dev box to be marked for deletion prior to it being deleted. ISO8601 format PT[n]H[n]M[n]S." + }, + "cancelOnConnectEnableStatus": { + "$ref": "#/definitions/CancelOnConnectEnableStatus", + "description": "Indicates whether scheduled deletion should be canceled when a user connects to the dev box." + } + } + }, + "DevBoxTunnelEnableStatus": { + "type": "string", + "description": "Indicates whether Dev Box Tunnel is enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "DevBoxTunnelEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Dev Box Tunnel is enabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Dev Box Tunnel is disabled." + } + ] + } + }, + "DevCenter": { + "type": "object", + "description": "Represents a devcenter resource.", + "properties": { + "properties": { + "$ref": "#/definitions/DevCenterProperties", + "description": "DevCenter properties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" + } + ] + }, + "DevCenterEncryptionSet": { + "type": "object", + "description": "Represents a devcenter encryption set resource.", + "properties": { + "properties": { + "$ref": "#/definitions/DevCenterEncryptionSetProperties", + "description": "Properties of a devcenter encryption set.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" + } + ] + }, + "DevCenterEncryptionSetProperties": { + "type": "object", + "description": "Properties of the devcenter encryption set.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/DevCenterEncryptionSetUpdateProperties" + } + ] + }, + "DevCenterEncryptionSetUpdateProperties": { + "type": "object", + "description": "Properties of the devcenter encryption set. These properties can be updated after the resource has been created.", + "properties": { + "devboxDisksEncryptionEnableStatus": { + "$ref": "#/definitions/DevboxDisksEncryptionEnableStatus", + "description": "Devbox disk encryption enable or disable status. Indicates if Devbox disks encryption using DevCenter CMK is enabled or not." + }, + "keyEncryptionKeyUrl": { + "type": "string", + "format": "uri", + "description": "Key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek." + }, + "keyEncryptionKeyIdentity": { + "$ref": "#/definitions/KeyEncryptionKeyIdentity", + "description": "The managed identity configuration used for key vault access." + } + } + }, + "DevCenterListResult": { + "type": "object", + "description": "Paged collection of DevCenter items", + "properties": { + "value": { + "type": "array", + "description": "The DevCenter items on this page", + "items": { + "$ref": "#/definitions/DevCenter" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DevCenterNetworkSettings": { + "type": "object", + "description": "Network settings for the Dev Center.", + "properties": { + "microsoftHostedNetworkEnableStatus": { + "$ref": "#/definitions/MicrosoftHostedNetworkEnableStatus", + "description": "Indicates whether pools in this Dev Center can use Microsoft Hosted Networks. Defaults to Enabled if not set." + } + } + }, + "DevCenterProjectCatalogSettings": { + "type": "object", + "description": "Project catalog settings for project catalogs under a project associated to this dev center.", + "properties": { + "catalogItemSyncEnableStatus": { + "$ref": "#/definitions/CatalogItemSyncEnableStatus", + "description": "Whether project catalogs associated with projects in this dev center can be configured to sync catalog items." + } + } + }, + "DevCenterProperties": { + "type": "object", + "description": "Properties of the devcenter.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "devCenterUri": { + "type": "string", + "description": "The URI of the Dev Center.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/DevCenterUpdateProperties" + } + ] + }, + "DevCenterResourceType": { + "type": "string", + "description": "Indicates dev center resource types.", + "enum": [ + "Images", + "AttachedNetworks", + "Skus" + ], + "x-ms-enum": { + "name": "DevCenterResourceType", + "modelAsString": true, + "values": [ + { + "name": "Images", + "value": "Images", + "description": "Images resource type." + }, + { + "name": "AttachedNetworks", + "value": "AttachedNetworks", + "description": "Attached networks resource type." + }, + { + "name": "Skus", + "value": "Skus", + "description": "Skus resource type." + } + ] + } + }, + "DevCenterSku": { + "type": "object", + "description": "The resource model definition representing SKU for DevCenter resources.", + "properties": { + "resourceType": { + "type": "string", + "description": "The name of the resource type.", + "readOnly": true + }, + "locations": { + "type": "array", + "description": "SKU supported locations.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "capabilities": { + "type": "array", + "description": "Collection of name/value pairs to describe the SKU capabilities.", + "items": { + "$ref": "#/definitions/Capability" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/Sku" + } + ] + }, + "DevCenterUpdate": { + "type": "object", + "description": "The devcenter resource for partial updates. Properties not provided in the update request will not be changed.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties." + }, + "properties": { + "$ref": "#/definitions/DevCenterUpdateProperties", + "description": "Properties of a Dev Center to be updated.", + "x-ms-client-flatten": true + } + } + }, + "DevCenterUpdateProperties": { + "type": "object", + "description": "Properties of the devcenter. These properties can be updated after the resource has been created.", + "properties": { + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations)." + }, + "displayName": { + "type": "string", + "description": "The display name of the devcenter." + }, + "projectCatalogSettings": { + "$ref": "#/definitions/DevCenterProjectCatalogSettings", + "description": "Dev Center settings to be used when associating a project with a catalog." + }, + "networkSettings": { + "$ref": "#/definitions/DevCenterNetworkSettings", + "description": "Network settings that will be enforced on network resources associated with the Dev Center." + }, + "devBoxProvisioningSettings": { + "$ref": "#/definitions/DevBoxProvisioningSettings", + "description": "Settings to be used in the provisioning of all Dev Boxes that belong to this dev center." + } + } + }, + "DevboxDisksEncryptionEnableStatus": { + "type": "string", + "description": "Devbox disk encryption enable or disable status. Indicates if Devbox disks encryption is enabled or not.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "DevboxDisksEncryptionEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Devbox disks encryption is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Devbox disks encryption is disabled." + } + ] + } + }, + "DomainJoinType": { + "type": "string", + "description": "Active Directory join type.", + "enum": [ + "HybridAzureADJoin", + "AzureADJoin", + "None" + ], + "x-ms-enum": { + "name": "DomainJoinType", + "modelAsString": true, + "values": [ + { + "name": "HybridAzureADJoin", + "value": "HybridAzureADJoin", + "description": "Hybrid Azure AD Join type." + }, + { + "name": "AzureADJoin", + "value": "AzureADJoin", + "description": "Azure AD Join type." + }, + { + "name": "None", + "value": "None", + "description": "No Active Directory join type." + } + ] + } + }, + "Encryption": { + "type": "object", + "description": "Encryption properties.", + "properties": { + "customerManagedKeyEncryption": { + "$ref": "../../../../../common-types/resource-management/v4/customermanagedkeys.json#/definitions/customerManagedKeyEncryption", + "description": "All Customer-managed key encryption properties for the resource." + } + } + }, + "EncryptionSetListResult": { + "type": "object", + "description": "Paged collection of DevCenterEncryptionSet items", + "properties": { + "value": { + "type": "array", + "description": "The DevCenterEncryptionSet items on this page", + "items": { + "$ref": "#/definitions/DevCenterEncryptionSet" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EncryptionSetUpdate": { + "type": "object", + "description": "The devcenter encryption set resource for partial updates. Properties not provided in the update request will not be changed.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/DevCenterEncryptionSetUpdateProperties", + "description": "Properties of a Dev Center encryption set to be updated.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties" + } + } + }, + "EndpointDependency": { + "type": "object", + "description": "A domain name and connection details used to access a dependency.", + "properties": { + "domainName": { + "type": "string", + "description": "The domain name of the dependency. Domain names may be fully qualified or may contain a * wildcard.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Human-readable supplemental information about the dependency and when it is applicable.", + "readOnly": true + }, + "endpointDetails": { + "type": "array", + "description": "The list of connection details for this endpoint.", + "items": { + "$ref": "#/definitions/EndpointDetail" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "EndpointDetail": { + "type": "object", + "description": "Details about the connection between the Batch service and the endpoint.", + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "The port an endpoint is connected to.", + "readOnly": true + } + } + }, + "EnvironmentDefinition": { + "type": "object", + "description": "Represents an environment definition catalog item.", + "properties": { + "properties": { + "$ref": "#/definitions/EnvironmentDefinitionProperties", + "description": "Environment definition properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "EnvironmentDefinitionListResult": { + "type": "object", + "description": "Paged collection of EnvironmentDefinition items", + "properties": { + "value": { + "type": "array", + "description": "The EnvironmentDefinition items on this page", + "items": { + "$ref": "#/definitions/EnvironmentDefinition" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnvironmentDefinitionParameter": { + "type": "object", + "description": "Properties of an Environment Definition parameter.", + "properties": { + "id": { + "type": "string", + "description": "Unique ID of the parameter.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Display name of the parameter.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the parameter.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ParameterType", + "description": "A string of one of the basic JSON types (number, integer, array, object, boolean, string).", + "readOnly": true + }, + "readOnly": { + "type": "boolean", + "description": "Whether or not this parameter is read-only. If true, default should have a value.", + "readOnly": true + }, + "required": { + "type": "boolean", + "description": "Whether or not this parameter is required.", + "readOnly": true + } + } + }, + "EnvironmentDefinitionProperties": { + "type": "object", + "description": "Properties of an environment definition.", + "properties": { + "description": { + "type": "string", + "description": "A short description of the environment definition.", + "readOnly": true + }, + "parameters": { + "type": "array", + "description": "Input parameters passed to an environment.", + "items": { + "$ref": "#/definitions/EnvironmentDefinitionParameter" + }, + "readOnly": true + }, + "templatePath": { + "type": "string", + "description": "Path to the Environment Definition entrypoint file.", + "readOnly": true + }, + "validationStatus": { + "$ref": "#/definitions/CatalogResourceValidationStatus", + "description": "Validation status for the environment definition.", + "readOnly": true + } + } + }, + "EnvironmentRole": { + "type": "object", + "description": "A role that can be assigned to a user.", + "properties": { + "roleName": { + "type": "string", + "description": "The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "This is a description of the Role Assignment.", + "readOnly": true + } + } + }, + "EnvironmentType": { + "type": "object", + "description": "Represents an environment type.", + "properties": { + "properties": { + "$ref": "#/definitions/EnvironmentTypeProperties", + "description": "Properties of an environment type.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "EnvironmentTypeEnableStatus": { + "type": "string", + "description": "Indicates whether the environment type is either enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EnvironmentTypeEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Environment type is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Environment type is disabled." + } + ] + } + }, + "EnvironmentTypeListResult": { + "type": "object", + "description": "Paged collection of EnvironmentType items", + "properties": { + "value": { + "type": "array", + "description": "The EnvironmentType items on this page", + "items": { + "$ref": "#/definitions/EnvironmentType" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnvironmentTypeProperties": { + "type": "object", + "description": "Properties of an environment type.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/EnvironmentTypeUpdateProperties" + } + ] + }, + "EnvironmentTypeUpdate": { + "type": "object", + "description": "The environment type for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "properties": { + "$ref": "#/definitions/EnvironmentTypeUpdateProperties", + "description": "Properties of an environment type to be updated.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "EnvironmentTypeUpdateProperties": { + "type": "object", + "description": "Properties of an environment type. These properties can be updated after the resource has been created.", + "properties": { + "displayName": { + "type": "string", + "description": "The display name of the environment type." + } + } + }, + "FeatureState": { + "type": "object", + "description": "Feature state.", + "properties": { + "statusModifiable": { + "$ref": "#/definitions/FeatureStateModifiable", + "description": "Indicates whether the feature's status, Enabled or Disabled, is configurable at the Project scope." + }, + "valuesModifiable": { + "$ref": "#/definitions/FeatureStateModifiable", + "description": "Indicates whether the feature values are configurable at the Project scope." + }, + "defaultStatus": { + "$ref": "#/definitions/FeatureStatus", + "description": "Indicates the default status of the feature." + }, + "defaultValues": { + "type": "array", + "description": "The default values of the feature.", + "items": { + "$ref": "#/definitions/DefaultValue" + } + } + } + }, + "FeatureStateModifiable": { + "type": "string", + "description": "Feature enablement status.", + "enum": [ + "NotModifiable", + "Modifiable" + ], + "x-ms-enum": { + "name": "FeatureStateModifiable", + "modelAsString": true, + "values": [ + { + "name": "NotModifiable", + "value": "NotModifiable", + "description": "Feature is not modifiable." + }, + { + "name": "Modifiable", + "value": "Modifiable", + "description": "Feature is modifiable." + } + ] + } + }, + "FeatureStatus": { + "type": "string", + "description": "Feature status.", + "enum": [ + "Enabled", + "Disabled", + "AutoDeploy" + ], + "x-ms-enum": { + "name": "FeatureStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Feature is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Feature is disabled." + }, + { + "name": "AutoDeploy", + "value": "AutoDeploy", + "description": "Auto Deploy feature status." + } + ] + } + }, + "Gallery": { + "type": "object", + "description": "Represents a gallery.", + "properties": { + "properties": { + "$ref": "#/definitions/GalleryProperties", + "description": "Gallery properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "GalleryListResult": { + "type": "object", + "description": "Paged collection of Gallery items", + "properties": { + "value": { + "type": "array", + "description": "The Gallery items on this page", + "items": { + "$ref": "#/definitions/Gallery" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "GalleryProperties": { + "type": "object", + "description": "Properties of a gallery.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "galleryResourceId": { + "type": "string", + "description": "The resource ID of the backing Azure Compute Gallery.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "galleryResourceId" + ] + }, + "GitCatalog": { + "type": "object", + "description": "Properties for a Git repository catalog.", + "properties": { + "uri": { + "type": "string", + "description": "Git URI." + }, + "branch": { + "type": "string", + "description": "Git branch." + }, + "secretIdentifier": { + "type": "string", + "description": "A reference to the Key Vault secret containing a security token to authenticate to a Git repository." + }, + "path": { + "type": "string", + "description": "The folder where the catalog items can be found inside the repository." + } + } + }, + "HealthCheck": { + "type": "object", + "description": "An individual health check item.", + "properties": { + "status": { + "$ref": "#/definitions/HealthCheckStatus", + "description": "The status of the health check item.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The display name of this health check item.", + "readOnly": true + }, + "startDateTime": { + "type": "string", + "format": "date-time", + "description": "Start time of health check item.", + "readOnly": true + }, + "endDateTime": { + "type": "string", + "format": "date-time", + "description": "End time of the health check item.", + "readOnly": true + }, + "errorType": { + "type": "string", + "description": "The type of error that occurred during this health check.", + "readOnly": true + }, + "recommendedAction": { + "type": "string", + "description": "The recommended action to fix the corresponding error.", + "readOnly": true + }, + "additionalDetails": { + "type": "string", + "description": "Additional details about the health check or the recommended action.", + "readOnly": true + } + } + }, + "HealthCheckStatus": { + "type": "string", + "description": "Health check status values.", + "enum": [ + "Unknown", + "Pending", + "Running", + "Passed", + "Warning", + "Failed", + "Informational" + ], + "x-ms-enum": { + "name": "HealthCheckStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown health check status." + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending health check status." + }, + { + "name": "Running", + "value": "Running", + "description": "Running health check status." + }, + { + "name": "Passed", + "value": "Passed", + "description": "Passed health check status." + }, + { + "name": "Warning", + "value": "Warning", + "description": "Warning health check status." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed health check status." + }, + { + "name": "Informational", + "value": "Informational", + "description": "Informational health check status." + } + ] + } + }, + "HealthCheckStatusDetails": { + "type": "object", + "description": "Health Check details.", + "properties": { + "properties": { + "$ref": "#/definitions/HealthCheckStatusDetailsProperties", + "description": "Health check status details properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "HealthCheckStatusDetailsListResult": { + "type": "object", + "description": "Paged collection of HealthCheckStatusDetails items", + "properties": { + "value": { + "type": "array", + "description": "The HealthCheckStatusDetails items on this page", + "items": { + "$ref": "#/definitions/HealthCheckStatusDetails" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "HealthCheckStatusDetailsProperties": { + "type": "object", + "description": "Health Check properties.", + "properties": { + "startDateTime": { + "type": "string", + "format": "date-time", + "description": "Start time of last execution of the health checks.", + "readOnly": true + }, + "endDateTime": { + "type": "string", + "format": "date-time", + "description": "End time of last execution of the health checks.", + "readOnly": true + }, + "healthChecks": { + "type": "array", + "description": "Details for each health check item.", + "items": { + "$ref": "#/definitions/HealthCheck" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "HealthStatus": { + "type": "string", + "description": "Health status indicating whether a pool is available to create Dev Boxes.", + "enum": [ + "Unknown", + "Pending", + "Healthy", + "Warning", + "Unhealthy" + ], + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown health status." + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending health status." + }, + { + "name": "Healthy", + "value": "Healthy", + "description": "Healthy health status." + }, + { + "name": "Warning", + "value": "Warning", + "description": "Warning health status." + }, + { + "name": "Unhealthy", + "value": "Unhealthy", + "description": "Unhealthy health status." + } + ] + } + }, + "HealthStatusDetail": { + "type": "object", + "description": "Pool health status detail.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the issue.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "A message describing the issue, intended to be suitable for display in a user interface", + "readOnly": true + } + } + }, + "HibernateSupport": { + "type": "string", + "description": "Indicates whether hibernate is enabled/disabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "HibernateSupport", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Hibernate is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Hibernate is enabled." + } + ] + } + }, + "Image": { + "type": "object", + "description": "Represents an image.", + "properties": { + "properties": { + "$ref": "#/definitions/ImageProperties", + "description": "Image properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "ImageCreationErrorDetails": { + "type": "object", + "description": "Image creation error details.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error." + }, + "message": { + "type": "string", + "description": "A message describing the error." + } + } + }, + "ImageDefinition": { + "type": "object", + "description": "Represents a definition for an Image.", + "properties": { + "properties": { + "$ref": "#/definitions/ImageDefinitionProperties", + "description": "Image Definition properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "ImageDefinitionBuild": { + "type": "object", + "description": "Represents a specific build of an Image Definition.", + "properties": { + "properties": { + "$ref": "#/definitions/ImageDefinitionBuildProperties", + "description": "Image Definition Build properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "ImageDefinitionBuildDetails": { + "type": "object", + "description": "Represents a specific build of an Image Definition.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "The specific image version used by the build.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ImageDefinitionBuildStatus", + "description": "The status of the build.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the task group.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the task group.", + "readOnly": true + }, + "errorDetails": { + "$ref": "#/definitions/ImageCreationErrorDetails", + "description": "Details for image creation error. Populated when the image creation is not successful.", + "readOnly": true + }, + "taskGroups": { + "type": "array", + "description": "The list of task groups executed during the image definition build.", + "items": { + "$ref": "#/definitions/ImageDefinitionBuildTaskGroup" + }, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "ImageDefinitionBuildListResult": { + "type": "object", + "description": "Paged collection of ImageDefinitionBuild items", + "properties": { + "value": { + "type": "array", + "description": "The ImageDefinitionBuild items on this page", + "items": { + "$ref": "#/definitions/ImageDefinitionBuild" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ImageDefinitionBuildProperties": { + "type": "object", + "description": "Properties of an Image Definition Build.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "The specific image version used by the build.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ImageDefinitionBuildStatus", + "description": "The status of the build.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the task group.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the task group.", + "readOnly": true + }, + "errorDetails": { + "$ref": "#/definitions/ImageCreationErrorDetails", + "description": "Details for image creation error. Populated when the image creation is not successful.", + "readOnly": true + } + } + }, + "ImageDefinitionBuildStatus": { + "type": "string", + "description": "The state of an Image Definition Build.", + "enum": [ + "Succeeded", + "Running", + "ValidationFailed", + "Failed", + "Cancelled", + "TimedOut" + ], + "x-ms-enum": { + "name": "ImageDefinitionBuildStatus", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The image build has succeeded." + }, + { + "name": "Running", + "value": "Running", + "description": "The image build is running." + }, + { + "name": "ValidationFailed", + "value": "ValidationFailed", + "description": "The built image has failed validation." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The image build has failed." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "The image build has been cancelled." + }, + { + "name": "TimedOut", + "value": "TimedOut", + "description": "The image build has timed out." + } + ] + }, + "readOnly": true + }, + "ImageDefinitionBuildTask": { + "type": "object", + "description": "A task executed during the image definition build.", + "properties": { + "name": { + "type": "string", + "description": "The name of the task." + }, + "parameters": { + "type": "array", + "description": "Parameters for the task.", + "items": { + "$ref": "#/definitions/ImageDefinitionBuildTaskParametersItem" + }, + "x-ms-identifiers": [] + }, + "displayName": { + "type": "string", + "description": "Display name to help differentiate multiple instances of the same task." + }, + "id": { + "type": "string", + "description": "ID of the task instance.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the task.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the task.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ImageDefinitionBuildStatus", + "description": "The status of the task.", + "readOnly": true + }, + "logUri": { + "type": "string", + "description": "The URI for retrieving logs for the task execution.", + "readOnly": true + } + } + }, + "ImageDefinitionBuildTaskGroup": { + "type": "object", + "description": "A task group executed during the image definition build.", + "properties": { + "name": { + "type": "string", + "description": "The name of the task group.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ImageDefinitionBuildStatus", + "description": "The status of the task group.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the task group.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the task group.", + "readOnly": true + }, + "tasks": { + "type": "array", + "description": "The list of tasks executed during the task group.", + "items": { + "$ref": "#/definitions/ImageDefinitionBuildTask" + }, + "readOnly": true + } + } + }, + "ImageDefinitionBuildTaskParametersItem": { + "type": "object", + "description": "Parameters for an image definition build task.", + "properties": { + "key": { + "type": "string", + "description": "Key of the parameter." + }, + "value": { + "type": "string", + "description": "Value of the parameter." + } + }, + "required": [ + "key", + "value" + ] + }, + "ImageDefinitionListResult": { + "type": "object", + "description": "Paged collection of ImageDefinition items", + "properties": { + "value": { + "type": "array", + "description": "The ImageDefinition items on this page", + "items": { + "$ref": "#/definitions/ImageDefinition" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ImageDefinitionProperties": { + "type": "object", + "description": "Properties of an Image Definition.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Image reference information." + }, + "fileUrl": { + "type": "string", + "description": "The URL to the repository file containing the image definition.", + "readOnly": true + }, + "latestBuild": { + "$ref": "#/definitions/LatestImageBuild", + "description": "Details about the latest build." + }, + "imageValidationStatus": { + "$ref": "#/definitions/ImageValidationStatus", + "description": "Validation status of the configured image.", + "readOnly": true + }, + "imageValidationErrorDetails": { + "$ref": "#/definitions/ImageValidationErrorDetails", + "description": "Details for image validator error. Populated when the image validation is not successful.", + "readOnly": true + }, + "validationStatus": { + "$ref": "#/definitions/CatalogResourceValidationStatus", + "description": "Validation status for the Image Definition.", + "readOnly": true + }, + "activeImageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Image reference information for the currently active image (only populated during updates).", + "readOnly": true + }, + "autoImageBuild": { + "$ref": "#/definitions/AutoImageBuildStatus", + "description": "Indicates if automatic image builds will be triggered for image definition updates", + "readOnly": true + }, + "tasks": { + "type": "array", + "description": "Tasks to run at Dev Box provisioning time.", + "items": { + "$ref": "#/definitions/CustomizationTaskInstance" + } + }, + "userTasks": { + "type": "array", + "description": "Tasks to run when a user first logs into a Dev Box.", + "items": { + "$ref": "#/definitions/CustomizationTaskInstance" + } + }, + "extends": { + "$ref": "#/definitions/ImageDefinitionReference", + "description": "Another Image Definition that this one extends." + } + } + }, + "ImageDefinitionReference": { + "type": "object", + "description": "A reference to an Image Definition.", + "properties": { + "imageDefinition": { + "type": "string", + "description": "Name of the referenced Image Definition." + }, + "parameters": { + "type": "array", + "description": "Parameters for the referenced Image Definition.", + "items": { + "$ref": "#/definitions/DefinitionParametersItem" + } + } + }, + "required": [ + "imageDefinition" + ] + }, + "ImageListResult": { + "type": "object", + "description": "Paged collection of Image items", + "properties": { + "value": { + "type": "array", + "description": "The Image items on this page", + "items": { + "$ref": "#/definitions/Image" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ImageProperties": { + "type": "object", + "description": "Properties of an image.", + "properties": { + "description": { + "type": "string", + "description": "The description of the image.", + "readOnly": true + }, + "publisher": { + "type": "string", + "description": "The publisher of the image.", + "readOnly": true + }, + "offer": { + "type": "string", + "description": "The name of the image offer.", + "readOnly": true + }, + "sku": { + "type": "string", + "description": "The SKU name for the image.", + "readOnly": true + }, + "recommendedMachineConfiguration": { + "$ref": "#/definitions/RecommendedMachineConfiguration", + "description": "The recommended machine configuration to use with the image.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "hibernateSupport": { + "$ref": "#/definitions/HibernateSupport", + "description": "Indicates whether this image has hibernate enabled. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate", + "readOnly": true + }, + "architecture": { + "$ref": "#/definitions/ArchitectureType", + "description": "The architecture type of the image.", + "readOnly": true + } + } + }, + "ImageReference": { + "type": "object", + "description": "Image reference information.", + "properties": { + "id": { + "type": "string", + "description": "Image ID, or Image version ID. When Image ID is provided, its latest version will be used." + }, + "exactVersion": { + "type": "string", + "description": "The actual version of the image after use. When id references a gallery image latest version, this will indicate the actual version in use.", + "readOnly": true + } + } + }, + "ImageValidationErrorDetails": { + "type": "object", + "description": "Image validation error details.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error." + }, + "message": { + "type": "string", + "description": "A message describing the error." + } + } + }, + "ImageValidationStatus": { + "type": "string", + "description": "Image validation status.", + "enum": [ + "Unknown", + "Pending", + "Succeeded", + "Failed", + "TimedOut" + ], + "x-ms-enum": { + "name": "ImageValidationStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown image validation status." + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending image validation status." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded image validation status." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed image validation status." + }, + { + "name": "TimedOut", + "value": "TimedOut", + "description": "Timed out image validation status." + } + ] + }, + "readOnly": true + }, + "ImageVersion": { + "type": "object", + "description": "Represents an image version.", + "properties": { + "properties": { + "$ref": "#/definitions/ImageVersionProperties", + "description": "Image version properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "ImageVersionListResult": { + "type": "object", + "description": "Paged collection of ImageVersion items", + "properties": { + "value": { + "type": "array", + "description": "The ImageVersion items on this page", + "items": { + "$ref": "#/definitions/ImageVersion" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ImageVersionProperties": { + "type": "object", + "description": "Properties of an image version.", + "properties": { + "name": { + "type": "string", + "description": "The semantic version string.", + "readOnly": true + }, + "publishedDate": { + "type": "string", + "format": "date-time", + "description": "The datetime that the backing image version was published.", + "readOnly": true + }, + "excludeFromLatest": { + "type": "boolean", + "description": "If the version should be excluded from being treated as the latest version.", + "readOnly": true + }, + "osDiskImageSizeInGb": { + "type": "integer", + "format": "int32", + "description": "The size of the OS disk image, in GB.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + }, + "InheritedProjectCatalogSettings": { + "type": "object", + "description": "Inherited project catalog settings that combine project policy settings with dev center catalog settings.", + "properties": { + "statusModifiable": { + "$ref": "#/definitions/FeatureStateModifiable", + "description": "Indicates whether the feature's status, Enabled or Disabled, is configurable at the Project scope." + }, + "valuesModifiable": { + "$ref": "#/definitions/FeatureStateModifiable", + "description": "Indicates whether the feature values are configurable at the Project scope." + }, + "defaultStatus": { + "$ref": "#/definitions/FeatureStatus", + "description": "Indicates the default status of the feature." + }, + "defaultValues": { + "type": "array", + "description": "The default values of the feature.", + "items": { + "$ref": "#/definitions/DefaultValue" + } + }, + "catalogItemSyncEnableStatus": { + "$ref": "#/definitions/CatalogItemSyncEnableStatus", + "description": "Whether project catalogs associated with projects in this dev center can be configured to sync catalog items." + } + } + }, + "InheritedSettingsForProject": { + "type": "object", + "description": "Applicable inherited settings for a project.", + "properties": { + "projectCatalogSettings": { + "$ref": "#/definitions/InheritedProjectCatalogSettings", + "description": "Dev Center settings to be used when associating a project with a catalog.", + "readOnly": true + }, + "networkSettings": { + "$ref": "#/definitions/ProjectNetworkSettings", + "description": "Network settings that will be enforced on this project.", + "readOnly": true + }, + "azureAiServicesSettings": { + "$ref": "#/definitions/FeatureState", + "description": "Azure AI project policy settings that will be enforced on this project.", + "readOnly": true + }, + "devBoxScheduleDeleteSettings": { + "$ref": "#/definitions/FeatureState", + "description": "Dev box schedule delete project policy settings that will be enforced on this project.", + "readOnly": true + }, + "devBoxLimitsSettings": { + "$ref": "#/definitions/FeatureState", + "description": "Dev box limits project policy settings that will be enforced on this project.", + "readOnly": true + }, + "displayNameSettings": { + "$ref": "#/definitions/FeatureState", + "description": "Display name project policy settings that will be enforced on this project.", + "readOnly": true + }, + "devBoxTunnelSettings": { + "$ref": "#/definitions/FeatureState", + "description": "Dev box tunnel project policy settings that will be enforced on this project.", + "readOnly": true + }, + "serverlessGpuSessionsSettings": { + "$ref": "#/definitions/FeatureState", + "description": "Serverless GPU sessions project policy settings that will be enforced on this project.", + "readOnly": true + }, + "userCustomizationsSettings": { + "$ref": "#/definitions/FeatureState", + "description": "User customizations project policy settings that will be enforced on this project.", + "readOnly": true + }, + "workspaceStorageSettings": { + "$ref": "#/definitions/FeatureState", + "description": "Workspace storage project policy settings that will be enforced on this project.", + "readOnly": true + } + } + }, + "InstallAzureMonitorAgentEnableStatus": { + "type": "string", + "description": "Setting to be used when determining whether to install the Azure Monitor Agent service on Dev Boxes that belong to this dev center.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "InstallAzureMonitorAgentEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Azure Monitor Agent service is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Azure Monitor Agent service is disabled." + } + ] + } + }, + "KeepAwakeEnableStatus": { + "type": "string", + "description": "Enables or disables whether Dev Boxes should be kept awake during active hours.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "KeepAwakeEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Keep awake is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Keep awake is disabled." + } + ] + } + }, + "KeyEncryptionKeyIdentity": { + "type": "object", + "description": "The managed identity configuration used for key vault access.", + "properties": { + "type": { + "$ref": "#/definitions/CmkIdentityType", + "description": "The type of managed identity to use for key vault access." + }, + "userAssignedIdentityResourceId": { + "type": "string", + "description": "For system assigned identity, this will be null. For user assigned identity, this should be the resource ID of the identity." + } + } + }, + "LatestImageBuild": { + "type": "object", + "description": "Details about the latest build.", + "properties": { + "name": { + "type": "string", + "description": "Identifier of a build.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the task group.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the task group.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ImageDefinitionBuildStatus", + "description": "The state of an Image Definition Build.", + "readOnly": true + } + } + }, + "LicenseType": { + "type": "string", + "description": "License Types", + "enum": [ + "Windows_Client" + ], + "x-ms-enum": { + "name": "LicenseType", + "modelAsString": true, + "values": [ + { + "name": "Windows_Client", + "value": "Windows_Client", + "description": "Windows Client license type." + } + ] + } + }, + "ListUsagesResult": { + "type": "object", + "description": "List of Core Usages.", + "properties": { + "value": { + "type": "array", + "description": "The Usage items on this page", + "items": { + "$ref": "#/definitions/Usage" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LocalAdminStatus": { + "type": "string", + "description": "Local Administrator enable or disable status. Indicates whether owners of Dev Boxes are added as local administrators on the Dev Box.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "LocalAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Local administrator is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Local administrator is enabled." + } + ] + } + }, + "MicrosoftHostedNetworkEnableStatus": { + "type": "string", + "description": "Indicates whether pools in this Dev Center can use Microsoft Hosted Networks. Defaults to Enabled if not set.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MicrosoftHostedNetworkEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Microsoft Hosted Networks are enabled for this Dev Center." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Microsoft Hosted Networks are disabled for this Dev Center." + } + ] + } + }, + "NetworkConnection": { + "type": "object", + "description": "Network related settings.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkProperties", + "description": "Properties of a Network Connection", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkConnectionListResult": { + "type": "object", + "description": "Paged collection of NetworkConnection items", + "properties": { + "value": { + "type": "array", + "description": "The NetworkConnection items on this page", + "items": { + "$ref": "#/definitions/NetworkConnection" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkConnectionUpdate": { + "type": "object", + "description": "The network connection properties for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/NetworkConnectionUpdateProperties", + "description": "Properties of a network connection resource to be updated.", + "x-ms-client-flatten": true + } + } + }, + "NetworkConnectionUpdateProperties": { + "type": "object", + "description": "Properties of network connection. These properties can be updated after the resource has been created.", + "properties": { + "subnetId": { + "type": "string", + "description": "The subnet to attach Virtual Machines to." + }, + "domainName": { + "type": "string", + "description": "Active Directory domain name." + }, + "organizationUnit": { + "type": "string", + "description": "Active Directory domain Organization Unit (OU)." + }, + "domainUsername": { + "type": "string", + "description": "The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com." + }, + "domainPassword": { + "type": "string", + "format": "password", + "description": "The password for the account used to join domain.", + "x-ms-secret": true + } + } + }, + "NetworkProperties": { + "type": "object", + "description": "Network properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "healthCheckStatus": { + "$ref": "#/definitions/HealthCheckStatus", + "description": "Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection.", + "readOnly": true + }, + "networkingResourceGroupName": { + "type": "string", + "description": "The name for resource group where NICs will be placed.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "domainJoinType": { + "$ref": "#/definitions/DomainJoinType", + "description": "AAD Join type.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "domainJoinType" + ], + "allOf": [ + { + "$ref": "#/definitions/NetworkConnectionUpdateProperties" + } + ] + }, + "OperationStatus": { + "type": "object", + "description": "The current status of an async operation", + "properties": { + "properties": { + "type": "object", + "description": "Custom operation properties, populated only for a successful operation.", + "additionalProperties": {}, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/OperationStatusResult" + } + ] + }, + "OutboundEnvironmentEndpoint": { + "type": "object", + "description": "A collection of related endpoints from the same service for which the agent requires outbound access.", + "properties": { + "category": { + "type": "string", + "description": "The type of service that the agent connects to.", + "readOnly": true + }, + "endpoints": { + "type": "array", + "description": "The endpoints for this service for which the agent requires outbound access.", + "items": { + "$ref": "#/definitions/EndpointDependency" + }, + "readOnly": true, + "x-ms-identifiers": [ + "domainName" + ] + } + } + }, + "OutboundEnvironmentEndpointCollection": { + "type": "object", + "description": "Values returned by the List operation.", + "properties": { + "value": { + "type": "array", + "description": "The OutboundEnvironmentEndpoint items on this page", + "items": { + "$ref": "#/definitions/OutboundEnvironmentEndpoint" + }, + "readOnly": true, + "x-ms-identifiers": [ + "category" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ParameterType": { + "type": "string", + "description": "The type of data a parameter accepts.", + "enum": [ + "array", + "boolean", + "integer", + "number", + "object", + "string" + ], + "x-ms-enum": { + "name": "ParameterType", + "modelAsString": true, + "values": [ + { + "name": "array", + "value": "array", + "description": "The parameter accepts an array of values." + }, + { + "name": "boolean", + "value": "boolean", + "description": "The parameter accepts a boolean value." + }, + { + "name": "integer", + "value": "integer", + "description": "The parameter accepts an integer value." + }, + { + "name": "number", + "value": "number", + "description": "The parameter accepts a number value." + }, + { + "name": "object", + "value": "object", + "description": "The parameter accepts an object value." + }, + { + "name": "string", + "value": "string", + "description": "The parameter accepts a string value." + } + ] + } + }, + "PolicyAction": { + "type": "string", + "description": "Indicates what action to perform for the policy.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "PolicyAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Allow action for the policy." + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny action for the policy." + } + ] + } + }, + "Pool": { + "type": "object", + "description": "A pool of Virtual Machines.", + "properties": { + "properties": { + "$ref": "#/definitions/PoolProperties", + "description": "Pool properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" + } + ] + }, + "PoolDevBoxDefinition": { + "type": "object", + "description": "Represents a definition for a Developer Machine.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Image reference information." + }, + "sku": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/Sku", + "description": "The SKU for Dev Boxes created from the Pool." + }, + "activeImageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Image reference information for the currently active image (only populated during updates).", + "readOnly": true + } + } + }, + "PoolDevBoxDefinitionType": { + "type": "string", + "description": "Indicates if the pool is created from an existing Dev Box Definition or if one is provided directly.", + "enum": [ + "Reference", + "Value" + ], + "x-ms-enum": { + "name": "PoolDevBoxDefinitionType", + "modelAsString": true, + "values": [ + { + "name": "Reference", + "value": "Reference", + "description": "Indicates the pool is created from an existing Dev Box definition." + }, + { + "name": "Value", + "value": "Value", + "description": "Indicates the pool is created from a Dev Box definition that's created from an image reference and a SKU directly. This is used for creating an image definition pool or an image pool." + } + ] + } + }, + "PoolListResult": { + "type": "object", + "description": "Paged collection of Pool items", + "properties": { + "value": { + "type": "array", + "description": "The Pool items on this page", + "items": { + "$ref": "#/definitions/Pool" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PoolProperties": { + "type": "object", + "description": "Properties of a Pool.", + "properties": { + "healthStatus": { + "$ref": "#/definitions/HealthStatus", + "description": "Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.", + "readOnly": true + }, + "healthStatusDetails": { + "type": "array", + "description": "Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state", + "items": { + "$ref": "#/definitions/HealthStatusDetail" + }, + "readOnly": true, + "x-ms-identifiers": [ + "code" + ] + }, + "devBoxCount": { + "type": "integer", + "format": "int32", + "description": "Indicates the number of provisioned Dev Boxes in this pool.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/PoolUpdateProperties" + } + ] + }, + "PoolUpdate": { + "type": "object", + "description": "The pool properties for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/PoolUpdateProperties", + "description": "Properties of a pool to be updated.", + "x-ms-client-flatten": true + } + } + }, + "PoolUpdateProperties": { + "type": "object", + "description": "Properties of a Pool. These properties can be updated after the resource has been created.", + "properties": { + "devBoxDefinitionType": { + "$ref": "#/definitions/PoolDevBoxDefinitionType", + "description": "Indicates if the pool is created from an existing Dev Box Definition or if one is provided directly." + }, + "devBoxDefinitionName": { + "type": "string", + "description": "Name of a Dev Box definition in parent Project of this Pool. Will be ignored if devBoxDefinitionType is Value." + }, + "devBoxDefinition": { + "$ref": "#/definitions/PoolDevBoxDefinition", + "description": "A definition of the machines that are created from this Pool. Will be ignored if devBoxDefinitionType is Reference or not provided." + }, + "networkConnectionName": { + "type": "string", + "description": "Name of a Network Connection in parent Project of this Pool." + }, + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created." + }, + "localAdministrator": { + "$ref": "#/definitions/LocalAdminStatus", + "description": "Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box." + }, + "stopOnDisconnect": { + "$ref": "#/definitions/StopOnDisconnectConfiguration", + "description": "Stop on disconnect configuration settings for Dev Boxes created in this pool." + }, + "stopOnNoConnect": { + "$ref": "#/definitions/StopOnNoConnectConfiguration", + "description": "Stop on no connect configuration settings for Dev Boxes created in this pool." + }, + "singleSignOnStatus": { + "$ref": "#/definitions/SingleSignOnStatus", + "description": "Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant." + }, + "displayName": { + "type": "string", + "description": "The display name of the pool." + }, + "virtualNetworkType": { + "$ref": "#/definitions/VirtualNetworkType", + "description": "Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network." + }, + "managedVirtualNetworkRegions": { + "type": "array", + "description": "The regions of the managed virtual network (required when managedNetworkType is Managed).", + "items": { + "type": "string" + } + }, + "activeHoursConfiguration": { + "$ref": "#/definitions/ActiveHoursConfiguration", + "description": "Active hours configuration settings for Dev Boxes created in this pool." + }, + "devBoxTunnelEnableStatus": { + "$ref": "#/definitions/DevBoxTunnelEnableStatus", + "description": "Indicates whether Dev Box Tunnel is enabled for a the pool." + } + } + }, + "Project": { + "type": "object", + "description": "Represents a project resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ProjectProperties", + "description": "Properties of a project.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" + } + ] + }, + "ProjectCatalogSettings": { + "type": "object", + "description": "Settings to be used when associating a project with a catalog.", + "properties": { + "catalogItemSyncTypes": { + "type": "array", + "description": "Indicates catalog item types that can be synced.", + "items": { + "$ref": "#/definitions/CatalogItemType" + } + } + } + }, + "ProjectCustomizationIdentityType": { + "type": "string", + "description": "Values can be systemAssignedIdentity or userAssignedIdentity", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity" + ], + "x-ms-enum": { + "name": "ProjectCustomizationIdentityType", + "modelAsString": true, + "values": [ + { + "name": "systemAssignedIdentity", + "value": "systemAssignedIdentity", + "description": "System assigned identity type." + }, + { + "name": "userAssignedIdentity", + "value": "userAssignedIdentity", + "description": "User assigned identity type." + } + ] + } + }, + "ProjectCustomizationManagedIdentity": { + "type": "object", + "description": "A reference to a Managed Identity that is attached to the Project.", + "properties": { + "identityType": { + "$ref": "#/definitions/ProjectCustomizationIdentityType", + "description": "Values can be systemAssignedIdentity or userAssignedIdentity." + }, + "identityResourceId": { + "type": "string", + "format": "arm-id", + "description": "Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity." + } + } + }, + "ProjectCustomizationSettings": { + "type": "object", + "description": "Settings to be used for customizations.", + "properties": { + "identities": { + "type": "array", + "description": "The identities that can to be used in customization scenarios; e.g., to clone a repository.", + "items": { + "$ref": "#/definitions/ProjectCustomizationManagedIdentity" + }, + "x-ms-identifiers": [] + }, + "userCustomizationsEnableStatus": { + "$ref": "#/definitions/UserCustomizationsEnableStatus", + "description": "Indicates whether user customizations are enabled." + } + } + }, + "ProjectEnvironmentType": { + "type": "object", + "description": "Represents an environment type.", + "properties": { + "properties": { + "$ref": "#/definitions/ProjectEnvironmentTypeProperties", + "description": "Properties of an environment type.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" + } + ] + }, + "ProjectEnvironmentTypeListResult": { + "type": "object", + "description": "Paged collection of ProjectEnvironmentType items", + "properties": { + "value": { + "type": "array", + "description": "The ProjectEnvironmentType items on this page", + "items": { + "$ref": "#/definitions/ProjectEnvironmentType" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProjectEnvironmentTypeProperties": { + "type": "object", + "description": "Properties of a project environment type.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "environmentCount": { + "type": "integer", + "format": "int32", + "description": "The number of environments of this type.", + "minimum": 0, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProjectEnvironmentTypeUpdateProperties" + } + ] + }, + "ProjectEnvironmentTypeUpdate": { + "type": "object", + "description": "The project environment type for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "properties": { + "$ref": "#/definitions/ProjectEnvironmentTypeUpdateProperties", + "description": "Properties to configure an environment type.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties." + } + } + }, + "ProjectEnvironmentTypeUpdateProperties": { + "type": "object", + "description": "Properties of a project environment type. These properties can be updated after the resource has been created.", + "properties": { + "deploymentTargetId": { + "type": "string", + "description": "Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription." + }, + "displayName": { + "type": "string", + "description": "The display name of the project environment type." + }, + "status": { + "$ref": "#/definitions/EnvironmentTypeEnableStatus", + "description": "Defines whether this Environment Type can be used in this Project." + }, + "creatorRoleAssignment": { + "$ref": "#/definitions/ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment", + "description": "The role definition assigned to the environment creator on backing resources." + }, + "userRoleAssignments": { + "type": "object", + "description": "Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.", + "additionalProperties": { + "$ref": "#/definitions/UserRoleAssignment" + } + } + } + }, + "ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment": { + "type": "object", + "description": "The role definition assigned to the environment creator on backing resources.", + "properties": { + "roles": { + "type": "object", + "description": "A map of roles to assign to the environment creator.", + "additionalProperties": { + "$ref": "#/definitions/EnvironmentRole" + } + } + } + }, + "ProjectListResult": { + "type": "object", + "description": "Paged collection of Project items", + "properties": { + "value": { + "type": "array", + "description": "The Project items on this page", + "items": { + "$ref": "#/definitions/Project" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProjectNetworkSettings": { + "type": "object", + "description": "Network settings for the project.", + "properties": { + "microsoftHostedNetworkEnableStatus": { + "$ref": "#/definitions/MicrosoftHostedNetworkEnableStatus", + "description": "Indicates whether pools in this Dev Center can use Microsoft Hosted Networks. Defaults to Enabled if not set.", + "readOnly": true + } + } + }, + "ProjectPolicy": { + "type": "object", + "description": "Represents an project policy resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ProjectPolicyProperties", + "description": "Properties of an project policy.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "ProjectPolicyListResult": { + "type": "object", + "description": "Paged collection of ProjectPolicy items", + "properties": { + "value": { + "type": "array", + "description": "The ProjectPolicy items on this page", + "items": { + "$ref": "#/definitions/ProjectPolicy" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProjectPolicyProperties": { + "type": "object", + "description": "Properties of an project policy.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProjectPolicyUpdateProperties" + } + ] + }, + "ProjectPolicyUpdate": { + "type": "object", + "description": "The project policy properties for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "properties": { + "$ref": "#/definitions/ProjectPolicyUpdateProperties", + "description": "Properties of an project policy to be updated.", + "x-ms-client-flatten": true + } + } + }, + "ProjectPolicyUpdateProperties": { + "type": "object", + "description": "Properties of an project policy. These properties can be updated after the resource has been created.", + "properties": { + "resourcePolicies": { + "type": "array", + "description": "Resource policies that are a part of this project policy.", + "items": { + "$ref": "#/definitions/ResourcePolicy" + }, + "x-ms-identifiers": [] + }, + "scopes": { + "type": "array", + "description": "Resources that have access to the shared resources that are a part of this project policy.", + "items": { + "type": "string" + } + }, + "configurationPolicies": { + "$ref": "#/definitions/ConfigurationPolicies", + "description": "Configuration Policies part of this project policy." + } + } + }, + "ProjectProperties": { + "type": "object", + "description": "Properties of a project.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "devCenterUri": { + "type": "string", + "description": "The URI of the Dev Center resource this project is associated with.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProjectUpdateProperties" + } + ] + }, + "ProjectUpdate": { + "type": "object", + "description": "The project properties for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/ProjectUpdateProperties", + "description": "Properties of a project to be updated.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity properties." + } + } + }, + "ProjectUpdateProperties": { + "type": "object", + "description": "Properties of a project. These properties can be updated after the resource has been created.", + "properties": { + "devCenterId": { + "type": "string", + "description": "Resource Id of an associated DevCenter." + }, + "description": { + "type": "string", + "description": "Description of the project." + }, + "maxDevBoxesPerUser": { + "type": "integer", + "format": "int32", + "description": "When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced.", + "minimum": 0 + }, + "displayName": { + "type": "string", + "description": "The display name of the project." + }, + "catalogSettings": { + "$ref": "#/definitions/ProjectCatalogSettings", + "description": "Settings to be used when associating a project with a catalog." + }, + "customizationSettings": { + "$ref": "#/definitions/ProjectCustomizationSettings", + "description": "Settings to be used for customizations." + }, + "devBoxScheduleDeleteSettings": { + "$ref": "#/definitions/DevBoxScheduleDeleteSettings", + "description": "Dev Box Schedule Delete settings." + }, + "azureAiServicesSettings": { + "$ref": "#/definitions/AzureAiServicesSettings", + "description": "Indicates whether Azure AI services are enabled for a project." + }, + "serverlessGpuSessionsSettings": { + "$ref": "#/definitions/ServerlessGpuSessionsSettings", + "description": "Settings to be used for serverless GPU." + }, + "workspaceStorageSettings": { + "$ref": "#/definitions/WorkspaceStorageSettings", + "description": "Settings to be used for workspace storage." + }, + "assignedGroups": { + "type": "array", + "description": "List of Entra ID group assignments associated with this project.", + "items": { + "$ref": "#/definitions/AssignedGroup" + }, + "x-ms-identifiers": [] + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the resource.", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Creating", + "Created", + "Updating", + "Updated", + "Deleting", + "Deleted", + "Succeeded", + "Failed", + "Canceled", + "MovingResources", + "TransientFailure", + "RolloutInProgress", + "StorageProvisioningFailed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Not specified provisioning state." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted provisioning state." + }, + { + "name": "Running", + "value": "Running", + "description": "Running provisioning state." + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating provisioning state." + }, + { + "name": "Created", + "value": "Created", + "description": "Created provisioning state." + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating provisioning state." + }, + { + "name": "Updated", + "value": "Updated", + "description": "Updated provisioning state." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting provisioning state." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Deleted provisioning state." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded provisioning state." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed provisioning state." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled provisioning state." + }, + { + "name": "MovingResources", + "value": "MovingResources", + "description": "Moving resources provisioning state." + }, + { + "name": "TransientFailure", + "value": "TransientFailure", + "description": "Transient failure provisioning state." + }, + { + "name": "RolloutInProgress", + "value": "RolloutInProgress", + "description": "Rollout in progress provisioning state." + }, + { + "name": "StorageProvisioningFailed", + "value": "StorageProvisioningFailed", + "description": "Storage provisioning failed provisioning state." + } + ] + }, + "readOnly": true + }, + "RecommendedMachineConfiguration": { + "type": "object", + "description": "Properties for a recommended machine configuration.", + "properties": { + "memory": { + "$ref": "#/definitions/ResourceRange", + "description": "Recommended memory range.", + "readOnly": true + }, + "vCPUs": { + "$ref": "#/definitions/ResourceRange", + "description": "Recommended vCPU range.", + "readOnly": true + } + } + }, + "ResourcePolicy": { + "type": "object", + "description": "A resource policy.", + "properties": { + "resources": { + "type": "string", + "description": "Resources that are included and shared as a part of a project policy." + }, + "filter": { + "type": "string", + "description": "Optional. When specified, this expression is used to filter the resources." + }, + "action": { + "$ref": "#/definitions/PolicyAction", + "description": "Policy action to be taken on the resources. This is optional, and defaults to allow" + }, + "resourceType": { + "$ref": "#/definitions/DevCenterResourceType", + "description": "Optional. The resource type being restricted or allowed by a project policy. Used with a given action to restrict or allow access to a resource type." + } + } + }, + "ResourceRange": { + "type": "object", + "description": "Properties for a range of values.", + "properties": { + "min": { + "type": "integer", + "format": "int32", + "description": "Minimum value.", + "readOnly": true + }, + "max": { + "type": "integer", + "format": "int32", + "description": "Maximum value.", + "readOnly": true + } + } + }, + "Schedule": { + "type": "object", + "description": "Represents a Schedule to execute a task.", + "properties": { + "properties": { + "$ref": "#/definitions/ScheduleProperties", + "description": "Properties of a Schedule resource", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource" + } + ] + }, + "ScheduleEnableStatus": { + "type": "string", + "description": "Schedule enable or disable status. Indicates whether the schedule applied to is either enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ScheduleEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Schedule is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Schedule is disabled." + } + ] + } + }, + "ScheduleListResult": { + "type": "object", + "description": "Paged collection of Schedule items", + "properties": { + "value": { + "type": "array", + "description": "The Schedule items on this page", + "items": { + "$ref": "#/definitions/Schedule" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ScheduleProperties": { + "type": "object", + "description": "The Schedule properties defining when and what to execute.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ScheduleUpdateProperties" + } + ] + }, + "ScheduleUpdate": { + "type": "object", + "description": "The schedule properties for partial update. Properties not provided in the update request will not be changed.", + "properties": { + "properties": { + "$ref": "#/definitions/ScheduleUpdateProperties", + "description": "Properties of a schedule resource to be updated.", + "x-ms-client-flatten": true + } + } + }, + "ScheduleUpdateProperties": { + "type": "object", + "description": "Updatable properties of a Schedule.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "type": { + "$ref": "#/definitions/ScheduledType", + "description": "Supported type this scheduled task represents." + }, + "frequency": { + "$ref": "#/definitions/ScheduledFrequency", + "description": "The frequency of this scheduled task." + }, + "time": { + "type": "string", + "description": "The target time to trigger the action. The format is HH:MM." + }, + "timeZone": { + "type": "string", + "description": "The IANA timezone id at which the schedule should execute." + }, + "state": { + "$ref": "#/definitions/ScheduleEnableStatus", + "description": "Indicates whether or not this scheduled task is enabled." + } + } + }, + "ScheduledFrequency": { + "type": "string", + "description": "The frequency of task execution.", + "enum": [ + "Daily" + ], + "x-ms-enum": { + "name": "ScheduledFrequency", + "modelAsString": true, + "values": [ + { + "name": "Daily", + "value": "Daily", + "description": "The scheduled task will run daily." + } + ] + } + }, + "ScheduledType": { + "type": "string", + "description": "The supported types for a scheduled task.", + "enum": [ + "StopDevBox" + ], + "x-ms-enum": { + "name": "ScheduledType", + "modelAsString": true, + "values": [ + { + "name": "StopDevBox", + "value": "StopDevBox", + "description": "Stop Dev Box task type." + } + ] + } + }, + "ServerlessGpuSessionsMode": { + "type": "string", + "description": "Indicates whether serverless GPU session access is enabled.", + "enum": [ + "Disabled", + "AutoDeploy" + ], + "x-ms-enum": { + "name": "ServerlessGpuSessionsMode", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Serverless GPU session access is disabled." + }, + { + "name": "AutoDeploy", + "value": "AutoDeploy", + "description": "Serverless GPU session access is enabled and necessary resources will be automatically setup." + } + ] + } + }, + "ServerlessGpuSessionsSettings": { + "type": "object", + "description": "Represents settings for serverless GPU access.", + "properties": { + "serverlessGpuSessionsMode": { + "$ref": "#/definitions/ServerlessGpuSessionsMode", + "description": "The property indicates whether serverless GPU access is enabled on the project." + }, + "maxConcurrentSessionsPerProject": { + "type": "integer", + "format": "int32", + "description": "When specified, limits the maximum number of concurrent sessions across all pools in the project.", + "minimum": 1 + } + } + }, + "SingleSignOnStatus": { + "type": "string", + "description": "SingleSignOn (SSO) enable or disable status. Indicates whether Dev Boxes in the Pool will have SSO enabled or disabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "SingleSignOnStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Single Sign On is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Single Sign On is enabled." + } + ] + } + }, + "SkuListResult": { + "type": "object", + "description": "Results of the Microsoft.DevCenter SKU list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DevCenterSku items on this page", + "items": { + "$ref": "#/definitions/DevCenterSku" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StopOnDisconnectConfiguration": { + "type": "object", + "description": "Stop on disconnect configuration settings for Dev Boxes created in this pool.", + "properties": { + "status": { + "$ref": "#/definitions/StopOnDisconnectEnableStatus", + "description": "Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled." + }, + "gracePeriodMinutes": { + "type": "integer", + "format": "int32", + "description": "The specified time in minutes to wait before stopping a Dev Box once disconnect is detected." + } + } + }, + "StopOnDisconnectEnableStatus": { + "type": "string", + "description": "Stop on disconnect enable or disable status. Indicates whether stop on disconnect to is either enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "StopOnDisconnectEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Stop on disconnect is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Stop on disconnect is disabled." + } + ] + } + }, + "StopOnNoConnectConfiguration": { + "type": "object", + "description": "Stop on no connect configuration settings for Dev Boxes created in this pool.", + "properties": { + "status": { + "$ref": "#/definitions/StopOnNoConnectEnableStatus", + "description": "Enables the feature to stop a started Dev Box when it has not been connected to, once the grace period has lapsed." + }, + "gracePeriodMinutes": { + "type": "integer", + "format": "int32", + "description": "The specified time in minutes to wait before stopping a Dev Box if no connection is made." + } + } + }, + "StopOnNoConnectEnableStatus": { + "type": "string", + "description": "Stop on no connect enable or disable status.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "StopOnNoConnectEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Stop on no connect is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Stop on no connect is disabled." + } + ] + } + }, + "SyncErrorDetails": { + "type": "object", + "description": "Synchronization error details.", + "properties": { + "operationError": { + "$ref": "#/definitions/CatalogErrorDetails", + "description": "Error information for the overall synchronization operation.", + "readOnly": true + }, + "conflicts": { + "type": "array", + "description": "Catalog items that have conflicting names.", + "items": { + "$ref": "#/definitions/CatalogConflictError" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "errors": { + "type": "array", + "description": "Errors that occured during synchronization.", + "items": { + "$ref": "#/definitions/CatalogSyncError" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "SyncStats": { + "type": "object", + "description": "Stats of the synchronization.", + "properties": { + "added": { + "type": "integer", + "format": "int32", + "description": "Count of catalog items added during synchronization.", + "minimum": 0, + "readOnly": true + }, + "updated": { + "type": "integer", + "format": "int32", + "description": "Count of catalog items updated during synchronization.", + "minimum": 0, + "readOnly": true + }, + "unchanged": { + "type": "integer", + "format": "int32", + "description": "Count of catalog items that were unchanged during synchronization.", + "minimum": 0, + "readOnly": true + }, + "removed": { + "type": "integer", + "format": "int32", + "description": "Count of catalog items removed during synchronization.", + "minimum": 0, + "readOnly": true + }, + "validationErrors": { + "type": "integer", + "format": "int32", + "description": "Count of catalog items that had validation errors during synchronization.", + "minimum": 0, + "readOnly": true + }, + "synchronizationErrors": { + "type": "integer", + "format": "int32", + "description": "Count of synchronization errors that occured during synchronization.", + "minimum": 0, + "readOnly": true + }, + "syncedCatalogItemTypes": { + "type": "array", + "description": "Indicates catalog item types that were synced.", + "items": { + "$ref": "#/definitions/CatalogItemType" + } + } + } + }, + "Usage": { + "type": "object", + "description": "The core usage details.", + "properties": { + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current usage." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The limit integer." + }, + "unit": { + "$ref": "#/definitions/UsageUnit", + "description": "The unit details." + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "The name." + }, + "id": { + "type": "string", + "description": "The fully qualified arm resource id." + } + } + }, + "UsageName": { + "type": "object", + "description": "The Usage Names.", + "properties": { + "localizedValue": { + "type": "string", + "description": "The localized name of the resource." + }, + "value": { + "type": "string", + "description": "The name of the resource." + } + } + }, + "UsageUnit": { + "type": "string", + "description": "The unit details.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true, + "values": [ + { + "name": "Count", + "value": "Count", + "description": "Count." + } + ] + } + }, + "UserCustomizationsEnableStatus": { + "type": "string", + "description": "Indicates whether user customizations are enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "UserCustomizationsEnableStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "User customizations are disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "User customizations are enabled." + } + ] + } + }, + "UserRoleAssignment": { + "type": "object", + "description": "Mapping of user object ID to role assignments.", + "properties": { + "roles": { + "type": "object", + "description": "A map of roles to assign to the parent user.", + "additionalProperties": { + "$ref": "#/definitions/EnvironmentRole" + } + } + } + }, + "VirtualNetworkType": { + "type": "string", + "description": "Indicates a pool uses a Virtual Network managed by Microsoft (Managed), or a customer provided Network (Unmanaged).", + "enum": [ + "Managed", + "Unmanaged" + ], + "x-ms-enum": { + "name": "VirtualNetworkType", + "modelAsString": true, + "values": [ + { + "name": "Managed", + "value": "Managed", + "description": "Virtual Network is managed by Microsoft." + }, + { + "name": "Unmanaged", + "value": "Unmanaged", + "description": "Virtual Network is managed by user." + } + ] + } + }, + "WorkspaceStorageMode": { + "type": "string", + "description": "Indicates whether workspace storage is enabled.", + "enum": [ + "Disabled", + "AutoDeploy" + ], + "x-ms-enum": { + "name": "WorkspaceStorageMode", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Workspace storage is disabled." + }, + { + "name": "AutoDeploy", + "value": "AutoDeploy", + "description": "Workspace storage is enabled and necessary resources will be automatically setup." + } + ] + } + }, + "WorkspaceStorageSettings": { + "type": "object", + "description": "Settings to be used for workspace storage.", + "properties": { + "workspaceStorageMode": { + "$ref": "#/definitions/WorkspaceStorageMode", + "description": "Indicates whether workspace storage is enabled." + } + } + } + }, + "parameters": {} +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_Create.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_Create.json new file mode 100644 index 000000000000..0a6fdffc481b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_Create.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "body": { + "properties": { + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/devcenters/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-uswest3", + "properties": { + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/devcenters/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-uswest3", + "properties": { + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AttachedNetworks_CreateOrUpdate", + "title": "AttachedNetworks_Create" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_Delete.json new file mode 100644 index 000000000000..5b952be825f6 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "AttachedNetworks_Delete", + "title": "AttachedNetworks_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_GetByDevCenter.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_GetByDevCenter.json new file mode 100644 index 000000000000..531e90de6272 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_GetByDevCenter.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/devcenters/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-uswest3", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Created" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AttachedNetworks_GetByDevCenter", + "title": "AttachedNetworks_GetByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_GetByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_GetByProject.json new file mode 100644 index 000000000000..1c252932a0da --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_GetByProject.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "attachedNetworkConnectionName": "network-uswest3", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "network-uswest3", + "type": "Microsoft.DevCenter/projects/attachednetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/attachednetworks/network-uswest3", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Created" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AttachedNetworks_GetByProject", + "title": "AttachedNetworks_GetByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_ListByDevCenter.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_ListByDevCenter.json new file mode 100644 index 000000000000..4f64a5bd1f43 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_ListByDevCenter.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "netmap1", + "type": "Microsoft.DevCenter/devcenters/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/netmap1", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "Application" + } + }, + { + "name": "netmap2", + "type": "Microsoft.DevCenter/devcenters/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/netmap2", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AttachedNetworks_ListByDevCenter", + "title": "AttachedNetworks_ListByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_ListByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_ListByProject.json new file mode 100644 index 000000000000..dffbf17fde1d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/AttachedNetworks_ListByProject.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "netmap1", + "type": "Microsoft.DevCenter/projects/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/attachednetworks/netmap1", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "Application" + } + }, + { + "name": "netmap2", + "type": "Microsoft.DevCenter/projects/attachedNetworks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/attachednetworks/netmap2", + "properties": { + "healthCheckStatus": "Healthy", + "networkConnectionId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3", + "networkConnectionLocation": "centralus", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AttachedNetworks_ListByProject", + "title": "AttachedNetworks_ListByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Connect.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Connect.json new file mode 100644 index 000000000000..0878d684f917 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Connect.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Catalogs_Connect", + "title": "Catalogs_Connect" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_CreateAdo.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_CreateAdo.json new file mode 100644 index 000000000000..5d92ec895bd9 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_CreateAdo.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + } + }, + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Catalogs_CreateOrUpdate", + "title": "Catalogs_CreateOrUpdateAdo" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_CreateGitHub.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_CreateGitHub.json new file mode 100644 index 000000000000..963f6fd54f83 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_CreateGitHub.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "syncType": "Manual", + "autoImageBuildEnableStatus": "Enabled" + } + }, + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Manual", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded", + "syncType": "Manual", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Catalogs_CreateOrUpdate", + "title": "Catalogs_CreateOrUpdateGitHub" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Delete.json new file mode 100644 index 000000000000..479266d2b6b7 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Catalogs_Delete", + "title": "Catalogs_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Get.json new file mode 100644 index 000000000000..efa2c399f31b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Get.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Catalogs_Get", + "title": "Catalogs_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_GetSyncErrorDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_GetSyncErrorDetails.json new file mode 100644 index 000000000000..9819fd2475bf --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_GetSyncErrorDetails.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "conflicts": [ + { + "name": "DuplicateEnvironmentName", + "path": "/Environments/Duplicate/manifest.yaml" + } + ], + "errors": [ + { + "path": "/Environments/Invalid/manifest.yaml", + "errorDetails": [ + { + "code": "ParseError", + "message": "Schema Error Within Catalog Item: Missing Name" + } + ] + } + ], + "operationError": { + "code": "Conflict", + "message": "The source control credentials could not be validated successfully." + } + } + } + }, + "operationId": "Catalogs_GetSyncErrorDetails", + "title": "Catalogs_GetSyncErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_List.json new file mode 100644 index 000000000000..3242c550c48c --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_List.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Catalogs_ListByDevCenter", + "title": "Catalogs_ListByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Patch.json new file mode 100644 index 000000000000..ed230da9db65 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Patch.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/environments" + }, + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + } + }, + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/environments", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded", + "syncType": "Scheduled", + "autoImageBuildEnableStatus": "Enabled" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Catalogs_Update", + "title": "Catalogs_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Sync.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Sync.json new file mode 100644 index 000000000000..fff3ec258260 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Catalogs_Sync.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Catalogs_Sync", + "title": "Catalogs_Sync" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckNameAvailability.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..1675999f5c84 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DevCenter/devcenters" + }, + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "CheckNameAvailability_Execute", + "title": "NameAvailability" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckScopedNameAvailability_DevCenterCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckScopedNameAvailability_DevCenterCatalog.json new file mode 100644 index 000000000000..a315bbc2e609 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckScopedNameAvailability_DevCenterCatalog.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DevCenter/devcenters/catalogs", + "scope": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso" + }, + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "CheckScopedNameAvailability_Execute", + "title": "DevcenterCatalogNameAvailability" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckScopedNameAvailability_ProjectCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckScopedNameAvailability_ProjectCatalog.json new file mode 100644 index 000000000000..5bdb9a109796 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CheckScopedNameAvailability_ProjectCatalog.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "nameAvailabilityRequest": { + "name": "name1", + "type": "Microsoft.DevCenter/projects/catalogs", + "scope": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + }, + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "CheckScopedNameAvailability_Execute", + "title": "ProjectCatalogNameAvailability" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_Get.json new file mode 100644 index 000000000000..60dce2d49d51 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "taskName": "SampleTask" + }, + "responses": { + "200": { + "body": { + "name": "SampleTask", + "type": "Microsoft.DevCenter/devcenters/catalogs/tasks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog/tasks/SampleTask", + "properties": { + "inputs": { + "feed": { + "type": "string" + }, + "package": { + "type": "string", + "required": true + } + }, + "timeout": 30, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "CustomizationTasks_Get", + "title": "CustomizationTasks_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_GetErrorDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_GetErrorDetails.json new file mode 100644 index 000000000000..eff7b737cd7a --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "taskName": "SampleTask" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "ParameterValueInvalid", + "message": "Expected parameter value for 'InstanceCount' to be integer but found the string 'test'." + } + ] + } + } + }, + "operationId": "CustomizationTasks_GetErrorDetails", + "title": "CustomizationTasks_GetErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_ListByCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_ListByCatalog.json new file mode 100644 index 000000000000..3ef9ae6953f1 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/CustomizationTasks_ListByCatalog.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "SampleTask", + "type": "Microsoft.DevCenter/devcenters/catalogs/tasks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/CentralCatalog/tasks/SampleTask", + "properties": { + "inputs": { + "feed": { + "type": "string" + }, + "package": { + "type": "string", + "required": true + } + }, + "timeout": 30 + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "CustomizationTasks_ListByCatalog", + "title": "CustomizationTasks_ListByCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Create.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Create.json new file mode 100644 index 000000000000..2b0e914f3651 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Create.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "sku": { + "name": "Preview" + } + } + }, + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/devBoxDefinitionName", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/devBoxDefinitionName", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Created", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevBoxDefinitions_CreateOrUpdate", + "title": "DevBoxDefinitions_Create" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Delete.json new file mode 100644 index 000000000000..82f5f8ffc88c --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "DevBoxDefinitions_Delete", + "title": "DevBoxDefinitions_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Get.json new file mode 100644 index 000000000000..04ee6f8d0236 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevBoxDefinitions_Get", + "title": "DevBoxDefinitions_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_GetByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_GetByProject.json new file mode 100644 index 000000000000..e03029c64d11 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_GetByProject.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevBoxDefinitions_GetByProject", + "title": "DevBoxDefinitions_GetByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_ListByDevCenter.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_ListByDevCenter.json new file mode 100644 index 000000000000..b1582a1967ef --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_ListByDevCenter.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevBoxDefinitions_ListByDevCenter", + "title": "DevBoxDefinitions_ListByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_ListByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_ListByProject.json new file mode 100644 index 000000000000..8526460f89d4 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_ListByProject.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devBoxDefinitionName": "WebDevBox", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevBoxDefinitions_ListByProject", + "title": "DevBoxDefinitions_ListByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Patch.json new file mode 100644 index 000000000000..9257e9b3141b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevBoxDefinitions_Patch.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/2.0.0" + } + } + }, + "devBoxDefinitionName": "WebDevBox", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/devboxdefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/WebDevBox", + "location": "centralus", + "properties": { + "hibernateSupport": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/2.0.0" + }, + "provisioningState": "Succeeded", + "sku": { + "name": "Preview" + } + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "DevBoxDefinitions_Update", + "title": "DevBoxDefinitions_Patch" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Create.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Create.json new file mode 100644 index 000000000000..465790757b3c --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Create.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek" + } + }, + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EncryptionSets_CreateOrUpdate", + "title": "EncryptionSets_Create" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Delete.json new file mode 100644 index 000000000000..eda90c6ea676 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview" + } + }, + "204": {} + }, + "operationId": "EncryptionSets_Delete", + "title": "EncryptionSets_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Get.json new file mode 100644 index 000000000000..2fbbb7760625 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EncryptionSets_Get", + "title": "EncryptionSets_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_List.json new file mode 100644 index 000000000000..fc434cf2329e --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_List.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovaultwestus.vault.azure.net/keys/contosokek", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "EncryptionSets_List", + "title": "EncryptionSets_List" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Patch.json new file mode 100644 index 000000000000..0d6900d7919b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterEncryptionSets_Patch.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled" + } + }, + "devCenterName": "Contoso", + "encryptionSetName": "EncryptionWestUs", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "EncryptionWestUs", + "type": "Microsoft.DevCenter/devcenters/encryptionSets", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/encryptionSets/EncryptionWestUs", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "westus", + "properties": { + "devboxDisksEncryptionEnableStatus": "Enabled", + "keyEncryptionKeyIdentity": { + "type": "UserAssigned", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokekwestus", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-10-01-preview" + } + } + }, + "operationId": "EncryptionSets_Update", + "title": "EncryptionSets_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_BuildImage.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_BuildImage.json new file mode 100644 index 000000000000..2fa4736265ca --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_BuildImage.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_BuildImage", + "title": "DevCenterCatalogImageDefinitions_BuildImage" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_CancelImageBuild.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_CancelImageBuild.json new file mode 100644 index 000000000000..58441b96fec4 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_CancelImageBuild.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuild_Cancel", + "title": "DevCenterImageDefinitionBuilds_CancelByImageDefinition" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetErrorDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..07c9df6237e9 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "WebDevBox", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "CatalogItemNotExist", + "message": "Task choco doesn't exist in the dev center." + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_GetErrorDetails", + "title": "DevCenterImageDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetImageBuild.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetImageBuild.json new file mode 100644 index 000000000000..b95f1f70ed1b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetImageBuild.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/centers/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/DevDevCenter/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuild_Get", + "title": "DevCenterImageDefinitionBuilds_GetByImageDefinition" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetImageBuildDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetImageBuildDetails.json new file mode 100644 index 000000000000..ef6594f9b240 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_GetImageBuildDetails.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded", + "taskGroups": [ + { + "name": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Provisioning", + "displayName": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Customizations", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "vs2022", + "displayName": "Install Visual Studio 2022", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7/logs/e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Generalization", + "displayName": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuild_GetBuildDetails", + "title": "DevCenterCatalogImageDefinitionBuild_GetErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_ListImageBuildsByImageDefinition.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_ListImageBuildsByImageDefinition.json new file mode 100644 index 000000000000..8a0f9d88a38b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenterImageDefinitions_ListImageBuildsByImageDefinition.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "devCenterName": "DevDevCenter", + "imageDefinitionName": "DefaultDevImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/devcenters/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/DevDevCenter/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitionBuilds_ListByImageDefinition", + "title": "DevCenterImageDefinitionBuilds_ListByImageDefinition" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Create.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Create.json new file mode 100644 index 000000000000..bb3db3f9fe86 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Create.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "displayName": "ContosoDevCenter", + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + } + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345", + "hidden-title": "ContosoDevCenter" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345", + "hidden-title": "ContosoDevCenter" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_Create" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithDisabledManagedNetworks.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithDisabledManagedNetworks.json new file mode 100644 index 000000000000..dc2c6e8dd4b3 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithDisabledManagedNetworks.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Disabled" + } + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Disabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Disabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_CreateWithDisabledManagedNetworks" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithEncryption.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithEncryption.json new file mode 100644 index 000000000000..971f9f4c6565 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithEncryption.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "displayName": "ContosoDevCenter", + "encryption": { + "customerManagedKeyEncryption": { + "keyEncryptionKeyIdentity": { + "identityType": "userAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" + } + } + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "encryption": { + "customerManagedKeyEncryption": { + "keyEncryptionKeyIdentity": { + "identityType": "userAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" + } + }, + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "encryption": { + "customerManagedKeyEncryption": { + "keyEncryptionKeyIdentity": { + "identityType": "userAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1" + }, + "keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" + } + }, + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_CreateWithEncryption" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithUserIdentity.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithUserIdentity.json new file mode 100644 index 000000000000..377b456a7276 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_CreateWithUserIdentity.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "displayName": "ContosoDevCenter" + }, + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "201": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + } + }, + "operationId": "DevCenters_CreateOrUpdate", + "title": "DevCenters_CreateWithUserIdentity" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Delete.json new file mode 100644 index 000000000000..9415296f3f9b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "DevCenters_Delete", + "title": "DevCenters_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Get.json new file mode 100644 index 000000000000..3f9e97737623 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devBoxProvisioningSettings": { + "installAzureMonitorAgentEnableStatus": "Enabled" + }, + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345", + "hidden-title": "ContosoDevCenter" + } + } + } + }, + "operationId": "DevCenters_Get", + "title": "DevCenters_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_ListByResourceGroup.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_ListByResourceGroup.json new file mode 100644 index 000000000000..10335b67ef29 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_ListByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/contoso", + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:08.896Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + ] + } + } + }, + "operationId": "DevCenters_ListByResourceGroup", + "title": "DevCenters_ListByResourceGroup" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_ListBySubscription.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_ListBySubscription.json new file mode 100644 index 000000000000..56cb2eaf63fa --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_ListBySubscription.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/contoso", + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:08.896Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + ] + } + } + }, + "operationId": "DevCenters_ListBySubscription", + "title": "DevCenters_ListBySubscription" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Patch.json new file mode 100644 index 000000000000..88f764e02fe4 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/DevCenters_Patch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "tags": { + "CostCode": "12345" + } + }, + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "Contoso", + "type": "Microsoft.DevCenter/devcenters", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "location": "centralus", + "properties": { + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "ContosoDevCenter", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-11T22:00:08.896Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-11T22:00:10.896Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "CostCode": "12345" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "DevCenters_Update", + "title": "DevCenters_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_Get.json new file mode 100644 index 000000000000..e7dcdfe48f01 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_Get.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "devCenterName": "Contoso", + "environmentDefinitionName": "myEnvironmentDefinition", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/devcenters/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EnvironmentDefinitions_Get", + "title": "EnvironmentDefinitions_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_GetByProjectCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_GetByProjectCatalog.json new file mode 100644 index 000000000000..53e2f1aaae21 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_GetByProjectCatalog.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "environmentDefinitionName": "myEnvironmentDefinition", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/projects/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "EnvironmentDefinitions_GetByProjectCatalog", + "title": "EnvironmentDefinitions_GetByProjectCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_GetErrorDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..1367033c61d3 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "devCenterName": "Contoso", + "environmentDefinitionName": "myEnvironmentDefinition", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "ParameterValueInvalid", + "message": "Expected parameter value for 'InstanceCount' to be integer but found the string 'test'." + } + ] + } + } + }, + "operationId": "EnvironmentDefinitions_GetErrorDetails", + "title": "EnvironmentDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_ListByCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_ListByCatalog.json new file mode 100644 index 000000000000..1b48bff7c51e --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_ListByCatalog.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/devcenters/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "EnvironmentDefinitions_ListByCatalog", + "title": "EnvironmentDefinitions_ListByCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_ListByProjectCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_ListByProjectCatalog.json new file mode 100644 index 000000000000..c5fe2dfb8818 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentDefinitions_ListByProjectCatalog.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myEnvironmentDefinition", + "type": "Microsoft.DevCenter/projects/catalogs/environmentDefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/myCatalog/environmentDefinitions/myEnvironmentDefinition", + "properties": { + "description": "My sample environment definition.", + "parameters": [ + { + "name": "Function App Runtime", + "type": "string", + "id": "functionAppRuntime", + "required": true + }, + { + "name": "Storage Account Type", + "type": "string", + "id": "storageAccountType", + "required": true + }, + { + "name": "HTTPS only", + "type": "boolean", + "id": "httpsOnly", + "readOnly": true, + "required": true + } + ], + "templatePath": "azuredeploy.json", + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "EnvironmentDefinitions_ListByProjectCatalog", + "title": "EnvironmentDefinitions_ListByProjectCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Delete.json new file mode 100644 index 000000000000..a9ce1ef1c840 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "EnvironmentTypes_Delete", + "title": "EnvironmentTypes_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Get.json new file mode 100644 index 000000000000..f440a627ea3b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "EnvironmentTypes_Get", + "title": "EnvironmentTypes_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_List.json new file mode 100644 index 000000000000..e179aea3c6eb --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_List.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + ] + } + } + }, + "operationId": "EnvironmentTypes_ListByDevCenter", + "title": "EnvironmentTypes_ListByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Patch.json new file mode 100644 index 000000000000..bdd45d368eb8 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Patch.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "displayName": "Dev" + }, + "tags": { + "Owner": "superuser" + } + }, + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "Owner": "superuser", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "EnvironmentTypes_Update", + "title": "EnvironmentTypes_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Put.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Put.json new file mode 100644 index 000000000000..00ce0d9203bb --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/EnvironmentTypes_Put.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "displayName": "Dev" + }, + "tags": { + "Owner": "superuser" + } + }, + "devCenterName": "Contoso", + "environmentTypeName": "DevTest", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "Owner": "superuser", + "hidden-title": "Dev" + } + } + }, + "201": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/devcenters/environmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/environmentTypes/DevTest", + "properties": { + "displayName": "Dev" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "Owner": "superuser", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "EnvironmentTypes_CreateOrUpdate", + "title": "EnvironmentTypes_CreateOrUpdate" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Create.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Create.json new file mode 100644 index 000000000000..b9aa25895a39 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Create.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery" + } + }, + "devCenterName": "Contoso", + "galleryName": "StandardGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/StandardGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/StandardGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Galleries_CreateOrUpdate", + "title": "Galleries_CreateOrUpdate" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Delete.json new file mode 100644 index 000000000000..454c1295506c --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "StandardGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Galleries_Delete", + "title": "Galleries_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Get.json new file mode 100644 index 000000000000..bff88a875222 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "StandardGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/StandardGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/StandardGallery", + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Galleries_Get", + "title": "Galleries_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_List.json new file mode 100644 index 000000000000..ac96221e065d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Galleries_List.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/default", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/CentralGallery", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + }, + { + "name": "StandardGallery", + "type": "Microsoft.DevCenter/devcenters/galleries", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/ImageGallery", + "properties": { + "galleryResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.Compute/galleries/SharedGallery", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Galleries_ListByDevCenter", + "title": "Galleries_ListByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_BuildImage.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_BuildImage.json new file mode 100644 index 000000000000..512ef4ded36a --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_BuildImage.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_BuildImage", + "title": "ProjectCatalogImageDefinitions_BuildImage" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_CancelImageBuild.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_CancelImageBuild.json new file mode 100644 index 000000000000..ea5ad52857d2 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_CancelImageBuild.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuild_Cancel", + "title": "ImageDefinitionBuilds_CancelByImageDefinition" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetByDevCenterCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetByDevCenterCatalog.json new file mode 100644 index 000000000000..17fc074197c7 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetByDevCenterCatalog.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "devCenterName": "ContosoDevCenter", + "imageDefinitionName": "WebDevBox", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/ContosoDevCenter/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "extends": { + "imageDefinition": "it-base", + "parameters": [ + { + "name": "vssku", + "value": "Community" + } + ] + }, + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "tasks": [ + { + "name": "git-clone", + "parameters": [ + { + "name": "cloneUri", + "value": "https://github.com/microsoft/devcenter-catalog" + } + ] + } + ], + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_GetByDevCenterCatalog", + "title": "ImageDefinitions_GetByDevCenterCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetByProjectCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetByProjectCatalog.json new file mode 100644 index 000000000000..e0460c057fc3 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetByProjectCatalog.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "imageDefinitionName": "WebDevBox", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_GetByProjectCatalog", + "title": "ImageDefinitions_GetByProjectCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetImageBuild.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetImageBuild.json new file mode 100644 index 000000000000..77f2dff5d449 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetImageBuild.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/projects/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuild_Get", + "title": "ImageDefinitionBuilds_GetByImageDefinition" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetImageBuildDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetImageBuildDetails.json new file mode 100644 index 000000000000..e060f20d5e46 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_GetImageBuildDetails.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded", + "taskGroups": [ + { + "name": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Provisioning", + "displayName": "Provisioning", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Customizations", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "vs2022", + "displayName": "Install Visual Studio 2022", + "endTime": "2020-11-18T18:25:12.952Z", + "id": "e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "logUri": "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7/logs/e72eb35f-f406-42ec-8b93-7d18a9f7b059", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + }, + { + "name": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded", + "tasks": [ + { + "name": "Generalization", + "displayName": "Generalization", + "endTime": "2020-11-18T18:25:12.952Z", + "logUri": "", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Succeeded" + } + ] + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuild_GetBuildDetails", + "title": "ProjectCatalogImageDefinitionBuild_GetErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListByDevCenterCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListByDevCenterCatalog.json new file mode 100644 index 000000000000..8599bb8e837f --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListByDevCenterCatalog.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "devCenterName": "ContosoDevCenter", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/devcenters/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/ContosoDevCenter/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "DevCenterCatalogImageDefinitions_ListByDevCenterCatalog", + "title": "ImageDefinitions_ListByDevCenterCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListByProjectCatalog.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListByProjectCatalog.json new file mode 100644 index 000000000000..e9c256183d4e --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListByProjectCatalog.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "projectName": "ContosoProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "WebDevBox", + "type": "Microsoft.DevCenter/projects/catalogs/imagedefinitions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProject/catalogs/TeamCatalog/imagedefinitions/WebDevBox", + "properties": { + "activeImageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "autoImageBuild": "Enabled", + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "imageValidationErrorDetails": { + "code": "400", + "message": "Validation failed" + }, + "imageValidationStatus": "Failed", + "latestBuild": { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "endTime": "2020-11-18T18:25:12.952Z", + "startTime": "2020-11-18T18:25:02.224Z", + "status": "Running" + }, + "validationStatus": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_ListByProjectCatalog", + "title": "ImageDefinitions_ListByProjectCatalog" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListImageBuildsByImageDefinition.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListImageBuildsByImageDefinition.json new file mode 100644 index 000000000000..b0fc6267603d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageDefinitions_ListImageBuildsByImageDefinition.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "buildName": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "catalogName": "CentralCatalog", + "imageDefinitionName": "DefaultDevImage", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "type": "Microsoft.DevCenter/projects/catalogs/imageDefinitions/builds", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog/imageDefinitions/DefaultDevImage/builds/0a28fc61-6f87-4611-8fe2-32df44ab93b7", + "properties": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/versions/1.0.0" + }, + "status": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitionBuilds_ListByImageDefinition", + "title": "ImageDefinitionBuilds_ListByImageDefinition" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_Get.json new file mode 100644 index 000000000000..c3cc8d46c989 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DefaultDevGallery", + "imageName": "Win11", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "versionName": "1.0.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0.0", + "type": "Microsoft.DevCenter/devcenters/galleries/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DefaultDevGallery/images/Win11/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ImageVersions_Get", + "title": "Versions_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_GetByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_GetByProject.json new file mode 100644 index 000000000000..f2608485defb --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_GetByProject.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "imageName": "~gallery~DefaultDevGallery~ContosoImageDefinition", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff", + "versionName": "1.0.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0.0", + "type": "Microsoft.DevCenter/project/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/project/myProject/images/~gallery~DefaultDevGallery~ContosoImageDefinition/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ImageVersions_GetByProject", + "title": "ImageVersions_GetByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_List.json new file mode 100644 index 000000000000..8ef0f2959efc --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_List.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DefaultDevGallery", + "imageName": "Win11", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1.0.0", + "type": "Microsoft.DevCenter/devcenters/galleries/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DefaultDevGallery/images/Win11/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ImageVersions_ListByImage", + "title": "ImageVersions_ListByImage" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_ListByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_ListByProject.json new file mode 100644 index 000000000000..10bc1c65400b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ImageVersions_ListByProject.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "imageName": "~gallery~DefaultDevGallery~ContosoImageDefinition", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1.0.0", + "type": "Microsoft.DevCenter/project/images/versions", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/project/myProject/images/~gallery~DefaultDevGallery~ContosoImageDefinition/versions/1.0.0", + "properties": { + "excludeFromLatest": false, + "osDiskImageSizeInGb": 64, + "provisioningState": "Succeeded", + "publishedDate": "2021-12-01T12:45:16.845Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ImageVersions_ListByProject", + "title": "ImageVersions_ListByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_Get.json new file mode 100644 index 000000000000..88f9d5551369 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_Get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DefaultDevGallery", + "imageName": "ContosoBaseImage", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DefaultDevGallery/images/ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "provisioningState": "Succeeded", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Images_Get", + "title": "Images_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_GetByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_GetByProject.json new file mode 100644 index 000000000000..1ad7577ce4cb --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_GetByProject.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "imageName": "~gallery~DefaultDevGallery~ContosoBaseImage", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/project/myProject/images/~gallery~DefaultDevGallery~ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "provisioningState": "Succeeded", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Images_GetByProject", + "title": "Images_GetByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByDevCenter.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByDevCenter.json new file mode 100644 index 000000000000..c155ba758c96 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByDevCenter.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "ContosoBaseImage2", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage2", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Images_ListByDevCenter", + "title": "Images_ListByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByGallery.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByGallery.json new file mode 100644 index 000000000000..0f84cf300895 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByGallery.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "galleryName": "DevGallery", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ContosoBaseImage", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "ContosoBaseImage2", + "type": "Microsoft.DevCenter/devcenters/galleries/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage2", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Images_ListByGallery", + "title": "Images_ListByGallery" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByProject.json new file mode 100644 index 000000000000..c772c2c81246 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Images_ListByProject.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "~gallery~DefaultDevGallery~ContosoBaseImage", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myProject/images/~gallery~DefaultDevGallery~ContosoBaseImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "~catalog~DefaultCatalog~DefaultImage", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myProject/images/~catalog~DefaultCatalog~DefaultImage", + "properties": { + "architecture": "x64", + "description": "Windows 10 Enterprise + OS Optimizations 1909", + "offer": "windows-ent-cpc", + "provisioningState": "Succeeded", + "publisher": "MicrosoftWindowsDesktop", + "recommendedMachineConfiguration": { + "memory": { + "max": 256, + "min": 128 + }, + "vCPUs": { + "max": 4, + "min": 2 + } + }, + "sku": "19h2-ent-cpc-os-g2" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + }, + { + "name": "~gallery~DefaultDevGallery~ContosoImageDefinition", + "type": "Microsoft.DevCenter/project/images", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myProject/images/~gallery~DefaultDevGallery~ContosoImageDefinition", + "properties": { + "architecture": "x64", + "description": "Standard Windows Dev/Test image.", + "offer": "Finance", + "publisher": "Contoso", + "recommendedMachineConfiguration": { + "memory": { + "max": 512, + "min": 256 + }, + "vCPUs": { + "max": 8, + "min": 4 + } + }, + "sku": "Backend" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Images_ListByProject", + "title": "Images_ListByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Delete.json new file mode 100644 index 000000000000..31f0c02e2198 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "eastusnetwork", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "NetworkConnections_Delete", + "title": "NetworkConnections_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Get.json new file mode 100644 index 000000000000..9db25541e68d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "healthCheckStatus": "Passed", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkConnections_Get", + "title": "NetworkConnections_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_GetHealthDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_GetHealthDetails.json new file mode 100644 index 000000000000..060992f54efb --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_GetHealthDetails.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "eastusnetwork", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "latest", + "type": "Microsoft.DevCenter/networkconnections/healthchecks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/eastusnetwork/healthchecks/latest", + "properties": { + "endDateTime": "2021-07-03T12:43:15Z", + "healthChecks": [ + { + "displayName": "Azure AD device sync", + "endDateTime": "2021-07-03T12:43:14Z", + "startDateTime": "2021-07-03T12:43:15Z", + "status": "Passed" + } + ], + "startDateTime": "2021-07-03T12:43:14Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "System", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "System", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "NetworkConnections_GetHealthDetails", + "title": "NetworkConnections_GetHealthDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListByResourceGroup.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..ce4367b984e3 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkConnections_ListByResourceGroup", + "title": "NetworkConnections_ListByResourceGroup" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListBySubscription.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListBySubscription.json new file mode 100644 index 000000000000..eb328861e83a --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListBySubscription.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnection", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkConnections_ListBySubscription", + "title": "NetworkConnections_ListBySubscription" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListHealthDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListHealthDetails.json new file mode 100644 index 000000000000..22d3eb60eacb --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListHealthDetails.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "latest", + "type": "Microsoft.DevCenter/networkconnections/healthchecks", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network/healthchecks/latest", + "properties": { + "endDateTime": "2021-07-03T12:43:15Z", + "healthChecks": [ + { + "displayName": "Azure AD device sync", + "endDateTime": "2021-07-03T12:43:14Z", + "startDateTime": "2021-07-03T12:43:15Z", + "status": "Passed" + } + ], + "startDateTime": "2021-07-03T12:43:14Z" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "System", + "createdByType": "Application", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "System", + "lastModifiedByType": "Application" + } + } + ] + } + } + }, + "operationId": "NetworkConnections_ListHealthDetails", + "title": "NetworkConnections_ListHealthDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json new file mode 100644 index 000000000000..465422a88646 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "category": "Dev Box Service", + "endpoints": [ + { + "domainName": "devbox.azure.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Intune", + "endpoints": [ + { + "domainName": "login.microsoftonline.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Cloud PC", + "endpoints": [ + { + "domainName": "rdweb.wvd.microsoft.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + } + ] + } + } + }, + "operationId": "NetworkConnections_ListOutboundNetworkDependenciesEndpoints", + "title": "ListOutboundNetworkDependencies" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Patch.json new file mode 100644 index 000000000000..c5b6f3f238f2 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Patch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "domainPassword": "New Password value for user" + } + }, + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "NetworkConnections_Update", + "title": "NetworkConnections_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Put.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Put.json new file mode 100644 index 000000000000..a33421b23a32 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_Put.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainPassword": "Password value for user", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + } + }, + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "uswest3network", + "type": "Microsoft.DevCenter/networkconnections", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/networkconnections/uswest3network", + "location": "centralus", + "properties": { + "domainJoinType": "HybridAzureADJoin", + "domainName": "mydomaincontroller.local", + "domainUsername": "testuser@mydomaincontroller.local", + "networkingResourceGroupName": "NetworkInterfaces", + "provisioningState": "Created", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkConnections_CreateOrUpdate", + "title": "NetworkConnections_CreateOrUpdate" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_RunHealthChecks.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_RunHealthChecks.json new file mode 100644 index 000000000000..76657be4fd76 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/NetworkConnections_RunHealthChecks.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "networkConnectionName": "uswest3network", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "NetworkConnections_RunHealthChecks", + "title": "NetworkConnections_RunHealthChecks" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/OperationStatus_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/OperationStatus_Get.json new file mode 100644 index 000000000000..d29f4a20f15d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/OperationStatus_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "operationId": "3fa1a29d-e807-488d-81d1-f1c5456a08cd", + "api-version": "2026-01-01-preview", + "location": "westus3", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "endTime": "2020-12-01T15:16:55.100Z", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4", + "percentComplete": 100, + "startTime": "2020-12-01T15:16:29.500Z", + "status": "Succeeded" + } + }, + "202": { + "body": { + "endTime": "2020-12-01T15:16:55.100Z", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4", + "percentComplete": 99, + "startTime": "2020-12-01T15:16:29.500Z", + "status": "Succeeded" + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "default": { + "body": { + "error": { + "code": "OperationNotFound", + "message": "The requested async operation was not found" + } + } + } + }, + "operationId": "OperationStatuses_Get", + "title": "Get OperationStatus" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Operations_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Operations_Get.json new file mode 100644 index 000000000000..337412c7a8e3 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Operations_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DevCenter/devcenters/write", + "display": { + "operation": "write", + "provider": "Microsoft DevTest Center", + "resource": "Microsoft DevTest Center devcenter resource" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Delete.json new file mode 100644 index 000000000000..ae9069734a53 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "poolName", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Pools_Delete", + "title": "Pools_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Get.json new file mode 100644 index 000000000000..50d7af8b7fbc --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Get.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_GetUnhealthyStatus.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_GetUnhealthyStatus.json new file mode 100644 index 000000000000..80f419030037 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_GetUnhealthyStatus.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Unhealthy", + "healthStatusDetails": [ + { + "code": "NetworkConnectionUnhealthy", + "message": "The Pool's Network Connection is in an unhealthy state. Check the Network Connection's health status for more details." + }, + { + "code": "ImageValidationFailed", + "message": "Image validation has failed. Check the Dev Box Definition's image validation status for more details." + }, + { + "code": "IntuneValidationFailed", + "message": "Intune license validation has failed. The tenant does not have a valid Intune license." + } + ], + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_GetUnhealthyStatus" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_List.json new file mode 100644 index 000000000000..d48f934b4931 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_List.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Pools_ListByProject", + "title": "Pools_ListByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Patch.json new file mode 100644 index 000000000000..c7d88cf36411 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Patch.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "devBoxDefinitionName": "WebDevBox2" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox2", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Put.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Put.json new file mode 100644 index 000000000000..f9cbf3ebca78 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_Put.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "networkConnectionName": "Network1-westus2", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "activeHoursConfiguration": { + "autoStartEnableStatus": "Enabled", + "daysOfWeekLimit": 5, + "defaultDaysOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "defaultEndTimeHour": 17, + "defaultStartTimeHour": 9, + "defaultTimeZone": "America/Los_Angeles", + "keepAwakeEnableStatus": "Enabled" + }, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Pending", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Created", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_PutWithManagedNetwork.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_PutWithManagedNetwork.json new file mode 100644 index 000000000000..ed9a8946b36d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_PutWithManagedNetwork.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "managedNetwork", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "managedNetwork", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxDefinitionName": "WebDevBox", + "displayName": "Developer Pool", + "healthStatus": "Pending", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [ + "centralus" + ], + "networkConnectionName": "managedNetwork", + "provisioningState": "Created", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Managed" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdateWithManagedNetwork" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_PutWithValueDevBoxDefinition.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_PutWithValueDevBoxDefinition.json new file mode 100644 index 000000000000..60bd82e0299e --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_PutWithValueDevBoxDefinition.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "devBoxDefinition": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/projects/DevProject/images/exampleImage/version/1.0.0" + }, + "sku": { + "name": "Preview" + } + }, + "devBoxDefinitionName": "", + "devBoxDefinitionType": "Value", + "displayName": "Developer Pool", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "networkConnectionName": "Network1-westus2", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxCount": 1, + "devBoxDefinition": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/projects/DevProject/images/exampleImage/version/1.0.0" + }, + "sku": { + "name": "Preview" + } + }, + "devBoxDefinitionName": "", + "devBoxDefinitionType": "Value", + "displayName": "Developer Pool", + "healthStatus": "Healthy", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Succeeded", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevPool", + "type": "Microsoft.DevCenter/pools", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/pools/DevPool", + "location": "centralus", + "properties": { + "devBoxDefinition": { + "imageReference": { + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/projects/DevProject/images/exampleImage/version/1.0.0" + }, + "sku": { + "name": "Preview" + } + }, + "devBoxDefinitionName": "", + "devBoxDefinitionType": "Value", + "displayName": "Developer Pool", + "healthStatus": "Pending", + "licenseType": "Windows_Client", + "localAdministrator": "Enabled", + "managedVirtualNetworkRegions": [], + "networkConnectionName": "Network1-westus2", + "provisioningState": "Created", + "singleSignOnStatus": "Disabled", + "stopOnDisconnect": { + "gracePeriodMinutes": 60, + "status": "Enabled" + }, + "stopOnNoConnect": { + "gracePeriodMinutes": 120, + "status": "Enabled" + }, + "virtualNetworkType": "Unmanaged" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdateWithValueDevBoxDefinition" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_RunHealthChecks.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_RunHealthChecks.json new file mode 100644 index 000000000000..01ae5437ec0e --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Pools_RunHealthChecks.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Pools_RunHealthChecks", + "title": "Pools_RefreshStatus" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectAllowedEnvironmentTypes_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectAllowedEnvironmentTypes_Get.json new file mode 100644 index 000000000000..70eb71d1de54 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectAllowedEnvironmentTypes_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/allowedenvironmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/Contoso/allowedEnvironmentTypes/DevTest", + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectAllowedEnvironmentTypes_Get", + "title": "ProjectAllowedEnvironmentTypes_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectAllowedEnvironmentTypes_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectAllowedEnvironmentTypes_List.json new file mode 100644 index 000000000000..70a12e713d47 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectAllowedEnvironmentTypes_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/allowedenvironmenttypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/Contoso/allowedEnvironmentTypes/DevTest", + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectAllowedEnvironmentTypes_List", + "title": "ProjectAllowedEnvironmentTypes_List" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogEnvironmentDefinitions_GetErrorDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogEnvironmentDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..10d7292f2f72 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogEnvironmentDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "myCatalog", + "environmentDefinitionName": "myEnvironmentDefinition", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "ParameterValueInvalid", + "message": "Expected parameter value for 'InstanceCount' to be integer but found the string 'test'." + } + ] + } + } + }, + "operationId": "ProjectCatalogEnvironmentDefinitions_GetErrorDetails", + "title": "ProjectCatalogEnvironmentDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogImageDefinitions_GetErrorDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogImageDefinitions_GetErrorDetails.json new file mode 100644 index 000000000000..404fffccca78 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogImageDefinitions_GetErrorDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "TeamCatalog", + "imageDefinitionName": "WebDevBox", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "errors": [ + { + "code": "CatalogItemNotExist", + "message": "Task choco doesn't exist in the dev center." + } + ] + } + } + }, + "operationId": "ProjectCatalogImageDefinitions_GetErrorDetails", + "title": "ProjectCatalogImageDefinitions_GetErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Connect.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Connect.json new file mode 100644 index 000000000000..f6ba22b13916 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Connect.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogs_Connect", + "title": "ProjectCatalogs_Connect" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_CreateAdo.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_CreateAdo.json new file mode 100644 index 000000000000..ead48bcd9990 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_CreateAdo.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + } + } + }, + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "adoGit": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" + }, + "connectionState": "Connected", + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogs_CreateOrUpdate", + "title": "ProjectCatalogs_CreateOrUpdateAdo" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_CreateGitHub.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_CreateGitHub.json new file mode 100644 index 000000000000..bc63cbf26cf3 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_CreateGitHub.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + } + } + }, + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastSyncStats": { + "added": 0, + "removed": 0, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 0, + "unchanged": 0, + "updated": 0, + "validationErrors": 0 + }, + "provisioningState": "Accepted", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogs_CreateOrUpdate", + "title": "ProjectCatalogs_CreateOrUpdateGitHub" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Delete.json new file mode 100644 index 000000000000..74fe785dc826 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ProjectCatalogs_Delete", + "title": "ProjectCatalogs_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Get.json new file mode 100644 index 000000000000..12a2acd0b61a --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "syncedCatalogItemTypes": [ + "EnvironmentDefinition" + ], + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectCatalogs_Get", + "title": "ProjectCatalogs_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_GetSyncErrorDetails.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_GetSyncErrorDetails.json new file mode 100644 index 000000000000..7570a2b34707 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_GetSyncErrorDetails.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "conflicts": [ + { + "name": "DuplicateEnvironmentName", + "path": "/Environments/Duplicate/manifest.yaml" + } + ], + "errors": [ + { + "path": "/Environments/Invalid/manifest.yaml", + "errorDetails": [ + { + "code": "ParseError", + "message": "Schema Error Within Catalog Item: Missing Name" + } + ] + } + ], + "operationError": { + "code": "Conflict", + "message": "The source control credentials could not be validated successfully." + } + } + } + }, + "operationId": "ProjectCatalogs_GetSyncErrorDetails", + "title": "ProjectCatalogs_GetSyncErrorDetails" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_List.json new file mode 100644 index 000000000000..cd1cb8f5759b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_List.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/Contoso/catalogs", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/templates", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectCatalogs_List", + "title": "ProjectCatalogs_List" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Patch.json new file mode 100644 index 000000000000..e2a4864dadb9 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Patch.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "gitHub": { + "path": "/environments" + } + } + }, + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "CentralCatalog", + "type": "Microsoft.DevCenter/projects/catalogs", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject/catalogs/CentralCatalog", + "properties": { + "connectionState": "Connected", + "gitHub": { + "path": "/environments", + "branch": "main", + "secretIdentifier": "https://contosokv.vault.azure.net/secrets/CentralRepoPat", + "uri": "https://github.com/Contoso/centralrepo-fake.git" + }, + "lastConnectionTime": "2020-11-18T18:28:00.314Z", + "lastSyncStats": { + "added": 1, + "removed": 1, + "synchronizationErrors": 1, + "unchanged": 1, + "updated": 1, + "validationErrors": 1 + }, + "lastSyncTime": "2020-11-18T18:28:00.314Z", + "provisioningState": "Succeeded", + "syncState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogs_Patch", + "title": "ProjectCatalogs_Patch" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Sync.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Sync.json new file mode 100644 index 000000000000..6c222575f29e --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectCatalogs_Sync.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "catalogName": "CentralCatalog", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2023-10-01-preview" + } + } + }, + "operationId": "ProjectCatalogs_Sync", + "title": "ProjectCatalogs_Sync" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Delete.json new file mode 100644 index 000000000000..f2edba5ac823 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ProjectEnvironmentTypes_Delete", + "title": "ProjectEnvironmentTypes_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Get.json new file mode 100644 index 000000000000..c152330e6fdb --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Get.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "environmentCount": 1, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + } + }, + "operationId": "ProjectEnvironmentTypes_Get", + "title": "ProjectEnvironmentTypes_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_List.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_List.json new file mode 100644 index 000000000000..8152cbd25c9b --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_List.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + ] + } + } + }, + "operationId": "ProjectEnvironmentTypes_List", + "title": "ProjectEnvironmentTypes_List" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Patch.json new file mode 100644 index 000000000000..be9d4d8a75dc --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Patch.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "properties": { + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": {} + } + } + } + }, + "tags": { + "CostCenter": "RnD" + } + }, + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "environmentCount": 1, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD" + } + } + } + }, + "operationId": "ProjectEnvironmentTypes_Update", + "title": "ProjectEnvironmentTypes_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Put.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Put.json new file mode 100644 index 000000000000..c06bb6bddf0d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectEnvironmentTypes_Put.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": {} + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": {} + } + } + } + }, + "tags": { + "CostCenter": "RnD" + } + }, + "environmentTypeName": "DevTest", + "projectName": "ContosoProj", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "displayName": "DevTest", + "environmentCount": 0, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD", + "hidden-title": "Dev" + } + } + }, + "201": { + "body": { + "name": "DevTest", + "type": "Microsoft.DevCenter/projects/environmentTypes", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "creatorRoleAssignment": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + }, + "deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "displayName": "DevTest", + "environmentCount": 0, + "provisioningState": "Succeeded", + "status": "Enabled", + "userRoleAssignments": { + "e45e3m7c-176e-416a-b466-0c5ec8298f8a": { + "roles": { + "4cbf0b6c-e750-441c-98a7-10da8387e4d6": { + "description": "Allows Developer access to project virtual machine resources.", + "roleName": "Developer" + } + } + } + } + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1@contoso.com", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1@contoso.com", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "RnD", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "ProjectEnvironmentTypes_CreateOrUpdate", + "title": "ProjectEnvironmentTypes_CreateOrUpdate" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Delete.json new file mode 100644 index 000000000000..b48eb8a8bbee --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01" + } + }, + "204": {} + }, + "operationId": "ProjectPolicies_Delete", + "title": "ProjectPolicies_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Get.json new file mode 100644 index 000000000000..9909ed750b3d --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Get.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "displayNameFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ] + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectPolicies_Get", + "title": "ProjectPolicies_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_ListByDevCenter.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_ListByDevCenter.json new file mode 100644 index 000000000000..465ae5a521ea --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_ListByDevCenter.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "devCenterName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "displayNameFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable" + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "Modifiable" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ProjectPolicies_ListByDevCenter", + "title": "ProjectPolicies_ListByDevCenter" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Patch.json new file mode 100644 index 000000000000..a8076aea6eac --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Patch.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + } + ], + "configurationPolicies": { + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + } + } + } + }, + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Allow" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "displayNameFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable" + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable" + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "Modifiable" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2024-02-01" + } + } + }, + "operationId": "ProjectPolicies_Update", + "title": "ProjectPolicies_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Put.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Put.json new file mode 100644 index 000000000000..7faf685e4521 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/ProjectPolicies_Put.json @@ -0,0 +1,245 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "displayNameFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ] + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy" + } + } + } + }, + "devCenterName": "Contoso", + "projectPolicyName": "DevOnlyResources", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff1" + }, + "responses": { + "200": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + }, + { + "resourceType": "Images", + "action": "Deny" + }, + { + "resourceType": "Skus", + "action": "Allow" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "configurationPolicies": { + "azureAiServicesFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteFeatureStatus": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ] + }, + "displayNameFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "projectCatalogFeatureStatus": { + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "serverlessGpuSessionsFeatureStatus": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ] + }, + "userCustomizationsFeatureStatus": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageFeatureStatus": { + "statusModifiable": "NotModifiable", + "defaultStatus": "AutoDeploy" + } + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "DevOnlyResources", + "type": "Microsoft.DevCenter/devcenters/projectpolicies", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/projectPolicies/DevOnlyResources", + "properties": { + "resourcePolicies": [ + { + "resources": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/attachednetworks/network-westus3" + } + ], + "scopes": [ + "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff1/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject" + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:24:24.818Z", + "createdBy": "User1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:24:24.818Z", + "lastModifiedBy": "User1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ProjectPolicies_CreateOrUpdate", + "title": "ProjectPolicies_CreateOrUpdate" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Delete.json new file mode 100644 index 000000000000..62ab3fb1b9d5 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Projects_Delete", + "title": "Projects_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Get.json new file mode 100644 index 000000000000..a118c54340e9 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Get.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "catalogSettings": { + "catalogItemSyncTypes": [ + "EnvironmentDefinition" + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "Projects_Get", + "title": "Projects_Get" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_GetInheritedSettings.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_GetInheritedSettings.json new file mode 100644 index 000000000000..3c7e1df63f8a --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_GetInheritedSettings.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "Contoso", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "projectCatalogSettings": { + "catalogItemSyncEnableStatus": "Enabled", + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "environmentDefinitionCatalogItemSync", + "value": "Enabled" + }, + { + "name": "imageDefinitionCatalogItemSync", + "value": "Enabled" + } + ] + }, + "networkSettings": { + "microsoftHostedNetworkEnableStatus": "Enabled" + }, + "azureAiServicesSettings": { + "statusModifiable": "Modifiable", + "defaultStatus": "AutoDeploy" + }, + "devBoxScheduleDeleteSettings": { + "statusModifiable": "NotModifiable", + "valuesModifiable": "Modifiable", + "defaultStatus": "Enabled", + "defaultValues": [ + { + "name": "inactiveThreshold", + "value": "P30D" + }, + { + "name": "gracePeriod", + "value": "P3D" + }, + { + "name": "cancelOnConnectEnableStatus", + "value": "false" + } + ] + }, + "devBoxLimitsSettings": { + "statusModifiable": "Modifiable", + "valuesModifiable": "Modifiable", + "defaultValues": [ + { + "name": "maxDevBoxesPerUser", + "value": "10" + } + ], + "defaultStatus": "Enabled" + }, + "displayNameSettings": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + }, + "devBoxTunnelSettings": { + "statusModifiable": "Modifiable", + "defaultStatus": "Disabled" + }, + "serverlessGpuSessionsSettings": { + "statusModifiable": "Modifiable", + "valuesModifiable": "NotModifiable", + "defaultValues": [ + { + "name": "maxConcurrentSessionsPerProject", + "value": "3" + } + ], + "defaultStatus": "AutoDeploy" + }, + "userCustomizationsSettings": { + "statusModifiable": "Modifiable", + "defaultStatus": "Enabled" + }, + "workspaceStorageSettings": { + "statusModifiable": "NotModifiable", + "defaultStatus": "Disabled" + } + } + } + }, + "operationId": "Projects_GetInheritedSettings", + "title": "Projects_GetInheritedSettings" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_ListByResourceGroup.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_ListByResourceGroup.json new file mode 100644 index 000000000000..c35abee4ae99 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_ListByResourceGroup.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myproject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myproject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + ] + } + } + }, + "operationId": "Projects_ListByResourceGroup", + "title": "Projects_ListByResourceGroup" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_ListBySubscription.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_ListBySubscription.json new file mode 100644 index 000000000000..38ef036190cd --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_ListBySubscription.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myproject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/myproject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + ] + } + } + }, + "operationId": "Projects_ListBySubscription", + "title": "Projects_ListBySubscription" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Patch.json new file mode 100644 index 000000000000..47b6c23b8ff8 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Patch.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "description": "This is my first project.", + "catalogSettings": { + "catalogItemSyncTypes": [ + "EnvironmentDefinition" + ] + }, + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "33333333-3333-3333-3333-333333333333", + "scope": "DevBox" + } + ] + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "myproject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project. Very exciting.", + "catalogSettings": { + "catalogItemSyncTypes": [ + "EnvironmentDefinition" + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "33333333-3333-3333-3333-333333333333", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "displayName": "Dev" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Projects_Update", + "title": "Projects_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Put.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Put.json new file mode 100644 index 000000000000..7d95546c18b1 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_Put.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "displayName": "Dev", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ] + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "hidden-title": "Dev" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "assignedGroups": [ + { + "objectId": "11111111-1111-1111-1111-111111111111", + "scope": "DevBox" + }, + { + "objectId": "22222222-2222-2222-2222-222222222222", + "scope": "DevBox" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D", + "hidden-title": "Dev" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdate" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithCustomizationSettings.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithCustomizationSettings.json new file mode 100644 index 000000000000..f5e37b59e35e --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithCustomizationSettings.json @@ -0,0 +1,119 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {} + } + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1", + "identityType": "userAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso" + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1", + "identityType": "userAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494" + } + } + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1", + "identityType": "userAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3 + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdateWithCustomizationSettings" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithCustomizationSettings_SystemIdentity.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithCustomizationSettings_SystemIdentity.json new file mode 100644 index 000000000000..974231569ced --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithCustomizationSettings_SystemIdentity.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "identity": { + "type": "SystemAssigned" + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityType": "systemAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso" + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "SystemAssigned", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494", + "tenantId": "e35621a5-f615-4a20-940e-de8a84b15abc" + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityType": "systemAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "identity": { + "type": "SystemAssigned", + "principalId": "2111b8fc-e123-485a-b408-bf1153189494", + "tenantId": "e35621a5-f615-4a20-940e-de8a84b15abc" + }, + "location": "centralus", + "properties": { + "description": "This is my first project.", + "customizationSettings": { + "identities": [ + { + "identityType": "systemAssignedIdentity" + } + ] + }, + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3 + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdateWithCustomizationSettings_SystemIdentity" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithMaxDevBoxPerUser.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithMaxDevBoxPerUser.json new file mode 100644 index 000000000000..64871a3ac287 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Projects_PutWithMaxDevBoxPerUser.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3 + }, + "tags": { + "CostCenter": "R&D" + } + }, + "projectName": "DevProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com", + "maxDevBoxesPerUser": 3, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + }, + "201": { + "body": { + "name": "DevProject", + "type": "Microsoft.DevCenter/projects", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/DevProject", + "location": "centralus", + "properties": { + "description": "This is my first project.", + "devCenterId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso", + "maxDevBoxesPerUser": 3, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + }, + "tags": { + "CostCenter": "R&D" + } + } + } + }, + "operationId": "Projects_CreateOrUpdate", + "title": "Projects_CreateOrUpdateWithLimitsPerDev" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_CreateDailyShutdownPoolSchedule.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_CreateDailyShutdownPoolSchedule.json new file mode 100644 index 000000000000..462110d3b6d4 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_CreateDailyShutdownPoolSchedule.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + } + }, + "poolName": "DevPool", + "projectName": "DevProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Accepted", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Schedules_CreateOrUpdate", + "title": "Schedules_CreateDailyShutdownPoolSchedule" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Delete.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Delete.json new file mode 100644 index 000000000000..deb621b01e12 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Schedules_Delete", + "title": "Schedules_Delete" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Get.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Get.json new file mode 100644 index 000000000000..604944cc4485 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Schedules_Get", + "title": "Schedules_GetByPool" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_ListByPool.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_ListByPool.json new file mode 100644 index 000000000000..c1a83404ebb6 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_ListByPool.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Schedules_ListByPool", + "title": "Schedules_ListByPool" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Patch.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Patch.json new file mode 100644 index 000000000000..74f8cf8500a6 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Schedules_Patch.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "body": { + "properties": { + "time": "18:00" + } + }, + "poolName": "DevPool", + "projectName": "TestProject", + "resourceGroupName": "rg1", + "scheduleName": "autoShutdown", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "name": "autoShutdown", + "type": "Microsoft.DevCenter/pools/schedules", + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/TestProject/pools/DevPool/schedules/autoShutdown", + "properties": { + "type": "StopDevBox", + "frequency": "Daily", + "provisioningState": "Succeeded", + "state": "Enabled", + "time": "17:30", + "timeZone": "America/Los_Angeles" + }, + "systemData": { + "createdAt": "2020-11-18T18:00:36.993Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-11-18T18:30:36.993Z", + "lastModifiedBy": "user1", + "lastModifiedByType": "User" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevCenter/locations/CENTRALUS/operationStatuses/722e7bc4-60fa-4e6b-864f-d5bf12b9adc4?api-version=2026-01-01-preview" + } + } + }, + "operationId": "Schedules_Update", + "title": "Schedules_Update" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Skus_ListByProject.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Skus_ListByProject.json new file mode 100644 index 000000000000..80b64b99cecf --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Skus_ListByProject.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "projectName": "myProject", + "resourceGroupName": "rg1", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Large", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Premium" + }, + { + "name": "Medium", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Standard" + } + ] + } + } + }, + "operationId": "Skus_ListByProject", + "title": "Skus_ListByProject" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Skus_ListBySubscription.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Skus_ListBySubscription.json new file mode 100644 index 000000000000..f9b1c76ccb2a --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Skus_ListBySubscription.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Large", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Premium" + }, + { + "name": "Medium", + "locations": [ + "CentralUS" + ], + "resourceType": "projects/pools", + "tier": "Standard" + } + ] + } + } + }, + "operationId": "Skus_ListBySubscription", + "title": "Skus_ListBySubscription" +} diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Usages_ListByLocation.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Usages_ListByLocation.json new file mode 100644 index 000000000000..490183440c29 --- /dev/null +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2026-01-01-preview/examples/Usages_ListByLocation.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2026-01-01-preview", + "location": "westus", + "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58fffff" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": { + "value": "devcenters" + }, + "currentValue": 2, + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/Microsoft.DevCenter/locations/westus/quotas/devcenters", + "limit": 8, + "unit": "Count" + }, + { + "name": { + "value": "projects" + }, + "currentValue": 5, + "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/Microsoft.DevCenter/locations/westus/quotas/projects", + "limit": 30, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_ListByLocation", + "title": "listUsages" +} diff --git a/specification/devcenter/resource-manager/readme.md b/specification/devcenter/resource-manager/readme.md index 78bfda7d7881..8222e4842740 100644 --- a/specification/devcenter/resource-manager/readme.md +++ b/specification/devcenter/resource-manager/readme.md @@ -27,7 +27,7 @@ These are the global settings for devcenter. ``` yaml openapi-type: arm openapi-subtype: rpaas -tag: package-preview-2025-10-01-preview +tag: package-preview-2026-01-01-preview directive: - where: @@ -156,6 +156,15 @@ directive: - GuidUsage ``` +### Tag: package-preview-2026-01-01-preview + +These settings apply only when `--tag=package-preview-2026-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-preview-2026-01-01-preview' +input-file: + - Microsoft.DevCenter/preview/2026-01-01-preview/DevCenterRP.json +``` + ### Tag: package-preview-2025-10-01-preview These settings apply only when `--tag=package-preview-2025-10-01-preview` is specified on the command line.