forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding AFDX swagger and its examples (Azure#11655)
* Adding AFDX swagger and its examples * fix examples and added odata back * added readme and fixed small sematic problems * fix log analytics * updates * updates * updates * updates * updates * updates * updates * UPDATES * add secret version back * lint errors 1 * lint error 2 * lint 3 * lint 4 * updates * spell check * add origingroupoverrideaction * address comments * fixes * updates * remove ruleset update * updates Co-authored-by: Shirley Jiang <[email protected]>
- Loading branch information
1 parent
5ab4e52
commit 5060d03
Showing
112 changed files
with
18,697 additions
and
0 deletions.
There are no files selected for viewing
5,573 changes: 5,573 additions & 0 deletions
5,573
specification/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/afdx.json
Large diffs are not rendered by default.
Oops, something went wrong.
5,648 changes: 5,648 additions & 0 deletions
5,648
specification/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/cdn.json
Large diffs are not rendered by default.
Oops, something went wrong.
926 changes: 926 additions & 0 deletions
926
...ation/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/cdnwebapplicationfirewall.json
Large diffs are not rendered by default.
Oops, something went wrong.
77 changes: 77 additions & 0 deletions
77
...dn/resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDCustomDomains_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1", | ||
"customDomain": { | ||
"properties": { | ||
"hostName": "www.someDomain.net", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/Profiles/CustomDomains", | ||
"properties": { | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/Profiles/CustomDomains", | ||
"properties": { | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...dn/resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDCustomDomains_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...n/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDCustomDomains_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/Profiles/CustomDomains", | ||
"properties": { | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Pending", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...urce-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDCustomDomains_ListByProfile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/Profiles/CustomDomains", | ||
"properties": { | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Pending", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ger/Microsoft.Cdn/stable/2020-09-01/examples/AFDCustomDomains_RefreshValidationToken.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"token": "exampleValidationToken" | ||
} | ||
} | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
...dn/resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDCustomDomains_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1", | ||
"customDomainUpdateProperties": { | ||
"properties": { | ||
"tlsSettings": { | ||
"certificateType": "CustomerCertificate", | ||
"minimumTlsVersion": "TLS12" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/Profiles/CustomDomains", | ||
"properties": { | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Approved", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/domains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/Profiles/CustomDomains", | ||
"properties": { | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Approved", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...on/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDEndpoints_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"endpointName": "endpoint1", | ||
"endpoint": { | ||
"tags": {}, | ||
"location": "CentralUs", | ||
"properties": { | ||
"originResponseTimeoutSeconds": 30, | ||
"enabledState": "Enabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "endpoint1", | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1", | ||
"type": "Microsoft.Cdn/profiles/afdEndpoints", | ||
"tags": {}, | ||
"location": "CentralUs", | ||
"properties": { | ||
"hostName": "endpoint1.azureedge.net", | ||
"originResponseTimeoutSeconds": 30, | ||
"enabledState": "Enabled", | ||
"provisioningState": "Succeeded", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "endpoint1", | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1", | ||
"type": "Microsoft.Cdn/profiles/afdEndpoints", | ||
"tags": {}, | ||
"location": "CentralUs", | ||
"properties": { | ||
"hostName": "endpoint1.azureedge.net", | ||
"originResponseTimeoutSeconds": 30, | ||
"enabledState": "Enabled", | ||
"provisioningState": "Creating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...on/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDEndpoints_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"endpointName": "endpoint1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ation/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDEndpoints_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"endpointName": "endpoint1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "endpoint1", | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdendpoints/endpoint1", | ||
"type": "Microsoft.Cdn/profiles/afdendpoints", | ||
"tags": {}, | ||
"location": "CentralUs", | ||
"properties": { | ||
"hostName": "endpoint1.azureedge.net", | ||
"originResponseTimeoutSeconds": 30, | ||
"enabledState": "Enabled", | ||
"provisioningState": "Succeeded", | ||
"deploymentStatus": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...resource-manager/Microsoft.Cdn/stable/2020-09-01/examples/AFDEndpoints_ListByProfile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "endpoint1", | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdendpoints/endpoint1", | ||
"type": "Microsoft.Cdn/profiles/afdendpoints", | ||
"tags": {}, | ||
"location": "CentralUs", | ||
"properties": { | ||
"hostName": "endpoint1.azureedge.net", | ||
"originResponseTimeoutSeconds": 30, | ||
"enabledState": "Enabled", | ||
"provisioningState": "Succeeded", | ||
"deploymentStatus": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.