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.
Add new api version 2024-06-01-preview for Microsoft.Cdn (Azure#29588)
* Copy 2024-05-01-preview swagger * update api version * Update readme.md * Update Afdx.json * Adding new HttpConnect resources for 2024-06-01-preview * Few changes to fix validation errors * Changes to example jsons to fix name parameters * Changes to example jsons to fix casing on parameters * Azure Pipelines / Swagger PrettierCheck * prettier check * Add Capacity based round-robin load balancing settings * Fix resourceName with regex patterns * Update afdx.json * Remove default so that the API becomes patchable * Update cdn.json from 2024-02-01 version * Update afdx.json * Cdn 2024 06 01 preview (#5) * Revert "Remove default so that the API becomes patchable" This reverts commit 5217599. * Revert "Add Capacity based round-robin load balancing settings" This reverts commit bd08ac0. --------- Co-authored-by: Anupam Srivastava <[email protected]> * Update afdx.json * Update DeploymentVersions_Compare.json * Remove rollback API * remove reference from other RP * Update frontdoorwebapplicationfirewall.json * copy definition * remove waf definition * Update cSpell.json --------- Co-authored-by: Barath Venugopal <[email protected]> Co-authored-by: Anupam Srivastava <[email protected]> Co-authored-by: Anupam Srivastava <[email protected]> Co-authored-by: Roopesh Manda <[email protected]>
- Loading branch information
1 parent
4405182
commit 3cef1bf
Showing
143 changed files
with
25,630 additions
and
0 deletions.
There are no files selected for viewing
8,234 changes: 8,234 additions & 0 deletions
8,234
specification/cdn/resource-manager/Microsoft.Cdn/preview/2024-06-01-preview/afdx.json
Large diffs are not rendered by default.
Oops, something went wrong.
7,421 changes: 7,421 additions & 0 deletions
7,421
specification/cdn/resource-manager/Microsoft.Cdn/preview/2024-06-01-preview/cdn.json
Large diffs are not rendered by default.
Oops, something went wrong.
977 changes: 977 additions & 0 deletions
977
.../resource-manager/Microsoft.Cdn/preview/2024-06-01-preview/cdnwebapplicationfirewall.json
Large diffs are not rendered by default.
Oops, something went wrong.
213 changes: 213 additions & 0 deletions
213
...ce-manager/Microsoft.Cdn/preview/2024-06-01-preview/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,213 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-06-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1", | ||
"customDomain": { | ||
"properties": { | ||
"hostName": "www.someDomain.net", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"cipherSuiteSetType": "Customized", | ||
"minimumTlsVersion": "TLS12", | ||
"customizedCipherSuiteSet": { | ||
"cipherSuiteSetForTls10": [], | ||
"cipherSuiteSetForTls12": [ | ||
"ECDHE_RSA_AES128_GCM_SHA256" | ||
], | ||
"cipherSuiteSetForTls13": [ | ||
"TLS_AES_128_GCM_SHA256", | ||
"TLS_AES_256_GCM_SHA384" | ||
] | ||
} | ||
}, | ||
"mtlsSettings": { | ||
"secrets": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2" | ||
} | ||
], | ||
"otherAllowedFqdn": [ | ||
"foo.contoso.com" | ||
] | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"cipherSuiteSetType": "Customized", | ||
"minimumTlsVersion": "TLS12", | ||
"customizedCipherSuiteSet": { | ||
"cipherSuiteSetForTls10": [], | ||
"cipherSuiteSetForTls12": [ | ||
"ECDHE_RSA_AES128_GCM_SHA256" | ||
], | ||
"cipherSuiteSetForTls13": [ | ||
"TLS_AES_128_GCM_SHA256", | ||
"TLS_AES_256_GCM_SHA384" | ||
] | ||
}, | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"mtlsSettings": { | ||
"secrets": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2" | ||
} | ||
], | ||
"otherAllowedFqdn": [ | ||
"foo.contoso.com" | ||
], | ||
"certificateValidation": "Enabled", | ||
"certificatePassthrough": "Disabled", | ||
"ocsp": "Enabled" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Succeeded", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"cipherSuiteSetType": "Customized", | ||
"minimumTlsVersion": "TLS12", | ||
"customizedCipherSuiteSet": { | ||
"cipherSuiteSetForTls10": [], | ||
"cipherSuiteSetForTls12": [ | ||
"ECDHE_RSA_AES128_GCM_SHA256" | ||
], | ||
"cipherSuiteSetForTls13": [ | ||
"TLS_AES_128_GCM_SHA256", | ||
"TLS_AES_256_GCM_SHA384" | ||
] | ||
}, | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"mtlsSettings": { | ||
"secrets": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2" | ||
} | ||
], | ||
"otherAllowedFqdn": [ | ||
"foo.contoso.com" | ||
], | ||
"certificateValidation": "Enabled", | ||
"certificatePassthrough": "Disabled", | ||
"ocsp": "Enabled" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Succeeded", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-06-01-preview" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"mtlsSettings": { | ||
"secrets": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2" | ||
} | ||
], | ||
"otherAllowedFqdn": [ | ||
"foo.contoso.com" | ||
], | ||
"certificateValidation": "Enabled", | ||
"certificatePassthrough": "Disabled", | ||
"ocsp": "Enabled" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Creating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ce-manager/Microsoft.Cdn/preview/2024-06-01-preview/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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-06-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-06-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...ource-manager/Microsoft.Cdn/preview/2024-06-01-preview/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,58 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-06-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"mtlsSettings": { | ||
"secrets": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2" | ||
} | ||
], | ||
"otherAllowedFqdn": [ | ||
"foo.contoso.com" | ||
], | ||
"certificateValidation": "Enabled", | ||
"certificatePassthrough": "Disabled", | ||
"ocsp": "Enabled" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Pending", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...ger/Microsoft.Cdn/preview/2024-06-01-preview/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,61 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-06-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"mtlsSettings": { | ||
"secrets": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name1" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/name2" | ||
} | ||
], | ||
"otherAllowedFqdn": [ | ||
"foo.contoso.com" | ||
], | ||
"certificateValidation": "Enabled", | ||
"certificatePassthrough": "Disabled", | ||
"ocsp": "Enabled" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Pending", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...soft.Cdn/preview/2024-06-01-preview/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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-06-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-06-01-preview" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.