You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -80,7 +80,7 @@ Our final step is to update DCR back in the system. This is accomplished by “P
80
80
$ResourceId = "<ResourceId>" # Resource ID of the DCR to edit
81
81
$FilePath = "<FilePath>" # Store DCR content in this file
82
82
$DCRContent = Get-Content $FilePath -Raw
83
-
Invoke-AzRestMethod -Path ("$ResourceId"+"?api-version=2021-09-01-preview") -Method PUT -Payload $DCRContent
83
+
Invoke-AzRestMethod -Path ("$ResourceId"+"?api-version=2022-06-01") -Method PUT -Payload $DCRContent
84
84
```
85
85
3. Upon successful call, you should get the response with status code “200”, indicating that your DCR is now updated.
86
86
4. You can now navigate to your DCR and examine its content on the portal via “JSON View” function, or you could repeat the first part of the tutorial to retrieve DCR content into a file.
0 commit comments