Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading mdp extension models to latest version #511

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Commands/mdp/pool/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,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-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-04-04-preview.xml) **Preview**

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

#### 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 @@ -14,3 +14,14 @@ Delete a pool
```bash
mdp pool delete --name "cli-contoso-pool" --resource-group "rg1"
```

### [2024-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-04-04-preview.xml) **Preview**

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

#### examples

- Delete
```bash
mdp pool delete --name "cli-contoso-pool" --resource-group "rg1"
```
19 changes: 18 additions & 1 deletion Commands/mdp/pool/_list.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _mdp pool list_

List all pool resources
List all pools

## Versions

Expand All @@ -20,3 +20,20 @@ List all pool resources
```bash
mdp pool list
```

### [2024-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scw==/2024-04-04-preview.xml) **Preview**

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

#### 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 @@ -14,3 +14,14 @@ Get a pool
```bash
mdp pool show --name "cli-contoso-pool" --resource-group "rg1"
```

### [2024-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-04-04-preview.xml) **Preview**

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

#### 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 @@ -14,3 +14,14 @@ Update a pool
```bash
mdp pool update --name "cli-contoso-pool" --resource-group "rg1" --tags CostCode="12345"
```

### [2024-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fQ==/2024-04-04-preview.xml) **Preview**

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

#### examples

- Update
```bash
mdp pool update --name "cli-contoso-pool" --resource-group "rg1" --tags CostCode="12345"
```
16 changes: 16 additions & 0 deletions Commands/mdp/pool/agent/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _mdp pool agent list_

List resource agents by Pool

## Versions

### [2024-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9wb29scy97fS9yZXNvdXJjZXM=/2024-04-04-preview.xml) **Preview**

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

#### examples

- List by pool
```bash
mdp pool agent list --pool-name cli-contoso-pool --resource-group rg1
```
8 changes: 8 additions & 0 deletions Commands/mdp/pool/agent/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _mdp pool agent_

Manage pool resource agents

## Commands

- [list](/Commands/mdp/pool/agent/_list.md)
: List resource agents by Pool
7 changes: 6 additions & 1 deletion Commands/mdp/pool/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Manage a pool resource

## Subgroups

- [agent](/Commands/mdp/pool/agent/readme.md)
: Manage pool resource agents

## Commands

- [create](/Commands/mdp/pool/_create.md)
Expand All @@ -11,7 +16,7 @@ Manage a pool resource
: Delete a pool

- [list](/Commands/mdp/pool/_list.md)
: List all pool resources
: List all pools

- [show](/Commands/mdp/pool/_show.md)
: Get a pool
Expand Down
6 changes: 6 additions & 0 deletions Commands/mdp/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ Manage resources of Managed DevOps pools

- [pool](/Commands/mdp/pool/readme.md)
: Manage a pool resource

- [sku](/Commands/mdp/sku/readme.md)
: Manage sku resources

- [usage](/Commands/mdp/usage/readme.md)
: Manage quota usage resources
16 changes: 16 additions & 0 deletions Commands/mdp/sku/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _mdp sku list_

List sku resources in given location

## Versions

### [2024-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vc2t1cw==/2024-04-04-preview.xml) **Preview**

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

#### examples

- List by location
```bash
mdp sku list --location eastus
```
8 changes: 8 additions & 0 deletions Commands/mdp/sku/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _mdp sku_

Manage sku resources

## Commands

- [list](/Commands/mdp/sku/_list.md)
: List sku resources in given location
16 changes: 16 additions & 0 deletions Commands/mdp/usage/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _mdp usage list_

List quota resources in given location

## Versions

### [2024-04-04-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZvcHNpbmZyYXN0cnVjdHVyZS9sb2NhdGlvbnMve30vdXNhZ2Vz/2024-04-04-preview.xml) **Preview**

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

#### examples

- List by location
```bash
mdp usage list --location westus
```
8 changes: 8 additions & 0 deletions Commands/mdp/usage/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _mdp usage_

Manage quota usage resources

## Commands

- [list](/Commands/mdp/usage/_list.md)
: List quota resources in given location
Loading
Loading