Skip to content

Commit 75bca9a

Browse files
committed
Merge remote-tracking branch 'upstream/feature/Cdn' into feature/Cdn
2 parents 89bd267 + 4581fad commit 75bca9a

12 files changed

+188
-337
lines changed

src/Cdn/Cdn.Autorest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ directive:
104104
# 1. Remove the unexpanded parameter set
105105
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
106106
- where:
107-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Patch$|^PatchViaIdentity$
107+
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Patch$|^PatchViaIdentity$|^Check$|^Check1$|^CheckViaIdentity$|^Validate$|^ValidateViaIdentity$
108108
subject: ^(?!RuleSet).+$
109109
remove: true
110110
- where:

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

Lines changed: 6 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,6 @@ Test-AzCdnEndpointCustomDomain -EndpointName <String> -ProfileName <String> -Res
1919
[<CommonParameters>]
2020
```
2121

22-
### Validate1
23-
```
24-
Test-AzCdnEndpointCustomDomain -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
25-
-CustomDomainProperty <IValidateCustomDomainInput> [-SubscriptionId <String>] [-DefaultProfile <PSObject>]
26-
[-Confirm] [-WhatIf] [<CommonParameters>]
27-
```
28-
29-
### ValidateViaIdentity1
30-
```
31-
Test-AzCdnEndpointCustomDomain -InputObject <ICdnIdentity> -CustomDomainProperty <IValidateCustomDomainInput>
32-
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
33-
```
34-
3522
### ValidateViaIdentityExpanded1
3623
```
3724
Test-AzCdnEndpointCustomDomain -InputObject <ICdnIdentity> -HostName <String> [-DefaultProfile <PSObject>]
@@ -63,22 +50,6 @@ PS C:\> {{ Add code here }}
6350

6451
## PARAMETERS
6552

66-
### -CustomDomainProperty
67-
Input of the custom domain to be validated for DNS mapping.
68-
To construct, see NOTES section for CUSTOMDOMAINPROPERTY properties and create a hash table.
69-
70-
```yaml
71-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IValidateCustomDomainInput
72-
Parameter Sets: Validate1, ValidateViaIdentity1
73-
Aliases:
74-
75-
Required: True
76-
Position: Named
77-
Default value: None
78-
Accept pipeline input: True (ByValue)
79-
Accept wildcard characters: False
80-
```
81-
8253
### -DefaultProfile
8354
The credentials, account, tenant, and subscription used for communication with Azure.
8455

@@ -99,7 +70,7 @@ Name of the endpoint under the profile which is unique globally.
9970
10071
```yaml
10172
Type: System.String
102-
Parameter Sets: Validate1, ValidateExpanded1
73+
Parameter Sets: ValidateExpanded1
10374
Aliases:
10475

10576
Required: True
@@ -115,7 +86,7 @@ Must be a domain name.
11586
11687
```yaml
11788
Type: System.String
118-
Parameter Sets: ValidateExpanded1, ValidateViaIdentityExpanded1
89+
Parameter Sets: (All)
11990
Aliases:
12091

12192
Required: True
@@ -131,7 +102,7 @@ To construct, see NOTES section for INPUTOBJECT properties and create a hash tab
131102
132103
```yaml
133104
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
134-
Parameter Sets: ValidateViaIdentity1, ValidateViaIdentityExpanded1
105+
Parameter Sets: ValidateViaIdentityExpanded1
135106
Aliases:
136107

137108
Required: True
@@ -146,7 +117,7 @@ Name of the CDN profile which is unique within the resource group.
146117
147118
```yaml
148119
Type: System.String
149-
Parameter Sets: Validate1, ValidateExpanded1
120+
Parameter Sets: ValidateExpanded1
150121
Aliases:
151122

152123
Required: True
@@ -161,7 +132,7 @@ Name of the Resource group within the Azure subscription.
161132
162133
```yaml
163134
Type: System.String
164-
Parameter Sets: Validate1, ValidateExpanded1
135+
Parameter Sets: ValidateExpanded1
165136
Aliases:
166137

167138
Required: True
@@ -176,7 +147,7 @@ Azure Subscription ID.
176147
177148
```yaml
178149
Type: System.String
179-
Parameter Sets: Validate1, ValidateExpanded1
150+
Parameter Sets: ValidateExpanded1
180151
Aliases:
181152

182153
Required: False
@@ -222,8 +193,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
222193
223194
## INPUTS
224195
225-
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IValidateCustomDomainInput
226-
227196
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
228197
229198
## OUTPUTS
@@ -239,9 +208,6 @@ COMPLEX PARAMETER PROPERTIES
239208
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.
240209
241210
242-
CUSTOMDOMAINPROPERTY <IValidateCustomDomainInput>: Input of the custom domain to be validated for DNS mapping.
243-
- `HostName <String>`: The host name of the custom domain. Must be a domain name.
244-
245211
INPUTOBJECT <ICdnIdentity>: Identity Parameter
246212
- `[CustomDomainName <String>]`: Name of the domain under the profile which is unique globally.
247213
- `[EndpointName <String>]`: Name of the endpoint under the profile which is unique globally.

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

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@ Test-AzCdnNameAvailability -Name <String> -Type <ResourceType> [-DefaultProfile
1919
[-WhatIf] [<CommonParameters>]
2020
```
2121

22-
### Check
23-
```
24-
Test-AzCdnNameAvailability -CheckNameAvailabilityInput <ICheckNameAvailabilityInput>
25-
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
26-
```
27-
28-
### Check1
29-
```
30-
Test-AzCdnNameAvailability -CheckNameAvailabilityInput <ICheckNameAvailabilityInput>
31-
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
32-
```
33-
3422
### CheckExpanded1
3523
```
3624
Test-AzCdnNameAvailability -Name <String> -Type <ResourceType> [-SubscriptionId <String>]
@@ -63,22 +51,6 @@ PS C:\> {{ Add code here }}
6351

6452
## PARAMETERS
6553

66-
### -CheckNameAvailabilityInput
67-
Input of CheckNameAvailability API.
68-
To construct, see NOTES section for CHECKNAMEAVAILABILITYINPUT properties and create a hash table.
69-
70-
```yaml
71-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ICheckNameAvailabilityInput
72-
Parameter Sets: Check, Check1
73-
Aliases:
74-
75-
Required: True
76-
Position: Named
77-
Default value: None
78-
Accept pipeline input: True (ByValue)
79-
Accept wildcard characters: False
80-
```
81-
8254
### -DefaultProfile
8355
The credentials, account, tenant, and subscription used for communication with Azure.
8456

@@ -99,7 +71,7 @@ The resource name to validate.
9971
10072
```yaml
10173
Type: System.String
102-
Parameter Sets: CheckExpanded, CheckExpanded1
74+
Parameter Sets: (All)
10375
Aliases:
10476

10577
Required: True
@@ -114,7 +86,7 @@ Azure Subscription ID.
11486
11587
```yaml
11688
Type: System.String
117-
Parameter Sets: Check1, CheckExpanded1
89+
Parameter Sets: CheckExpanded1
11890
Aliases:
11991

12092
Required: False
@@ -129,7 +101,7 @@ The type of the resource whose name is to be validated.
129101
130102
```yaml
131103
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.ResourceType
132-
Parameter Sets: CheckExpanded, CheckExpanded1
104+
Parameter Sets: (All)
133105
Aliases:
134106

135107
Required: True
@@ -175,8 +147,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
175147
176148
## INPUTS
177149
178-
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ICheckNameAvailabilityInput
179-
180150
## OUTPUTS
181151
182152
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ICheckNameAvailabilityOutput
@@ -185,14 +155,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
185155
186156
ALIASES
187157
188-
COMPLEX PARAMETER PROPERTIES
189-
190-
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.
191-
192-
193-
CHECKNAMEAVAILABILITYINPUT <ICheckNameAvailabilityInput>: Input of CheckNameAvailability API.
194-
- `Name <String>`: The resource name to validate.
195-
- `Type <ResourceType>`: The type of the resource whose name is to be validated.
196-
197158
## RELATED LINKS
198159

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

Lines changed: 36 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Test-AzCdnProbe -ProbeUrl <String> [-SubscriptionId <String>] [-DefaultProfile <
2020
[-WhatIf] [<CommonParameters>]
2121
```
2222

23-
### Validate
23+
### ValidateViaIdentityExpanded
2424
```
25-
Test-AzCdnProbe -ValidateProbeInput <IValidateProbeInput> [-SubscriptionId <String>]
26-
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
25+
Test-AzCdnProbe -InputObject <ICdnIdentity> -ProbeUrl <String> [-DefaultProfile <PSObject>] [-Confirm]
26+
[-WhatIf] [<CommonParameters>]
2727
```
2828

2929
## DESCRIPTION
@@ -68,49 +68,49 @@ Accept pipeline input: False
6868
Accept wildcard characters: False
6969
```
7070
71-
### -ProbeUrl
72-
The probe URL to validate.
71+
### -InputObject
72+
Identity Parameter
73+
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
7374
7475
```yaml
75-
Type: System.String
76-
Parameter Sets: ValidateExpanded
76+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
77+
Parameter Sets: ValidateViaIdentityExpanded
7778
Aliases:
7879

7980
Required: True
8081
Position: Named
8182
Default value: None
82-
Accept pipeline input: False
83+
Accept pipeline input: True (ByValue)
8384
Accept wildcard characters: False
8485
```
8586
86-
### -SubscriptionId
87-
Azure Subscription ID.
87+
### -ProbeUrl
88+
The probe URL to validate.
8889
8990
```yaml
9091
Type: System.String
9192
Parameter Sets: (All)
9293
Aliases:
9394

94-
Required: False
95+
Required: True
9596
Position: Named
96-
Default value: (Get-AzContext).Subscription.Id
97+
Default value: None
9798
Accept pipeline input: False
9899
Accept wildcard characters: False
99100
```
100101
101-
### -ValidateProbeInput
102-
Input of the validate probe API.
103-
To construct, see NOTES section for VALIDATEPROBEINPUT properties and create a hash table.
102+
### -SubscriptionId
103+
Azure Subscription ID.
104104
105105
```yaml
106-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IValidateProbeInput
107-
Parameter Sets: Validate
106+
Type: System.String
107+
Parameter Sets: ValidateExpanded
108108
Aliases:
109109

110-
Required: True
110+
Required: False
111111
Position: Named
112-
Default value: None
113-
Accept pipeline input: True (ByValue)
112+
Default value: (Get-AzContext).Subscription.Id
113+
Accept pipeline input: False
114114
Accept wildcard characters: False
115115
```
116116
@@ -150,7 +150,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
150150
151151
## INPUTS
152152
153-
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IValidateProbeInput
153+
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
154154
155155
## OUTPUTS
156156
@@ -165,8 +165,21 @@ COMPLEX PARAMETER PROPERTIES
165165
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.
166166
167167
168-
VALIDATEPROBEINPUT <IValidateProbeInput>: Input of the validate probe API.
169-
- `ProbeUrl <String>`: The probe URL to validate.
168+
INPUTOBJECT <ICdnIdentity>: Identity Parameter
169+
- `[CustomDomainName <String>]`: Name of the domain under the profile which is unique globally.
170+
- `[EndpointName <String>]`: Name of the endpoint under the profile which is unique globally.
171+
- `[Id <String>]`: Resource identity path
172+
- `[OriginGroupName <String>]`: Name of the origin group which is unique within the endpoint.
173+
- `[OriginName <String>]`: Name of the origin which is unique within the profile.
174+
- `[PolicyName <String>]`: The name of the CdnWebApplicationFirewallPolicy.
175+
- `[ProfileName <String>]`: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
176+
- `[ResourceGroupName <String>]`: Name of the Resource group within the Azure subscription.
177+
- `[RouteName <String>]`: Name of the routing rule.
178+
- `[RuleName <String>]`: Name of the delivery rule which is unique within the endpoint.
179+
- `[RuleSetName <String>]`: Name of the rule set under the profile which is unique globally.
180+
- `[SecretName <String>]`: Name of the Secret under the profile.
181+
- `[SecurityPolicyName <String>]`: Name of the security policy under the profile.
182+
- `[SubscriptionId <String>]`: Azure Subscription ID.
170183

171184
## RELATED LINKS
172185

0 commit comments

Comments
 (0)