Skip to content

Commit

Permalink
[CDN] 2022-11-01-preview (Azure#20979)
Browse files Browse the repository at this point in the history
* Init 2022-11-01-preview

* Fix check

* Move Validate_Secret to profile

* Add AFDProfiles_Upgrade

* Update api version

* Add msi support

* Fix check issue

* Fix check issue

* Fix check

* Fix check

* Fix check

* Fix check

* Fix check

* Merge from 2022-05-01

* Fix comments

* Update description for waf

* Update incorrect description

* Update incorrect description

* Fix comments

* Fix PrettierCheck

* Update

* Add Type

* Added negative caching setting into CacheConfiguration

* Fix checker

* Delete isNegativeCachingEnabled

* Add headers for 202

* Format

* Format

* Add headers for 202

* Add headers for 202

* Add headers for 202

* Add scenarios

* Add scenarios

Co-authored-by: Zhuofu Deng <[email protected]>
  • Loading branch information
2 people authored and anandanthony committed Dec 16, 2022
1 parent ab8d1ca commit 063f8e6
Show file tree
Hide file tree
Showing 118 changed files with 21,481 additions and 1 deletion.

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,119 @@
{
"parameters": {
"api-version": "2022-11-01-preview",
"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/customdomains/domain1",
"name": "domain1",
"type": "Microsoft.Cdn/profiles/customdomains",
"properties": {
"profileName": "profile1",
"hostName": "www.contoso.com",
"tlsSettings": {
"certificateType": "ManagedCertificate",
"minimumTlsVersion": "TLS12",
"secret": {
"id": ""
}
},
"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",
"minimumTlsVersion": "TLS12",
"secret": {
"id": ""
}
},
"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=2022-11-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": ""
}
},
"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": "2022-11-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=2022-11-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2022-11-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": ""
}
},
"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,45 @@
{
"parameters": {
"api-version": "2022-11-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": ""
}
},
"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": "2022-11-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=2022-11-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"parameters": {
"api-version": "2022-11-01-preview",
"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/customdomains/domain1",
"name": "domain1",
"type": "Microsoft.Cdn/profiles/customdomains",
"properties": {
"profileName": "profile1",
"hostName": "www.contoso.com",
"tlsSettings": {
"certificateType": "ManagedCertificate",
"minimumTlsVersion": "TLS12",
"secret": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert"
}
},
"azureDnsZone": {
"id": ""
},
"preValidatedCustomDomainResourceId": {
"id": ""
},
"validationProperties": {
"validationToken": "8c9912db-c615-4eeb-8465",
"expirationDate": "2009-06-15T13:45:43.0000000Z"
},
"domainValidationState": "Approved",
"provisioningState": "Updating",
"deploymentStatus": "NotStarted"
}
}
},
"202": {
"headers": {
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-11-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": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert"
}
},
"azureDnsZone": {
"id": ""
},
"preValidatedCustomDomainResourceId": {
"id": ""
},
"validationProperties": {
"validationToken": "8c9912db-c615-4eeb-8465",
"expirationDate": "2009-06-15T13:45:43.0000000Z"
},
"domainValidationState": "Approved",
"provisioningState": "Updating",
"deploymentStatus": "NotStarted"
}
}
}
}
}
Loading

0 comments on commit 063f8e6

Please sign in to comment.