Skip to content

Commit 48453e0

Browse files
author
Jorin Mejia
committed
Adds base for updating Microsoft.Cdn from version stable/2020-09-01 to version 2021-06-01
1 parent 146cc17 commit 48453e0

File tree

111 files changed

+19042
-0
lines changed

Some content is hidden

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

111 files changed

+19042
-0
lines changed

specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/afdx.json

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

specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json

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

specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdnwebapplicationfirewall.json

Lines changed: 930 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-09-01",
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/domains/domain1",
25+
"name": "domain1",
26+
"type": "Microsoft.Cdn/Profiles/CustomDomains",
27+
"properties": {
28+
"hostName": "www.contoso.com",
29+
"tlsSettings": {
30+
"certificateType": "ManagedCertificate",
31+
"minimumTlsVersion": "TLS12",
32+
"secret": {
33+
"id": ""
34+
}
35+
},
36+
"azureDnsZone": {
37+
"id": ""
38+
},
39+
"validationProperties": {
40+
"validationToken": "",
41+
"expirationDate": ""
42+
},
43+
"domainValidationState": "Submitting",
44+
"provisioningState": "Updating",
45+
"deploymentStatus": "NotStarted"
46+
}
47+
}
48+
},
49+
"201": {
50+
"body": {
51+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1",
52+
"name": "domain1",
53+
"type": "Microsoft.Cdn/Profiles/CustomDomains",
54+
"properties": {
55+
"hostName": "www.contoso.com",
56+
"tlsSettings": {
57+
"certificateType": "ManagedCertificate",
58+
"minimumTlsVersion": "TLS12",
59+
"secret": {
60+
"id": ""
61+
}
62+
},
63+
"azureDnsZone": {
64+
"id": ""
65+
},
66+
"validationProperties": {
67+
"validationToken": "",
68+
"expirationDate": ""
69+
},
70+
"domainValidationState": "Submitting",
71+
"provisioningState": "Updating",
72+
"deploymentStatus": "NotStarted"
73+
}
74+
}
75+
},
76+
"202": {
77+
"body": {
78+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1",
79+
"name": "domain1",
80+
"type": "Microsoft.Cdn/Profiles/CustomDomains",
81+
"properties": {
82+
"hostName": "www.contoso.com",
83+
"tlsSettings": {
84+
"certificateType": "ManagedCertificate",
85+
"minimumTlsVersion": "TLS12",
86+
"secret": {
87+
"id": ""
88+
}
89+
},
90+
"azureDnsZone": {
91+
"id": ""
92+
},
93+
"validationProperties": {
94+
"validationToken": "",
95+
"expirationDate": ""
96+
},
97+
"domainValidationState": "Submitting",
98+
"provisioningState": "Updating",
99+
"deploymentStatus": "NotStarted"
100+
}
101+
}
102+
}
103+
}
104+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-09-01",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-09-01",
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/domains/domain1",
13+
"name": "domain1",
14+
"type": "Microsoft.Cdn/Profiles/CustomDomains",
15+
"properties": {
16+
"hostName": "www.contoso.com",
17+
"tlsSettings": {
18+
"certificateType": "ManagedCertificate",
19+
"minimumTlsVersion": "TLS12",
20+
"secret": {
21+
"id": ""
22+
}
23+
},
24+
"azureDnsZone": {
25+
"id": ""
26+
},
27+
"validationProperties": {
28+
"validationToken": "8c9912db-c615-4eeb-8465",
29+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
30+
},
31+
"domainValidationState": "Pending",
32+
"provisioningState": "Updating",
33+
"deploymentStatus": "NotStarted"
34+
}
35+
}
36+
}
37+
}
38+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-09-01",
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/domains/domain1",
14+
"name": "domain1",
15+
"type": "Microsoft.Cdn/Profiles/CustomDomains",
16+
"properties": {
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+
"validationProperties": {
29+
"validationToken": "8c9912db-c615-4eeb-8465",
30+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
31+
},
32+
"domainValidationState": "Pending",
33+
"provisioningState": "Updating",
34+
"deploymentStatus": "NotStarted"
35+
}
36+
}
37+
]
38+
}
39+
}
40+
}
41+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-09-01",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"customDomainName": "domain1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"token": "exampleValidationToken"
13+
}
14+
}
15+
}
16+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-09-01",
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/domains/domain1",
24+
"name": "domain1",
25+
"type": "Microsoft.Cdn/Profiles/CustomDomains",
26+
"properties": {
27+
"hostName": "www.contoso.com",
28+
"tlsSettings": {
29+
"certificateType": "ManagedCertificate",
30+
"minimumTlsVersion": "TLS12",
31+
"secret": {
32+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert"
33+
}
34+
},
35+
"azureDnsZone": {
36+
"id": ""
37+
},
38+
"validationProperties": {
39+
"validationToken": "8c9912db-c615-4eeb-8465",
40+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
41+
},
42+
"domainValidationState": "Approved",
43+
"provisioningState": "Updating",
44+
"deploymentStatus": "NotStarted"
45+
}
46+
}
47+
},
48+
"202": {
49+
"body": {
50+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1",
51+
"name": "domain1",
52+
"type": "Microsoft.Cdn/Profiles/CustomDomains",
53+
"properties": {
54+
"hostName": "www.contoso.com",
55+
"tlsSettings": {
56+
"certificateType": "ManagedCertificate",
57+
"minimumTlsVersion": "TLS12",
58+
"secret": {
59+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert"
60+
}
61+
},
62+
"azureDnsZone": {
63+
"id": ""
64+
},
65+
"validationProperties": {
66+
"validationToken": "8c9912db-c615-4eeb-8465",
67+
"expirationDate": "2009-06-15T13:45:43.0000000Z"
68+
},
69+
"domainValidationState": "Approved",
70+
"provisioningState": "Updating",
71+
"deploymentStatus": "NotStarted"
72+
}
73+
}
74+
}
75+
}
76+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-09-01",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "RG",
6+
"profileName": "profile1",
7+
"endpointName": "endpoint1",
8+
"endpoint": {
9+
"tags": {},
10+
"location": "CentralUs",
11+
"properties": {
12+
"originResponseTimeoutSeconds": 30,
13+
"enabledState": "Enabled"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"name": "endpoint1",
21+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1",
22+
"type": "Microsoft.Cdn/profiles/afdEndpoints",
23+
"tags": {},
24+
"location": "CentralUs",
25+
"properties": {
26+
"hostName": "endpoint1.azureedge.net",
27+
"originResponseTimeoutSeconds": 30,
28+
"enabledState": "Enabled",
29+
"provisioningState": "Succeeded",
30+
"deploymentStatus": "NotStarted"
31+
}
32+
}
33+
},
34+
"201": {
35+
"body": {
36+
"name": "endpoint1",
37+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1",
38+
"type": "Microsoft.Cdn/profiles/afdEndpoints",
39+
"tags": {},
40+
"location": "CentralUs",
41+
"properties": {
42+
"hostName": "endpoint1.azureedge.net",
43+
"originResponseTimeoutSeconds": 30,
44+
"enabledState": "Enabled",
45+
"provisioningState": "Creating",
46+
"deploymentStatus": "NotStarted"
47+
}
48+
}
49+
},
50+
"202": {
51+
"body": {
52+
"name": "endpoint1",
53+
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1",
54+
"type": "Microsoft.Cdn/profiles/afdEndpoints",
55+
"tags": {},
56+
"location": "CentralUs",
57+
"properties": {
58+
"hostName": "endpoint1.azureedge.net",
59+
"originResponseTimeoutSeconds": 30,
60+
"enabledState": "Enabled",
61+
"provisioningState": "Creating",
62+
"deploymentStatus": "NotStarted"
63+
}
64+
}
65+
}
66+
}
67+
}

0 commit comments

Comments
 (0)