|
1062 | 1062 | "description": "Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5" |
1063 | 1063 | }, |
1064 | 1064 | "sharedPrivateLinkResource": { |
1065 | | - "type": "object", |
1066 | | - "properties": {}, |
1067 | | - "description": "The properties of the private link resource for private origin." |
| 1065 | + "oneOf": [ |
| 1066 | + { |
| 1067 | + "$ref": "#/definitions/SharedPrivateLinkResourceProperties" |
| 1068 | + }, |
| 1069 | + { |
| 1070 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1071 | + } |
| 1072 | + ], |
| 1073 | + "description": "Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin." |
1068 | 1074 | }, |
1069 | 1075 | "weight": { |
1070 | 1076 | "oneOf": [ |
|
1089 | 1095 | "type": "object", |
1090 | 1096 | "properties": { |
1091 | 1097 | "compressionSettings": { |
1092 | | - "type": "object", |
1093 | | - "properties": {}, |
1094 | | - "description": "compression settings." |
| 1098 | + "oneOf": [ |
| 1099 | + { |
| 1100 | + "$ref": "#/definitions/CompressionSettings" |
| 1101 | + }, |
| 1102 | + { |
| 1103 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1104 | + } |
| 1105 | + ], |
| 1106 | + "description": "settings for compression." |
1095 | 1107 | }, |
1096 | 1108 | "queryParameters": { |
1097 | 1109 | "type": "string", |
|
1439 | 1451 | ], |
1440 | 1452 | "description": "Defines the parameters for ClientPort match conditions" |
1441 | 1453 | }, |
| 1454 | + "CompressionSettings": { |
| 1455 | + "type": "object", |
| 1456 | + "properties": { |
| 1457 | + "contentTypesToCompress": { |
| 1458 | + "oneOf": [ |
| 1459 | + { |
| 1460 | + "type": "array", |
| 1461 | + "items": { |
| 1462 | + "type": "string" |
| 1463 | + } |
| 1464 | + }, |
| 1465 | + { |
| 1466 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1467 | + } |
| 1468 | + ], |
| 1469 | + "description": "List of content types on which compression applies. The value should be a valid MIME type." |
| 1470 | + }, |
| 1471 | + "isCompressionEnabled": { |
| 1472 | + "oneOf": [ |
| 1473 | + { |
| 1474 | + "type": "boolean" |
| 1475 | + }, |
| 1476 | + { |
| 1477 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1478 | + } |
| 1479 | + ], |
| 1480 | + "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." |
| 1481 | + } |
| 1482 | + }, |
| 1483 | + "description": "settings for compression." |
| 1484 | + }, |
1442 | 1485 | "CookiesMatchConditionParameters": { |
1443 | 1486 | "type": "object", |
1444 | 1487 | "properties": { |
|
6043 | 6086 | ], |
6044 | 6087 | "description": "Defines the parameters for ServerPort match conditions" |
6045 | 6088 | }, |
| 6089 | + "SharedPrivateLinkResourceProperties": { |
| 6090 | + "type": "object", |
| 6091 | + "properties": { |
| 6092 | + "groupId": { |
| 6093 | + "type": "string", |
| 6094 | + "description": "The group id from the provider of resource the shared private link resource is for." |
| 6095 | + }, |
| 6096 | + "privateLink": { |
| 6097 | + "oneOf": [ |
| 6098 | + { |
| 6099 | + "$ref": "#/definitions/ResourceReference" |
| 6100 | + }, |
| 6101 | + { |
| 6102 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 6103 | + } |
| 6104 | + ], |
| 6105 | + "description": "Reference to another resource." |
| 6106 | + }, |
| 6107 | + "privateLinkLocation": { |
| 6108 | + "type": "string", |
| 6109 | + "description": "The location of the shared private link resource" |
| 6110 | + }, |
| 6111 | + "requestMessage": { |
| 6112 | + "type": "string", |
| 6113 | + "description": "The request message for requesting approval of the shared private link resource." |
| 6114 | + }, |
| 6115 | + "status": { |
| 6116 | + "oneOf": [ |
| 6117 | + { |
| 6118 | + "type": "string", |
| 6119 | + "enum": [ |
| 6120 | + "Pending", |
| 6121 | + "Approved", |
| 6122 | + "Rejected", |
| 6123 | + "Disconnected", |
| 6124 | + "Timeout" |
| 6125 | + ] |
| 6126 | + }, |
| 6127 | + { |
| 6128 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 6129 | + } |
| 6130 | + ], |
| 6131 | + "description": "Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout." |
| 6132 | + } |
| 6133 | + }, |
| 6134 | + "description": "Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin." |
| 6135 | + }, |
6046 | 6136 | "Sku": { |
6047 | 6137 | "type": "object", |
6048 | 6138 | "properties": { |
|
0 commit comments