Skip to content

Commit 6c3a311

Browse files
author
Jingnan Xu
committed
add test
1 parent 2b7fcf9 commit 6c3a311

File tree

52 files changed

+398
-657
lines changed

Some content is hidden

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

52 files changed

+398
-657
lines changed

src/Cdn/Cdn.Autorest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ input-file:
3434
# You need to specify your swagger files here.
3535
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/stable/2025-04-15/afdx.json
3636
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/stable/2025-04-15/cdn.json
37-
- "C:/Users/jingnanxu/source/repos/azure-rest-api-specs/specification/cdn/resource-manager/Microsoft.Cdn/Cdn/preview/2024-07-22-preview/edgeaction.json"
37+
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/preview/2024-07-22-preview/edgeaction.json
3838
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
3939
# - (this-folder)/relative-path-to-your-swagger
4040

src/Cdn/Cdn.Autorest/docs/Add-AzCdnEdgeActionAttachment.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,27 +57,18 @@ A long-running operation for adding an EdgeAction attachment.
5757

5858
## EXAMPLES
5959

60-
### Example 1: {{ Add title here }}
60+
### Example 1: Add an Edge Action Attachment
6161
```powershell
62-
{{ Add code here }}
62+
Add-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachmentName attachment001 -EndpointName endpoint001
6363
```
6464

6565
```output
66-
{{ Add output here (remove the output block if the example doesn't have an output) }}
66+
AttachmentName ResourceGroupName EdgeActionName EndpointName
67+
-------------- ----------------- -------------- ------------
68+
attachment001 testps-rg-da16jm edgeaction001 endpoint001
6769
```
6870

69-
{{ Add description here }}
70-
71-
### Example 2: {{ Add title here }}
72-
```powershell
73-
{{ Add code here }}
74-
```
75-
76-
```output
77-
{{ Add output here (remove the output block if the example doesn't have an output) }}
78-
```
79-
80-
{{ Add description here }}
71+
Add an Edge Action Attachment to link an edge action with an endpoint
8172

8273
## PARAMETERS
8374

src/Cdn/Cdn.Autorest/docs/Deploy-AzCdnEdgeActionVersionCode.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,27 +69,18 @@ A long-running operation to deploy versioncode to EdgeActionVersion resource.
6969

7070
## EXAMPLES
7171

72-
### Example 1: {{ Add title here }}
72+
### Example 1: Deploy Edge Action Version Code
7373
```powershell
74-
{{ Add code here }}
74+
Deploy-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -VersionName version001
7575
```
7676

7777
```output
78-
{{ Add output here (remove the output block if the example doesn't have an output) }}
78+
Status ResourceGroupName EdgeActionName VersionName
79+
------ ----------------- -------------- -----------
80+
Successful testps-rg-da16jm edgeaction001 version001
7981
```
8082

81-
{{ Add description here }}
82-
83-
### Example 2: {{ Add title here }}
84-
```powershell
85-
{{ Add code here }}
86-
```
87-
88-
```output
89-
{{ Add output here (remove the output block if the example doesn't have an output) }}
90-
```
91-
92-
{{ Add description here }}
83+
Deploy code for a specific Edge Action Version
9384

9485
## PARAMETERS
9586

src/Cdn/Cdn.Autorest/docs/Get-AzCdnEdgeAction.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,32 @@ Get EdgeAction resource
3434

3535
## EXAMPLES
3636

37-
### Example 1: {{ Add title here }}
37+
### Example 1: List all Edge Actions in a resource group
3838
```powershell
39-
{{ Add code here }}
39+
Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm
4040
```
4141

4242
```output
43-
{{ Add output here (remove the output block if the example doesn't have an output) }}
43+
Location Name Kind ResourceGroupName
44+
-------- ---- ---- -----------------
45+
Global edgeaction001 testps-rg-da16jm
46+
Global edgeaction002 testps-rg-da16jm
4447
```
4548

46-
{{ Add description here }}
49+
List all Edge Actions under the resource group
4750

48-
### Example 2: {{ Add title here }}
51+
### Example 2: Get a specific Edge Action by name
4952
```powershell
50-
{{ Add code here }}
53+
Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -Name edgeaction001
5154
```
5255

5356
```output
54-
{{ Add output here (remove the output block if the example doesn't have an output) }}
57+
Location Name Kind ResourceGroupName
58+
-------- ---- ---- -----------------
59+
Global edgeaction001 testps-rg-da16jm
5560
```
5661

57-
{{ Add description here }}
62+
Get a specific Edge Action by name under the resource group
5863

5964
## PARAMETERS
6065

src/Cdn/Cdn.Autorest/docs/Get-AzCdnEdgeActionExecutionFilter.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,32 @@ Get EdgeActionExecutionFilter resource
2929

3030
## EXAMPLES
3131

32-
### Example 1: {{ Add title here }}
32+
### Example 1: List all Edge Action Execution Filters
3333
```powershell
34-
{{ Add code here }}
34+
Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001
3535
```
3636

3737
```output
38-
{{ Add output here (remove the output block if the example doesn't have an output) }}
38+
Name ResourceGroupName EdgeActionName
39+
---- ----------------- --------------
40+
filter001 testps-rg-da16jm edgeaction001
41+
filter002 testps-rg-da16jm edgeaction001
3942
```
4043

41-
{{ Add description here }}
44+
List all Execution Filters of the specified Edge Action
4245

43-
### Example 2: {{ Add title here }}
46+
### Example 2: Get a specific Edge Action Execution Filter by name
4447
```powershell
45-
{{ Add code here }}
48+
Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Name filter001
4649
```
4750

4851
```output
49-
{{ Add output here (remove the output block if the example doesn't have an output) }}
52+
Name ResourceGroupName EdgeActionName
53+
---- ----------------- --------------
54+
filter001 testps-rg-da16jm edgeaction001
5055
```
5156

52-
{{ Add description here }}
57+
Get a specific Edge Action Execution Filter by name
5358

5459
## PARAMETERS
5560

src/Cdn/Cdn.Autorest/docs/Get-AzCdnEdgeActionVersion.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,32 @@ Get EdgeActionVersion resource
2929

3030
## EXAMPLES
3131

32-
### Example 1: {{ Add title here }}
32+
### Example 1: List all Edge Action Versions
3333
```powershell
34-
{{ Add code here }}
34+
Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001
3535
```
3636

3737
```output
38-
{{ Add output here (remove the output block if the example doesn't have an output) }}
38+
Name ResourceGroupName EdgeActionName
39+
---- ----------------- --------------
40+
version001 testps-rg-da16jm edgeaction001
41+
version002 testps-rg-da16jm edgeaction001
3942
```
4043

41-
{{ Add description here }}
44+
List all versions of the specified Edge Action
4245

43-
### Example 2: {{ Add title here }}
46+
### Example 2: Get a specific Edge Action Version by name
4447
```powershell
45-
{{ Add code here }}
48+
Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Name version001
4649
```
4750

4851
```output
49-
{{ Add output here (remove the output block if the example doesn't have an output) }}
52+
Name ResourceGroupName EdgeActionName
53+
---- ----------------- --------------
54+
version001 testps-rg-da16jm edgeaction001
5055
```
5156

52-
{{ Add description here }}
57+
Get a specific Edge Action Version by name
5358

5459
## PARAMETERS
5560

src/Cdn/Cdn.Autorest/docs/Get-AzCdnEdgeActionVersionCode.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,27 +69,18 @@ A long-running operation to get versioncode deployed to EdgeActionVersion resour
6969

7070
## EXAMPLES
7171

72-
### Example 1: {{ Add title here }}
72+
### Example 1: Get Edge Action Version Code
7373
```powershell
74-
{{ Add code here }}
74+
Get-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -VersionName version001
7575
```
7676

7777
```output
78-
{{ Add output here (remove the output block if the example doesn't have an output) }}
78+
Code ResourceGroupName EdgeActionName VersionName
79+
---- ----------------- -------------- -----------
80+
function handleRequest(request)... testps-rg-da16jm edgeaction001 version001
7981
```
8082

81-
{{ Add description here }}
82-
83-
### Example 2: {{ Add title here }}
84-
```powershell
85-
{{ Add code here }}
86-
```
87-
88-
```output
89-
{{ Add output here (remove the output block if the example doesn't have an output) }}
90-
```
91-
92-
{{ Add description here }}
83+
Get the source code for a specific Edge Action Version
9384

9485
## PARAMETERS
9586

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

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,18 @@ Create EdgeAction resource
3737

3838
## EXAMPLES
3939

40-
### Example 1: {{ Add title here }}
40+
### Example 1: Create a new Edge Action with Standard SKU
4141
```powershell
42-
{{ Add code here }}
42+
New-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -Name edgeaction001 -Location Global -SkuName Standard_AzureFrontDoor -SkuTier Standard
4343
```
4444

4545
```output
46-
{{ Add output here (remove the output block if the example doesn't have an output) }}
46+
Location Name Kind ResourceGroupName
47+
-------- ---- ---- -----------------
48+
Global edgeaction001 testps-rg-da16jm
4749
```
4850

49-
{{ Add description here }}
50-
51-
### Example 2: {{ Add title here }}
52-
```powershell
53-
{{ Add code here }}
54-
```
55-
56-
```output
57-
{{ Add output here (remove the output block if the example doesn't have an output) }}
58-
```
59-
60-
{{ Add description here }}
51+
Create a new Edge Action with Standard Azure Front Door SKU under the resource group
6152

6253
## PARAMETERS
6354

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

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,18 @@ Create EdgeActionExecutionFilter resource
4040

4141
## EXAMPLES
4242

43-
### Example 1: {{ Add title here }}
43+
### Example 1: Create a new Edge Action Execution Filter
4444
```powershell
45-
{{ Add code here }}
45+
New-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Name filter001
4646
```
4747

4848
```output
49-
{{ Add output here (remove the output block if the example doesn't have an output) }}
49+
Name ResourceGroupName EdgeActionName
50+
---- ----------------- --------------
51+
filter001 testps-rg-da16jm edgeaction001
5052
```
5153

52-
{{ Add description here }}
53-
54-
### Example 2: {{ Add title here }}
55-
```powershell
56-
{{ Add code here }}
57-
```
58-
59-
```output
60-
{{ Add output here (remove the output block if the example doesn't have an output) }}
61-
```
62-
63-
{{ Add description here }}
54+
Create a new Edge Action Execution Filter
6455

6556
## PARAMETERS
6657

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

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,18 @@ Create EdgeActionVersion version
3838

3939
## EXAMPLES
4040

41-
### Example 1: {{ Add title here }}
41+
### Example 1: Create a new Edge Action Version
4242
```powershell
43-
{{ Add code here }}
43+
New-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Name version001
4444
```
4545

4646
```output
47-
{{ Add output here (remove the output block if the example doesn't have an output) }}
47+
Name ResourceGroupName EdgeActionName
48+
---- ----------------- --------------
49+
version001 testps-rg-da16jm edgeaction001
4850
```
4951

50-
{{ Add description here }}
51-
52-
### Example 2: {{ Add title here }}
53-
```powershell
54-
{{ Add code here }}
55-
```
56-
57-
```output
58-
{{ Add output here (remove the output block if the example doesn't have an output) }}
59-
```
60-
61-
{{ Add description here }}
52+
Create a new Edge Action Version under the specified Edge Action
6253

6354
## PARAMETERS
6455

0 commit comments

Comments
 (0)