Skip to content

Commit

Permalink
Add new api version 2024-06-01-preview for Microsoft.Cdn (Azure#29588)
Browse files Browse the repository at this point in the history
* 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
5 people authored Aug 10, 2024
1 parent 4405182 commit 3cef1bf
Show file tree
Hide file tree
Showing 143 changed files with 25,630 additions and 0 deletions.

Large diffs are not rendered by default.

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,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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 3cef1bf

Please sign in to comment.