Rules - Get
Lekéri egy meglévő kézbesítési szabályt egy szabálykészleten belül.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}?api-version=2025-04-15
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
profile
|
path | True |
string minLength: 1maxLength: 260 pattern: ^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$ |
Az Azure Front Door Standard vagy az Azure Front Door Premium neve, amely egyedi az erőforráscsoporton belül. |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
Az Azure-előfizetés erőforráscsoportjának neve. |
rule
|
path | True |
string |
A végponton belül egyedi kézbesítési szabály neve. |
rule
|
path | True |
string |
A profil alatt beállított szabály neve. |
subscription
|
path | True |
string |
Azure-előfizetés azonosítója. |
api-version
|
query | True |
string |
Az ügyfélkéréshez használandó API verziója. A jelenlegi verzió: 2025-04-15. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
OKÉ |
|
Other Status Codes |
Az Azure Front Door hibaválasza, amely leírja, hogy miért nem sikerült a művelet. |
Biztonság
azure_auth
Azure Active Directory OAuth2 Flow.
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
Name | Description |
---|---|
user_impersonation | a felhasználói fiók megszemélyesítése |
Példák
Rules_Get
Mintakérelem
GET https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/ruleSets/ruleSet1/rules/rule1?api-version=2025-04-15
Mintaválasz
{
"name": "rule1",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/rulesets/ruleSet1/rules/rule1",
"type": "Microsoft.Cdn/profiles/rulesets/rules",
"properties": {
"order": 1,
"conditions": [
{
"name": "RequestMethod",
"parameters": {
"typeName": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
],
"negateCondition": false,
"transforms": []
}
}
],
"actions": [
{
"name": "ModifyResponseHeader",
"parameters": {
"typeName": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
}
}
],
"matchProcessingBehavior": "Continue",
"provisioningState": "Succeeded",
"deploymentStatus": "NotStarted"
}
}
Definíciók
Name | Description |
---|---|
Afd |
Hibaválasz |
Afd |
Kiépítés állapota |
algorithm |
Algorithm to use for URL signing |
cache |
Caching behavior for the requests |
Cache |
Gyorsítótárazási típusú útvonalak gyorsítótárazási beállításai. To disable caching, do not provide a cacheConfiguration object. |
Cache |
Meghatározza a gyorsítótár lejárati műveletének paramétereit. |
Cache |
Meghatározza a gyorsítótárkulcsú lekérdezési sztring művelet paramétereit. |
Cache |
The level at which the content needs to be cached. |
Client |
A ClientPort egyeztetési feltételeinek paramétereit határozza meg |
Client |
Describes operator to be matched |
Cookies |
Meghatározza a cookie-k feltételeinek megfelelő paramétereket |
Cookies |
Describes operator to be matched |
Delivery |
Meghatározza a kézbesítési szabály gyorsítótár-lejárati műveletét. |
Delivery |
Meghatározza a kézbesítési szabály gyorsítótárkulcsú lekérdezési sztringjének műveletét. |
Delivery |
Meghatározza a kézbesítési szabály ClientPort feltételét. |
Delivery |
Meghatározza a kézbesítési szabály cookie-kondícióit. |
Delivery |
Meghatározza a kézbesítési szabály HostName feltételét. |
Delivery |
Meghatározza a kézbesítési szabály HttpVersion-feltételét. |
Delivery |
Meghatározza a kézbesítési szabály IsDevice feltételét. |
Delivery |
Meghatározza a kézbesítési szabály PostArgs feltételét. |
Delivery |
Meghatározza a kézbesítési szabály QueryString feltételét. |
Delivery |
Meghatározza a kézbesítési szabály RemoteAddress feltételét. |
Delivery |
Meghatározza a kézbesítési szabály RequestBody feltételét. |
Delivery |
Meghatározza a kézbesítési szabály kérésfejléc-műveletét. |
Delivery |
Meghatározza a kézbesítési szabály RequestHeader feltételét. |
Delivery |
Meghatározza a kézbesítési szabály RequestMethod feltételét. |
Delivery |
Meghatározza a kézbesítési szabály RequestScheme feltételét. |
Delivery |
Meghatározza a kézbesítési szabály RequestUri feltételét. |
Delivery |
Meghatározza a kézbesítési szabály válaszfejléc-műveletét. |
Delivery |
Meghatározza a kézbesítési szabály útvonalkonfiguráció-felülbírálási műveletét. Csak a Frontdoor Standard/Premium profilokra vonatkozik. |
Delivery |
Meghatározza a kézbesítési szabály ServerPort feltételét. |
Delivery |
Meghatározza a kézbesítési szabály SocketAddress feltételét. |
Delivery |
Meghatározza a kézbesítési szabály SslProtocol-feltételét. |
Delivery |
Meghatározza a kézbesítési szabály UrlFileExtension feltételét. |
Delivery |
Meghatározza a kézbesítési szabály UrlFileName feltételét. |
Delivery |
Meghatározza a kézbesítési szabály UrlPath-feltételét. |
Deployment |
|
Destination |
Protocol to use for the redirect. The default value is MatchRequest |
Error |
Az erőforrás-kezelési hiba további információi. |
Error |
A hiba részletei. |
Forwarding |
Protocol this rule will use when forwarding traffic to backends. |
Header |
Action to perform |
Header |
Meghatározza a kérelemfejléc-művelet paramétereit. |
Host |
A HostName egyezés feltételeinek paramétereit határozza meg |
Host |
Describes operator to be matched |
Http |
Meghatározza a HttpVersion-egyezési feltételek paramétereit |
Http |
Describes operator to be matched |
Identity |
Az erőforrásokat létrehozó/módosító identitás típusa |
Is |
Meghatározza az IsDevice egyezés feltételeinek paramétereit |
Is |
The match value for the condition of the delivery rule |
Is |
Describes operator to be matched |
Match |
If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. |
Origin |
Meghatározza a forráscsoport felülbírálási konfigurációjának paramétereit. |
Origin |
Meghatározza a kézbesítési szabály forráscsoport-felülbírálási műveletét. |
Origin |
Meghatározza a forráscsoport felülbírálási műveletének paramétereit. |
param |
Indicates the purpose of the parameter |
Post |
Meghatározza a PostArgs feltételeinek megfelelő paramétereket |
Post |
Describes operator to be matched |
query |
Caching behavior for the requests |
Query |
Meghatározza a QueryString egyezés feltételeinek paramétereit |
Query |
Describes operator to be matched |
Redirect |
The redirect type the rule will use when redirecting traffic. |
Remote |
A RemoteAddress egyezés feltételeinek paramétereit határozza meg |
Remote |
Describes operator to be matched |
Request |
A RequestBody egyeztetési feltételeinek paramétereit határozza meg |
Request |
Describes operator to be matched |
Request |
A RequestHeader egyezési feltételeinek paramétereit határozza meg |
Request |
Describes operator to be matched |
Request |
Meghatározza a RequestMethod-egyezés feltételeinek paramétereit |
Request |
The match value for the condition of the delivery rule |
Request |
Describes operator to be matched |
Request |
Meghatározza a RequestScheme egyezés feltételeinek paramétereit |
Request |
The match value for the condition of the delivery rule |
Request |
Meghatározza a RequestUri-egyezési feltételek paramétereit |
Request |
Describes operator to be matched |
Resource |
Hivatkozás egy másik erőforrásra. |
Route |
Meghatározza az útvonalkonfiguráció felülbírálási műveletének paramétereit. |
Rule |
A szabályok felhasználóbarát neve megfeleltethető bármely szabályhoz vagy titkos kódhoz kapcsolódó információhoz. |
rule |
Caching behavior for the requests |
rule |
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. |
rule |
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. |
Server |
A ServerPort egyeztetési feltételeinek paramétereit határozza meg |
Server |
Describes operator to be matched |
Socket |
A SocketAddress egyeztetési feltételeinek paramétereit határozza meg |
Socket |
Describes operator to be matched |
Ssl |
A létrehozott TLS-kapcsolat protokollja. |
Ssl |
Az SslProtocol-egyezési feltételek paramétereinek meghatározása |
Ssl |
Describes operator to be matched |
System |
Csak olvasási rendszeradatok |
transform |
A megfeleltetés előtt alkalmazott átalakítások ismertetése |
Url |
Meghatározza az UrlFileExtension egyezés feltételeinek paramétereit |
Url |
Describes operator to be matched |
Url |
Meghatározza az UrlFilename egyezés feltételeinek paramétereit |
Url |
Describes operator to be matched |
Url |
Meghatározza az UrlPath-egyezési feltételek paramétereit |
Url |
Describes operator to be matched |
Url |
Meghatározza a kézbesítési szabály URL-átirányítási műveletét. |
Url |
Meghatározza az URL-átirányítási művelet paramétereit. |
Url |
Meghatározza a kézbesítési szabály URL-átírási műveletét. |
Url |
Meghatározza az URL-átírási művelet paramétereit. |
Url |
Meghatározza a kézbesítési szabály URL-aláírási műveletét. |
Url |
Meghatározza az URL-aláírási művelet paramétereit. |
Url |
Meghatározza, hogyan lehet azonosítani egy paramétert egy adott célra, például lejár |
AfdErrorResponse
Hibaválasz
Name | Típus | Description |
---|---|---|
error |
A hibaobjektum. |
AfdProvisioningState
Kiépítés állapota
Érték | Description |
---|---|
Creating | |
Deleting | |
Failed | |
Succeeded | |
Updating |
algorithm
Algorithm to use for URL signing
Érték | Description |
---|---|
SHA256 |
cacheBehavior
Caching behavior for the requests
Érték | Description |
---|---|
BypassCache | |
Override | |
SetIfMissing |
CacheConfiguration
Gyorsítótárazási típusú útvonalak gyorsítótárazási beállításai. To disable caching, do not provide a cacheConfiguration object.
Name | Típus | Description |
---|---|---|
cacheBehavior |
Caching behavior for the requests |
|
cacheDuration |
string |
The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss |
isCompressionEnabled |
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. |
|
queryParameters |
string |
query parameters to include or exclude (comma separated). |
queryStringCachingBehavior |
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. |
CacheExpirationActionParameters
Meghatározza a gyorsítótár lejárati műveletének paramétereit.
Name | Típus | Description |
---|---|---|
cacheBehavior |
Caching behavior for the requests |
|
cacheDuration |
string |
The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss |
cacheType |
The level at which the content needs to be cached. |
|
typeName |
string:
Delivery |
CacheKeyQueryStringActionParameters
Meghatározza a gyorsítótárkulcsú lekérdezési sztring művelet paramétereit.
Name | Típus | Description |
---|---|---|
queryParameters |
string |
query parameters to include or exclude (comma separated). |
queryStringBehavior |
Caching behavior for the requests |
|
typeName |
string:
Delivery |
CacheType
The level at which the content needs to be cached.
Érték | Description |
---|---|
All |
ClientPortMatchConditionParameters
A ClientPort egyeztetési feltételeinek paramétereit határozza meg
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
ClientPortOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
CookiesMatchConditionParameters
Meghatározza a cookie-k feltételeinek megfelelő paramétereket
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
selector |
string |
Name of Cookies to be matched |
|
transforms |
List of transforms |
||
typeName |
string:
Delivery |
CookiesOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
DeliveryRuleCacheExpirationAction
Meghatározza a kézbesítési szabály gyorsítótár-lejárati műveletét.
Name | Típus | Description |
---|---|---|
name |
string:
Cache |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
DeliveryRuleCacheKeyQueryStringAction
Meghatározza a kézbesítési szabály gyorsítótárkulcsú lekérdezési sztringjének műveletét.
Name | Típus | Description |
---|---|---|
name |
string:
Cache |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
DeliveryRuleClientPortCondition
Meghatározza a kézbesítési szabály ClientPort feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Client |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleCookiesCondition
Meghatározza a kézbesítési szabály cookie-kondícióit.
Name | Típus | Description |
---|---|---|
name |
string:
Cookies |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleHostNameCondition
Meghatározza a kézbesítési szabály HostName feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Host |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleHttpVersionCondition
Meghatározza a kézbesítési szabály HttpVersion-feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Http |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleIsDeviceCondition
Meghatározza a kézbesítési szabály IsDevice feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Is |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRulePostArgsCondition
Meghatározza a kézbesítési szabály PostArgs feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Post |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleQueryStringCondition
Meghatározza a kézbesítési szabály QueryString feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Query |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleRemoteAddressCondition
Meghatározza a kézbesítési szabály RemoteAddress feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Remote |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleRequestBodyCondition
Meghatározza a kézbesítési szabály RequestBody feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Request |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleRequestHeaderAction
Meghatározza a kézbesítési szabály kérésfejléc-műveletét.
Name | Típus | Description |
---|---|---|
name |
string:
Modify |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
DeliveryRuleRequestHeaderCondition
Meghatározza a kézbesítési szabály RequestHeader feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Request |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleRequestMethodCondition
Meghatározza a kézbesítési szabály RequestMethod feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Request |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleRequestSchemeCondition
Meghatározza a kézbesítési szabály RequestScheme feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Request |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleRequestUriCondition
Meghatározza a kézbesítési szabály RequestUri feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Request |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleResponseHeaderAction
Meghatározza a kézbesítési szabály válaszfejléc-műveletét.
Name | Típus | Description |
---|---|---|
name |
string:
Modify |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
DeliveryRuleRouteConfigurationOverrideAction
Meghatározza a kézbesítési szabály útvonalkonfiguráció-felülbírálási műveletét. Csak a Frontdoor Standard/Premium profilokra vonatkozik.
Name | Típus | Description |
---|---|---|
name |
string:
Route |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
DeliveryRuleServerPortCondition
Meghatározza a kézbesítési szabály ServerPort feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Server |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleSocketAddrCondition
Meghatározza a kézbesítési szabály SocketAddress feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Socket |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleSslProtocolCondition
Meghatározza a kézbesítési szabály SslProtocol-feltételét.
Name | Típus | Description |
---|---|---|
name | string: |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleUrlFileExtensionCondition
Meghatározza a kézbesítési szabály UrlFileExtension feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Url |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleUrlFileNameCondition
Meghatározza a kézbesítési szabály UrlFileName feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Url |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeliveryRuleUrlPathCondition
Meghatározza a kézbesítési szabály UrlPath-feltételét.
Name | Típus | Description |
---|---|---|
name |
string:
Url |
The name of the condition for the delivery rule. |
parameters |
Defines the parameters for the condition. |
DeploymentStatus
Érték | Description |
---|---|
Failed | |
InProgress | |
NotStarted | |
Succeeded |
DestinationProtocol
Protocol to use for the redirect. The default value is MatchRequest
Érték | Description |
---|---|
Http | |
Https | |
MatchRequest |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
Name | Típus | Description |
---|---|---|
info |
object |
A további információk. |
type |
string |
A további információtípus. |
ErrorDetail
A hiba részletei.
Name | Típus | Description |
---|---|---|
additionalInfo |
A hiba további információi. |
|
code |
string |
A hibakód. |
details |
A hiba részletei. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hibacél. |
ForwardingProtocol
Protocol this rule will use when forwarding traffic to backends.
Érték | Description |
---|---|
HttpOnly | |
HttpsOnly | |
MatchRequest |
HeaderAction
Action to perform
Érték | Description |
---|---|
Append | |
Delete | |
Overwrite |
HeaderActionParameters
Meghatározza a kérelemfejléc-művelet paramétereit.
Name | Típus | Description |
---|---|---|
headerAction |
Action to perform |
|
headerName |
string |
Name of the header to modify |
typeName |
string:
Delivery |
|
value |
string |
Value for the specified action |
HostNameMatchConditionParameters
A HostName egyezés feltételeinek paramétereit határozza meg
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
HostNameOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
HttpVersionMatchConditionParameters
Meghatározza a HttpVersion-egyezési feltételek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
HttpVersionOperator
Describes operator to be matched
Érték | Description |
---|---|
Equal |
IdentityType
Az erőforrásokat létrehozó/módosító identitás típusa
Érték | Description |
---|---|
application | |
key | |
managedIdentity | |
user |
IsDeviceMatchConditionParameters
Meghatározza az IsDevice egyezés feltételeinek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
The match value for the condition of the delivery rule |
||
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
IsDeviceMatchValue
The match value for the condition of the delivery rule
Érték | Description |
---|---|
Desktop | |
Mobile |
IsDeviceOperator
Describes operator to be matched
Érték | Description |
---|---|
Equal |
MatchProcessingBehavior
If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
Érték | Description |
---|---|
Continue | |
Stop |
OriginGroupOverride
Meghatározza a forráscsoport felülbírálási konfigurációjának paramétereit.
Name | Típus | Description |
---|---|---|
forwardingProtocol |
Protocol this rule will use when forwarding traffic to backends. |
|
originGroup |
defines the OriginGroup that would override the DefaultOriginGroup on route. |
OriginGroupOverrideAction
Meghatározza a kézbesítési szabály forráscsoport-felülbírálási műveletét.
Name | Típus | Description |
---|---|---|
name | string: |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
OriginGroupOverrideActionParameters
Meghatározza a forráscsoport felülbírálási műveletének paramétereit.
Name | Típus | Description |
---|---|---|
originGroup |
defines the OriginGroup that would override the DefaultOriginGroup. |
|
typeName |
string:
Delivery |
paramIndicator
Indicates the purpose of the parameter
Érték | Description |
---|---|
Expires | |
KeyId | |
Signature |
PostArgsMatchConditionParameters
Meghatározza a PostArgs feltételeinek megfelelő paramétereket
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
selector |
string |
Name of PostArg to be matched |
|
transforms |
List of transforms |
||
typeName |
string:
Delivery |
PostArgsOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
queryStringBehavior
Caching behavior for the requests
Érték | Description |
---|---|
Exclude | |
ExcludeAll | |
Include | |
IncludeAll |
QueryStringMatchConditionParameters
Meghatározza a QueryString egyezés feltételeinek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
QueryStringOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
RedirectType
The redirect type the rule will use when redirecting traffic.
Érték | Description |
---|---|
Found | |
Moved | |
PermanentRedirect | |
TemporaryRedirect |
RemoteAddressMatchConditionParameters
A RemoteAddress egyezés feltételeinek paramétereit határozza meg
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
RemoteAddressOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
GeoMatch | |
IPMatch |
RequestBodyMatchConditionParameters
A RequestBody egyeztetési feltételeinek paramétereit határozza meg
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
RequestBodyOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
RequestHeaderMatchConditionParameters
A RequestHeader egyezési feltételeinek paramétereit határozza meg
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
selector |
string |
Name of Header to be matched |
|
transforms |
List of transforms |
||
typeName |
string:
Delivery |
RequestHeaderOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
RequestMethodMatchConditionParameters
Meghatározza a RequestMethod-egyezés feltételeinek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
The match value for the condition of the delivery rule |
||
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
RequestMethodMatchValue
The match value for the condition of the delivery rule
Érték | Description |
---|---|
DELETE | |
GET | |
HEAD | |
OPTIONS | |
POST | |
PUT | |
TRACE |
RequestMethodOperator
Describes operator to be matched
Érték | Description |
---|---|
Equal |
RequestSchemeMatchConditionParameters
Meghatározza a RequestScheme egyezés feltételeinek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
The match value for the condition of the delivery rule |
||
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
enum:
Equal |
Describes operator to be matched |
|
transforms |
List of transforms |
||
typeName |
string:
Delivery |
RequestSchemeMatchValue
The match value for the condition of the delivery rule
Érték | Description |
---|---|
HTTP | |
HTTPS |
RequestUriMatchConditionParameters
Meghatározza a RequestUri-egyezési feltételek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
RequestUriOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
ResourceReference
Hivatkozás egy másik erőforrásra.
Name | Típus | Description |
---|---|---|
id |
string |
Resource ID. |
RouteConfigurationOverrideActionParameters
Meghatározza az útvonalkonfiguráció felülbírálási műveletének paramétereit.
Name | Típus | Description |
---|---|---|
cacheConfiguration |
The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. |
|
originGroupOverride |
A reference to the origin group override configuration. Leave empty to use the default origin group on route. |
|
typeName |
string:
Delivery |
Rule
A szabályok felhasználóbarát neve megfeleltethető bármely szabályhoz vagy titkos kódhoz kapcsolódó információhoz.
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
id |
string |
Resource ID. |
|
name |
string |
Resource name. |
|
properties.actions | DeliveryRuleAction[]: |
A list of actions that are executed when all the conditions of a rule are satisfied. |
|
properties.conditions |
DeliveryRuleCondition[]:
|
A list of conditions that must be matched for the actions to be executed |
|
properties.deploymentStatus | |||
properties.matchProcessingBehavior | Continue |
If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. |
|
properties.order |
integer (int32) |
The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. |
|
properties.provisioningState |
Kiépítés állapota |
||
properties.ruleSetName |
string |
A szabályt tartalmazó szabálykészlet neve. |
|
systemData |
Csak olvasási rendszeradatok |
||
type |
string |
Erőforrás típusa. |
ruleCacheBehavior
Caching behavior for the requests
Érték | Description |
---|---|
HonorOrigin | |
OverrideAlways | |
OverrideIfOriginMissing |
ruleIsCompressionEnabled
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.
Érték | Description |
---|---|
Disabled | |
Enabled |
ruleQueryStringCachingBehavior
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.
Érték | Description |
---|---|
IgnoreQueryString | |
IgnoreSpecifiedQueryStrings | |
IncludeSpecifiedQueryStrings | |
UseQueryString |
ServerPortMatchConditionParameters
A ServerPort egyeztetési feltételeinek paramétereit határozza meg
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
ServerPortOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
SocketAddrMatchConditionParameters
A SocketAddress egyeztetési feltételeinek paramétereit határozza meg
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
SocketAddrOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
IPMatch |
SslProtocol
A létrehozott TLS-kapcsolat protokollja.
Érték | Description |
---|---|
TLSv1 | |
TLSv1.1 | |
TLSv1.2 |
SslProtocolMatchConditionParameters
Az SslProtocol-egyezési feltételek paramétereinek meghatározása
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
The match value for the condition of the delivery rule |
||
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
SslProtocolOperator
Describes operator to be matched
Érték | Description |
---|---|
Equal |
SystemData
Csak olvasási rendszeradatok
Name | Típus | Description |
---|---|---|
createdAt |
string (date-time) |
Az erőforrás-létrehozás időbélyege (UTC) |
createdBy |
string |
Az erőforrást létrehozó identitás azonosítója |
createdByType |
Az erőforrást létrehozó identitás típusa |
|
lastModifiedAt |
string (date-time) |
Az erőforrás utolsó módosításának időbélyege (UTC) |
lastModifiedBy |
string |
Az erőforrást legutóbb módosító identitás azonosítója |
lastModifiedByType |
Az erőforrást legutóbb módosító identitás típusa |
transform
A megfeleltetés előtt alkalmazott átalakítások ismertetése
Érték | Description |
---|---|
Lowercase | |
RemoveNulls | |
Trim | |
Uppercase | |
UrlDecode | |
UrlEncode |
UrlFileExtensionMatchConditionParameters
Meghatározza az UrlFileExtension egyezés feltételeinek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
UrlFileExtensionOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
UrlFileNameMatchConditionParameters
Meghatározza az UrlFilename egyezés feltételeinek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
UrlFileNameOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx |
UrlPathMatchConditionParameters
Meghatározza az UrlPath-egyezési feltételek paramétereit
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
matchValues |
string[] |
The match value for the condition of the delivery rule |
|
negateCondition |
boolean |
False |
Describes if this is negate condition or not |
operator |
Describes operator to be matched |
||
transforms |
List of transforms |
||
typeName |
string:
Delivery |
UrlPathOperator
Describes operator to be matched
Érték | Description |
---|---|
Any | |
BeginsWith | |
Contains | |
EndsWith | |
Equal | |
GreaterThan | |
GreaterThanOrEqual | |
LessThan | |
LessThanOrEqual | |
RegEx | |
Wildcard |
UrlRedirectAction
Meghatározza a kézbesítési szabály URL-átirányítási műveletét.
Name | Típus | Description |
---|---|---|
name |
string:
Url |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
UrlRedirectActionParameters
Meghatározza az URL-átirányítási művelet paramétereit.
Name | Típus | Description |
---|---|---|
customFragment |
string |
Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. |
customHostname |
string |
Host to redirect. Leave empty to use the incoming host as the destination host. |
customPath |
string |
The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. |
customQueryString |
string |
The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. A lekérdezési sztringnek = formátumúnak kell lennie. ? and & will be added automatically so do not include them. |
destinationProtocol |
Protocol to use for the redirect. The default value is MatchRequest |
|
redirectType |
The redirect type the rule will use when redirecting traffic. |
|
typeName |
string:
Delivery |
UrlRewriteAction
Meghatározza a kézbesítési szabály URL-átírási műveletét.
Name | Típus | Description |
---|---|---|
name |
string:
Url |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
UrlRewriteActionParameters
Meghatározza az URL-átírási művelet paramétereit.
Name | Típus | Description |
---|---|---|
destination |
string |
Define the relative URL to which the above requests will be rewritten by. |
preserveUnmatchedPath |
boolean |
Whether to preserve unmatched path. Az alapértelmezett érték igaz. |
sourcePattern |
string |
define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. |
typeName |
string:
Delivery |
UrlSigningAction
Meghatározza a kézbesítési szabály URL-aláírási műveletét.
Name | Típus | Description |
---|---|---|
name |
string:
Url |
The name of the action for the delivery rule. |
parameters |
Defines the parameters for the action. |
UrlSigningActionParameters
Meghatározza az URL-aláírási művelet paramétereit.
Name | Típus | Description |
---|---|---|
algorithm |
Algorithm to use for URL signing |
|
parameterNameOverride |
Defines which query string parameters in the url to be considered for expires, key id etc. |
|
typeName |
string:
Delivery |
UrlSigningParamIdentifier
Meghatározza, hogyan lehet azonosítani egy paramétert egy adott célra, például lejár
Name | Típus | Description |
---|---|---|
paramIndicator |
Indicates the purpose of the parameter |
|
paramName |
string |
Paraméter neve |