Skip to content

Commit 3684307

Browse files
SDKAutosinadellBo Zhang
committed
CodeGen from PR 17890 in Azure/azure-rest-api-specs
[CDN][2021-06-01] Adding originResponseTimeoutSeconds and Identity to profile update properties (#17890) * Adding originResponseTimeoutSeconds and Identity to profile update properties * Fix json syntax * Fix incorrect type for compressionSettings and SharedPrivateLinkkResourceProperties * Add type info to fix lint error Co-authored-by: Sindhuri <sindhuri.nadella@gmail.com> Co-authored-by: Bo Zhang <bzhan@microsoft.com>
1 parent e76984f commit 3684307

File tree

1 file changed

+96
-6
lines changed

1 file changed

+96
-6
lines changed

schemas/2021-06-01/Microsoft.Cdn.json

Lines changed: 96 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,9 +1062,15 @@
10621062
"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"
10631063
},
10641064
"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."
10681074
},
10691075
"weight": {
10701076
"oneOf": [
@@ -1089,9 +1095,15 @@
10891095
"type": "object",
10901096
"properties": {
10911097
"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."
10951107
},
10961108
"queryParameters": {
10971109
"type": "string",
@@ -1439,6 +1451,37 @@
14391451
],
14401452
"description": "Defines the parameters for ClientPort match conditions"
14411453
},
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+
},
14421485
"CookiesMatchConditionParameters": {
14431486
"type": "object",
14441487
"properties": {
@@ -6043,6 +6086,53 @@
60436086
],
60446087
"description": "Defines the parameters for ServerPort match conditions"
60456088
},
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+
},
60466136
"Sku": {
60476137
"type": "object",
60486138
"properties": {

0 commit comments

Comments
 (0)