Skip to content

Commit 2b62f4e

Browse files
authored
Backfill the Az.8.0.0 migration guide for Az.Cdn (#22779)
* Backfill the Az.8.0.0 migration guide for Az.Cdn * Update ChangeLog of Az.Cdn * Update main ChangeLog file
1 parent 3c629bc commit 2b62f4e

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,6 +2114,7 @@ for a better powershell experience and as a result would witness breaking change
21142114
- Update-AzFrontDoorCdnCustomDomainValidationToken
21152115
- Update-AzFrontDoorCdnRule
21162116
* Renamed Set cmdlets to Update cmdlets
2117+
* Renamed 'Unpublish-AzCdnEndpointContent' cmdlets to 'Clear-AzCdnEndpointContent'
21172118
* Added 'Object' suffix to memory object creation cmdlets
21182119

21192120
#### Az.Compute

documentation/migration-guides/Az.8.0.0-migration-guide.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,34 @@ Update-AzCdnOrigin -ResourceGroupName $resourceGroupName -ProfileName $cdnProfil
206206
-Name $originName -HostName "mystorage2.blob.core.windows.net" -HttpPort 456 -HttpsPort 789
207207
```
208208

209+
### `Unpublish-AzCdnEndpointContent`
210+
Replaced by command `Clear-AzCdnEndpointContent`
211+
212+
#### Before
213+
```powershell
214+
Unpublish-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
215+
-PurgeContent $PurgeContent
216+
```
217+
#### After
218+
```powershell
219+
Clear-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
220+
-ContentPath $PurgeContent
221+
```
222+
223+
### `Publish-AzCdnEndpointContent`
224+
Replaced by command `Import-AzCdnEndpointContent`
225+
226+
#### Before
227+
```powershell
228+
Publish-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
229+
-LoadContent $LoadContent
230+
```
231+
#### After
232+
```powershell
233+
Import-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
234+
-ContentPath $LoadContent
235+
```
236+
209237
## Az.EventHub
210238

211239
### `New-AzEventHubNamespace`

src/Cdn/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
- Update-AzFrontDoorCdnCustomDomainValidationToken
5252
- Update-AzFrontDoorCdnRule
5353
* Renamed Set cmdlets to Update cmdlets
54+
* Renamed `Unpublish-AzCdnEndpointContent` cmdlets to `Clear-AzCdnEndpointContent`
5455
* Added `Object` suffix to memory object creation cmdlets
5556

5657
## Version 1.8.3

0 commit comments

Comments
 (0)