-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2020 01 01 updates to rules engine caching behavior #8455
Changes from 2 commits
80037e8
104d4f5
bc86b28
dfe8397
e9213c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ | |
"priority": 1 | ||
}, | ||
{ | ||
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1", | ||
"privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
"privateLinkApprovalMessage": "Please approve this request to connect to the Private Link", | ||
"address": "10.0.1.5", | ||
"httpPort": 80, | ||
|
@@ -167,7 +167,9 @@ | |
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" | ||
} | ||
}, | ||
"rulesEngine": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1", | ||
"rulesEngine": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1" | ||
}, | ||
"enabledState": "Enabled" | ||
} | ||
} | ||
|
@@ -216,7 +218,7 @@ | |
"priority": 1 | ||
}, | ||
{ | ||
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1", | ||
"privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not a production alias, this was generated to use for the examples |
||
"privateEndpointStatus": "Pending", | ||
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link", | ||
"address": "10.0.1.5", | ||
|
@@ -306,7 +308,9 @@ | |
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" | ||
} | ||
}, | ||
"rulesEngine": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1", | ||
"rulesEngine": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1" | ||
}, | ||
"enabledState": "Enabled" | ||
} | ||
} | ||
|
@@ -355,7 +359,7 @@ | |
"priority": 1 | ||
}, | ||
{ | ||
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1", | ||
"privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
"privateEndpointStatus": "Approved", | ||
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link", | ||
"address": "10.0.1.5", | ||
|
@@ -445,6 +449,9 @@ | |
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" | ||
} | ||
}, | ||
"rulesEngine": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1" | ||
}, | ||
"enabledState": "Enabled" | ||
} | ||
} | ||
|
@@ -493,7 +500,7 @@ | |
"priority": 1 | ||
}, | ||
{ | ||
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1", | ||
"privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
"privateEndpointStatus": "Approved", | ||
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link", | ||
"address": "10.0.1.5", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ | |
"priority": 1 | ||
}, | ||
{ | ||
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1", | ||
"privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
"privateEndpointStatus": "Approved", | ||
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link", | ||
"address": "10.0.1.5", | ||
|
@@ -138,7 +138,7 @@ | |
], | ||
"rulesEngines": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/rulesEngine1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1", | ||
"name": "rulesEngine1", | ||
"properties": { | ||
"rules": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ | |
"priority": 1 | ||
}, | ||
{ | ||
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1", | ||
"privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
"privateEndpointStatus": "Approved", | ||
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link", | ||
"address": "10.0.1.5", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ | |
"priority": 1 | ||
}, | ||
{ | ||
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1", | ||
"privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
"privateEndpointStatus": "Approved", | ||
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link", | ||
"address": "10.0.1.5", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1237,8 +1237,8 @@ | |
"description": "Location of the backend (IP address or FQDN)", | ||
"type": "string" | ||
}, | ||
"privateLinkResourceId": { | ||
"description": "If this backend is private, provide the Private Link resource Id. Populating this optional field indicates that this backend is 'Private'", | ||
"privateLinkAlias": { | ||
"description": "The Alias of the Private Link resource. Populating this optional field indicates that this backend is 'Private'", | ||
"type": "string" | ||
}, | ||
"privateEndpointStatus": { | ||
|
@@ -1570,14 +1570,21 @@ | |
"description": "Treatment of URL query terms when forming the cache key.", | ||
"enum": [ | ||
"StripNone", | ||
"StripAll" | ||
"StripAll", | ||
"StripOnly", | ||
"StripAllExcept" | ||
], | ||
"type": "string", | ||
"x-ms-enum": { | ||
"name": "FrontDoorQuery", | ||
"modelAsString": true | ||
} | ||
}, | ||
"queryParameters": { | ||
"description": "query parameters to include or exclude (comma separated).", | ||
"type": "string", | ||
"x-nullable": true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
do we need this? seems like even recently there's problem with x-nullable in autorest There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for letting me know, I removed x-nullable field. In reply to: 382354208 [](ancestors = 382354208) |
||
}, | ||
"dynamicCompression": { | ||
"description": "Whether to use dynamic compression for cached content", | ||
"enum": [ | ||
|
@@ -1589,6 +1596,11 @@ | |
"name": "DynamicCompressionEnabled", | ||
"modelAsString": true | ||
} | ||
}, | ||
"cacheDuration": { | ||
"description": "The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss", | ||
"type": "string", | ||
"x-nullable": true | ||
} | ||
} | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this this a real alias?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ensure that any example private link aliases do not actually exist in production
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a real alias, I generated it as an example