Skip to content

Commit 5bb81f2

Browse files
author
Chenglong Liu
committed
Merge feature/Cdn
2 parents ad945b4 + 3ab35b9 commit 5bb81f2

13 files changed

+168
-153
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-AzCdnCustomDomain', 'New-AzCdnCustomDomainHttpsParametersObject', '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-AzCdnManagedHttpsParametersObject', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnOriginGroupOverrideActionObject', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzCdnSecurityPolicyWebApplicationFirewallAssociationObject', 'New-AzCdnSecurityPolicyWebApplicationFirewallParametersObject', 'New-AzCdnUrlRedirectActionObject', 'New-AzCdnUrlRewriteActionObject', 'New-AzCdnUrlSigningActionObject', 'New-AzCdnUserManagedHttpsParametersObject', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecretCustomerCertificateParametersObject', 'New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject', '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-AzCdnSubscriptionResourceUsage', '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-AzCdnCustomDomain', 'New-AzCdnCustomDomainHttpsParametersObject', '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-AzCdnManagedHttpsParametersObject', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnOriginGroupOverrideActionObject', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzCdnSecurityPolicyWebApplicationFirewallAssociationObject', 'New-AzCdnSecurityPolicyWebApplicationFirewallParametersObject', 'New-AzCdnUrlRedirectActionObject', 'New-AzCdnUrlRewriteActionObject', 'New-AzCdnUrlSigningActionObject', 'New-AzCdnUserManagedHttpsParametersObject', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecretCustomerCertificateParametersObject', 'New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject', '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: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ directive:
6666
- model-cmdlet:
6767
- SecurityPolicyWebApplicationFirewallAssociation
6868
- SecurityPolicyWebApplicationFirewallParameters
69+
- UserManagedHttpsParameters
70+
- CdnManagedHttpsParameters
6971
- DeliveryRuleRemoteAddressCondition
7072
- DeliveryRuleRequestMethodCondition
7173
- DeliveryRuleQueryStringCondition
@@ -94,10 +96,6 @@ directive:
9496
- DeliveryRuleCacheExpirationAction
9597
- DeliveryRuleCacheKeyQueryStringAction
9698
- DeliveryRuleRouteConfigurationOverrideAction
97-
# child classes for CustomDomainHttpsParameters
98-
- UserManagedHttpsParameters
99-
- CdnManagedHttpsParameters
100-
- CustomDomainHttpsParameters
10199

102100
# Following is two common directive which are normally required in all the RPs
103101
# 1. Remove the unexpanded parameter set
@@ -119,6 +117,14 @@ directive:
119117
variant: ^CheckViaIdentity$|^CheckViaIdentityExpanded$
120118
subject: ^NameAvailability$|^EndpointNameAvailability$
121119
remove: true
120+
- where:
121+
variant: ^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
122+
subject: ^Probe$
123+
remove: true
124+
- where:
125+
variant: ^EnableExpanded$|^EnableViaIdentityExpanded$
126+
subject: ^CustomDomainCustomHttps$
127+
remove: true
122128

123129
# Hide Cdn profile
124130
- where:
@@ -166,6 +172,10 @@ directive:
166172
subject: EndpointNameAvailability
167173
set:
168174
subject-prefix: FrontDoorCdn
175+
- where:
176+
subject: ResourceUsage
177+
set:
178+
subject: SubscriptionResourceUsage
169179

170180
# https://github.com/Azure/autorest.powershell/issues/906
171181
- where:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door
5757
Gets the supported optimization types for the current profile.
5858
A user can create an endpoint with an optimization type from the listed values.
5959

60-
### [Get-AzCdnResourceUsage](Get-AzCdnResourceUsage.md)
60+
### [Get-AzCdnSubscriptionResourceUsage](Get-AzCdnSubscriptionResourceUsage.md)
6161
Check the quota and actual usage of the CDN profiles under the given subscription.
6262

6363
### [Get-AzFrontDoorCdnCustomDomain](Get-AzFrontDoorCdnCustomDomain.md)

src/Cdn/Cdn.Autorest/docs/Enable-AzCdnCustomDomainCustomHttps.md

Lines changed: 10 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ Enable https delivery of the custom domain.
1212

1313
## SYNTAX
1414

15-
### EnableExpanded (Default)
15+
### EnableViaIdentity (Default)
1616
```
17-
Enable-AzCdnCustomDomainCustomHttps -CustomDomainName <String> -EndpointName <String> -ProfileName <String>
18-
-ResourceGroupName <String> -CertificateSource <CertificateSource> -ProtocolType <ProtocolType>
19-
[-SubscriptionId <String>] [-MinimumTlsVersion <MinimumTlsVersion>] [-DefaultProfile <PSObject>] [-PassThru]
17+
Enable-AzCdnCustomDomainCustomHttps -InputObject <ICdnIdentity>
18+
-CustomDomainHttpsParameter <ICustomDomainHttpsParameters> [-DefaultProfile <PSObject>] [-PassThru]
2019
[-Confirm] [-WhatIf] [<CommonParameters>]
2120
```
2221

@@ -27,20 +26,6 @@ Enable-AzCdnCustomDomainCustomHttps -CustomDomainName <String> -EndpointName <St
2726
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
2827
```
2928

30-
### EnableViaIdentity
31-
```
32-
Enable-AzCdnCustomDomainCustomHttps -InputObject <ICdnIdentity>
33-
-CustomDomainHttpsParameter <ICustomDomainHttpsParameters> [-DefaultProfile <PSObject>] [-PassThru]
34-
[-Confirm] [-WhatIf] [<CommonParameters>]
35-
```
36-
37-
### EnableViaIdentityExpanded
38-
```
39-
Enable-AzCdnCustomDomainCustomHttps -InputObject <ICdnIdentity> -CertificateSource <CertificateSource>
40-
-ProtocolType <ProtocolType> [-MinimumTlsVersion <MinimumTlsVersion>] [-DefaultProfile <PSObject>]
41-
[-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
42-
```
43-
4429
## DESCRIPTION
4530
Enable https delivery of the custom domain.
4631

@@ -70,28 +55,13 @@ Enable https delivery of the custom domain.
7055

7156
## PARAMETERS
7257

73-
### -CertificateSource
74-
Defines the source of the SSL certificate.
75-
76-
```yaml
77-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.CertificateSource
78-
Parameter Sets: EnableExpanded, EnableViaIdentityExpanded
79-
Aliases:
80-
81-
Required: True
82-
Position: Named
83-
Default value: None
84-
Accept pipeline input: False
85-
Accept wildcard characters: False
86-
```
87-
8858
### -CustomDomainHttpsParameter
8959
The JSON object that contains the properties to secure a custom domain.
9060
To construct, see NOTES section for CUSTOMDOMAINHTTPSPARAMETER properties and create a hash table.
9161

9262
```yaml
9363
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ICustomDomainHttpsParameters
94-
Parameter Sets: Enable, EnableViaIdentity
64+
Parameter Sets: (All)
9565
Aliases:
9666

9767
Required: True
@@ -106,7 +76,7 @@ Name of the custom domain within an endpoint.
10676
10777
```yaml
10878
Type: System.String
109-
Parameter Sets: Enable, EnableExpanded
79+
Parameter Sets: Enable
11080
Aliases:
11181

11282
Required: True
@@ -136,7 +106,7 @@ Name of the endpoint under the profile which is unique globally.
136106
137107
```yaml
138108
Type: System.String
139-
Parameter Sets: Enable, EnableExpanded
109+
Parameter Sets: Enable
140110
Aliases:
141111

142112
Required: True
@@ -152,7 +122,7 @@ To construct, see NOTES section for INPUTOBJECT properties and create a hash tab
152122
153123
```yaml
154124
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
155-
Parameter Sets: EnableViaIdentity, EnableViaIdentityExpanded
125+
Parameter Sets: EnableViaIdentity
156126
Aliases:
157127

158128
Required: True
@@ -162,21 +132,6 @@ Accept pipeline input: True (ByValue)
162132
Accept wildcard characters: False
163133
```
164134
165-
### -MinimumTlsVersion
166-
TLS protocol version that will be used for Https
167-
168-
```yaml
169-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.MinimumTlsVersion
170-
Parameter Sets: EnableExpanded, EnableViaIdentityExpanded
171-
Aliases:
172-
173-
Required: False
174-
Position: Named
175-
Default value: None
176-
Accept pipeline input: False
177-
Accept wildcard characters: False
178-
```
179-
180135
### -PassThru
181136
Returns true when the command succeeds
182137
@@ -197,22 +152,7 @@ Name of the CDN profile which is unique within the resource group.
197152
198153
```yaml
199154
Type: System.String
200-
Parameter Sets: Enable, EnableExpanded
201-
Aliases:
202-
203-
Required: True
204-
Position: Named
205-
Default value: None
206-
Accept pipeline input: False
207-
Accept wildcard characters: False
208-
```
209-
210-
### -ProtocolType
211-
Defines the TLS extension protocol that is used for secure delivery.
212-
213-
```yaml
214-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.ProtocolType
215-
Parameter Sets: EnableExpanded, EnableViaIdentityExpanded
155+
Parameter Sets: Enable
216156
Aliases:
217157

218158
Required: True
@@ -227,7 +167,7 @@ Name of the Resource group within the Azure subscription.
227167
228168
```yaml
229169
Type: System.String
230-
Parameter Sets: Enable, EnableExpanded
170+
Parameter Sets: Enable
231171
Aliases:
232172

233173
Required: True
@@ -242,7 +182,7 @@ Azure Subscription ID.
242182
243183
```yaml
244184
Type: System.String
245-
Parameter Sets: Enable, EnableExpanded
185+
Parameter Sets: Enable
246186
Aliases:
247187

248188
Required: False

src/Cdn/Cdn.Autorest/docs/Get-AzCdnResourceUsage.md renamed to src/Cdn/Cdn.Autorest/docs/Get-AzCdnSubscriptionResourceUsage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
22
external help file:
33
Module Name: Az.Cdn
4-
online version: https://docs.microsoft.com/powershell/module/az.cdn/get-azcdnresourceusage
4+
online version: https://docs.microsoft.com/powershell/module/az.cdn/get-azcdnsubscriptionresourceusage
55
schema: 2.0.0
66
---
77

8-
# Get-AzCdnResourceUsage
8+
# Get-AzCdnSubscriptionResourceUsage
99

1010
## SYNOPSIS
1111
Check the quota and actual usage of the CDN profiles under the given subscription.
1212

1313
## SYNTAX
1414

1515
```
16-
Get-AzCdnResourceUsage [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf]
17-
[<CommonParameters>]
16+
Get-AzCdnSubscriptionResourceUsage [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Confirm]
17+
[-WhatIf] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION

src/Cdn/Cdn.Autorest/docs/Test-AzCdnProbe.md

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,11 @@ This path is relative to the origin path specified in the endpoint configuration
1414

1515
## SYNTAX
1616

17-
### ValidateExpanded (Default)
1817
```
1918
Test-AzCdnProbe -ProbeUrl <String> [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm]
2019
[-WhatIf] [<CommonParameters>]
2120
```
2221

23-
### ValidateViaIdentityExpanded
24-
```
25-
Test-AzCdnProbe -InputObject <ICdnIdentity> -ProbeUrl <String> [-DefaultProfile <PSObject>] [-Confirm]
26-
[-WhatIf] [<CommonParameters>]
27-
```
28-
2922
## DESCRIPTION
3023
Check if the probe path is a valid path and the file can be accessed.
3124
Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint.
@@ -72,22 +65,6 @@ Accept pipeline input: False
7265
Accept wildcard characters: False
7366
```
7467
75-
### -InputObject
76-
Identity Parameter
77-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
78-
79-
```yaml
80-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
81-
Parameter Sets: ValidateViaIdentityExpanded
82-
Aliases:
83-
84-
Required: True
85-
Position: Named
86-
Default value: None
87-
Accept pipeline input: True (ByValue)
88-
Accept wildcard characters: False
89-
```
90-
9168
### -ProbeUrl
9269
The probe URL to validate.
9370
@@ -108,7 +85,7 @@ Azure Subscription ID.
10885
10986
```yaml
11087
Type: System.String
111-
Parameter Sets: ValidateExpanded
88+
Parameter Sets: (All)
11289
Aliases:
11390

11491
Required: False
@@ -154,8 +131,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
154131
155132
## INPUTS
156133
157-
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
158-
159134
## OUTPUTS
160135
161136
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IValidateProbeOutput
@@ -164,26 +139,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
164139
165140
ALIASES
166141
167-
COMPLEX PARAMETER PROPERTIES
168-
169-
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.
170-
171-
172-
INPUTOBJECT <ICdnIdentity>: Identity Parameter
173-
- `[CustomDomainName <String>]`: Name of the domain under the profile which is unique globally.
174-
- `[EndpointName <String>]`: Name of the endpoint under the profile which is unique globally.
175-
- `[Id <String>]`: Resource identity path
176-
- `[OriginGroupName <String>]`: Name of the origin group which is unique within the endpoint.
177-
- `[OriginName <String>]`: Name of the origin which is unique within the profile.
178-
- `[PolicyName <String>]`: The name of the CdnWebApplicationFirewallPolicy.
179-
- `[ProfileName <String>]`: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
180-
- `[ResourceGroupName <String>]`: Name of the Resource group within the Azure subscription.
181-
- `[RouteName <String>]`: Name of the routing rule.
182-
- `[RuleName <String>]`: Name of the delivery rule which is unique within the endpoint.
183-
- `[RuleSetName <String>]`: Name of the rule set under the profile which is unique globally.
184-
- `[SecretName <String>]`: Name of the Secret under the profile.
185-
- `[SecurityPolicyName <String>]`: Name of the security policy under the profile.
186-
- `[SubscriptionId <String>]`: Azure Subscription ID.
187-
188142
## RELATED LINKS
189143

0 commit comments

Comments
 (0)