diff --git a/Commands/mdp/pool/_create.md b/Commands/mdp/pool/_create.md index 22d1d6b01..064330fbc 100644 --- a/Commands/mdp/pool/_create.md +++ b/Commands/mdp/pool/_create.md @@ -25,3 +25,14 @@ Create a pool ```bash mdp pool create --location "eastus" --name "cli-contoso-pool" --resource-group "rg1" --identity "type=userAssigned" "user-assigned-identities={'/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi':{}}" --maximum-concurrency 3 --agent-profile "Stateless={}" --organization-profile "azure-dev-ops={organizations:[{url:'https://dev.azure.com/test-org',parallelism:2}],permissionProfile:{kind:'CreatorOnly'}}" --devcenter-project-resource-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DevCenter/projects/contoso-proj" --fabric-profile "vmss={sku:{name:Standard_D2ads_v5},storageProfile:{osDiskStorageAccountType:Standard},images:[{resourceId:'/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus2/Publishers/canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-focal/Skus/20_04-lts-gen2/versions/latest',buffer:*}],osProfile:{secretsManagementSettings:{observedCertificates:[],keyExportable:false},logonType:Service}}" ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.xml) **Stable** + + + +#### examples + +- Create + ```bash + mdp pool create --location "eastus" --name "cli-contoso-pool" --resource-group "rg1" --identity "type=userAssigned" "user-assigned-identities={'/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi':{}}" --maximum-concurrency 3 --agent-profile "Stateless={}" --organization-profile "azure-dev-ops={organizations:[{url:'https://dev.azure.com/test-org',parallelism:2}],permissionProfile:{kind:'CreatorOnly'}}" --devcenter-project-resource-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DevCenter/projects/contoso-proj" --fabric-profile "vmss={sku:{name:Standard_D2ads_v5},storageProfile:{osDiskStorageAccountType:Standard},images:[{resourceId:'/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus2/Publishers/canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-focal/Skus/20_04-lts-gen2/versions/latest',buffer:*}],osProfile:{secretsManagementSettings:{observedCertificates:[],keyExportable:false},logonType:Service}}" + ``` diff --git a/Commands/mdp/pool/_delete.md b/Commands/mdp/pool/_delete.md index 3d9a97f93..c5dcf4420 100644 --- a/Commands/mdp/pool/_delete.md +++ b/Commands/mdp/pool/_delete.md @@ -25,3 +25,14 @@ Delete a pool ```bash mdp pool delete --name "cli-contoso-pool" --resource-group "rg1" ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.xml) **Stable** + + + +#### examples + +- Delete + ```bash + mdp pool delete --name "cli-contoso-pool" --resource-group "rg1" + ``` diff --git a/Commands/mdp/pool/_list.md b/Commands/mdp/pool/_list.md index 5e8e86595..1dfe74bf0 100644 --- a/Commands/mdp/pool/_list.md +++ b/Commands/mdp/pool/_list.md @@ -37,3 +37,20 @@ List all pools ```bash mdp pool list ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.xml) **Stable** + + + + +#### examples + +- List by resource group + ```bash + mdp pool list --resource-group "rg1" + ``` + +- List by subscription + ```bash + mdp pool list + ``` diff --git a/Commands/mdp/pool/_show.md b/Commands/mdp/pool/_show.md index 7910c00d6..5a03c0c52 100644 --- a/Commands/mdp/pool/_show.md +++ b/Commands/mdp/pool/_show.md @@ -25,3 +25,14 @@ Get a pool ```bash mdp pool show --name "cli-contoso-pool" --resource-group "rg1" ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.xml) **Stable** + + + +#### examples + +- Get + ```bash + mdp pool show --name "cli-contoso-pool" --resource-group "rg1" + ``` diff --git a/Commands/mdp/pool/_update.md b/Commands/mdp/pool/_update.md index 44cb598b1..47554c5a9 100644 --- a/Commands/mdp/pool/_update.md +++ b/Commands/mdp/pool/_update.md @@ -25,3 +25,14 @@ Update a pool ```bash mdp pool update --name "cli-contoso-pool" --resource-group "rg1" --tags CostCode="12345" ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.xml) **Stable** + + + +#### examples + +- Update + ```bash + mdp pool update --name "cli-contoso-pool" --resource-group "rg1" --tags CostCode="12345" + ``` diff --git a/Commands/mdp/pool/agent/_list.md b/Commands/mdp/pool/agent/_list.md index 4ad1ba8f3..d036f961b 100644 --- a/Commands/mdp/pool/agent/_list.md +++ b/Commands/mdp/pool/agent/_list.md @@ -14,3 +14,14 @@ List resource agents by Pool ```bash mdp pool agent list --pool-name cli-contoso-pool --resource-group rg1 ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-10-19.xml) **Stable** + + + +#### examples + +- List by pool + ```bash + mdp pool agent list --pool-name cli-contoso-pool --resource-group rg1 + ``` diff --git a/Commands/mdp/sku/_list.md b/Commands/mdp/sku/_list.md index 599e033b9..bb5a03dfb 100644 --- a/Commands/mdp/sku/_list.md +++ b/Commands/mdp/sku/_list.md @@ -14,3 +14,14 @@ List sku resources in given location ```bash mdp sku list --location eastus ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-10-19.xml) **Stable** + + + +#### examples + +- List by location + ```bash + mdp sku list --location eastus + ``` diff --git a/Commands/mdp/usage/_list.md b/Commands/mdp/usage/_list.md index e64559e00..d0eb4d8c0 100644 --- a/Commands/mdp/usage/_list.md +++ b/Commands/mdp/usage/_list.md @@ -14,3 +14,14 @@ List quota resources in given location ```bash mdp usage list --location westus ``` + +### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-10-19.xml) **Stable** + + + +#### examples + +- List by location + ```bash + mdp usage list --location westus + ``` diff --git a/Commands/tree.json b/Commands/tree.json index 779bdf94e..4962b6614 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -60768,6 +60768,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp pool agent list --pool-name cli-contoso-pool --resource-group rg1" + ], + "name": "List by pool" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}/resources", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] } @@ -60830,6 +60848,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp pool create --location \"eastus\" --name \"cli-contoso-pool\" --resource-group \"rg1\" --identity \"type=userAssigned\" \"user-assigned-identities={'/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi':{}}\" --maximum-concurrency 3 --agent-profile \"Stateless={}\" --organization-profile \"azure-dev-ops={organizations:[{url:'https://dev.azure.com/test-org',parallelism:2}],permissionProfile:{kind:'CreatorOnly'}}\" --devcenter-project-resource-id \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DevCenter/projects/contoso-proj\" --fabric-profile \"vmss={sku:{name:Standard_D2ads_v5},storageProfile:{osDiskStorageAccountType:Standard},images:[{resourceId:'/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus2/Publishers/canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-focal/Skus/20_04-lts-gen2/versions/latest',buffer:*}],osProfile:{secretsManagementSettings:{observedCertificates:[],keyExportable:false},logonType:Service}}\"" + ], + "name": "Create" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] }, @@ -60880,6 +60916,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp pool delete --name \"cli-contoso-pool\" --resource-group \"rg1\"" + ], + "name": "Delete" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] }, @@ -60952,6 +61006,35 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp pool list --resource-group \"rg1\"" + ], + "name": "List by resource group" + }, + { + "commands": [ + "mdp pool list" + ], + "name": "List by subscription" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/pools", + "plane": "mgmt-plane", + "version": "2024-10-19" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] }, @@ -61002,6 +61085,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp pool show --name \"cli-contoso-pool\" --resource-group \"rg1\"" + ], + "name": "Get" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] }, @@ -61052,6 +61153,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp pool update --name \"cli-contoso-pool\" --resource-group \"rg1\" --tags CostCode=\"12345\"" + ], + "name": "Update" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] } @@ -61094,6 +61213,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp sku list --location eastus" + ], + "name": "List by location" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/skus", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] } @@ -61136,6 +61273,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "mdp usage list --location westus" + ], + "name": "List by location" + } + ], + "name": "2024-10-19", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/usages", + "plane": "mgmt-plane", + "version": "2024-10-19" + } + ] } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-10-19.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-10-19.json new file mode 100644 index 000000000..9e3888e52 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-10-19.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/skus", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldk9wc0luZnJhc3RydWN0dXJlL2xvY2F0aW9ucy97bG9jYXRpb25OYW1lfS9za3Vz/V/MjAyNC0xMC0xOQ=="}], "commandGroups": [{"name": "mdp sku", "commands": [{"name": "list", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/skus", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldk9wc0luZnJhc3RydWN0dXJlL2xvY2F0aW9ucy97bG9jYXRpb25OYW1lfS9za3Vz/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.locationName", "options": ["location"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the location."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Sku_ListByLocation", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{locationName}/skus", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "locationName", "arg": "$Path.locationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@ResourceSkuCapabilities_read>", "name": "capabilities", "required": true, "item": {"type": "@ResourceSkuCapabilities_read"}}, {"type": "string", "name": "family", "required": true}, {"type": "array", "name": "locationInfo", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "location", "required": true}, {"type": "array", "name": "zoneDetails", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "capabilities", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "value", "required": true}], "cls": "ResourceSkuCapabilities_read"}}, {"type": "array", "name": "name", "required": true, "item": {"type": "string"}}]}}, {"type": "array", "name": "zones", "required": true, "item": {"type": "string"}}]}}, {"type": "array", "name": "locations", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "resourceType", "required": true}, {"type": "array", "name": "restrictions", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "reasonCode", "enum": {"items": [{"value": "NotAvailableForSubscription"}, {"value": "QuotaId"}]}}, {"type": "object", "name": "restrictionInfo", "required": true, "props": [{"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Location"}, {"value": "Zone"}]}}, {"type": "array", "name": "values", "required": true, "item": {"type": "string"}}]}}, {"type": "string", "name": "size", "required": true}, {"type": "string", "name": "tier", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-10-19.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-10-19.xml new file mode 100644 index 000000000..01b431548 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-10-19.xml @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-10-19.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-10-19.json new file mode 100644 index 000000000..dc1ae4a89 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-10-19.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/usages", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldk9wc0luZnJhc3RydWN0dXJlL2xvY2F0aW9ucy97bG9jYXRpb259L3VzYWdlcw==/V/MjAyNC0xMC0xOQ=="}], "commandGroups": [{"name": "mdp usage", "commands": [{"name": "list", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/usages", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldk9wc0luZnJhc3RydWN0dXJlL2xvY2F0aW9ucy97bG9jYXRpb259L3VzYWdlcw==/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SubscriptionUsages_Usages", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{location}/usages", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"type": "integer64", "name": "currentValue", "required": true}, {"type": "ResourceId", "name": "id", "required": true}, {"type": "integer64", "name": "limit", "required": true}, {"type": "object", "name": "name", "props": [{"type": "string", "name": "localizedValue"}, {"type": "string", "name": "value"}]}, {"type": "string", "name": "unit", "required": true}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-10-19.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-10-19.xml new file mode 100644 index 000000000..5d523c366 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-10-19.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.json new file mode 100644 index 000000000..cdf4144e5 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/pools", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldk9wc0luZnJhc3RydWN0dXJlL3Bvb2xz/V/MjAyNC0xMC0xOQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHM=/V/MjAyNC0xMC0xOQ=="}], "commandGroups": [{"name": "mdp pool", "commands": [{"name": "list", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devopsinfrastructure/pools", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldk9wc0luZnJhc3RydWN0dXJlL3Bvb2xz/V/MjAyNC0xMC0xOQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHM=/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Pools_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Pools_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Pools_ListByResourceGroup"], "operationId": "Pools_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevOpsInfrastructure/pools/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "agentProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Stateful"}, {"value": "Stateless"}]}}, {"type": "object", "name": "resourcePredictions"}, {"type": "object", "name": "resourcePredictionsProfile", "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Automatic"}, {"value": "Manual"}]}}], "discriminators": [{"property": "kind", "value": "Automatic", "props": [{"type": "string", "name": "predictionPreference", "enum": {"items": [{"value": "Balanced"}, {"value": "BestPerformance"}, {"value": "MoreCostEffective"}, {"value": "MorePerformance"}, {"value": "MostCostEffective"}]}}]}, {"property": "kind", "value": "Manual"}]}], "discriminators": [{"property": "kind", "value": "Stateful", "props": [{"type": "string", "name": "gracePeriodTimeSpan"}, {"type": "string", "name": "maxAgentLifetime"}]}, {"property": "kind", "value": "Stateless"}]}, {"type": "string", "name": "devCenterProjectResourceId", "required": true}, {"type": "object", "name": "fabricProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Vmss"}]}}], "discriminators": [{"property": "kind", "value": "Vmss", "props": [{"type": "array", "name": "images", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "aliases", "item": {"type": "string"}}, {"default": {"value": "*"}, "type": "string", "name": "buffer"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "wellKnownImageName"}]}}, {"type": "object", "name": "networkProfile", "props": [{"type": "string", "name": "subnetId", "required": true}]}, {"type": "object", "name": "osProfile", "props": [{"type": "string", "name": "logonType", "enum": {"items": [{"value": "Interactive"}, {"value": "Service"}]}}, {"type": "object", "name": "secretsManagementSettings", "props": [{"type": "string", "name": "certificateStoreLocation"}, {"type": "boolean", "name": "keyExportable", "required": true}, {"type": "array", "name": "observedCertificates", "required": true, "item": {"type": "string"}}]}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true}]}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "driveLetter"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}]}}]}}, {"type": "string", "name": "osDiskStorageAccountType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "name": "maximumConcurrency", "required": true, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "name": "organizationProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "AzureDevOps"}, {"value": "GitHub"}]}}], "discriminators": [{"property": "kind", "value": "AzureDevOps", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "integer32", "name": "parallelism"}, {"type": "array", "name": "projects", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}, {"type": "object", "name": "permissionProfile", "props": [{"type": "array", "name": "groups", "item": {"type": "string"}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "CreatorOnly"}, {"value": "Inherit"}, {"value": "SpecificAccounts"}]}}, {"type": "array", "name": "users", "item": {"type": "string"}}]}]}, {"property": "kind", "value": "GitHub", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "repositories", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}]}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Pools_ListBySubscription"], "operationId": "Pools_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/pools", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevOpsInfrastructure/pools/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "agentProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Stateful"}, {"value": "Stateless"}]}}, {"type": "object", "name": "resourcePredictions"}, {"type": "object", "name": "resourcePredictionsProfile", "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Automatic"}, {"value": "Manual"}]}}], "discriminators": [{"property": "kind", "value": "Automatic", "props": [{"type": "string", "name": "predictionPreference", "enum": {"items": [{"value": "Balanced"}, {"value": "BestPerformance"}, {"value": "MoreCostEffective"}, {"value": "MorePerformance"}, {"value": "MostCostEffective"}]}}]}, {"property": "kind", "value": "Manual"}]}], "discriminators": [{"property": "kind", "value": "Stateful", "props": [{"type": "string", "name": "gracePeriodTimeSpan"}, {"type": "string", "name": "maxAgentLifetime"}]}, {"property": "kind", "value": "Stateless"}]}, {"type": "string", "name": "devCenterProjectResourceId", "required": true}, {"type": "object", "name": "fabricProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Vmss"}]}}], "discriminators": [{"property": "kind", "value": "Vmss", "props": [{"type": "array", "name": "images", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "aliases", "item": {"type": "string"}}, {"default": {"value": "*"}, "type": "string", "name": "buffer"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "wellKnownImageName"}]}}, {"type": "object", "name": "networkProfile", "props": [{"type": "string", "name": "subnetId", "required": true}]}, {"type": "object", "name": "osProfile", "props": [{"type": "string", "name": "logonType", "enum": {"items": [{"value": "Interactive"}, {"value": "Service"}]}}, {"type": "object", "name": "secretsManagementSettings", "props": [{"type": "string", "name": "certificateStoreLocation"}, {"type": "boolean", "name": "keyExportable", "required": true}, {"type": "array", "name": "observedCertificates", "required": true, "item": {"type": "string"}}]}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true}]}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "driveLetter"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}]}}]}}, {"type": "string", "name": "osDiskStorageAccountType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "name": "maximumConcurrency", "required": true, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "name": "organizationProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "AzureDevOps"}, {"value": "GitHub"}]}}], "discriminators": [{"property": "kind", "value": "AzureDevOps", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "integer32", "name": "parallelism"}, {"type": "array", "name": "projects", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}, {"type": "object", "name": "permissionProfile", "props": [{"type": "array", "name": "groups", "item": {"type": "string"}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "CreatorOnly"}, {"value": "Inherit"}, {"value": "SpecificAccounts"}]}}, {"type": "array", "name": "users", "item": {"type": "string"}}]}]}, {"property": "kind", "value": "GitHub", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "repositories", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}]}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.xml new file mode 100644 index 000000000..1364d1597 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.xml @@ -0,0 +1,545 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.md new file mode 100644 index 000000000..a73e18504 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.devopsinfrastructure/pools 2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.json new file mode 100644 index 000000000..26c8c2a61 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHMve3Bvb2xOYW1lfQ==/V/MjAyNC0xMC0xOQ=="}], "commandGroups": [{"name": "mdp pool", "commands": [{"name": "show", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHMve3Bvb2xOYW1lfQ==/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.poolName", "options": ["n", "name", "pool-name"], "required": true, "idPart": "name", "help": {"short": "Name of the pool. It needs to be globally unique."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Pools_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "poolName", "arg": "$Path.poolName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevOpsInfrastructure/pools/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "agentProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Stateful"}, {"value": "Stateless"}]}}, {"type": "object", "name": "resourcePredictions"}, {"type": "object", "name": "resourcePredictionsProfile", "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Automatic"}, {"value": "Manual"}]}}], "discriminators": [{"property": "kind", "value": "Automatic", "props": [{"type": "string", "name": "predictionPreference", "enum": {"items": [{"value": "Balanced"}, {"value": "BestPerformance"}, {"value": "MoreCostEffective"}, {"value": "MorePerformance"}, {"value": "MostCostEffective"}]}}]}, {"property": "kind", "value": "Manual"}]}], "discriminators": [{"property": "kind", "value": "Stateful", "props": [{"type": "string", "name": "gracePeriodTimeSpan"}, {"type": "string", "name": "maxAgentLifetime"}]}, {"property": "kind", "value": "Stateless"}]}, {"type": "string", "name": "devCenterProjectResourceId", "required": true}, {"type": "object", "name": "fabricProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Vmss"}]}}], "discriminators": [{"property": "kind", "value": "Vmss", "props": [{"type": "array", "name": "images", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "aliases", "item": {"type": "string"}}, {"default": {"value": "*"}, "type": "string", "name": "buffer"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "wellKnownImageName"}]}}, {"type": "object", "name": "networkProfile", "props": [{"type": "string", "name": "subnetId", "required": true}]}, {"type": "object", "name": "osProfile", "props": [{"type": "string", "name": "logonType", "enum": {"items": [{"value": "Interactive"}, {"value": "Service"}]}}, {"type": "object", "name": "secretsManagementSettings", "props": [{"type": "string", "name": "certificateStoreLocation"}, {"type": "boolean", "name": "keyExportable", "required": true}, {"type": "array", "name": "observedCertificates", "required": true, "item": {"type": "string"}}]}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true}]}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "driveLetter"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}]}}]}}, {"type": "string", "name": "osDiskStorageAccountType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "name": "maximumConcurrency", "required": true, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "name": "organizationProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "AzureDevOps"}, {"value": "GitHub"}]}}], "discriminators": [{"property": "kind", "value": "AzureDevOps", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "integer32", "name": "parallelism"}, {"type": "array", "name": "projects", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}, {"type": "object", "name": "permissionProfile", "props": [{"type": "array", "name": "groups", "item": {"type": "string"}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "CreatorOnly"}, {"value": "Inherit"}, {"value": "SpecificAccounts"}]}}, {"type": "array", "name": "users", "item": {"type": "string"}}]}]}, {"property": "kind", "value": "GitHub", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "repositories", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}]}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHMve3Bvb2xOYW1lfQ==/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.poolName", "options": ["n", "name", "pool-name"], "required": true, "idPart": "name", "help": {"short": "Name of the pool. It needs to be globally unique."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Pools_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "poolName", "arg": "$Path.poolName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHMve3Bvb2xOYW1lfQ==/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.poolName", "options": ["n", "name", "pool-name"], "required": true, "idPart": "name", "help": {"short": "Name of the pool. It needs to be globally unique."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.agentProfile", "options": ["agent-profile"], "group": "Properties", "help": {"short": "Defines how the machine will be handled once it executed a job."}, "args": [{"type": "object", "var": "$resource.properties.agentProfile.Stateful", "options": ["stateful"], "args": [{"type": "string", "var": "$resource.properties.agentProfile.Stateful.gracePeriodTimeSpan", "options": ["grace-period-time-span"], "help": {"short": "How long should the machine be kept around after it ran a workload when there are no stand-by agents. The maximum is one week."}}, {"type": "string", "var": "$resource.properties.agentProfile.Stateful.maxAgentLifetime", "options": ["max-agent-lifetime"], "help": {"short": "How long should stateful machines be kept around. The maximum is one week."}}]}, {"blank": {"value": {}}, "type": "object", "var": "$resource.properties.agentProfile.Stateless", "options": ["stateless"]}, {"blank": {"value": {}}, "type": "object", "var": "$resource.properties.agentProfile.resourcePredictions", "options": ["resource-predictions"], "help": {"short": "Defines pool buffer."}}, {"type": "object", "var": "$resource.properties.agentProfile.resourcePredictionsProfile", "options": ["resource-predictions-profile"], "help": {"short": "Defines how the pool buffer/stand-by agents is provided."}, "args": [{"type": "object", "var": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic", "options": ["automatic"], "args": [{"type": "string", "var": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic.predictionPreference", "options": ["prediction-preference"], "help": {"short": "Determines the balance between cost and performance."}, "enum": {"items": [{"name": "Balanced", "value": "Balanced"}, {"name": "BestPerformance", "value": "BestPerformance"}, {"name": "MoreCostEffective", "value": "MoreCostEffective"}, {"name": "MorePerformance", "value": "MorePerformance"}, {"name": "MostCostEffective", "value": "MostCostEffective"}]}}]}, {"blank": {"value": {}}, "type": "object", "var": "$resource.properties.agentProfile.resourcePredictionsProfile.Manual", "options": ["manual"]}]}]}, {"type": "string", "var": "$resource.properties.devCenterProjectResourceId", "options": ["devcenter-project-id", "devcenter-project-resource-id"], "group": "Properties", "help": {"short": "The resource id of the DevCenter Project the pool belongs to."}}, {"type": "object", "var": "$resource.properties.fabricProfile", "options": ["fabric-profile"], "group": "Properties", "help": {"short": "Defines the type of fabric the agent will run on."}, "args": [{"type": "object", "var": "$resource.properties.fabricProfile.Vmss", "options": ["vmss"], "args": [{"type": "array", "var": "$resource.properties.fabricProfile.Vmss.images", "options": ["images"], "required": true, "help": {"short": "The VM images of the machines in the pool."}, "item": {"type": "object", "args": [{"type": "array", "var": "$resource.properties.fabricProfile.Vmss.images[].aliases", "options": ["aliases"], "help": {"short": "List of aliases to reference the image by."}, "item": {"type": "string"}}, {"type": "string", "var": "$resource.properties.fabricProfile.Vmss.images[].buffer", "options": ["buffer"], "help": {"short": "The percentage of the buffer to be allocated to this image."}, "default": {"value": "*"}}, {"type": "string", "var": "$resource.properties.fabricProfile.Vmss.images[].resourceId", "options": ["resource-id"], "help": {"short": "The resource id of the image."}}, {"type": "string", "var": "$resource.properties.fabricProfile.Vmss.images[].wellKnownImageName", "options": ["well-known-image-name"], "help": {"short": "The image to use from a well-known set of images made available to customers."}}]}}, {"type": "object", "var": "$resource.properties.fabricProfile.Vmss.networkProfile", "options": ["network-profile"], "help": {"short": "The network profile of the machines in the pool."}, "args": [{"type": "string", "var": "$resource.properties.fabricProfile.Vmss.networkProfile.subnetId", "options": ["subnet-id"], "required": true, "help": {"short": "The subnet id on which to put all machines created in the pool."}}]}, {"type": "object", "var": "$resource.properties.fabricProfile.Vmss.osProfile", "options": ["os-profile"], "help": {"short": "The OS profile of the machines in the pool."}, "args": [{"type": "string", "var": "$resource.properties.fabricProfile.Vmss.osProfile.logonType", "options": ["logon-type"], "help": {"short": "Determines how the service should be run. By default, this will be set to Service."}, "enum": {"items": [{"name": "Interactive", "value": "Interactive"}, {"name": "Service", "value": "Service"}]}}, {"type": "object", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings", "options": ["secrets-management-settings"], "help": {"short": "The secret management settings of the machines in the pool."}, "args": [{"type": "string", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.certificateStoreLocation", "options": ["certificate-store-location"], "help": {"short": "Where to store certificates on the machine."}}, {"type": "boolean", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.keyExportable", "options": ["key-exportable"], "required": true, "help": {"short": "Defines if the key of the certificates should be exportable."}}, {"type": "array", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.observedCertificates", "options": ["observed-certificates"], "required": true, "help": {"short": "The list of certificates to install on all machines in the pool."}, "item": {"type": "string"}}]}]}, {"type": "object", "var": "$resource.properties.fabricProfile.Vmss.sku", "options": ["sku"], "required": true, "help": {"short": "The Azure SKU of the machines in the pool."}, "args": [{"type": "string", "var": "$resource.properties.fabricProfile.Vmss.sku.name", "options": ["name"], "required": true, "help": {"short": "The Azure SKU name of the machines in the pool."}}]}, {"type": "object", "var": "$resource.properties.fabricProfile.Vmss.storageProfile", "options": ["storage-profile"], "help": {"short": "The storage profile of the machines in the pool."}, "args": [{"type": "array", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks", "options": ["data-disks"], "help": {"short": "A list of empty data disks to attach."}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].caching", "options": ["caching"], "help": {"short": "The type of caching to be enabled for the data disks. The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}, {"type": "integer32", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].diskSizeGiB", "options": ["disk-size-gi-b"], "help": {"short": "The initial disk size in gigabytes."}}, {"type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].driveLetter", "options": ["drive-letter"], "help": {"short": "The drive letter for the empty data disk. If not specified, it will be the first available letter."}}, {"type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].storageAccountType", "options": ["storage-account-type"], "help": {"short": "The storage Account type to be used for the data disk. If omitted, the default is \"standard_lrs\"."}, "enum": {"items": [{"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}, {"name": "StandardSSD_LRS", "value": "StandardSSD_LRS"}, {"name": "StandardSSD_ZRS", "value": "StandardSSD_ZRS"}, {"name": "Standard_LRS", "value": "Standard_LRS"}]}}]}}, {"type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.osDiskStorageAccountType", "options": ["os-disk-storage-account-type"], "help": {"short": "The Azure SKU name of the machines in the pool."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "var": "$resource.properties.maximumConcurrency", "options": ["maximum-concurrency"], "group": "Properties", "help": {"short": "Defines how many resources can there be created at any given time."}, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "var": "$resource.properties.organizationProfile", "options": ["organization-profile"], "group": "Properties", "help": {"short": "Defines the organization in which the pool will be used."}, "args": [{"type": "object", "var": "$resource.properties.organizationProfile.AzureDevOps", "options": ["azure-dev-ops"], "args": [{"type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations", "options": ["organizations"], "required": true, "help": {"short": "The list of Azure DevOps organizations the pool should be present in."}, "item": {"type": "object", "args": [{"type": "integer32", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations[].parallelism", "options": ["parallelism"], "help": {"short": "How many machines can be created at maximum in this organization out of the maximumConcurrency of the pool."}}, {"type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations[].projects", "options": ["projects"], "help": {"short": "Optional list of projects in which the pool should be created."}, "item": {"type": "string"}}, {"type": "string", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations[].url", "options": ["url"], "required": true, "help": {"short": "The Azure DevOps organization URL in which the pool should be created."}}]}}, {"type": "object", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile", "options": ["permission-profile"], "help": {"short": "The type of permission which determines which accounts are admins on the Azure DevOps pool."}, "args": [{"type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.groups", "options": ["groups"], "help": {"short": "Group email addresses"}, "item": {"type": "string"}}, {"type": "string", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.kind", "options": ["kind"], "required": true, "help": {"short": "Determines who has admin permissions to the Azure DevOps pool."}, "enum": {"items": [{"name": "CreatorOnly", "value": "CreatorOnly"}, {"name": "Inherit", "value": "Inherit"}, {"name": "SpecificAccounts", "value": "SpecificAccounts"}]}}, {"type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.users", "options": ["users"], "help": {"short": "User email addresses"}, "item": {"type": "string"}}]}]}, {"type": "object", "var": "$resource.properties.organizationProfile.GitHub", "options": ["git-hub"], "hide": true, "group": "", "help": {"short": "This supports github organization profile"}, "args": [{"type": "array", "var": "$resource.properties.organizationProfile.GitHub.organizations", "options": ["organizations"], "required": true, "help": {"short": "The list of GitHub organizations/repositories the pool should be present in."}, "item": {"type": "object", "args": [{"type": "array", "var": "$resource.properties.organizationProfile.GitHub.organizations[].repositories", "options": ["repositories"], "help": {"short": "Optional list of repositories in which the pool should be created."}, "item": {"type": "string"}}, {"type": "string", "var": "$resource.properties.organizationProfile.GitHub.organizations[].url", "options": ["url"], "required": true, "help": {"short": "The GitHub organization URL in which the pool should be created."}}]}}]}]}, {"type": "string", "var": "$resource.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "The status of the current operation."}, "enum": {"items": [{"name": "Accepted", "value": "Accepted"}, {"name": "Canceled", "value": "Canceled"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "Provisioning", "value": "Provisioning"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Updating", "value": "Updating"}]}}]}, {"name": "Resource", "args": [{"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Pools_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "poolName", "arg": "$Path.poolName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "agentProfile", "arg": "$resource.properties.agentProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.agentProfile.Stateful", "value": "Stateful"}, {"arg": "$resource.properties.agentProfile.Stateless", "value": "Stateless"}]}}, {"type": "object", "name": "resourcePredictions", "arg": "$resource.properties.agentProfile.resourcePredictions"}, {"type": "object", "name": "resourcePredictionsProfile", "arg": "$resource.properties.agentProfile.resourcePredictionsProfile", "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic", "value": "Automatic"}, {"arg": "$resource.properties.agentProfile.resourcePredictionsProfile.Manual", "value": "Manual"}]}}], "discriminators": [{"property": "kind", "value": "Automatic", "props": [{"type": "string", "name": "predictionPreference", "arg": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic.predictionPreference", "enum": {"items": [{"value": "Balanced"}, {"value": "BestPerformance"}, {"value": "MoreCostEffective"}, {"value": "MorePerformance"}, {"value": "MostCostEffective"}]}}]}, {"property": "kind", "value": "Manual"}]}], "discriminators": [{"property": "kind", "value": "Stateful", "props": [{"type": "string", "name": "gracePeriodTimeSpan", "arg": "$resource.properties.agentProfile.Stateful.gracePeriodTimeSpan"}, {"type": "string", "name": "maxAgentLifetime", "arg": "$resource.properties.agentProfile.Stateful.maxAgentLifetime"}]}, {"property": "kind", "value": "Stateless"}]}, {"type": "string", "name": "devCenterProjectResourceId", "arg": "$resource.properties.devCenterProjectResourceId", "required": true}, {"type": "object", "name": "fabricProfile", "arg": "$resource.properties.fabricProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.fabricProfile.Vmss", "value": "Vmss"}]}}], "discriminators": [{"property": "kind", "value": "Vmss", "props": [{"type": "array", "name": "images", "arg": "$resource.properties.fabricProfile.Vmss.images", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "aliases", "arg": "$resource.properties.fabricProfile.Vmss.images[].aliases", "item": {"type": "string"}}, {"default": {"value": "*"}, "type": "string", "name": "buffer", "arg": "$resource.properties.fabricProfile.Vmss.images[].buffer"}, {"type": "string", "name": "resourceId", "arg": "$resource.properties.fabricProfile.Vmss.images[].resourceId"}, {"type": "string", "name": "wellKnownImageName", "arg": "$resource.properties.fabricProfile.Vmss.images[].wellKnownImageName"}]}}, {"type": "object", "name": "networkProfile", "arg": "$resource.properties.fabricProfile.Vmss.networkProfile", "props": [{"type": "string", "name": "subnetId", "arg": "$resource.properties.fabricProfile.Vmss.networkProfile.subnetId", "required": true}]}, {"type": "object", "name": "osProfile", "arg": "$resource.properties.fabricProfile.Vmss.osProfile", "props": [{"type": "string", "name": "logonType", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.logonType", "enum": {"items": [{"value": "Interactive"}, {"value": "Service"}]}}, {"type": "object", "name": "secretsManagementSettings", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings", "props": [{"type": "string", "name": "certificateStoreLocation", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.certificateStoreLocation"}, {"type": "boolean", "name": "keyExportable", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.keyExportable", "required": true}, {"type": "array", "name": "observedCertificates", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.observedCertificates", "required": true, "item": {"type": "string"}}]}]}, {"type": "object", "name": "sku", "arg": "$resource.properties.fabricProfile.Vmss.sku", "required": true, "props": [{"type": "string", "name": "name", "arg": "$resource.properties.fabricProfile.Vmss.sku.name", "required": true}]}, {"type": "object", "name": "storageProfile", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile", "props": [{"type": "array", "name": "dataDisks", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "caching", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "diskSizeGiB", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].diskSizeGiB"}, {"type": "string", "name": "driveLetter", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].driveLetter"}, {"type": "string", "name": "storageAccountType", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}]}}]}}, {"type": "string", "name": "osDiskStorageAccountType", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.osDiskStorageAccountType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "name": "maximumConcurrency", "arg": "$resource.properties.maximumConcurrency", "required": true, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "name": "organizationProfile", "arg": "$resource.properties.organizationProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.organizationProfile.AzureDevOps", "value": "AzureDevOps"}, {"arg": "$resource.properties.organizationProfile.GitHub", "value": "GitHub"}]}}], "discriminators": [{"property": "kind", "value": "AzureDevOps", "props": [{"type": "array", "name": "organizations", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations", "required": true, "item": {"type": "object", "props": [{"type": "integer32", "name": "parallelism", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations[].parallelism"}, {"type": "array", "name": "projects", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations[].projects", "item": {"type": "string"}}, {"type": "string", "name": "url", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations[].url", "required": true}]}}, {"type": "object", "name": "permissionProfile", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile", "props": [{"type": "array", "name": "groups", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.groups", "item": {"type": "string"}}, {"type": "string", "name": "kind", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.kind", "required": true, "enum": {"items": [{"value": "CreatorOnly"}, {"value": "Inherit"}, {"value": "SpecificAccounts"}]}}, {"type": "array", "name": "users", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.users", "item": {"type": "string"}}]}]}, {"property": "kind", "value": "GitHub", "props": [{"type": "array", "name": "organizations", "arg": "$resource.properties.organizationProfile.GitHub.organizations", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "repositories", "arg": "$resource.properties.organizationProfile.GitHub.organizations[].repositories", "item": {"type": "string"}}, {"type": "string", "name": "url", "arg": "$resource.properties.organizationProfile.GitHub.organizations[].url", "required": true}]}}]}]}, {"type": "string", "name": "provisioningState", "arg": "$resource.properties.provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevOpsInfrastructure/pools/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "agentProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Stateful"}, {"value": "Stateless"}]}}, {"type": "object", "name": "resourcePredictions"}, {"type": "object", "name": "resourcePredictionsProfile", "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Automatic"}, {"value": "Manual"}]}}], "discriminators": [{"property": "kind", "value": "Automatic", "props": [{"type": "string", "name": "predictionPreference", "enum": {"items": [{"value": "Balanced"}, {"value": "BestPerformance"}, {"value": "MoreCostEffective"}, {"value": "MorePerformance"}, {"value": "MostCostEffective"}]}}]}, {"property": "kind", "value": "Manual"}]}], "discriminators": [{"property": "kind", "value": "Stateful", "props": [{"type": "string", "name": "gracePeriodTimeSpan"}, {"type": "string", "name": "maxAgentLifetime"}]}, {"property": "kind", "value": "Stateless"}]}, {"type": "string", "name": "devCenterProjectResourceId", "required": true}, {"type": "object", "name": "fabricProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Vmss"}]}}], "discriminators": [{"property": "kind", "value": "Vmss", "props": [{"type": "array", "name": "images", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "aliases", "item": {"type": "string"}}, {"default": {"value": "*"}, "type": "string", "name": "buffer"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "wellKnownImageName"}]}}, {"type": "object", "name": "networkProfile", "props": [{"type": "string", "name": "subnetId", "required": true}]}, {"type": "object", "name": "osProfile", "props": [{"type": "string", "name": "logonType", "enum": {"items": [{"value": "Interactive"}, {"value": "Service"}]}}, {"type": "object", "name": "secretsManagementSettings", "props": [{"type": "string", "name": "certificateStoreLocation"}, {"type": "boolean", "name": "keyExportable", "required": true}, {"type": "array", "name": "observedCertificates", "required": true, "item": {"type": "string"}}]}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true}]}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "driveLetter"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}]}}]}}, {"type": "string", "name": "osDiskStorageAccountType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "name": "maximumConcurrency", "required": true, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "name": "organizationProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "AzureDevOps"}, {"value": "GitHub"}]}}], "discriminators": [{"property": "kind", "value": "AzureDevOps", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "integer32", "name": "parallelism"}, {"type": "array", "name": "projects", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}, {"type": "object", "name": "permissionProfile", "props": [{"type": "array", "name": "groups", "item": {"type": "string"}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "CreatorOnly"}, {"value": "Inherit"}, {"value": "SpecificAccounts"}]}}, {"type": "array", "name": "users", "item": {"type": "string"}}]}]}, {"property": "kind", "value": "GitHub", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "repositories", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}]}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHMve3Bvb2xOYW1lfQ==/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.poolName", "options": ["n", "name", "pool-name"], "required": true, "idPart": "name", "help": {"short": "Name of the pool. It needs to be globally unique."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.agentProfile", "options": ["agent-profile"], "group": "Properties", "help": {"short": "Defines how the machine will be handled once it executed a job."}, "args": [{"type": "object", "var": "$resource.properties.agentProfile.Stateful", "options": ["stateful"], "args": [{"nullable": true, "type": "string", "var": "$resource.properties.agentProfile.Stateful.gracePeriodTimeSpan", "options": ["grace-period-time-span"], "help": {"short": "How long should the machine be kept around after it ran a workload when there are no stand-by agents. The maximum is one week."}}, {"nullable": true, "type": "string", "var": "$resource.properties.agentProfile.Stateful.maxAgentLifetime", "options": ["max-agent-lifetime"], "help": {"short": "How long should stateful machines be kept around. The maximum is one week."}}]}, {"blank": {"value": {}}, "type": "object", "var": "$resource.properties.agentProfile.Stateless", "options": ["stateless"]}, {"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$resource.properties.agentProfile.resourcePredictions", "options": ["resource-predictions"], "help": {"short": "Defines pool buffer/stand-by agents."}}, {"nullable": true, "type": "object", "var": "$resource.properties.agentProfile.resourcePredictionsProfile", "options": ["resource-predictions-profile"], "help": {"short": "Defines how the pool buffer/stand-by agents is provided."}, "args": [{"type": "object", "var": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic", "options": ["automatic"], "args": [{"nullable": true, "type": "string", "var": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic.predictionPreference", "options": ["prediction-preference"], "help": {"short": "Determines the balance between cost and performance."}, "enum": {"items": [{"name": "Balanced", "value": "Balanced"}, {"name": "BestPerformance", "value": "BestPerformance"}, {"name": "MoreCostEffective", "value": "MoreCostEffective"}, {"name": "MorePerformance", "value": "MorePerformance"}, {"name": "MostCostEffective", "value": "MostCostEffective"}]}}]}, {"blank": {"value": {}}, "type": "object", "var": "$resource.properties.agentProfile.resourcePredictionsProfile.Manual", "options": ["manual"]}]}]}, {"type": "string", "var": "$resource.properties.devCenterProjectResourceId", "options": ["devcenter-project-id", "devcenter-project-resource-id"], "group": "Properties", "help": {"short": "The resource id of the DevCenter Project the pool belongs to."}}, {"type": "object", "var": "$resource.properties.fabricProfile", "options": ["fabric-profile"], "group": "Properties", "help": {"short": "Defines the type of fabric the agent will run on."}, "args": [{"type": "object", "var": "$resource.properties.fabricProfile.Vmss", "options": ["vmss"], "args": [{"type": "array", "var": "$resource.properties.fabricProfile.Vmss.images", "options": ["images"], "help": {"short": "The VM images of the machines in the pool."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$resource.properties.fabricProfile.Vmss.images[].aliases", "options": ["aliases"], "help": {"short": "List of aliases to reference the image by."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.images[].buffer", "options": ["buffer"], "help": {"short": "The percentage of the buffer to be allocated to this image."}}, {"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.images[].resourceId", "options": ["resource-id"], "help": {"short": "The resource id of the image."}}, {"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.images[].wellKnownImageName", "options": ["well-known-image-name"], "help": {"short": "The image to use from a well-known set of images made available to customers."}}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.fabricProfile.Vmss.networkProfile", "options": ["network-profile"], "help": {"short": "The network profile of the machines in the pool."}, "args": [{"type": "string", "var": "$resource.properties.fabricProfile.Vmss.networkProfile.subnetId", "options": ["subnet-id"], "help": {"short": "The subnet id on which to put all machines created in the pool."}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.fabricProfile.Vmss.osProfile", "options": ["os-profile"], "help": {"short": "The OS profile of the machines in the pool."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.osProfile.logonType", "options": ["logon-type"], "help": {"short": "Determines how the service should be run. By default, this will be set to Service."}, "enum": {"items": [{"name": "Interactive", "value": "Interactive"}, {"name": "Service", "value": "Service"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings", "options": ["secrets-management-settings"], "help": {"short": "The secret management settings of the machines in the pool."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.certificateStoreLocation", "options": ["certificate-store-location"], "help": {"short": "Where to store certificates on the machine."}}, {"type": "boolean", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.keyExportable", "options": ["key-exportable"], "help": {"short": "Defines if the key of the certificates should be exportable."}}, {"type": "array", "var": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.observedCertificates", "options": ["observed-certificates"], "help": {"short": "The list of certificates to install on all machines in the pool."}, "item": {"nullable": true, "type": "string"}}]}]}, {"type": "object", "var": "$resource.properties.fabricProfile.Vmss.sku", "options": ["sku"], "help": {"short": "The Azure SKU of the machines in the pool."}, "args": [{"type": "string", "var": "$resource.properties.fabricProfile.Vmss.sku.name", "options": ["name"], "help": {"short": "The Azure SKU name of the machines in the pool."}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.fabricProfile.Vmss.storageProfile", "options": ["storage-profile"], "help": {"short": "The storage profile of the machines in the pool."}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks", "options": ["data-disks"], "help": {"short": "A list of empty data disks to attach."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].caching", "options": ["caching"], "help": {"short": "The type of caching to be enabled for the data disks. The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}, {"nullable": true, "type": "integer32", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].diskSizeGiB", "options": ["disk-size-gi-b"], "help": {"short": "The initial disk size in gigabytes."}}, {"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].driveLetter", "options": ["drive-letter"], "help": {"short": "The drive letter for the empty data disk. If not specified, it will be the first available letter."}}, {"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].storageAccountType", "options": ["storage-account-type"], "help": {"short": "The storage Account type to be used for the data disk. If omitted, the default is \"standard_lrs\"."}, "enum": {"items": [{"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}, {"name": "StandardSSD_LRS", "value": "StandardSSD_LRS"}, {"name": "StandardSSD_ZRS", "value": "StandardSSD_ZRS"}, {"name": "Standard_LRS", "value": "Standard_LRS"}]}}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.fabricProfile.Vmss.storageProfile.osDiskStorageAccountType", "options": ["os-disk-storage-account-type"], "help": {"short": "The Azure SKU name of the machines in the pool."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "var": "$resource.properties.maximumConcurrency", "options": ["maximum-concurrency"], "group": "Properties", "help": {"short": "Defines how many resources can there be created at any given time."}, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "var": "$resource.properties.organizationProfile", "options": ["organization-profile"], "group": "Properties", "help": {"short": "Defines the organization in which the pool will be used."}, "args": [{"type": "object", "var": "$resource.properties.organizationProfile.AzureDevOps", "options": ["azure-dev-ops"], "args": [{"type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations", "options": ["organizations"], "help": {"short": "The list of Azure DevOps organizations the pool should be present in."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations[].parallelism", "options": ["parallelism"], "help": {"short": "How many machines can be created at maximum in this organization out of the maximumConcurrency of the pool."}}, {"nullable": true, "type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations[].projects", "options": ["projects"], "help": {"short": "Optional list of projects in which the pool should be created."}, "item": {"nullable": true, "type": "string"}}, {"type": "string", "var": "$resource.properties.organizationProfile.AzureDevOps.organizations[].url", "options": ["url"], "help": {"short": "The Azure DevOps organization URL in which the pool should be created."}}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile", "options": ["permission-profile"], "help": {"short": "The type of permission which determines which accounts are admins on the Azure DevOps pool."}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.groups", "options": ["groups"], "help": {"short": "Group email addresses"}, "item": {"nullable": true, "type": "string"}}, {"type": "string", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.kind", "options": ["kind"], "help": {"short": "Determines who has admin permissions to the Azure DevOps pool."}, "enum": {"items": [{"name": "CreatorOnly", "value": "CreatorOnly"}, {"name": "Inherit", "value": "Inherit"}, {"name": "SpecificAccounts", "value": "SpecificAccounts"}]}}, {"nullable": true, "type": "array", "var": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.users", "options": ["users"], "help": {"short": "User email addresses"}, "item": {"nullable": true, "type": "string"}}]}]}, {"type": "object", "var": "$resource.properties.organizationProfile.GitHub", "options": ["git-hub"], "args": [{"type": "array", "var": "$resource.properties.organizationProfile.GitHub.organizations", "options": ["organizations"], "help": {"short": "The list of GitHub organizations/repositories the pool should be present in."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$resource.properties.organizationProfile.GitHub.organizations[].repositories", "options": ["repositories"], "help": {"short": "Optional list of repositories in which the pool should be created."}, "item": {"nullable": true, "type": "string"}}, {"type": "string", "var": "$resource.properties.organizationProfile.GitHub.organizations[].url", "options": ["url"], "help": {"short": "The GitHub organization URL in which the pool should be created."}}]}}]}]}, {"nullable": true, "type": "string", "var": "$resource.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "The status of the current operation."}, "enum": {"items": [{"name": "Accepted", "value": "Accepted"}, {"name": "Canceled", "value": "Canceled"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "Provisioning", "value": "Provisioning"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Updating", "value": "Updating"}]}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Pools_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "poolName", "arg": "$Path.poolName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevOpsInfrastructure/pools/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "agentProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Stateful"}, {"value": "Stateless"}]}}, {"type": "object", "name": "resourcePredictions"}, {"type": "object", "name": "resourcePredictionsProfile", "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Automatic"}, {"value": "Manual"}]}}], "discriminators": [{"property": "kind", "value": "Automatic", "props": [{"type": "string", "name": "predictionPreference", "enum": {"items": [{"value": "Balanced"}, {"value": "BestPerformance"}, {"value": "MoreCostEffective"}, {"value": "MorePerformance"}, {"value": "MostCostEffective"}]}}]}, {"property": "kind", "value": "Manual"}]}], "discriminators": [{"property": "kind", "value": "Stateful", "props": [{"type": "string", "name": "gracePeriodTimeSpan"}, {"type": "string", "name": "maxAgentLifetime"}]}, {"property": "kind", "value": "Stateless"}]}, {"type": "string", "name": "devCenterProjectResourceId", "required": true}, {"type": "object", "name": "fabricProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "Vmss"}]}}], "discriminators": [{"property": "kind", "value": "Vmss", "props": [{"type": "array", "name": "images", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "aliases", "item": {"type": "string"}}, {"default": {"value": "*"}, "type": "string", "name": "buffer"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "wellKnownImageName"}]}}, {"type": "object", "name": "networkProfile", "props": [{"type": "string", "name": "subnetId", "required": true}]}, {"type": "object", "name": "osProfile", "props": [{"type": "string", "name": "logonType", "enum": {"items": [{"value": "Interactive"}, {"value": "Service"}]}}, {"type": "object", "name": "secretsManagementSettings", "props": [{"type": "string", "name": "certificateStoreLocation"}, {"type": "boolean", "name": "keyExportable", "required": true}, {"type": "array", "name": "observedCertificates", "required": true, "item": {"type": "string"}}]}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true}]}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "driveLetter"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}]}}]}}, {"type": "string", "name": "osDiskStorageAccountType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "name": "maximumConcurrency", "required": true, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "name": "organizationProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "AzureDevOps"}, {"value": "GitHub"}]}}], "discriminators": [{"property": "kind", "value": "AzureDevOps", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "integer32", "name": "parallelism"}, {"type": "array", "name": "projects", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}, {"type": "object", "name": "permissionProfile", "props": [{"type": "array", "name": "groups", "item": {"type": "string"}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "CreatorOnly"}, {"value": "Inherit"}, {"value": "SpecificAccounts"}]}}, {"type": "array", "name": "users", "item": {"type": "string"}}]}]}, {"property": "kind", "value": "GitHub", "props": [{"type": "array", "name": "organizations", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "repositories", "item": {"type": "string"}}, {"type": "string", "name": "url", "required": true}]}}]}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Pool_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "agentProfile", "arg": "$resource.properties.agentProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.agentProfile.Stateful", "value": "Stateful"}, {"arg": "$resource.properties.agentProfile.Stateless", "value": "Stateless"}]}}, {"type": "object", "name": "resourcePredictions", "arg": "$resource.properties.agentProfile.resourcePredictions"}, {"type": "object", "name": "resourcePredictionsProfile", "arg": "$resource.properties.agentProfile.resourcePredictionsProfile", "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic", "value": "Automatic"}, {"arg": "$resource.properties.agentProfile.resourcePredictionsProfile.Manual", "value": "Manual"}]}}], "discriminators": [{"property": "kind", "value": "Automatic", "props": [{"type": "string", "name": "predictionPreference", "arg": "$resource.properties.agentProfile.resourcePredictionsProfile.Automatic.predictionPreference", "enum": {"items": [{"value": "Balanced"}, {"value": "BestPerformance"}, {"value": "MoreCostEffective"}, {"value": "MorePerformance"}, {"value": "MostCostEffective"}]}}]}, {"property": "kind", "value": "Manual"}]}], "discriminators": [{"property": "kind", "value": "Stateful", "props": [{"type": "string", "name": "gracePeriodTimeSpan", "arg": "$resource.properties.agentProfile.Stateful.gracePeriodTimeSpan"}, {"type": "string", "name": "maxAgentLifetime", "arg": "$resource.properties.agentProfile.Stateful.maxAgentLifetime"}]}, {"property": "kind", "value": "Stateless"}]}, {"type": "string", "name": "devCenterProjectResourceId", "arg": "$resource.properties.devCenterProjectResourceId", "required": true}, {"type": "object", "name": "fabricProfile", "arg": "$resource.properties.fabricProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.fabricProfile.Vmss", "value": "Vmss"}]}}], "discriminators": [{"property": "kind", "value": "Vmss", "props": [{"type": "array", "name": "images", "arg": "$resource.properties.fabricProfile.Vmss.images", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "aliases", "arg": "$resource.properties.fabricProfile.Vmss.images[].aliases", "item": {"type": "string"}}, {"default": {"value": "*"}, "type": "string", "name": "buffer", "arg": "$resource.properties.fabricProfile.Vmss.images[].buffer"}, {"type": "string", "name": "resourceId", "arg": "$resource.properties.fabricProfile.Vmss.images[].resourceId"}, {"type": "string", "name": "wellKnownImageName", "arg": "$resource.properties.fabricProfile.Vmss.images[].wellKnownImageName"}]}}, {"type": "object", "name": "networkProfile", "arg": "$resource.properties.fabricProfile.Vmss.networkProfile", "props": [{"type": "string", "name": "subnetId", "arg": "$resource.properties.fabricProfile.Vmss.networkProfile.subnetId", "required": true}]}, {"type": "object", "name": "osProfile", "arg": "$resource.properties.fabricProfile.Vmss.osProfile", "props": [{"type": "string", "name": "logonType", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.logonType", "enum": {"items": [{"value": "Interactive"}, {"value": "Service"}]}}, {"type": "object", "name": "secretsManagementSettings", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings", "props": [{"type": "string", "name": "certificateStoreLocation", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.certificateStoreLocation"}, {"type": "boolean", "name": "keyExportable", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.keyExportable", "required": true}, {"type": "array", "name": "observedCertificates", "arg": "$resource.properties.fabricProfile.Vmss.osProfile.secretsManagementSettings.observedCertificates", "required": true, "item": {"type": "string"}}]}]}, {"type": "object", "name": "sku", "arg": "$resource.properties.fabricProfile.Vmss.sku", "required": true, "props": [{"type": "string", "name": "name", "arg": "$resource.properties.fabricProfile.Vmss.sku.name", "required": true}]}, {"type": "object", "name": "storageProfile", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile", "props": [{"type": "array", "name": "dataDisks", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "caching", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "diskSizeGiB", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].diskSizeGiB"}, {"type": "string", "name": "driveLetter", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].driveLetter"}, {"type": "string", "name": "storageAccountType", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.dataDisks[].storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}]}}]}}, {"type": "string", "name": "osDiskStorageAccountType", "arg": "$resource.properties.fabricProfile.Vmss.storageProfile.osDiskStorageAccountType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}]}]}, {"type": "integer32", "name": "maximumConcurrency", "arg": "$resource.properties.maximumConcurrency", "required": true, "format": {"maximum": 10000, "minimum": 1}}, {"type": "object", "name": "organizationProfile", "arg": "$resource.properties.organizationProfile", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.organizationProfile.AzureDevOps", "value": "AzureDevOps"}, {"arg": "$resource.properties.organizationProfile.GitHub", "value": "GitHub"}]}}], "discriminators": [{"property": "kind", "value": "AzureDevOps", "props": [{"type": "array", "name": "organizations", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations", "required": true, "item": {"type": "object", "props": [{"type": "integer32", "name": "parallelism", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations[].parallelism"}, {"type": "array", "name": "projects", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations[].projects", "item": {"type": "string"}}, {"type": "string", "name": "url", "arg": "$resource.properties.organizationProfile.AzureDevOps.organizations[].url", "required": true}]}}, {"type": "object", "name": "permissionProfile", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile", "props": [{"type": "array", "name": "groups", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.groups", "item": {"type": "string"}}, {"type": "string", "name": "kind", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.kind", "required": true, "enum": {"items": [{"value": "CreatorOnly"}, {"value": "Inherit"}, {"value": "SpecificAccounts"}]}}, {"type": "array", "name": "users", "arg": "$resource.properties.organizationProfile.AzureDevOps.permissionProfile.users", "item": {"type": "string"}}]}]}, {"property": "kind", "value": "GitHub", "props": [{"type": "array", "name": "organizations", "arg": "$resource.properties.organizationProfile.GitHub.organizations", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "repositories", "arg": "$resource.properties.organizationProfile.GitHub.organizations[].repositories", "item": {"type": "string"}}, {"type": "string", "name": "url", "arg": "$resource.properties.organizationProfile.GitHub.organizations[].url", "required": true}]}}]}]}, {"type": "string", "name": "provisioningState", "arg": "$resource.properties.provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Pools_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "poolName", "arg": "$Path.poolName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Pool_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.xml new file mode 100644 index 000000000..fb87224c3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-10-19.xml @@ -0,0 +1,1769 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-10-19.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-10-19.json new file mode 100644 index 000000000..4e3f1932b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-10-19.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}/resources", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHMve3Bvb2xOYW1lfS9yZXNvdXJjZXM=/V/MjAyNC0xMC0xOQ=="}], "commandGroups": [{"name": "mdp pool agent", "commands": [{"name": "list", "version": "2024-10-19", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}/resources", "version": "2024-10-19", "swagger": "mgmt-plane/devopsinfrastructure/ResourceProviders/Microsoft.DevOpsInfrastructure/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2T3BzSW5mcmFzdHJ1Y3R1cmUvcG9vbHMve3Bvb2xOYW1lfS9yZXNvdXJjZXM=/V/MjAyNC0xMC0xOQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.poolName", "options": ["pool-name"], "required": true, "idPart": "name", "help": {"short": "Name of the pool. It needs to be globally unique."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ResourceDetails_ListByPool", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}/resources", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "poolName", "arg": "$Path.poolName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-.]*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-19"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "image", "required": true}, {"type": "string", "name": "imageVersion", "required": true}, {"type": "string", "name": "status", "required": true, "enum": {"items": [{"value": "Allocated"}, {"value": "Leased"}, {"value": "NotReady"}, {"value": "PendingReimage"}, {"value": "PendingReturn"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Reimaging"}, {"value": "Returned"}, {"value": "Starting"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-10-19.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-10-19.xml new file mode 100644 index 000000000..947c395f4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-10-19.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +