Skip to content

Commit

Permalink
Upgrading MDP extension to stable version 2024-10-19
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaykn committed Oct 22, 2024
1 parent 0223b63 commit 2beaafa
Show file tree
Hide file tree
Showing 20 changed files with 2,872 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Commands/mdp/pool/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{} 2024-10-19 -->

#### 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}}"
```
11 changes: 11 additions & 0 deletions Commands/mdp/pool/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{} 2024-10-19 -->

#### examples

- Delete
```bash
mdp pool delete --name "cli-contoso-pool" --resource-group "rg1"
```
17 changes: 17 additions & 0 deletions Commands/mdp/pool/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ List all pools
```bash
mdp pool list
```

### [2024-10-19](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-10-19.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.devopsinfrastructure/pools 2024-10-19 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools 2024-10-19 -->

#### examples

- List by resource group
```bash
mdp pool list --resource-group "rg1"
```

- List by subscription
```bash
mdp pool list
```
11 changes: 11 additions & 0 deletions Commands/mdp/pool/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{} 2024-10-19 -->

#### examples

- Get
```bash
mdp pool show --name "cli-contoso-pool" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/mdp/pool/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{} 2024-10-19 -->

#### examples

- Update
```bash
mdp pool update --name "cli-contoso-pool" --resource-group "rg1" --tags CostCode="12345"
```
11 changes: 11 additions & 0 deletions Commands/mdp/pool/agent/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devopsinfrastructure/pools/{}/resources 2024-10-19 -->

#### examples

- List by pool
```bash
mdp pool agent list --pool-name cli-contoso-pool --resource-group rg1
```
11 changes: 11 additions & 0 deletions Commands/mdp/sku/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/skus 2024-10-19 -->

#### examples

- List by location
```bash
mdp sku list --location eastus
```
11 changes: 11 additions & 0 deletions Commands/mdp/usage/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.devopsinfrastructure/locations/{}/usages 2024-10-19 -->

#### examples

- List by location
```bash
mdp usage list --location westus
```
155 changes: 155 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
]
}
Expand Down Expand Up @@ -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"
}
]
}
]
},
Expand Down Expand Up @@ -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"
}
]
}
]
},
Expand Down Expand Up @@ -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"
}
]
}
]
},
Expand Down Expand Up @@ -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"
}
]
}
]
},
Expand Down Expand Up @@ -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"
}
]
}
]
}
Expand Down Expand Up @@ -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"
}
]
}
]
}
Expand Down Expand Up @@ -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"
}
]
}
]
}
Expand Down
Loading

0 comments on commit 2beaafa

Please sign in to comment.