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 to stable version 2024-10-19 #598

Merged
merged 1 commit into from
Oct 24, 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 @@ -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
```
137 changes: 137 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
Original file line number Diff line number Diff line change
@@ -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<object>", "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<object>", "name": "locationInfo", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "location", "required": true}, {"type": "array<object>", "name": "zoneDetails", "required": true, "item": {"type": "object", "props": [{"type": "array<object>", "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<string>", "name": "name", "required": true, "item": {"type": "string"}}]}}, {"type": "array<string>", "name": "zones", "required": true, "item": {"type": "string"}}]}}, {"type": "array<string>", "name": "locations", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "resourceType", "required": true}, {"type": "array<object>", "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<string>", "name": "locations", "item": {"type": "string"}}, {"type": "array<string>", "name": "zones", "item": {"type": "string"}}]}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Location"}, {"value": "Zone"}]}}, {"type": "array<string>", "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": ""}]}]}
Loading
Loading