diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/examples/2025-09-20/Pools_DeleteResources.json b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/examples/2025-09-20/Pools_DeleteResources.json index d3fed4f37950..2049071565ff 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/examples/2025-09-20/Pools_DeleteResources.json +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/examples/2025-09-20/Pools_DeleteResources.json @@ -8,8 +8,8 @@ "poolName": "my-dev-ops-pool", "body": { "resourceIds": [ - "dd8cc705c000000", - "dd8cc705c000001" + "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/my-resource-group/providers/Microsoft.DevOpsInfrastructure/pools/my-dev-ops-pool/resources/dd8cc705c_0", + "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/my-resource-group/providers/Microsoft.DevOpsInfrastructure/pools/my-dev-ops-pool/resources/dd8cc705c_1" ] } }, diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/main.tsp b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/main.tsp index c89509baca5b..6aa724bdd8da 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/main.tsp +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/main.tsp @@ -350,7 +350,8 @@ union LogonType { @doc("The network profile of the machines in the pool.") model NetworkProfile { @doc("The subnet id on which to put all machines created in the pool.") - subnetId: string; + @madeOptional(Microsoft.DevOpsInfrastructure.Versions.v2025_09_20) + subnetId?: string; @doc("The number of static public IP addresses for outgoing connections assigned to the pool.") @added(Microsoft.DevOpsInfrastructure.Versions.v2025_09_20) diff --git a/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/devopsinfrastructure.json b/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/devopsinfrastructure.json index 13f4cb453dd6..e552219a5855 100644 --- a/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/devopsinfrastructure.json +++ b/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/devopsinfrastructure.json @@ -1253,10 +1253,7 @@ }, "readOnly": true } - }, - "required": [ - "subnetId" - ] + } }, "Organization": { "type": "object", diff --git a/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/examples/Pools_DeleteResources.json b/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/examples/Pools_DeleteResources.json index d3fed4f37950..2049071565ff 100644 --- a/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/examples/Pools_DeleteResources.json +++ b/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/examples/Pools_DeleteResources.json @@ -8,8 +8,8 @@ "poolName": "my-dev-ops-pool", "body": { "resourceIds": [ - "dd8cc705c000000", - "dd8cc705c000001" + "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/my-resource-group/providers/Microsoft.DevOpsInfrastructure/pools/my-dev-ops-pool/resources/dd8cc705c_0", + "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/my-resource-group/providers/Microsoft.DevOpsInfrastructure/pools/my-dev-ops-pool/resources/dd8cc705c_1" ] } }, diff --git a/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/examples/ResourceDetails_DeleteResources.json b/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/examples/ResourceDetails_DeleteResources.json deleted file mode 100644 index e4a5f29163a5..000000000000 --- a/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-09-20/examples/ResourceDetails_DeleteResources.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "ResourceDetails_DeleteResources", - "operationId": "ResourceDetails_DeleteResources", - "parameters": { - "api-version": "2025-09-20", - "subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2", - "resourceGroupName": "my-resource-group", - "poolName": "my-dev-ops-pool", - "resourceIds": [ - "dd8cc705c000000", - "dd8cc705c000001" - ] - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/my-resource-group/providers/Microsoft.DevOpsInfrastructure/pools/my-devops-pool/resources/my-dev-ops-pool:04dcde21-626e-5a7e-8659-ce12f9284b29:dd8cc705c_0", - "name": "dd8cc705c000000", - "properties": { - "image": "my-image", - "imageVersion": "4.0.0", - "status": "Ready" - } - }, - { - "id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/my-resource-group/providers/Microsoft.DevOpsInfrastructure/pools/my-devops-pool/resources/my-dev-ops-pool:04dcde21-626e-5a7e-8659-ce12f9284b29:dd8cc705c_1", - "name": "dd8cc705c000001", - "properties": { - "image": "my-image", - "imageVersion": "4.0.0", - "status": "Allocated" - } - } - ], - "nextLink": null - } - } - } -}