Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
48453e0
Adds base for updating Microsoft.Cdn from version stable/2020-09-01 t…
Apr 27, 2021
a5bc095
Updates readme
Apr 27, 2021
2058943
Updates API version in new specs and examples
Apr 27, 2021
8c78746
Update CODEOWNERS file (#1)
Apr 27, 2021
3b872bf
add forwardingProtocol to OriginGroupOverride (#2)
yunheMsft Apr 27, 2021
83e157a
Cache Behavior and Case Transform (#3)
yunheMsft Apr 30, 2021
a971b22
Swagger changes for enabling certname check and onboarding prevalidat…
May 4, 2021
3ece038
Fixing formatting - Swagger changes for enabling certname check and o…
May 4, 2021
6f2b7c1
Merge pull request #4 from jorinmejia/sinadell/cdn-swagger-2021-06-01
sinadell May 4, 2021
76caff4
Correct input and output types of checkHostNameAvailability API
jessicl-ms Jun 3, 2021
a3c1497
Set CA and SAN to readonly
jessicl-ms Jun 4, 2021
8858728
Update ValidateSecretInput to include SecretVersion
jessicl-ms Jun 8, 2021
0bce9ef
Nit fix grammar
jessicl-ms Jun 9, 2021
b5152a9
Swagger changes to move originResponseTimeoutSeconds property from af…
Jun 21, 2021
c46f241
Remove redundant fields and mark certificate properties readonly
jessicl-ms Jun 21, 2021
99b8da4
Reoganize parameters and update descriptions
jessicl-ms Jun 22, 2021
22252b8
Update examples
jessicl-ms Jun 22, 2021
23c969d
Merge pull request #9 from jorinmejia/sinadell/cdn-swagger-2021-06-01
sinadell Jun 23, 2021
2a114f6
Fix typos and expand abbhreviations
jessicl-ms Jun 24, 2021
ee99558
Fix more typo
jessicl-ms Jun 24, 2021
7f33725
Merge pull request #7 from jorinmejia/jessicl/swagger-updates-secret-…
jessicl-ms Jun 24, 2021
401a9a1
Update odatatype (#10)
ChenglongLiu Jul 20, 2021
49b72e3
Change country to countryOrRegion to avoid political concern accordin…
t-bzhan Jul 21, 2021
7424889
Yunhe/cdn 2021 06 01 (#8)
yunheMsft Jul 23, 2021
d6eddf6
server variable (#11)
yunheMsft Jul 27, 2021
f0e88bf
Revert "server variable (#11)" (#16)
yunheMsft Nov 3, 2021
b0ca278
[Azure CDN] Add missing customHttpsParameters field in CustomDomainPr…
t-bzhan Nov 3, 2021
ab7341d
Swagger changes for adding secret type AzureFirstpartyManaged certifi…
sinadell Nov 4, 2021
2f1a9cb
Fix multiple S360 correctness issues related to CDN (#17)
t-bzhan Nov 4, 2021
ff31bd3
Product Backlog Item 12546459: [AFDX][CDN][RP][SWAGGER] refreshValida…
jessicl-ms Nov 9, 2021
9678c74
Product Backlog Item 12546473: [AFDX][CDN][RP][SWAGGER] domainValidat…
jessicl-ms Nov 9, 2021
ce27548
Make description more readible
jessicl-ms Nov 11, 2021
f20ff05
Merge pull request #18 from jorinmejia/jessicl/doamin-afdx-swagger-fixes
jessicl-ms Nov 11, 2021
9ca9ec6
added transform values to all api versions (#19)
yunheMsft Nov 11, 2021
5a3cac1
Product Backlog Item 12546377: [AFDX][CDN][RP][SWAGGER] Add CustomDom…
jessicl-ms Nov 12, 2021
b7ef25e
Fixing operations api swagger (#21)
sinadell Nov 16, 2021
500d2ce
Change route and security policy to use ActivatedResourceReference fo…
rrahulms Nov 19, 2021
05282f7
Add ActivatedResourceReference support
rrahulms Nov 19, 2021
b53ee49
Merge pull request #22 from rrahulms/patch-3
rrahulms Nov 20, 2021
ea66f1d
2021-06-01 ARM & SDK Fixes (#23)
Nov 23, 2021
46e4c53
Fix merge conflicts (#24)
Nov 24, 2021
43e84f3
Merge branch 'main' into jomejia/cdn-api-2021-06-01
Nov 24, 2021
f34e2d2
fix bug (#25)
yunheMsft Nov 29, 2021
3d0db56
Update codeowners, add read only field, add profileName to SecurityPo…
aijemoj Nov 29, 2021
8b7e3d3
Merge Main Branch from Azure REST Specs (#26)
Nov 29, 2021
42cff95
Merge remote-tracking branch 'origin/cdn-swagger-2021-06-01' into jom…
aijemoj Nov 29, 2021
fd63de0
Add accurate descriptions for fields and update examples
aijemoj Dec 1, 2021
02d26d7
Update Descriptions (#27)
Dec 1, 2021
93f383b
Merge remote-tracking branch 'origin/cdn-swagger-2021-06-01' into jom…
aijemoj Dec 1, 2021
60f2135
Lint diff fix #1
aijemoj Dec 2, 2021
acb701d
Lint diff fix 2
aijemoj Dec 2, 2021
297ea20
Fixes for examples, wording, response codes
aijemoj Dec 2, 2021
33aa2bf
Run prettier on json files, fix responses
aijemoj Dec 2, 2021
9a261ce
Add definition for CheckHostNameAvailabilityInput, update example
aijemoj Dec 3, 2021
5903904
Remove patch call for secrets and examples
aijemoj Dec 3, 2021
cea16aa
Change name in x-ms-enum
aijemoj Dec 3, 2021
244809f
Add azure async opertion header, remove LRO from PUT rulesets
aijemoj Dec 3, 2021
454361c
Add azure async operation header to 202 responses
aijemoj Dec 4, 2021
45f179b
Update log analytics examples
aijemoj Dec 4, 2021
1a96a3e
Add descriptions for each SKU
aijemoj Dec 7, 2021
2af28f8
Yunhe/server variable (#28)
yunheMsft Dec 7, 2021
7d43d89
Add object type to conditions
aijemoj Dec 7, 2021
aebcbab
Add transforms for RemoteAddress
aijemoj Dec 7, 2021
05e9a70
Update CheckHostNameAvailability examples
aijemoj Dec 8, 2021
97c8f9f
Remove 202 response from PUT operations on RuleSets
aijemoj Dec 8, 2021
2e26484
Remove 202 response from Rules_Create.json
aijemoj Dec 9, 2021
d195673
Add 202 response to rules, remove 202 response from RuleSets_Create.json
aijemoj Dec 9, 2021
99bc188
Run prettier
aijemoj Dec 10, 2021
382b62a
Remove breaking change enum & move ActivatedResourceReference to afdx…
aijemoj Dec 17, 2021
78809b0
Adding managed identity to profile object. (#29)
ajbrown821 Dec 17, 2021
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
Prev Previous commit
Next Next commit
Yunhe/cdn 2021 06 01 (#8)
* add forwardingProtocol to OriginGroupOverride

* added new cache behavior attributes and case transform enum values

* update cache behavior

* update route and route configuration override rule swagger definition

* update

* made changes to route and rule to remove EnableCache filed. To disable cache, leave CacheConfiguration to null.

* add cache duration to route

* update routeConfigOverride action

* update route and action

* update action swagger

* update swagger spec

* update examples

* update comments

* updated examples
  • Loading branch information
yunheMsft authored Jul 23, 2021
commit 742488957188d9f9c1b11ab4f60b52d82489cf44
Original file line number Diff line number Diff line change
Expand Up @@ -2243,6 +2243,9 @@
"200": {
"description": "Delete successful."
},
"202": {
"description": "Accepted"
},
"204": {
"description": "No Content. The request has been accepted but the rule set was not found."
},
Expand Down Expand Up @@ -4034,13 +4037,13 @@
"description": "Customer Certificate used for https",
"allOf": [
{
"$ref": "#/definitions/Certificate",
"$ref": "#/definitions/Certificate"
}
],
"properties": {
"secretSource": {
"description": "Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​",
"$ref": "./cdn.json#/definitions/ResourceReference",
"$ref": "./cdn.json#/definitions/ResourceReference"
},
"secretVersion": {
"description": "Certificate version.",
Expand Down Expand Up @@ -5057,14 +5060,10 @@
"description": "A route pattern of the rule. Must not have any * except possibly after the final / at the end of the path."
}
},
"enableCache": {
"description": "A boolean field for enable or disable cache. If enableCache is true, cacheConfiguration cannot be null.",
"type": "boolean"
},
"cacheConfiguration": {
"description": "The caching configuration for this route.",
"description": "The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object.",
"type": "object",
"$ref": "./cdn.json#/definitions/CacheConfiguration"
"$ref": "#/definitions/CacheConfiguration"
},
"forwardingProtocol": {
"description": "Protocol this rule will use when forwarding traffic to backends.",
Expand Down Expand Up @@ -5117,6 +5116,37 @@
}
}
},
"CacheConfiguration": {
"description": "Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.",
"type": "object",
"properties": {
"queryStringCachingBehavior": {
"description": "Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings.",
"enum": [
"IgnoreQueryString",
"UseQueryString",
"IgnoreSpecifiedQueryStrings",
"IncludeSpecifiedQueryStrings"
],
"type": "string",
"x-ms-enum": {
"name": "afdQueryStringCachingBehavior",
"modelAsString": true
}
},
"queryParameters": {
"description": "query parameters to include or exclude (comma separated).",
"type": "string"
},
"compressionSettings": {
"description": "compression settings.",
"type": "object",
"items": {
"$ref": "#/definitions/CompressionSettings"
}
}
}
},
"RuleListResult": {
"description": "Result of the request to list rules. It contains a list of rule objects and a URL link to get the next set of results.",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3779,13 +3779,13 @@
"enum": [
"CacheExpiration",
"CacheKeyQueryString",
"ModifyCacheConfiguration",
"ModifyRequestHeader",
"ModifyResponseHeader",
"UrlRedirect",
"UrlRewrite",
"UrlSigning",
"OriginGroupOverride"
"OriginGroupOverride",
"RouteConfigurationOverride"
],
"x-ms-enum": {
"name": "DeliveryRuleAction",
Expand Down Expand Up @@ -3981,19 +3981,6 @@
"description": "defines the OriginGroup that would override the DefaultOriginGroup.",
"type": "object",
"$ref": "#/definitions/ResourceReference"
},
"forwardingProtocol": {
"description": "Protocol this rule will use when forwarding traffic to backends.",
"type": "object",
"enum": [
"HttpOnly",
"HttpsOnly",
"MatchRequest"
],
"x-ms-enum": {
"name": "ForwardingProtocol",
"modelAsString": true
}
}
}
},
Expand Down Expand Up @@ -4231,9 +4218,9 @@
}
}
},
"DeliveryRuleCacheConfigurationAction": {
"description": "Defines the cache configuration action for the delivery rule. Only applicable to AFDX - need to update this later",
"x-ms-discriminator-value": "ModifyCacheConfiguration",
"DeliveryRuleRouteConfigurationOverrideAction": {
"description": "Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles.",
"x-ms-discriminator-value": "RouteConfigurationOverride",
"allOf": [
{
"$ref": "#/definitions/DeliveryRuleAction"
Expand All @@ -4245,12 +4232,12 @@
"properties": {
"parameters": {
"description": "Defines the parameters for the action.",
"$ref": "#/definitions/CacheConfigurationActionParameters"
"$ref": "#/definitions/RouteConfigurationOverrideActionParameters"
}
}
},
"CacheConfigurationActionParameters": {
"description": "Defines the parameters for the cache configuration action. To disable caching, do not provide a cacheConfiguration object.",
"RouteConfigurationOverrideActionParameters": {
"description": "Defines the parameters for the route configuration override action.",
"required": [
"typeName"
],
Expand All @@ -4261,38 +4248,75 @@
"DeliveryRuleCacheConfigurationActionParameters"
]
},
"enableCache": {
"description": "A boolean field for enable or disable cache. If enableCache is true, cacheConfiguration cannot be null.",
"type": "boolean"
"originGroupOverride": {
"description": "A reference to the origin group override configuration. Leave empty to use the default origin group on route.",
"type": "object",
"$ref": "#/definitions/OriginGroupOverride"
},
"cacheConfiguration": {
"description": "The caching configuration associated with this rule.",
"description": "The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object.",
"type": "object",
"$ref": "#/definitions/CacheConfiguration"
}
}
},
"OriginGroupOverride": {
"description": "Defines the parameters for the origin group override configuration.",
"properties": {
"originGroup": {
"description": "defines the OriginGroup that would override the DefaultOriginGroup on route.",
"type": "object",
"$ref": "#/definitions/ResourceReference"
},
"forwardingProtocol": {
"description": "Protocol this rule will use when forwarding traffic to backends.",
"type": "object",
"enum": [
"HttpOnly",
"HttpsOnly",
"MatchRequest"
],
"x-ms-enum": {
"name": "ForwardingProtocol",
"modelAsString": true
}
}
}
},
"CacheConfiguration": {
"description": "Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.",
"type": "object",
"properties": {
"queryStringCachingBehavior": {
"description": "Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.",
"description": "Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings.",
"enum": [
"IgnoreQueryStrings",
"CacheEveryUniqueUrl",
"IgnoreQueryString",
"UseQueryString",
"IgnoreSpecifiedQueryStrings",
"IncludeSpecifiedQueryStrings"
],
"type": "string",
"x-ms-enum": {
"name": "afdQueryStringCachingBehavior",
"name": "ruleQueryStringCachingBehavior",
"modelAsString": true
}
},
"queryParameters": {
"description": "query parameters to include or exclude (comma separated).",
"type": "string"
},
"IsCompressionEnabled": {
"description": "Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.",
"type": "string",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "ruleIsCompressionEnabled",
"modelAsString": true
}
},
"cacheBehavior": {
"description": "Caching behavior for the requests",
"type": "string",
Expand All @@ -4302,31 +4326,14 @@
"OverrideIfOriginMissing"
],
"x-ms-enum": {
"name": "cacheBehavior",
"name": "ruleCacheBehavior",
"modelAsString": true
}
},
"cacheDuration": {
"description": "The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss",
"type": "string",
"format": "duration"
},
"compressionSettings": {
"description": "settings for compression.",
"type": "object",
"properties": {
"contentTypesToCompress": {
"description": "List of content types on which compression applies. The value should be a valid MIME type.",
"type": "array",
"items": {
"type": "string"
}
},
"isCompressionEnabled": {
"description": "Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.",
"type": "boolean"
}
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@
"patternsToMatch": [
"/*"
],
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
"cacheConfiguration":{
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
},
"queryStringCachingBehavior": "IgnoreSpecifiedQueryStrings",
"queryParameters": "querystring=test"
},
"queryStringCachingBehavior": "IgnoreQueryString",
"forwardingProtocol": "MatchRequest",
"linkToDefaultDomain": "Enabled",
"httpsRedirect": "Enabled",
Expand Down Expand Up @@ -72,14 +75,17 @@
"patternsToMatch": [
"/*"
],
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
"cacheConfiguration":{
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
},
"queryStringCachingBehavior": "IgnoreSpecifiedQueryStrings",
"queryParameters": "querystring=test"
},
"queryStringCachingBehavior": "IgnoreQueryString",
"forwardingProtocol": "MatchRequest",
"linkToDefaultDomain": "Enabled",
"httpsRedirect": "Enabled",
Expand Down Expand Up @@ -116,19 +122,22 @@
"patternsToMatch": [
"/*"
],
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
"cacheConfiguration":{
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
},
"queryStringCachingBehavior": "IgnoreSpecifiedQueryStrings",
"queryParameters": "querystring=test"
},
"queryStringCachingBehavior": "IgnoreQueryString",
"forwardingProtocol": "MatchRequest",
"linkToDefaultDomain": "Enabled",
"httpsRedirect": "Enabled",
"enabledState": "Enabled",
"provisioningState": "Creating",
"provisioningState": "Succeeded",
"deploymentStatus": "NotStarted"
}
}
Expand Down Expand Up @@ -160,14 +169,17 @@
"patternsToMatch": [
"/*"
],
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
"cacheConfiguration":{
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
},
"queryStringCachingBehavior": "IgnoreSpecifiedQueryStrings",
"queryParameters": "querystring=test"
},
"queryStringCachingBehavior": "IgnoreQueryString",
"forwardingProtocol": "MatchRequest",
"linkToDefaultDomain": "Enabled",
"httpsRedirect": "Enabled",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@
"patternsToMatch": [
"/*"
],
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
"cacheConfiguration":{
"compressionSettings": {
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
],
"isCompressionEnabled": true
},
"queryStringCachingBehavior": "IgnoreQueryString",
"queryParameters": null
},
"queryStringCachingBehavior": "IgnoreQueryString",
"forwardingProtocol": "MatchRequest",
"linkToDefaultDomain": "Enabled",
"httpsRedirect": "Enabled",
Expand Down
Loading