Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger API for Azure CDN WebApplicationFirewallPolicy resource #5885

Merged
merged 119 commits into from
Jun 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
ecd1590
Create cdnwebapplicationfirewall.json
sushantsingh May 2, 2019
2e7fe09
Create CdnWafCreateOrUpdate
sushantsingh May 2, 2019
3da4bae
Create CdnWafListPolicies.json
sushantsingh May 2, 2019
4bf7e26
Create CdnWafPolicyGet.json
sushantsingh May 2, 2019
d6245b5
Update cdnwebapplicationfirewall.json
sushantsingh May 3, 2019
5d9d8ca
Create WafListManagedRuleSets.json
sushantsingh May 3, 2019
2dbd94a
Create WafListPolicies.json
sushantsingh May 3, 2019
7150826
Create WafPolicyGet.json
sushantsingh May 3, 2019
8388fbd
Update WafListPolicies.json
sushantsingh May 3, 2019
80407bb
Create WafPolicyCreateOrUpdate.json
sushantsingh May 3, 2019
d75df78
Create WafPolicyDelete.json
sushantsingh May 3, 2019
3184996
Delete CdnWafCreateOrUpdate
sushantsingh May 3, 2019
7f102c8
Delete CdnWafListPolicies.json
sushantsingh May 3, 2019
8690b45
Delete CdnWafPolicyGet.json
sushantsingh May 3, 2019
7921410
Create cdn.json
sushantsingh May 3, 2019
dc9d304
Create readme.md
sushantsingh May 6, 2019
cd64866
Update cdn.json
sushantsingh May 6, 2019
b60f419
Update cdnwebapplicationfirewall.json
sushantsingh May 6, 2019
a081271
Update cdn.json
sushantsingh May 6, 2019
7932ada
Update WafListManagedRuleSets.json
sushantsingh May 6, 2019
581f3f5
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
6f3d7d5
Create Endpoints_Create.json
sushantsingh May 7, 2019
c79203c
Update Endpoints_Get.json
sushantsingh May 7, 2019
308d627
Create Endpoints_Get.json
sushantsingh May 7, 2019
9184f2c
Update Endpoints_Get.json
sushantsingh May 7, 2019
fba9937
Create Endpoints_Update.json
sushantsingh May 7, 2019
2f22ee0
Update cdn.json
sushantsingh May 7, 2019
be55117
Added examples which shows default behaviour
sushantsingh May 7, 2019
74c5884
Update Endpoints_Get.json
sushantsingh May 7, 2019
6b539d9
Update Endpoints_Update.json
sushantsingh May 7, 2019
21e2b7d
Update Endpoints_ListByProfile.json
sushantsingh May 7, 2019
bd9c370
Update Endpoints_Start.json
sushantsingh May 7, 2019
830930f
Update Endpoints_Stop.json
sushantsingh May 7, 2019
c666460
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
4757e9d
Delete cdn.json
sushantsingh May 7, 2019
a637af9
Delete Endpoints_Create.json
sushantsingh May 7, 2019
7a66646
Delete Endpoints_Get.json
sushantsingh May 7, 2019
5f5c961
Delete Endpoints_Update.json
sushantsingh May 7, 2019
847f5af
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
d13c82e
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
cae1811
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
sushantsingh May 7, 2019
e660539
Update cdn.json
sushantsingh May 7, 2019
a212855
Update Endpoints_Get.json
sushantsingh May 7, 2019
a3a177d
Update Endpoints_Create.json
sushantsingh May 7, 2019
0ef3a9e
Update Endpoints_ListByProfile.json
sushantsingh May 7, 2019
30338a8
Update Endpoints_Update.json
sushantsingh May 7, 2019
417da13
Update Endpoints_Start.json
sushantsingh May 7, 2019
0589a07
Update Endpoints_Stop.json
sushantsingh May 7, 2019
3122aad
Update cdn.json
sushantsingh May 7, 2019
250bb74
Update Endpoints_Create.json
sushantsingh May 7, 2019
9a1fde5
Update Endpoints_Get.json
sushantsingh May 7, 2019
e380048
Update Endpoints_ListByProfile.json
sushantsingh May 7, 2019
bcc6f28
Update Endpoints_Start.json
sushantsingh May 7, 2019
b7bfb6c
Update Endpoints_Stop.json
sushantsingh May 7, 2019
69474b1
Update Endpoints_Update.json
sushantsingh May 7, 2019
01101a9
Update Endpoints_Create.json
sushantsingh May 7, 2019
4297c81
Update Endpoints_Create.json
sushantsingh May 7, 2019
d7d85d2
Update Endpoints_Create.json
sushantsingh May 7, 2019
6bc53f8
Update Endpoints_Create.json
sushantsingh May 7, 2019
c43173b
Update Endpoints_Create.json
sushantsingh May 7, 2019
b7244ac
Update Endpoints_Create.json
sushantsingh May 7, 2019
ec89d67
Update Endpoints_Create.json
sushantsingh May 7, 2019
cb8c1b4
Update Endpoints_Create.json
sushantsingh May 7, 2019
dbbf70f
Update Endpoints_Create.json
sushantsingh May 7, 2019
c3742e8
Update WafListPolicies.json
sushantsingh May 7, 2019
627bad3
Update WafListManagedRuleSets.json
sushantsingh May 7, 2019
84317bf
Update WafPolicyCreateOrUpdate.json
sushantsingh May 7, 2019
a2e9d14
Update WafPolicyGet.json
sushantsingh May 7, 2019
3580609
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
sushantsingh May 7, 2019
4ec7396
Merge branch 'master' of https://github.com/sushantsingh/azure-rest-a…
sushantsingh May 7, 2019
60fc948
Added new cdn version 2016-06-15
sushantsingh May 7, 2019
6d28d31
Update WafListPolicies.json
sushantsingh May 7, 2019
8d0c039
Update WafPolicyGet.json
sushantsingh May 7, 2019
9bc14c4
Delete readme.md
sushantsingh May 7, 2019
d3efa3b
Update readme.md
sushantsingh May 7, 2019
d7a08ec
Update readme.md
sushantsingh May 7, 2019
51ace3c
Fix model validation failures
sushantsingh May 7, 2019
5de83fd
Merge branch 'master' of https://github.com/sushantsingh/azure-rest-a…
sushantsingh May 7, 2019
e808e9a
Update readme.md
sushantsingh May 7, 2019
4a7c34e
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
94cdad5
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
4080a66
Update WafPolicyCreateOrUpdate.json
sushantsingh May 7, 2019
7726bae
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
3a292b1
Update cdnwebapplicationfirewall.json
sushantsingh May 7, 2019
74bfc0a
Update readme.go.md
sushantsingh May 7, 2019
4a0cf57
Update specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-…
nschonni May 8, 2019
e29a6bf
add int max mins where they make sense
sushantsingh May 10, 2019
cc24967
Update WafPolicyDelete.json
sushantsingh May 13, 2019
4ace384
Added Patch for tags
sushantsingh May 13, 2019
2826880
Provisioning state as enum
sushantsingh May 13, 2019
caffcd3
Add preview suffix to the version
sushantsingh May 13, 2019
82b97fe
Update readme.md
sushantsingh May 13, 2019
f276eb7
Update cdnwebapplicationfirewall.json
sushantsingh May 13, 2019
3b04931
Create WafPatchPolicy.json
sushantsingh May 13, 2019
b10ec86
Update cdnwebapplicationfirewall.json
sushantsingh May 13, 2019
daf3f6d
Moved everything to the preview version
sushantsingh May 14, 2019
9154934
Update readme.md
sushantsingh May 14, 2019
d558a13
Update WafPolicyCreateOrUpdate.json
sushantsingh Jun 4, 2019
5b4feb6
Update cdnwebapplicationfirewall.json
sushantsingh Jun 4, 2019
96af1ab
Update Profiles_Delete.json
sushantsingh Jun 4, 2019
bb65bef
Update Endpoints_Delete.json
sushantsingh Jun 4, 2019
e463e9d
Update Endpoints_PurgeContent.json
sushantsingh Jun 4, 2019
e6f9606
Update Endpoints_LoadContent.json
sushantsingh Jun 4, 2019
7aa468b
Update CustomDomains_Delete.json
sushantsingh Jun 4, 2019
066feb0
Update CustomDomains_DisableCustomHttps.json
sushantsingh Jun 4, 2019
dacefa8
Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
sushantsingh Jun 4, 2019
a5319ca
Update CustomDomains_EnableCustomHttpsUsingBYOC.json
sushantsingh Jun 4, 2019
6d78d65
Update cdnwebapplicationfirewall.json
sushantsingh Jun 4, 2019
e713af8
Update readme.go.md
sushantsingh Jun 4, 2019
7f720a7
Update cdnwebapplicationfirewall.json
sushantsingh Jun 4, 2019
ac2181c
Update cdnwebapplicationfirewall.json
sushantsingh Jun 6, 2019
16d265c
Update specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-…
sushantsingh Jun 10, 2019
6c9615b
Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
sushantsingh Jun 11, 2019
0579195
Update CustomDomains_EnableCustomHttpsUsingBYOC.json
sushantsingh Jun 11, 2019
04e7591
Update CustomDomains_EnableCustomHttpsUsingBYOC.json
sushantsingh Jun 11, 2019
9c85a11
Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
sushantsingh Jun 11, 2019
9a00552
Update CustomDomains_EnableCustomHttpsUsingBYOC.json
sushantsingh Jun 11, 2019
3e0379b
Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
sushantsingh Jun 11, 2019
53f9dec
Update specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-…
sushantsingh Jun 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"checkNameAvailabilityInput": {
"name": "sampleName",
"type": "Microsoft.Cdn/Profiles/Endpoints"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": false,
"reason": "Name is already in use",
"message": "Name not available"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"checkNameAvailabilityInput": {
"name": "sampleName",
"type": "Microsoft.Cdn/Profiles/Endpoints"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": false,
"reason": "Name is already in use",
"message": "Name not available"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"profileName": "profile1",
"endpointName": "endpoint1",
"customDomainName": "www-someDomain-net",
"customDomainProperties": {
"properties": {
"hostName": "www.someDomain.net"
}
}
},
"responses": {
"200": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": null
}
}
},
"201": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": null
}
}
},
"202": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"profileName": "profile1",
"endpointName": "endpoint1",
"customDomainName": "www-someDomain-net"
},
"responses": {
"200": {},
"202": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": null
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"profileName": "profile1",
"endpointName": "endpoint1",
"customDomainName": "www-someDomain-net"
},
"responses": {
"200": {},
"202": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"profileName": "profile1",
"endpointName": "endpoint1",
"customDomainName": "www-someDomain-net",
"customDomainHttpsParameters": {
"certificateSource": "AzureKeyVault",
"protocolType": "ServerNameIndication",
"certificateSourceParameters": {
"@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters",
"subscriptionId":"subid",
"resourceGroupName":"RG",
"vaultName":"kv",
"secretName" : "secret1",
"secretVersion" :"00000000-0000-0000-0000-000000000000",
"updateRule": "NoAction",
"deleteRule": "NoAction"
}
}
},
"responses": {
"200": {},
"202": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": "validationdata"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"profileName": "profile1",
"endpointName": "endpoint1",
"customDomainName": "www-someDomain-net",
"customDomainHttpsParameters": {
"certificateSource": "Cdn",
"protocolType": "ServerNameIndication",
"certificateSourceParameters": {
"@odata.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters",
"certificateType":"Shared"
}
}
},
"responses": {
"200": {},
"202": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": "validationdata"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"profileName": "profile1",
"endpointName": "endpoint1",
"customDomainName": "www-someDomain-net"
},
"responses": {
"200": {
"body": {
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Disabled",
"customHttpsProvisioningSubstate": "None",
"validationData": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"profileName": "profile1",
"endpointName": "endpoint1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Disabled",
"customHttpsProvisioningSubstate": "None",
"validationData": null
}
}
]
}
}
}
}
Loading