Skip to content

Commit fe8fdd5

Browse files
azure-powershell-botmsJinLei
andauthored
Migrate Cdn from generation to main (#21999)
* Move Cdn to main * Commit BreakingChangeIssues.cs and change log for Cdn --------- Co-authored-by: msJinLei <[email protected]>
1 parent a2f1c08 commit fe8fdd5

File tree

1,722 files changed

+35241
-32319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,722 files changed

+35241
-32319
lines changed

src/Cdn/Az.Cdn.format.ps1xml

Lines changed: 538 additions & 436 deletions
Large diffs are not rendered by default.

src/Cdn/Az.Cdn.psd1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2023/5/22
6+
# Generated on: 6/6/2023
77
#
88

99
@{
@@ -226,9 +226,7 @@ PrivateData = @{
226226
# IconUri = ''
227227

228228
# ReleaseNotes of this module
229-
ReleaseNotes = '* Upgraded API version to 2022-11-01-preview
230-
* Added support to migrate from Azure Front Door (classic) to Azure Front Door Standard and Premium.
231-
* Added support for AFDX upgrade from Standard tier to Premium tier.'
229+
# ReleaseNotes = ''
232230

233231
# Prerelease string of this module
234232
# Prerelease = ''

src/Cdn/Cdn.sln

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{F5157071-CA84-4582-A5B8-E5519443DAE8}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{E457DD4B-9010-4138-A0A3-5F5997CE548C}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{919085A0-6C1B-4B3A-9A7E-D4B4C8B3033C}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{49F36FA5-A063-4240-9309-0FC3FD812B45}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{0A13AF38-7529-4CA4-8585-CE3770E96B96}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{776AC8ED-F4EF-4DD9-B958-9B271BD6FF93}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{16B4B1C0-9687-461C-9BCF-C82084A39E99}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{4094C014-7DA6-4B92-B83A-DAEA42E98231}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{CDEE5E73-990F-4AEA-BB23-6DECDD4F228B}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{5EDEB58A-9296-4DFD-9E03-47645649CE25}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{81183CFC-0D61-4354-9F51-16C5560FA036}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{61E836C5-41CB-4954-B1D4-39212C148439}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Cdn", "Az.Cdn.csproj", "{C0FD0C18-7835-4654-85CD-168C7C23DEB8}"
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Cdn", "Az.Cdn.csproj", "{D1EDFBB2-89C0-4D0E-AF66-DF26CE4F9DDC}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,33 +26,33 @@ Global
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
2828
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{F5157071-CA84-4582-A5B8-E5519443DAE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{F5157071-CA84-4582-A5B8-E5519443DAE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{F5157071-CA84-4582-A5B8-E5519443DAE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{F5157071-CA84-4582-A5B8-E5519443DAE8}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{919085A0-6C1B-4B3A-9A7E-D4B4C8B3033C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{919085A0-6C1B-4B3A-9A7E-D4B4C8B3033C}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{919085A0-6C1B-4B3A-9A7E-D4B4C8B3033C}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{919085A0-6C1B-4B3A-9A7E-D4B4C8B3033C}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{0A13AF38-7529-4CA4-8585-CE3770E96B96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{0A13AF38-7529-4CA4-8585-CE3770E96B96}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{0A13AF38-7529-4CA4-8585-CE3770E96B96}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{0A13AF38-7529-4CA4-8585-CE3770E96B96}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{16B4B1C0-9687-461C-9BCF-C82084A39E99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{16B4B1C0-9687-461C-9BCF-C82084A39E99}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{16B4B1C0-9687-461C-9BCF-C82084A39E99}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{16B4B1C0-9687-461C-9BCF-C82084A39E99}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{CDEE5E73-990F-4AEA-BB23-6DECDD4F228B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{CDEE5E73-990F-4AEA-BB23-6DECDD4F228B}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{CDEE5E73-990F-4AEA-BB23-6DECDD4F228B}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{CDEE5E73-990F-4AEA-BB23-6DECDD4F228B}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{81183CFC-0D61-4354-9F51-16C5560FA036}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{81183CFC-0D61-4354-9F51-16C5560FA036}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{81183CFC-0D61-4354-9F51-16C5560FA036}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{81183CFC-0D61-4354-9F51-16C5560FA036}.Release|Any CPU.Build.0 = Release|Any CPU
53-
{C0FD0C18-7835-4654-85CD-168C7C23DEB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54-
{C0FD0C18-7835-4654-85CD-168C7C23DEB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
55-
{C0FD0C18-7835-4654-85CD-168C7C23DEB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
56-
{C0FD0C18-7835-4654-85CD-168C7C23DEB8}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{E457DD4B-9010-4138-A0A3-5F5997CE548C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{E457DD4B-9010-4138-A0A3-5F5997CE548C}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{E457DD4B-9010-4138-A0A3-5F5997CE548C}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{E457DD4B-9010-4138-A0A3-5F5997CE548C}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{49F36FA5-A063-4240-9309-0FC3FD812B45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{49F36FA5-A063-4240-9309-0FC3FD812B45}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{49F36FA5-A063-4240-9309-0FC3FD812B45}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{49F36FA5-A063-4240-9309-0FC3FD812B45}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{776AC8ED-F4EF-4DD9-B958-9B271BD6FF93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{776AC8ED-F4EF-4DD9-B958-9B271BD6FF93}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{776AC8ED-F4EF-4DD9-B958-9B271BD6FF93}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{776AC8ED-F4EF-4DD9-B958-9B271BD6FF93}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{4094C014-7DA6-4B92-B83A-DAEA42E98231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{4094C014-7DA6-4B92-B83A-DAEA42E98231}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{4094C014-7DA6-4B92-B83A-DAEA42E98231}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{4094C014-7DA6-4B92-B83A-DAEA42E98231}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{5EDEB58A-9296-4DFD-9E03-47645649CE25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{5EDEB58A-9296-4DFD-9E03-47645649CE25}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{5EDEB58A-9296-4DFD-9E03-47645649CE25}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{5EDEB58A-9296-4DFD-9E03-47645649CE25}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{61E836C5-41CB-4954-B1D4-39212C148439}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{61E836C5-41CB-4954-B1D4-39212C148439}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{61E836C5-41CB-4954-B1D4-39212C148439}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{61E836C5-41CB-4954-B1D4-39212C148439}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{D1EDFBB2-89C0-4D0E-AF66-DF26CE4F9DDC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{D1EDFBB2-89C0-4D0E-AF66-DF26CE4F9DDC}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{D1EDFBB2-89C0-4D0E-AF66-DF26CE4F9DDC}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{D1EDFBB2-89C0-4D0E-AF66-DF26CE4F9DDC}.Release|Any CPU.Build.0 = Release|Any CPU
5757
EndGlobalSection
5858
EndGlobal

src/Cdn/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Upgraded API version to 2023-05-01
23+
* Fixed known issue for `Update-AzCdnProfile`, `Update-AzFrontDoorCdnProfile`, `Remove-AzCdnProfile`, `Remove-AzCdnProfile`
2224

2325
## Version 3.0.0
2426
* Upgraded API version to 2022-11-01-preview

src/Cdn/README.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ require:
3535
- $(this-folder)/../readme.azure.noprofile.md
3636
input-file:
3737
# You need to specify your swagger files here.
38-
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/afdx.json
39-
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/cdn.json
38+
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/stable/2023-05-01/afdx.json
39+
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/stable/2023-05-01/cdn.json
4040
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
4141
# - (this-folder)/relative-path-to-your-swagger
4242

@@ -45,7 +45,7 @@ module-version: 0.1.0
4545
# Normally, title is the service name
4646
title: Cdn
4747
subject-prefix: $(service-name)
48-
branch: 4903b1ed79e30f689d7c469cfa06734cfcd106d6
48+
branch: 61c04ab5495e259114bc427cdd77c3ab8ce8ec81
4949

5050
# If there are post APIs for some kinds of actions in the RP, you may need to
5151
# uncomment following line to support viaIdentity for these post APIs
@@ -126,7 +126,7 @@ directive:
126126
- SystemDataLastModifiedAt
127127
- SystemDataLastModifiedBy
128128
- SystemDataLastModifiedByType
129-
129+
130130
# Following is two common directive which are normally required in all the RPs
131131
# 1. Remove the unexpanded parameter set
132132
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
@@ -191,6 +191,12 @@ directive:
191191
verb: Test
192192
hide: true
193193

194+
# Hide check the availability of an afdx endpoint name
195+
- where:
196+
subject: (.*)ProfileEndpointNameAvailability
197+
verb: Test
198+
hide: true
199+
194200
# Rename
195201
- where:
196202
subject: Afd(.*)
@@ -247,6 +253,25 @@ directive:
247253
set:
248254
property-name: PreValidatedCustomDomainResourceId
249255

256+
# Customize the output table formatting
257+
- where:
258+
model-name: CanMigrateResult
259+
set:
260+
format-table:
261+
properties:
262+
- CanMigrate
263+
- DefaultSku
264+
- Error
265+
266+
- where:
267+
model-name: MigrateResult
268+
set:
269+
format-table:
270+
properties:
271+
- PropertiesMigratedProfileResourceIdId
272+
labels:
273+
PropertiesMigratedProfileResourceIdId: MigratedProfileResourceId
274+
250275
# Delete 404
251276
- from: swagger-document
252277
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}"].delete

src/Cdn/custom/Enable-AzFrontDoorCdnProfileMigration.ps1

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515

1616
<#
1717
.Synopsis
18-
Commit the migrated Azure Frontdoor(Standard/Premium) profile.
18+
Commit the migrated Azure Front Door(Standard/Premium) profile..
1919
.Description
20-
Commit the migrated Azure Frontdoor(Standard/Premium) profile.
20+
Commit the migrated Azure Front Door(Standard/Premium) profile..
2121
.Example
2222
PS C:\> {{ Add code here }}
2323
{{ Add output here }}
2424
.Example
2525
PS C:\> {{ Add code here }}
2626
{{ Add output here }}
2727
.Outputs
28-
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IMigrateResult
28+
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IMigrateResult
2929
.Link
3030
https://learn.microsoft.com/powershell/module/az.cdn/enable-azfrontdoorcdnprofilemigration
3131
#>
@@ -93,6 +93,12 @@ function Enable-AzFrontDoorCdnProfileMigration {
9393
# Run the command asynchronously
9494
${NoWait},
9595

96+
[Parameter()]
97+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')]
98+
[System.Management.Automation.SwitchParameter]
99+
# Returns true when the command succeeds
100+
${PassThru},
101+
96102
[Parameter(DontShow)]
97103
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')]
98104
[System.Uri]
@@ -117,6 +123,5 @@ function Enable-AzFrontDoorCdnProfileMigration {
117123
Write-Host("Start to migrate.")
118124
Write-Host("This process will disable your Front Door (classic) profile and move all your traffic and configurations to the new Front Door profile.")
119125
Az.Cdn.internal\Invoke-AzCdnCommitProfileMigration @PSBoundParameters
120-
Write-Host("Migrate succeeded.")
121126
}
122127
}

src/Cdn/custom/Get-AzCdnProfile.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gets an CDN profile with the specified profile name under the specified subscrip
2222
.Inputs
2323
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
2424
.Outputs
25-
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IProfile
25+
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IProfile
2626
.Notes
2727
COMPLEX PARAMETER PROPERTIES
2828
@@ -46,7 +46,7 @@ INPUTOBJECT <ICdnIdentity>: Identity Parameter
4646
https://learn.microsoft.com/powershell/module/az.cdn/get-azcdnprofile
4747
#>
4848
function Get-AzCdnProfile {
49-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IProfile])]
49+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IProfile])]
5050
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
5151
param(
5252
[Parameter(ParameterSetName='Get', Mandatory)]

src/Cdn/custom/Get-AzFrontDoorCdnProfile.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit
2222
.Inputs
2323
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
2424
.Outputs
25-
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IProfile
25+
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IProfile
2626
.Notes
2727
COMPLEX PARAMETER PROPERTIES
2828
@@ -47,7 +47,7 @@ https://learn.microsoft.com/powershell/module/az.cdn/get-azfrontdoorcdnprofile
4747
#>
4848

4949
function Get-AzFrontDoorCdnProfile {
50-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IProfile])]
50+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IProfile])]
5151
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
5252
param(
5353
[Parameter(ParameterSetName='Get', Mandatory)]

src/Cdn/custom/New-AzCdnProfile.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ PS C:\> {{ Add code here }}
2929
{{ Add output here }}
3030
3131
.Outputs
32-
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IProfile
32+
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IProfile
3333
.Link
3434
https://learn.microsoft.com/powershell/module/az.cdn/new-azcdnprofile
3535
#>
3636
function New-AzCdnProfile {
37-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IProfile])]
37+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IProfile])]
3838
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
3939
param(
4040
[Parameter(Mandatory)]
@@ -79,7 +79,7 @@ function New-AzCdnProfile {
7979

8080
[Parameter()]
8181
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Body')]
82-
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.ITrackedResourceTags]))]
82+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.ITrackedResourceTags]))]
8383
[System.Collections.Hashtable]
8484
# Resource tags.
8585
${Tag},

src/Cdn/custom/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Create an in-memory object for AFDDomainHttpsParameters.
2121
Create an in-memory object for AFDDomainHttpsParameters.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.AFDDomainHttpsParameters
24+
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.AFDDomainHttpsParameters
2525
.Link
2626
https://learn.microsoft.com/powershell/module/az.Cdn/new-AzFrontDoorCdnCustomDomainTlsSettingParametersObject
2727
#>
2828
function New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.AFDDomainHttpsParameters')]
29+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.AFDDomainHttpsParameters')]
3030
[CmdletBinding(PositionalBinding=$false)]
3131
Param(
3232

@@ -39,12 +39,12 @@ function New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject {
3939
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.AfdMinimumTlsVersion]
4040
$MinimumTlsVersion,
4141
[Parameter(HelpMessage="Resource reference to the secret. ie. subs/rg/profile/secret.")]
42-
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.IResourceReference]
42+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IResourceReference]
4343
$Secret
4444
)
4545

4646
process {
47-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20221101Preview.AFDDomainHttpsParameters]::New()
47+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.AFDDomainHttpsParameters]::New()
4848

4949
if ($PSBoundParameters.ContainsKey('CertificateType')) {
5050
$Object.CertificateType = $CertificateType

0 commit comments

Comments
 (0)