Skip to content

Commit 12b406b

Browse files
ChenglongLiuzhuofudeng
authored andcommitted
[CDN] 2022-11-01-preview (Azure#20979)
* Init 2022-11-01-preview * Fix check * Move Validate_Secret to profile * Add AFDProfiles_Upgrade * Update api version * Add msi support * Fix check issue * Fix check issue * Fix check * Fix check * Fix check * Fix check * Fix check * Merge from 2022-05-01 * Fix comments * Update description for waf * Update incorrect description * Update incorrect description * Fix comments * Fix PrettierCheck * Update * Add Type * Added negative caching setting into CacheConfiguration * Fix checker * Delete isNegativeCachingEnabled * Add headers for 202 * Format * Format * Add headers for 202 * Add headers for 202 * Add headers for 202 * Add scenarios * Add scenarios Co-authored-by: Zhuofu Deng <zhden@microsoft.com>
1 parent a1967bf commit 12b406b

File tree

118 files changed

+21481
-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.

118 files changed

+21481
-1
lines changed

specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/afdx.json

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

specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/cdn.json

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

specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/cdnwebapplicationfirewall.json

Lines changed: 977 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1",
8+
"customDomain": {
9+
"properties": {
10+
"hostName": "www.someDomain.net",
11+
"tlsSettings": {
12+
"certificateType": "ManagedCertificate",
13+
"minimumTlsVersion": "TLS12"
14+
},
15+
"azureDnsZone": {
16+
"id": ""
17+
}
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
25+
"name": "domain1",
26+
"type": "Microsoft.Cdn/profiles/customdomains",
27+
"properties": {
28+
"profileName": "profile1",
29+
"hostName": "www.contoso.com",
30+
"tlsSettings": {
31+
"certificateType": "ManagedCertificate",
32+
"minimumTlsVersion": "TLS12",
33+
"secret": {
34+
"id": ""
35+
}
36+
},
37+
"azureDnsZone": {
38+
"id": ""
39+
},
40+
"preValidatedCustomDomainResourceId": {
41+
"id": ""
42+
},
43+
"validationProperties": {
44+
"validationToken": "",
45+
"expirationDate": ""
46+
},
47+
"domainValidationState": "Submitting",
48+
"provisioningState": "Succeeded",
49+
"deploymentStatus": "NotStarted"
50+
}
51+
}
52+
},
53+
"201": {
54+
"body": {
55+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
56+
"name": "domain1",
57+
"type": "Microsoft.Cdn/profiles/customdomains",
58+
"properties": {
59+
"profileName": "profile1",
60+
"hostName": "www.contoso.com",
61+
"tlsSettings": {
62+
"certificateType": "ManagedCertificate",
63+
"minimumTlsVersion": "TLS12",
64+
"secret": {
65+
"id": ""
66+
}
67+
},
68+
"azureDnsZone": {
69+
"id": ""
70+
},
71+
"preValidatedCustomDomainResourceId": {
72+
"id": ""
73+
},
74+
"validationProperties": {
75+
"validationToken": "",
76+
"expirationDate": ""
77+
},
78+
"domainValidationState": "Submitting",
79+
"provisioningState": "Succeeded",
80+
"deploymentStatus": "NotStarted"
81+
}
82+
}
83+
},
84+
"202": {
85+
"headers": {
86+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-11-01-preview"
87+
},
88+
"body": {
89+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
90+
"name": "domain1",
91+
"type": "Microsoft.Cdn/profiles/customdomains",
92+
"properties": {
93+
"profileName": "profile1",
94+
"hostName": "www.contoso.com",
95+
"tlsSettings": {
96+
"certificateType": "ManagedCertificate",
97+
"minimumTlsVersion": "TLS12",
98+
"secret": {
99+
"id": ""
100+
}
101+
},
102+
"azureDnsZone": {
103+
"id": ""
104+
},
105+
"preValidatedCustomDomainResourceId": {
106+
"id": ""
107+
},
108+
"validationProperties": {
109+
"validationToken": "",
110+
"expirationDate": ""
111+
},
112+
"domainValidationState": "Submitting",
113+
"provisioningState": "Creating",
114+
"deploymentStatus": "NotStarted"
115+
}
116+
}
117+
}
118+
}
119+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "subid",
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=2022-11-01-preview"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "subid",
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+
"minimumTlsVersion": "TLS12",
21+
"secret": {
22+
"id": ""
23+
}
24+
},
25+
"azureDnsZone": {
26+
"id": ""
27+
},
28+
"preValidatedCustomDomainResourceId": {
29+
"id": ""
30+
},
31+
"validationProperties": {
32+
"validationToken": "8c9912db-c615-4eeb-8465",
33+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
34+
},
35+
"domainValidationState": "Pending",
36+
"provisioningState": "Updating",
37+
"deploymentStatus": "NotStarted"
38+
}
39+
}
40+
}
41+
}
42+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "subid",
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+
"minimumTlsVersion": "TLS12",
22+
"secret": {
23+
"id": ""
24+
}
25+
},
26+
"azureDnsZone": {
27+
"id": ""
28+
},
29+
"preValidatedCustomDomainResourceId": {
30+
"id": ""
31+
},
32+
"validationProperties": {
33+
"validationToken": "8c9912db-c615-4eeb-8465",
34+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
35+
},
36+
"domainValidationState": "Pending",
37+
"provisioningState": "Updating",
38+
"deploymentStatus": "NotStarted"
39+
}
40+
}
41+
]
42+
}
43+
}
44+
}
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "subid",
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=2022-11-01-preview"
14+
}
15+
}
16+
}
17+
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1",
8+
"customDomainUpdateProperties": {
9+
"properties": {
10+
"tlsSettings": {
11+
"certificateType": "CustomerCertificate",
12+
"minimumTlsVersion": "TLS12"
13+
},
14+
"azureDnsZone": {
15+
"id": ""
16+
}
17+
}
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {
23+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
24+
"name": "domain1",
25+
"type": "Microsoft.Cdn/profiles/customdomains",
26+
"properties": {
27+
"profileName": "profile1",
28+
"hostName": "www.contoso.com",
29+
"tlsSettings": {
30+
"certificateType": "ManagedCertificate",
31+
"minimumTlsVersion": "TLS12",
32+
"secret": {
33+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert"
34+
}
35+
},
36+
"azureDnsZone": {
37+
"id": ""
38+
},
39+
"preValidatedCustomDomainResourceId": {
40+
"id": ""
41+
},
42+
"validationProperties": {
43+
"validationToken": "8c9912db-c615-4eeb-8465",
44+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
45+
},
46+
"domainValidationState": "Approved",
47+
"provisioningState": "Updating",
48+
"deploymentStatus": "NotStarted"
49+
}
50+
}
51+
},
52+
"202": {
53+
"headers": {
54+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-11-01-preview"
55+
},
56+
"body": {
57+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1",
58+
"name": "domain1",
59+
"type": "Microsoft.Cdn/profiles/customdomains",
60+
"properties": {
61+
"profileName": "profile1",
62+
"hostName": "www.contoso.com",
63+
"tlsSettings": {
64+
"certificateType": "ManagedCertificate",
65+
"minimumTlsVersion": "TLS12",
66+
"secret": {
67+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert"
68+
}
69+
},
70+
"azureDnsZone": {
71+
"id": ""
72+
},
73+
"preValidatedCustomDomainResourceId": {
74+
"id": ""
75+
},
76+
"validationProperties": {
77+
"validationToken": "8c9912db-c615-4eeb-8465",
78+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
79+
},
80+
"domainValidationState": "Approved",
81+
"provisioningState": "Updating",
82+
"deploymentStatus": "NotStarted"
83+
}
84+
}
85+
}
86+
}
87+
}

0 commit comments

Comments
 (0)