Skip to content

Commit 3ab35b9

Browse files
authored
Merge pull request #19 from ZianWang02/feature/Cdn
Enable Az Cdn Custom Domain Https
2 parents 4581fad + dbc4da1 commit 3ab35b9

15 files changed

+174
-284
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-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', '*'
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-AzCdnAFDDomainHttpsParametersObject', 'New-AzCdnAzureFirstPartyManagedCertificateParametersObject', 'New-AzCdnCustomDomain', '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: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ directive:
6969
- CustomerCertificateParameters
7070
- ManagedCertificateParameters
7171
- UrlSigningKeyParameters
72+
- UserManagedHttpsParameters
73+
- CdnManagedHttpsParameters
7274
- DeliveryRuleRemoteAddressCondition
7375
- DeliveryRuleRequestMethodCondition
7476
- DeliveryRuleQueryStringCondition
@@ -97,10 +99,6 @@ directive:
9799
- DeliveryRuleCacheExpirationAction
98100
- DeliveryRuleCacheKeyQueryStringAction
99101
- DeliveryRuleRouteConfigurationOverrideAction
100-
# child classes for CustomDomainHttpsParameters
101-
- UserManagedHttpsParameters
102-
- CdnManagedHttpsParameters
103-
- CustomDomainHttpsParameters
104102

105103
# Following is two common directive which are normally required in all the RPs
106104
# 1. Remove the unexpanded parameter set
@@ -122,6 +120,14 @@ directive:
122120
variant: ^CheckViaIdentity$|^CheckViaIdentityExpanded$
123121
subject: ^NameAvailability$|^EndpointNameAvailability$
124122
remove: true
123+
- where:
124+
variant: ^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
125+
subject: ^Probe$
126+
remove: true
127+
- where:
128+
variant: ^EnableExpanded$|^EnableViaIdentityExpanded$
129+
subject: ^CustomDomainCustomHttps$
130+
remove: true
125131

126132
# Hide Cdn profile
127133
- where:
@@ -169,6 +175,10 @@ directive:
169175
subject: EndpointNameAvailability
170176
set:
171177
subject-prefix: FrontDoorCdn
178+
- where:
179+
subject: ResourceUsage
180+
set:
181+
subject: SubscriptionResourceUsage
172182

173183
# https://github.com/Azure/autorest.powershell/issues/906
174184
- where:

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

Lines changed: 1 addition & 4 deletions
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)
@@ -118,9 +118,6 @@ Create an in-memory object for AzureFirstPartyManagedCertificateParameters.
118118
### [New-AzCdnCustomDomain](New-AzCdnCustomDomain.md)
119119
Creates a new custom domain within an endpoint.
120120

121-
### [New-AzCdnCustomDomainHttpsParametersObject](New-AzCdnCustomDomainHttpsParametersObject.md)
122-
Create an in-memory object for CustomDomainHttpsParameters.
123-
124121
### [New-AzCdnCustomerCertificateParametersObject](New-AzCdnCustomerCertificateParametersObject.md)
125122
Create an in-memory object for CustomerCertificateParameters.
126123

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

@@ -66,28 +51,13 @@ PS C:\> {{ Add code here }}
6651

6752
## PARAMETERS
6853

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

8858
```yaml
8959
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ICustomDomainHttpsParameters
90-
Parameter Sets: Enable, EnableViaIdentity
60+
Parameter Sets: (All)
9161
Aliases:
9262

9363
Required: True
@@ -102,7 +72,7 @@ Name of the custom domain within an endpoint.
10272
10373
```yaml
10474
Type: System.String
105-
Parameter Sets: Enable, EnableExpanded
75+
Parameter Sets: Enable
10676
Aliases:
10777

10878
Required: True
@@ -132,7 +102,7 @@ Name of the endpoint under the profile which is unique globally.
132102
133103
```yaml
134104
Type: System.String
135-
Parameter Sets: Enable, EnableExpanded
105+
Parameter Sets: Enable
136106
Aliases:
137107

138108
Required: True
@@ -148,7 +118,7 @@ To construct, see NOTES section for INPUTOBJECT properties and create a hash tab
148118
149119
```yaml
150120
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
151-
Parameter Sets: EnableViaIdentity, EnableViaIdentityExpanded
121+
Parameter Sets: EnableViaIdentity
152122
Aliases:
153123

154124
Required: True
@@ -158,21 +128,6 @@ Accept pipeline input: True (ByValue)
158128
Accept wildcard characters: False
159129
```
160130
161-
### -MinimumTlsVersion
162-
TLS protocol version that will be used for Https
163-
164-
```yaml
165-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.MinimumTlsVersion
166-
Parameter Sets: EnableExpanded, EnableViaIdentityExpanded
167-
Aliases:
168-
169-
Required: False
170-
Position: Named
171-
Default value: None
172-
Accept pipeline input: False
173-
Accept wildcard characters: False
174-
```
175-
176131
### -PassThru
177132
Returns true when the command succeeds
178133
@@ -193,22 +148,7 @@ Name of the CDN profile which is unique within the resource group.
193148
194149
```yaml
195150
Type: System.String
196-
Parameter Sets: Enable, EnableExpanded
197-
Aliases:
198-
199-
Required: True
200-
Position: Named
201-
Default value: None
202-
Accept pipeline input: False
203-
Accept wildcard characters: False
204-
```
205-
206-
### -ProtocolType
207-
Defines the TLS extension protocol that is used for secure delivery.
208-
209-
```yaml
210-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.ProtocolType
211-
Parameter Sets: EnableExpanded, EnableViaIdentityExpanded
151+
Parameter Sets: Enable
212152
Aliases:
213153

214154
Required: True
@@ -223,7 +163,7 @@ Name of the Resource group within the Azure subscription.
223163
224164
```yaml
225165
Type: System.String
226-
Parameter Sets: Enable, EnableExpanded
166+
Parameter Sets: Enable
227167
Aliases:
228168

229169
Required: True
@@ -238,7 +178,7 @@ Azure Subscription ID.
238178
239179
```yaml
240180
Type: System.String
241-
Parameter Sets: Enable, EnableExpanded
181+
Parameter Sets: Enable
242182
Aliases:
243183

244184
Required: False

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

Lines changed: 10 additions & 6 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
@@ -24,17 +24,21 @@ Check the quota and actual usage of the CDN profiles under the given subscriptio
2424

2525
### Example 1: {{ Add title here }}
2626
```powershell
27-
PS C:\> {{ Add code here }}
27+
{{ Add code here }}
28+
```
2829

30+
```output
2931
{{ Add output here }}
3032
```
3133

3234
{{ Add description here }}
3335

3436
### Example 2: {{ Add title here }}
3537
```powershell
36-
PS C:\> {{ Add code here }}
38+
{{ Add code here }}
39+
```
3740

41+
```output
3842
{{ Add output here }}
3943
```
4044

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

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)