Skip to content

Commit fdaa209

Browse files
jessicl-msv-xuto
andauthored
Add new 2025-07-01-preview API version to Microsoft.Cdn for mTLS Public Preview (#36750)
* Start from latest stable 2025-06-01 * Use new API version 2025-07-01-preview * Add scenario based mTLS API * 2025-07-01-preview to readme.md * Update example files * Use parameters * Revert "Use parameters" This reverts commit 751cf25. * Add suppression * Add descriptions for each 'scenario' enum * Fix typo * Make suppression more specific * Just specify filename in suppression * Add line number * Use original suppression * Update descriptions for MtlsScenarioType and relevant properties * Add where clause to suppression * Use [3] * Scope to patch * Use line number instead * Use 'allowedFQDNs * Add/Fix regex to allowedFqdns items * Try another suppression where clause * revert to suppression by line number * Refactor folder * Add suppressions for preexisting API spec causing LintDiff errors --------- Co-authored-by: v-xuto <[email protected]>
1 parent 0d8336c commit fdaa209

File tree

123 files changed

+23634
-1
lines changed

Some content is hidden

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

123 files changed

+23634
-1
lines changed

specification/cdn/resource-manager/Microsoft.Cdn/Cdn/preview/2025-07-01-preview/afdx.json

Lines changed: 6398 additions & 0 deletions
Large diffs are not rendered by default.

specification/cdn/resource-manager/Microsoft.Cdn/Cdn/preview/2025-07-01-preview/cdn.json

Lines changed: 7339 additions & 0 deletions
Large diffs are not rendered by default.

specification/cdn/resource-manager/Microsoft.Cdn/Cdn/preview/2025-07-01-preview/cdnwebapplicationfirewall.json

Lines changed: 952 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-07-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1",
8+
"customDomain": {
9+
"properties": {
10+
"hostName": "www.someDomain.net",
11+
"tlsSettings": {
12+
"certificateType": "ManagedCertificate",
13+
"cipherSuiteSetType": "Customized",
14+
"minimumTlsVersion": "TLS12",
15+
"customizedCipherSuiteSet": {
16+
"cipherSuiteSetForTls12": [
17+
"ECDHE_RSA_AES128_GCM_SHA256"
18+
],
19+
"cipherSuiteSetForTls13": [
20+
"TLS_AES_128_GCM_SHA256",
21+
"TLS_AES_256_GCM_SHA384"
22+
]
23+
}
24+
},
25+
"mtlsSettings": {
26+
"scenario": "ClientCertificateRequiredAndValidated",
27+
"secrets": [
28+
{
29+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1"
30+
},
31+
{
32+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2"
33+
}
34+
],
35+
"allowedFqdns": [
36+
"foo.contoso.com"
37+
]
38+
},
39+
"azureDnsZone": {
40+
"id": ""
41+
}
42+
}
43+
}
44+
},
45+
"responses": {
46+
"200": {
47+
"body": {
48+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
49+
"name": "domain1",
50+
"type": "Microsoft.Cdn/profiles/customdomains",
51+
"properties": {
52+
"profileName": "profile1",
53+
"hostName": "www.contoso.com",
54+
"tlsSettings": {
55+
"certificateType": "ManagedCertificate",
56+
"cipherSuiteSetType": "Customized",
57+
"minimumTlsVersion": "TLS12",
58+
"customizedCipherSuiteSet": {
59+
"cipherSuiteSetForTls12": [
60+
"ECDHE_RSA_AES128_GCM_SHA256"
61+
],
62+
"cipherSuiteSetForTls13": [
63+
"TLS_AES_128_GCM_SHA256",
64+
"TLS_AES_256_GCM_SHA384"
65+
]
66+
},
67+
"secret": {
68+
"id": ""
69+
}
70+
},
71+
"mtlsSettings": {
72+
"scenario": "ClientCertificateRequiredAndValidated",
73+
"secrets": [
74+
{
75+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1"
76+
},
77+
{
78+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2"
79+
}
80+
],
81+
"allowedFqdns": [
82+
"foo.contoso.com"
83+
],
84+
"certificateRevocationCheck": "Enabled"
85+
},
86+
"azureDnsZone": {
87+
"id": ""
88+
},
89+
"preValidatedCustomDomainResourceId": {
90+
"id": ""
91+
},
92+
"validationProperties": {
93+
"validationToken": "",
94+
"expirationDate": ""
95+
},
96+
"domainValidationState": "Submitting",
97+
"provisioningState": "Succeeded",
98+
"deploymentStatus": "NotStarted"
99+
}
100+
}
101+
},
102+
"201": {
103+
"body": {
104+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
105+
"name": "domain1",
106+
"type": "Microsoft.Cdn/profiles/customdomains",
107+
"properties": {
108+
"profileName": "profile1",
109+
"hostName": "www.contoso.com",
110+
"tlsSettings": {
111+
"certificateType": "ManagedCertificate",
112+
"cipherSuiteSetType": "Customized",
113+
"minimumTlsVersion": "TLS12",
114+
"customizedCipherSuiteSet": {
115+
"cipherSuiteSetForTls12": [
116+
"ECDHE_RSA_AES128_GCM_SHA256"
117+
],
118+
"cipherSuiteSetForTls13": [
119+
"TLS_AES_128_GCM_SHA256",
120+
"TLS_AES_256_GCM_SHA384"
121+
]
122+
},
123+
"secret": {
124+
"id": ""
125+
}
126+
},
127+
"mtlsSettings": {
128+
"scenario": "ClientCertificateRequiredAndValidated",
129+
"secrets": [
130+
{
131+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1"
132+
},
133+
{
134+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2"
135+
}
136+
],
137+
"allowedFqdns": [
138+
"foo.contoso.com"
139+
],
140+
"certificateRevocationCheck": "Enabled"
141+
},
142+
"azureDnsZone": {
143+
"id": ""
144+
},
145+
"preValidatedCustomDomainResourceId": {
146+
"id": ""
147+
},
148+
"validationProperties": {
149+
"validationToken": "",
150+
"expirationDate": ""
151+
},
152+
"domainValidationState": "Submitting",
153+
"provisioningState": "Succeeded",
154+
"deploymentStatus": "NotStarted"
155+
}
156+
}
157+
},
158+
"202": {
159+
"headers": {
160+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2025-07-01-preview"
161+
},
162+
"body": {
163+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
164+
"name": "domain1",
165+
"type": "Microsoft.Cdn/profiles/customdomains",
166+
"properties": {
167+
"profileName": "profile1",
168+
"hostName": "www.contoso.com",
169+
"tlsSettings": {
170+
"certificateType": "ManagedCertificate",
171+
"cipherSuiteSetType": "Customized",
172+
"minimumTlsVersion": "TLS12",
173+
"customizedCipherSuiteSet": {
174+
"cipherSuiteSetForTls12": [
175+
"ECDHE_RSA_AES128_GCM_SHA256"
176+
],
177+
"cipherSuiteSetForTls13": [
178+
"TLS_AES_128_GCM_SHA256",
179+
"TLS_AES_256_GCM_SHA384"
180+
]
181+
},
182+
"secret": {
183+
"id": ""
184+
}
185+
},
186+
"mtlsSettings": {
187+
"scenario": "ClientCertificateRequiredAndValidated",
188+
"secrets": [
189+
{
190+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1"
191+
},
192+
{
193+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2"
194+
}
195+
],
196+
"allowedFqdns": [
197+
"foo.contoso.com"
198+
],
199+
"certificateRevocationCheck": "Enabled"
200+
},
201+
"azureDnsZone": {
202+
"id": ""
203+
},
204+
"preValidatedCustomDomainResourceId": {
205+
"id": ""
206+
},
207+
"validationProperties": {
208+
"validationToken": "",
209+
"expirationDate": ""
210+
},
211+
"domainValidationState": "Submitting",
212+
"provisioningState": "Creating",
213+
"deploymentStatus": "NotStarted"
214+
}
215+
}
216+
}
217+
}
218+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-07-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {
12+
"headers": {
13+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2025-07-01-preview"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-07-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
13+
"name": "domain1",
14+
"type": "Microsoft.Cdn/profiles/customdomains",
15+
"properties": {
16+
"profileName": "profile1",
17+
"hostName": "www.contoso.com",
18+
"tlsSettings": {
19+
"certificateType": "ManagedCertificate",
20+
"cipherSuiteSetType": "Customized",
21+
"minimumTlsVersion": "TLS12",
22+
"customizedCipherSuiteSet": {
23+
"cipherSuiteSetForTls12": [
24+
"ECDHE_RSA_AES128_GCM_SHA256"
25+
],
26+
"cipherSuiteSetForTls13": [
27+
"TLS_AES_128_GCM_SHA256",
28+
"TLS_AES_256_GCM_SHA384"
29+
]
30+
},
31+
"secret": {
32+
"id": ""
33+
}
34+
},
35+
"mtlsSettings": {
36+
"scenario": "CompleteMtlsPassthroughToOrigin"
37+
},
38+
"azureDnsZone": {
39+
"id": ""
40+
},
41+
"preValidatedCustomDomainResourceId": {
42+
"id": ""
43+
},
44+
"validationProperties": {
45+
"validationToken": "8c9912db-c615-4eeb-8465",
46+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
47+
},
48+
"domainValidationState": "Pending",
49+
"provisioningState": "Updating",
50+
"deploymentStatus": "NotStarted"
51+
}
52+
}
53+
}
54+
}
55+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-07-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
14+
"name": "domain1",
15+
"type": "Microsoft.Cdn/profiles/customdomains",
16+
"properties": {
17+
"profileName": "profile1",
18+
"hostName": "www.contoso.com",
19+
"tlsSettings": {
20+
"certificateType": "ManagedCertificate",
21+
"cipherSuiteSetType": "Customized",
22+
"minimumTlsVersion": "TLS12",
23+
"customizedCipherSuiteSet": {
24+
"cipherSuiteSetForTls12": [
25+
"ECDHE_RSA_AES128_GCM_SHA256"
26+
],
27+
"cipherSuiteSetForTls13": [
28+
"TLS_AES_128_GCM_SHA256",
29+
"TLS_AES_256_GCM_SHA384"
30+
]
31+
},
32+
"secret": {
33+
"id": ""
34+
}
35+
},
36+
"mtlsSettings": {
37+
"scenario": "ClientCertificateRequiredAndOriginValidates"
38+
},
39+
"azureDnsZone": {
40+
"id": ""
41+
},
42+
"preValidatedCustomDomainResourceId": {
43+
"id": ""
44+
},
45+
"validationProperties": {
46+
"validationToken": "8c9912db-c615-4eeb-8465",
47+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
48+
},
49+
"domainValidationState": "Pending",
50+
"provisioningState": "Updating",
51+
"deploymentStatus": "NotStarted"
52+
}
53+
}
54+
]
55+
}
56+
}
57+
}
58+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-07-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {
12+
"headers": {
13+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2025-07-01-preview"
14+
}
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)