Skip to content

Commit 19d65b9

Browse files
author
Chenglong Liu
committed
noinline tlsSetting parameter of AzFrontDoorCdnCustomDomain
1 parent cf742f5 commit 19d65b9

10 files changed

+212
-78
lines changed

src/Cdn/Cdn.Autorest/Az.Cdn.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.Cdn.private.dll'
1313
FormatsToProcess = './Az.Cdn.format.ps1xml'
14-
FunctionsToExport = 'Clear-AzCdnEndpointContent', 'Clear-AzFrontDoorCdnEndpointContent', 'Disable-AzCdnCustomDomainCustomHttps', 'Enable-AzCdnCustomDomainCustomHttps', 'Get-AzCdnCustomDomain', 'Get-AzCdnEdgeNode', 'Get-AzCdnEndpoint', 'Get-AzCdnEndpointResourceUsage', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnResourceUsage', 'Get-AzFrontDoorCdnCustomDomain', 'Get-AzFrontDoorCdnEndpoint', 'Get-AzFrontDoorCdnEndpointResourceUsage', 'Get-AzFrontDoorCdnOrigin', 'Get-AzFrontDoorCdnOriginGroup', 'Get-AzFrontDoorCdnOriginGroupResourceUsage', 'Get-AzFrontDoorCdnProfile', 'Get-AzFrontDoorCdnProfileResourceUsage', 'Get-AzFrontDoorCdnRoute', 'Get-AzFrontDoorCdnRule', 'Get-AzFrontDoorCdnRuleSet', 'Get-AzFrontDoorCdnRuleSetResourceUsage', 'Get-AzFrontDoorCdnSecret', 'Get-AzFrontDoorCdnSecurityPolicy', 'Import-AzCdnEndpointContent', 'Invoke-AzCdnSecretValidate', 'New-AzCdnAzureFirstPartyManagedCertificateParametersObject', 'New-AzCdnCustomDomain', 'New-AzCdnCustomDomainHttpsParametersObject', 'New-AzCdnCustomerCertificateParametersObject', 'New-AzCdnDeliveryRuleCacheExpirationActionObject', 'New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject', 'New-AzCdnDeliveryRuleClientPortConditionObject', 'New-AzCdnDeliveryRuleCookiesConditionObject', 'New-AzCdnDeliveryRuleHostNameConditionObject', 'New-AzCdnDeliveryRuleHttpVersionConditionObject', 'New-AzCdnDeliveryRuleIsDeviceConditionObject', 'New-AzCdnDeliveryRulePostArgsConditionObject', 'New-AzCdnDeliveryRuleQueryStringConditionObject', 'New-AzCdnDeliveryRuleRemoteAddressConditionObject', 'New-AzCdnDeliveryRuleRequestBodyConditionObject', 'New-AzCdnDeliveryRuleRequestHeaderActionObject', 'New-AzCdnDeliveryRuleRequestHeaderConditionObject', 'New-AzCdnDeliveryRuleRequestMethodConditionObject', 'New-AzCdnDeliveryRuleRequestSchemeConditionObject', 'New-AzCdnDeliveryRuleRequestUriConditionObject', 'New-AzCdnDeliveryRuleResponseHeaderActionObject', 'New-AzCdnDeliveryRuleRouteConfigurationOverrideActionObject', 'New-AzCdnDeliveryRuleServerPortConditionObject', 'New-AzCdnDeliveryRuleSocketAddrConditionObject', 'New-AzCdnDeliveryRuleSslProtocolConditionObject', 'New-AzCdnDeliveryRuleUrlFileExtensionConditionObject', 'New-AzCdnDeliveryRuleUrlFileNameConditionObject', 'New-AzCdnDeliveryRuleUrlPathConditionObject', 'New-AzCdnEndpoint', 'New-AzCdnManagedCertificateParametersObject', 'New-AzCdnManagedHttpsParametersObject', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnOriginGroupOverrideActionObject', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzCdnSecurityPolicyWebApplicationFirewallAssociationObject', 'New-AzCdnSecurityPolicyWebApplicationFirewallParametersObject', 'New-AzCdnUrlRedirectActionObject', 'New-AzCdnUrlRewriteActionObject', 'New-AzCdnUrlSigningActionObject', 'New-AzCdnUrlSigningKeyParametersObject', 'New-AzCdnUserManagedHttpsParametersObject', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecurityPolicy', 'Remove-AzCdnCustomDomain', 'Remove-AzCdnEndpoint', 'Remove-AzCdnOrigin', 'Remove-AzCdnOriginGroup', 'Remove-AzCdnPolicy', 'Remove-AzCdnProfile', 'Remove-AzFrontDoorCdnCustomDomain', 'Remove-AzFrontDoorCdnEndpoint', 'Remove-AzFrontDoorCdnOrigin', 'Remove-AzFrontDoorCdnOriginGroup', 'Remove-AzFrontDoorCdnProfile', 'Remove-AzFrontDoorCdnRoute', 'Remove-AzFrontDoorCdnRule', 'Remove-AzFrontDoorCdnRuleSet', 'Remove-AzFrontDoorCdnSecret', 'Remove-AzFrontDoorCdnSecurityPolicy', 'Start-AzCdnEndpoint', 'Stop-AzCdnEndpoint', 'Test-AzCdnEndpointCustomDomain', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', 'Test-AzFrontDoorCdnEndpointNameAvailability', 'Test-AzFrontDoorCdnProfileHostNameAvailability', 'Update-AzCdnEndpoint', 'Update-AzCdnOrigin', 'Update-AzCdnOriginGroup', 'Update-AzCdnPolicy', 'Update-AzCdnProfile', 'Update-AzFrontDoorCdnCustomDomain', 'Update-AzFrontDoorCdnCustomDomainValidationToken', 'Update-AzFrontDoorCdnEndpoint', 'Update-AzFrontDoorCdnOrigin', 'Update-AzFrontDoorCdnOriginGroup', 'Update-AzFrontDoorCdnProfile', 'Update-AzFrontDoorCdnRoute', 'Update-AzFrontDoorCdnRule', 'Update-AzFrontDoorCdnSecurityPolicy', '*'
14+
FunctionsToExport = 'Clear-AzCdnEndpointContent', 'Clear-AzFrontDoorCdnEndpointContent', 'Disable-AzCdnCustomDomainCustomHttps', 'Enable-AzCdnCustomDomainCustomHttps', 'Get-AzCdnCustomDomain', 'Get-AzCdnEdgeNode', 'Get-AzCdnEndpoint', 'Get-AzCdnEndpointResourceUsage', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnResourceUsage', 'Get-AzFrontDoorCdnCustomDomain', 'Get-AzFrontDoorCdnEndpoint', 'Get-AzFrontDoorCdnEndpointResourceUsage', 'Get-AzFrontDoorCdnOrigin', 'Get-AzFrontDoorCdnOriginGroup', 'Get-AzFrontDoorCdnOriginGroupResourceUsage', 'Get-AzFrontDoorCdnProfile', 'Get-AzFrontDoorCdnProfileResourceUsage', 'Get-AzFrontDoorCdnRoute', 'Get-AzFrontDoorCdnRule', 'Get-AzFrontDoorCdnRuleSet', 'Get-AzFrontDoorCdnRuleSetResourceUsage', 'Get-AzFrontDoorCdnSecret', 'Get-AzFrontDoorCdnSecurityPolicy', 'Import-AzCdnEndpointContent', 'Invoke-AzCdnSecretValidate', 'New-AzCdnAFDDomainHttpsParametersObject', 'New-AzCdnAzureFirstPartyManagedCertificateParametersObject', 'New-AzCdnCustomDomain', 'New-AzCdnCustomDomainHttpsParametersObject', 'New-AzCdnCustomerCertificateParametersObject', 'New-AzCdnDeliveryRuleCacheExpirationActionObject', 'New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject', 'New-AzCdnDeliveryRuleClientPortConditionObject', 'New-AzCdnDeliveryRuleCookiesConditionObject', 'New-AzCdnDeliveryRuleHostNameConditionObject', 'New-AzCdnDeliveryRuleHttpVersionConditionObject', 'New-AzCdnDeliveryRuleIsDeviceConditionObject', 'New-AzCdnDeliveryRulePostArgsConditionObject', 'New-AzCdnDeliveryRuleQueryStringConditionObject', 'New-AzCdnDeliveryRuleRemoteAddressConditionObject', 'New-AzCdnDeliveryRuleRequestBodyConditionObject', 'New-AzCdnDeliveryRuleRequestHeaderActionObject', 'New-AzCdnDeliveryRuleRequestHeaderConditionObject', 'New-AzCdnDeliveryRuleRequestMethodConditionObject', 'New-AzCdnDeliveryRuleRequestSchemeConditionObject', 'New-AzCdnDeliveryRuleRequestUriConditionObject', 'New-AzCdnDeliveryRuleResponseHeaderActionObject', 'New-AzCdnDeliveryRuleRouteConfigurationOverrideActionObject', 'New-AzCdnDeliveryRuleServerPortConditionObject', 'New-AzCdnDeliveryRuleSocketAddrConditionObject', 'New-AzCdnDeliveryRuleSslProtocolConditionObject', 'New-AzCdnDeliveryRuleUrlFileExtensionConditionObject', 'New-AzCdnDeliveryRuleUrlFileNameConditionObject', 'New-AzCdnDeliveryRuleUrlPathConditionObject', 'New-AzCdnEndpoint', 'New-AzCdnManagedCertificateParametersObject', 'New-AzCdnManagedHttpsParametersObject', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnOriginGroupOverrideActionObject', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzCdnSecurityPolicyWebApplicationFirewallAssociationObject', 'New-AzCdnSecurityPolicyWebApplicationFirewallParametersObject', 'New-AzCdnUrlRedirectActionObject', 'New-AzCdnUrlRewriteActionObject', 'New-AzCdnUrlSigningActionObject', 'New-AzCdnUrlSigningKeyParametersObject', 'New-AzCdnUserManagedHttpsParametersObject', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecurityPolicy', 'Remove-AzCdnCustomDomain', 'Remove-AzCdnEndpoint', 'Remove-AzCdnOrigin', 'Remove-AzCdnOriginGroup', 'Remove-AzCdnPolicy', 'Remove-AzCdnProfile', 'Remove-AzFrontDoorCdnCustomDomain', 'Remove-AzFrontDoorCdnEndpoint', 'Remove-AzFrontDoorCdnOrigin', 'Remove-AzFrontDoorCdnOriginGroup', 'Remove-AzFrontDoorCdnProfile', 'Remove-AzFrontDoorCdnRoute', 'Remove-AzFrontDoorCdnRule', 'Remove-AzFrontDoorCdnRuleSet', 'Remove-AzFrontDoorCdnSecret', 'Remove-AzFrontDoorCdnSecurityPolicy', 'Start-AzCdnEndpoint', 'Stop-AzCdnEndpoint', 'Test-AzCdnEndpointCustomDomain', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', 'Test-AzFrontDoorCdnEndpointNameAvailability', 'Test-AzFrontDoorCdnProfileHostNameAvailability', 'Update-AzCdnEndpoint', 'Update-AzCdnOrigin', 'Update-AzCdnOriginGroup', 'Update-AzCdnPolicy', 'Update-AzCdnProfile', 'Update-AzFrontDoorCdnCustomDomain', 'Update-AzFrontDoorCdnCustomDomainValidationToken', 'Update-AzFrontDoorCdnEndpoint', 'Update-AzFrontDoorCdnOrigin', 'Update-AzFrontDoorCdnOriginGroup', 'Update-AzFrontDoorCdnProfile', 'Update-AzFrontDoorCdnRoute', 'Update-AzFrontDoorCdnRule', 'Update-AzFrontDoorCdnSecurityPolicy', '*'
1515
AliasesToExport = '*'
1616
PrivateData = @{
1717
PSData = @{

src/Cdn/Cdn.Autorest/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ directive:
5959
- SecurityPolicyPropertiesParameters
6060
- SecretParameters
6161
- CustomDomainHttpsParameters
62+
- AFDDomainHttpsParameters
6263
# Generate memory object as parameter of the cmelet.
6364
- model-cmdlet:
65+
- AFDDomainHttpsParameters
6466
- SecurityPolicyWebApplicationFirewallAssociation
6567
- SecurityPolicyWebApplicationFirewallParameters
6668
- AzureFirstPartyManagedCertificateParameters

src/Cdn/Cdn.Autorest/docs/Az.Cdn.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ Available for Verizon Profiles.
109109
### [Invoke-AzCdnSecretValidate](Invoke-AzCdnSecretValidate.md)
110110
Validate a Secret in the profile.
111111

112+
### [New-AzCdnAFDDomainHttpsParametersObject](New-AzCdnAFDDomainHttpsParametersObject.md)
113+
Create an in-memory object for AFDDomainHttpsParameters.
114+
112115
### [New-AzCdnAzureFirstPartyManagedCertificateParametersObject](New-AzCdnAzureFirstPartyManagedCertificateParametersObject.md)
113116
Create an in-memory object for AzureFirstPartyManagedCertificateParameters.
114117

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
---
2+
external help file:
3+
Module Name: Az.Cdn
4+
online version: https://docs.microsoft.com/powershell/module/az.Cdn/new-AzCdnAFDDomainHttpsParametersObject
5+
schema: 2.0.0
6+
---
7+
8+
# New-AzCdnAFDDomainHttpsParametersObject
9+
10+
## SYNOPSIS
11+
Create an in-memory object for AFDDomainHttpsParameters.
12+
13+
## SYNTAX
14+
15+
```
16+
New-AzCdnAFDDomainHttpsParametersObject -CertificateType <AfdCertificateType>
17+
[-MinimumTlsVersion <AfdMinimumTlsVersion>] [-Secret <IResourceReference>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Create an in-memory object for AFDDomainHttpsParameters.
22+
23+
## EXAMPLES
24+
25+
### Example 1: {{ Add title here }}
26+
```powershell
27+
{{ Add code here }}
28+
```
29+
30+
```output
31+
{{ Add output here }}
32+
```
33+
34+
{{ Add description here }}
35+
36+
### Example 2: {{ Add title here }}
37+
```powershell
38+
{{ Add code here }}
39+
```
40+
41+
```output
42+
{{ Add output here }}
43+
```
44+
45+
{{ Add description here }}
46+
47+
## PARAMETERS
48+
49+
### -CertificateType
50+
Defines the source of the SSL certificate.
51+
52+
```yaml
53+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.AfdCertificateType
54+
Parameter Sets: (All)
55+
Aliases:
56+
57+
Required: True
58+
Position: Named
59+
Default value: None
60+
Accept pipeline input: False
61+
Accept wildcard characters: False
62+
```
63+
64+
### -MinimumTlsVersion
65+
TLS protocol version that will be used for Https.
66+
67+
```yaml
68+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.AfdMinimumTlsVersion
69+
Parameter Sets: (All)
70+
Aliases:
71+
72+
Required: False
73+
Position: Named
74+
Default value: None
75+
Accept pipeline input: False
76+
Accept wildcard characters: False
77+
```
78+
79+
### -Secret
80+
Resource reference to the secret.
81+
ie.
82+
subs/rg/profile/secret.
83+
To construct, see NOTES section for SECRET properties and create a hash table.
84+
85+
```yaml
86+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IResourceReference
87+
Parameter Sets: (All)
88+
Aliases:
89+
90+
Required: False
91+
Position: Named
92+
Default value: None
93+
Accept pipeline input: False
94+
Accept wildcard characters: False
95+
```
96+
97+
### CommonParameters
98+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
99+
100+
## INPUTS
101+
102+
## OUTPUTS
103+
104+
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.AfdDomainHttpsParameters
105+
106+
## NOTES
107+
108+
ALIASES
109+
110+
COMPLEX PARAMETER PROPERTIES
111+
112+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
113+
114+
115+
SECRET <IResourceReference>: Resource reference to the secret. ie. subs/rg/profile/secret.
116+
- `[Id <String>]`: Resource ID.
117+
118+
## RELATED LINKS
119+

src/Cdn/Cdn.Autorest/docs/New-AzFrontDoorCdnCustomDomain.md

Lines changed: 17 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Creates a new domain within the specified profile.
1515
```
1616
New-AzFrontDoorCdnCustomDomain -CustomDomainName <String> -ProfileName <String> -ResourceGroupName <String>
1717
[-SubscriptionId <String>] [-AzureDnsZoneId <String>] [-HostName <String>]
18-
[-PropertiesPreValidatedCustomDomainResourceId <String>] [-SecretId <String>]
19-
[-TlSettingCertificateType <AfdCertificateType>] [-TlSettingMinimumTlsVersion <AfdMinimumTlsVersion>]
18+
[-PropertiesPreValidatedCustomDomainResourceId <String>] [-TlsSetting <IAfdDomainHttpsParameters>]
2019
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
2120
```
2221

@@ -181,21 +180,6 @@ Accept pipeline input: False
181180
Accept wildcard characters: False
182181
```
183182
184-
### -SecretId
185-
Resource ID.
186-
187-
```yaml
188-
Type: System.String
189-
Parameter Sets: (All)
190-
Aliases:
191-
192-
Required: False
193-
Position: Named
194-
Default value: None
195-
Accept pipeline input: False
196-
Accept wildcard characters: False
197-
```
198-
199183
### -SubscriptionId
200184
Azure Subscription ID.
201185
@@ -211,26 +195,13 @@ Accept pipeline input: False
211195
Accept wildcard characters: False
212196
```
213197
214-
### -TlSettingCertificateType
215-
Defines the source of the SSL certificate.
216-
217-
```yaml
218-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.AfdCertificateType
219-
Parameter Sets: (All)
220-
Aliases:
221-
222-
Required: False
223-
Position: Named
224-
Default value: None
225-
Accept pipeline input: False
226-
Accept wildcard characters: False
227-
```
228-
229-
### -TlSettingMinimumTlsVersion
230-
TLS protocol version that will be used for Https
198+
### -TlsSetting
199+
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.
200+
If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
201+
To construct, see NOTES section for TLSSETTING properties and create a hash table.
231202
232203
```yaml
233-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.AfdMinimumTlsVersion
204+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IAfdDomainHttpsParameters
234205
Parameter Sets: (All)
235206
Aliases:
236207

@@ -285,5 +256,16 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
285256
286257
ALIASES
287258
259+
COMPLEX PARAMETER PROPERTIES
260+
261+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
262+
263+
264+
TLSSETTING <IAfdDomainHttpsParameters>: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
265+
- `CertificateType <AfdCertificateType>`: Defines the source of the SSL certificate.
266+
- `[MinimumTlsVersion <AfdMinimumTlsVersion?>]`: TLS protocol version that will be used for Https
267+
- `[Secret <IResourceReference>]`: Resource reference to the secret. ie. subs/rg/profile/secret
268+
- `[Id <String>]`: Resource ID.
269+
288270
## RELATED LINKS
289271

src/Cdn/Cdn.Autorest/docs/Update-AzFrontDoorCdnCustomDomain.md

Lines changed: 13 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@ Updates an existing domain within a profile.
1616
```
1717
Update-AzFrontDoorCdnCustomDomain -CustomDomainName <String> -ProfileName <String> -ResourceGroupName <String>
1818
[-SubscriptionId <String>] [-AzureDnsZoneId <String>]
19-
[-PropertiesPreValidatedCustomDomainResourceId <String>] [-SecretId <String>]
20-
[-TlSettingCertificateType <AfdCertificateType>] [-TlSettingMinimumTlsVersion <AfdMinimumTlsVersion>]
19+
[-PropertiesPreValidatedCustomDomainResourceId <String>] [-TlsSetting <IAfdDomainHttpsParameters>]
2120
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
2221
```
2322

2423
### UpdateViaIdentityExpanded
2524
```
2625
Update-AzFrontDoorCdnCustomDomain -InputObject <ICdnIdentity> [-AzureDnsZoneId <String>]
27-
[-PropertiesPreValidatedCustomDomainResourceId <String>] [-SecretId <String>]
28-
[-TlSettingCertificateType <AfdCertificateType>] [-TlSettingMinimumTlsVersion <AfdMinimumTlsVersion>]
26+
[-PropertiesPreValidatedCustomDomainResourceId <String>] [-TlsSetting <IAfdDomainHttpsParameters>]
2927
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
3028
```
3129

@@ -190,21 +188,6 @@ Accept pipeline input: False
190188
Accept wildcard characters: False
191189
```
192190
193-
### -SecretId
194-
Resource ID.
195-
196-
```yaml
197-
Type: System.String
198-
Parameter Sets: (All)
199-
Aliases:
200-
201-
Required: False
202-
Position: Named
203-
Default value: None
204-
Accept pipeline input: False
205-
Accept wildcard characters: False
206-
```
207-
208191
### -SubscriptionId
209192
Azure Subscription ID.
210193
@@ -220,26 +203,13 @@ Accept pipeline input: False
220203
Accept wildcard characters: False
221204
```
222205
223-
### -TlSettingCertificateType
224-
Defines the source of the SSL certificate.
206+
### -TlsSetting
207+
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.
208+
If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
209+
To construct, see NOTES section for TLSSETTING properties and create a hash table.
225210
226211
```yaml
227-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.AfdCertificateType
228-
Parameter Sets: (All)
229-
Aliases:
230-
231-
Required: False
232-
Position: Named
233-
Default value: None
234-
Accept pipeline input: False
235-
Accept wildcard characters: False
236-
```
237-
238-
### -TlSettingMinimumTlsVersion
239-
TLS protocol version that will be used for Https
240-
241-
```yaml
242-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.AfdMinimumTlsVersion
212+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IAfdDomainHttpsParameters
243213
Parameter Sets: (All)
244214
Aliases:
245215

@@ -317,5 +287,11 @@ INPUTOBJECT <ICdnIdentity>: Identity Parameter
317287
- `[SecurityPolicyName <String>]`: Name of the security policy under the profile.
318288
- `[SubscriptionId <String>]`: Azure Subscription ID.
319289

290+
TLSSETTING <IAfdDomainHttpsParameters>: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
291+
- `CertificateType <AfdCertificateType>`: Defines the source of the SSL certificate.
292+
- `[MinimumTlsVersion <AfdMinimumTlsVersion?>]`: TLS protocol version that will be used for Https
293+
- `[Secret <IResourceReference>]`: Resource reference to the secret. ie. subs/rg/profile/secret
294+
- `[Id <String>]`: Resource ID.
295+
320296
## RELATED LINKS
321297

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
### Example 1: {{ Add title here }}
2+
```powershell
3+
{{ Add code here }}
4+
```
5+
6+
```output
7+
{{ Add output here }}
8+
```
9+
10+
{{ Add description here }}
11+
12+
### Example 2: {{ Add title here }}
13+
```powershell
14+
{{ Add code here }}
15+
```
16+
17+
```output
18+
{{ Add output here }}
19+
```
20+
21+
{{ Add description here }}
22+

0 commit comments

Comments
 (0)