Update to powershell SDK docs: 13829327708

This commit is contained in:
developer-relations-sp
2025-03-13 07:32:22 +00:00
parent fc5edad15a
commit f4180398b2
10 changed files with 397 additions and 0 deletions

View File

@@ -8874,6 +8874,25 @@
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Send-V2024ClientLogConfiguration"
Write-Host $_.ErrorDetails
}
- path: /managed-clusters/{id}/manualUpgrade
method: POST
xCodeSample:
- lang: PowerShell
label: SDK_tools/sdk/powershell/v2024/methods/managed-clusters#update
source: |
$Id = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | ID of managed cluster to trigger manual upgrade.
# Trigger Manual Upgrade for Managed Cluster
try {
Update-V2024 -Id $Id
# Below is a request that includes all optional parameters
# Update-V2024 -Id $Id
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2024"
Write-Host $_.ErrorDetails
}
- path: /managed-clusters/{id}
method: PATCH
xCodeSample: