Skip to content

Commit 6de8cb7

Browse files
Ptnan7Jingnan Xu
andauthored
CDN upgrade to version 0901 (Azure#27279)
Co-authored-by: Jingnan Xu <[email protected]>
1 parent d83a679 commit 6de8cb7

File tree

594 files changed

+31805
-18937
lines changed

Some content is hidden

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

594 files changed

+31805
-18937
lines changed

src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Cdn")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.3.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("3.3.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.3.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("3.3.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
27+

src/Cdn/Cdn.Autorest/README.md

Lines changed: 235 additions & 986 deletions
Large diffs are not rendered by default.

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-afdEndpoints-routes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/afdEndpoints/routes",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-afdEndpoints.json

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,10 @@
11
{
22
"resourceType": "profiles/afdEndpoints",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},
77
"commands": [
8-
{
9-
"name": "Clear-AzFrontDoorCdnEndpointContent",
10-
"description": "Removes a content from AzureFrontDoor.",
11-
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge",
12-
"help": {
13-
"learnMore": {
14-
"url": "https://learn.microsoft.com/powershell/module/az.cdn/clear-azfrontdoorcdnendpointcontent"
15-
},
16-
"parameterSets": [
17-
{
18-
"parameters": [
19-
"-EndpointName <String>",
20-
"-ProfileName <String>",
21-
"-ResourceGroupName <String>",
22-
"[-SubscriptionId <String>]"
23-
]
24-
}
25-
]
26-
},
27-
"examples": [
28-
{
29-
"description": "Removes a content from AzureFrontDoor.",
30-
"parameters": [
31-
{
32-
"name": "-EndpointName",
33-
"value": "[Path.endpointName]"
34-
},
35-
{
36-
"name": "-ProfileName",
37-
"value": "[Path.profileName]"
38-
},
39-
{
40-
"name": "-ResourceGroupName",
41-
"value": "[Path.resourceGroupName]"
42-
},
43-
{
44-
"name": "-SubscriptionId",
45-
"value": "[Path.subscriptionId]"
46-
}
47-
]
48-
}
49-
]
50-
},
518
{
529
"name": "Get-AzFrontDoorCdnEndpoint",
5310
"description": "Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.",

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-customDomains.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/customDomains",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-endpoints-customDomains.json

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/endpoints/customDomains",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},
@@ -53,54 +53,6 @@
5353
}
5454
]
5555
},
56-
{
57-
"name": "Enable-AzCdnCustomDomainCustomHttps",
58-
"description": "Enable https delivery of the custom domain.",
59-
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps",
60-
"help": {
61-
"learnMore": {
62-
"url": "https://learn.microsoft.com/powershell/module/az.cdn/enable-azcdncustomdomaincustomhttps"
63-
},
64-
"parameterSets": [
65-
{
66-
"parameters": [
67-
"-CustomDomainName <String>",
68-
"-EndpointName <String>",
69-
"-ProfileName <String>",
70-
"-ResourceGroupName <String>",
71-
"[-SubscriptionId <String>]"
72-
]
73-
}
74-
]
75-
},
76-
"examples": [
77-
{
78-
"description": "Enable https delivery of the custom domain.",
79-
"parameters": [
80-
{
81-
"name": "-CustomDomainName",
82-
"value": "[Path.customDomainName]"
83-
},
84-
{
85-
"name": "-EndpointName",
86-
"value": "[Path.endpointName]"
87-
},
88-
{
89-
"name": "-ProfileName",
90-
"value": "[Path.profileName]"
91-
},
92-
{
93-
"name": "-ResourceGroupName",
94-
"value": "[Path.resourceGroupName]"
95-
},
96-
{
97-
"name": "-SubscriptionId",
98-
"value": "[Path.subscriptionId]"
99-
}
100-
]
101-
}
102-
]
103-
},
10456
{
10557
"name": "Get-AzCdnCustomDomain",
10658
"description": "Gets an existing custom domain within an endpoint.",

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-endpoints-originGroups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/endpoints/originGroups",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-endpoints-origins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/endpoints/origins",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-endpoints.json

Lines changed: 1 addition & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,10 @@
11
{
22
"resourceType": "profiles/endpoints",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},
77
"commands": [
8-
{
9-
"name": "Clear-AzCdnEndpointContent",
10-
"description": "Removes a content from CDN.",
11-
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge",
12-
"help": {
13-
"learnMore": {
14-
"url": "https://learn.microsoft.com/powershell/module/az.cdn/clear-azcdnendpointcontent"
15-
},
16-
"parameterSets": [
17-
{
18-
"parameters": [
19-
"-EndpointName <String>",
20-
"-ProfileName <String>",
21-
"-ResourceGroupName <String>",
22-
"[-SubscriptionId <String>]"
23-
]
24-
}
25-
]
26-
},
27-
"examples": [
28-
{
29-
"description": "Removes a content from CDN.",
30-
"parameters": [
31-
{
32-
"name": "-EndpointName",
33-
"value": "[Path.endpointName]"
34-
},
35-
{
36-
"name": "-ProfileName",
37-
"value": "[Path.profileName]"
38-
},
39-
{
40-
"name": "-ResourceGroupName",
41-
"value": "[Path.resourceGroupName]"
42-
},
43-
{
44-
"name": "-SubscriptionId",
45-
"value": "[Path.subscriptionId]"
46-
}
47-
]
48-
}
49-
]
50-
},
518
{
529
"name": "Get-AzCdnEndpoint",
5310
"description": "Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.",
@@ -91,49 +48,6 @@
9148
}
9249
]
9350
},
94-
{
95-
"name": "Import-AzCdnEndpointContent",
96-
"description": "Pre-loads a content to CDN.\nAvailable for Verizon Profiles.",
97-
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load",
98-
"help": {
99-
"learnMore": {
100-
"url": "https://learn.microsoft.com/powershell/module/az.cdn/import-azcdnendpointcontent"
101-
},
102-
"parameterSets": [
103-
{
104-
"parameters": [
105-
"-EndpointName <String>",
106-
"-ProfileName <String>",
107-
"-ResourceGroupName <String>",
108-
"[-SubscriptionId <String>]"
109-
]
110-
}
111-
]
112-
},
113-
"examples": [
114-
{
115-
"description": "Pre-loads a content to CDN. Available for Verizon Profiles.",
116-
"parameters": [
117-
{
118-
"name": "-EndpointName",
119-
"value": "[Path.endpointName]"
120-
},
121-
{
122-
"name": "-ProfileName",
123-
"value": "[Path.profileName]"
124-
},
125-
{
126-
"name": "-ResourceGroupName",
127-
"value": "[Path.resourceGroupName]"
128-
},
129-
{
130-
"name": "-SubscriptionId",
131-
"value": "[Path.subscriptionId]"
132-
}
133-
]
134-
}
135-
]
136-
},
13751
{
13852
"name": "Remove-AzCdnEndpoint",
13953
"description": "Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.",

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-originGroups-origins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/originGroups/origins",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-originGroups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/originGroups",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-ruleSets-rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/ruleSets/rules",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-ruleSets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/ruleSets",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-secrets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/secrets",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},

src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/profiles-securityPolicies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "profiles/securityPolicies",
3-
"apiVersion": "2024-02-01",
3+
"apiVersion": "2024-09-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
66
},
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"resourceType": "profiles",
3+
"apiVersion": "2024-09-01",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
6+
},
7+
"commands": [
8+
{
9+
"name": "Invoke-AzCdnAbortProfileToAFDMigration",
10+
"description": "Abort the migration to Azure Frontdoor Premium/Standard.",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationAbort",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.cdn/invoke-azcdnabortprofiletoafdmigration"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-ProfileName <String>",
20+
"-ResourceGroupName <String>",
21+
"[-SubscriptionId <String>]"
22+
]
23+
}
24+
]
25+
},
26+
"examples": [
27+
{
28+
"description": "Abort the migration to Azure Frontdoor Premium/Standard.",
29+
"parameters": [
30+
{
31+
"name": "-ProfileName",
32+
"value": "[Path.profileName]"
33+
},
34+
{
35+
"name": "-ResourceGroupName",
36+
"value": "[Path.resourceGroupName]"
37+
},
38+
{
39+
"name": "-SubscriptionId",
40+
"value": "[Path.subscriptionId]"
41+
}
42+
]
43+
}
44+
]
45+
},
46+
{
47+
"name": "Test-AzCdnProfileMigrationCompatibility",
48+
"description": "Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.",
49+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnCanMigrateToAfd",
50+
"help": {
51+
"learnMore": {
52+
"url": "https://learn.microsoft.com/powershell/module/az.cdn/test-azcdnprofilemigrationcompatibility"
53+
},
54+
"parameterSets": [
55+
{
56+
"parameters": [
57+
"-ProfileName <String>",
58+
"-ResourceGroupName <String>",
59+
"[-SubscriptionId <String>]"
60+
]
61+
}
62+
]
63+
},
64+
"examples": [
65+
{
66+
"description": "Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.",
67+
"parameters": [
68+
{
69+
"name": "-ProfileName",
70+
"value": "[Path.profileName]"
71+
},
72+
{
73+
"name": "-ResourceGroupName",
74+
"value": "[Path.resourceGroupName]"
75+
},
76+
{
77+
"name": "-SubscriptionId",
78+
"value": "[Path.subscriptionId]"
79+
}
80+
]
81+
}
82+
]
83+
}
84+
]
85+
}

0 commit comments

Comments
 (0)