From 86917eed48de608d5df2a699493b0c0f026fdf31 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 18 Feb 2022 06:43:54 +0000 Subject: [PATCH] CodeGen from PR 17890 in Azure/azure-rest-api-specs Merge cd127157a40da48306ce66efb38f47474f2d25a8 into c731fa175f77b7b53ef0579eb877c61b5d0467d6 --- schemas/2021-06-01/Microsoft.Cdn.json | 102 ++++++++++++++++++++++++-- 1 file changed, 96 insertions(+), 6 deletions(-) diff --git a/schemas/2021-06-01/Microsoft.Cdn.json b/schemas/2021-06-01/Microsoft.Cdn.json index 0e448b9e75..dc5b6c0f22 100644 --- a/schemas/2021-06-01/Microsoft.Cdn.json +++ b/schemas/2021-06-01/Microsoft.Cdn.json @@ -1062,9 +1062,15 @@ "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" }, "sharedPrivateLinkResource": { - "type": "object", - "properties": {}, - "description": "The properties of the private link resource for private origin." + "oneOf": [ + { + "$ref": "#/definitions/SharedPrivateLinkResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin." }, "weight": { "oneOf": [ @@ -1089,9 +1095,15 @@ "type": "object", "properties": { "compressionSettings": { - "type": "object", - "properties": {}, - "description": "compression settings." + "oneOf": [ + { + "$ref": "#/definitions/CompressionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "settings for compression." }, "queryParameters": { "type": "string", @@ -1439,6 +1451,37 @@ ], "description": "Defines the parameters for ClientPort match conditions" }, + "CompressionSettings": { + "type": "object", + "properties": { + "contentTypesToCompress": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of content types on which compression applies. The value should be a valid MIME type." + }, + "isCompressionEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "settings for compression." + }, "CookiesMatchConditionParameters": { "type": "object", "properties": { @@ -6043,6 +6086,53 @@ ], "description": "Defines the parameters for ServerPort match conditions" }, + "SharedPrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The group id from the provider of resource the shared private link resource is for." + }, + "privateLink": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Reference to another resource." + }, + "privateLinkLocation": { + "type": "string", + "description": "The location of the shared private link resource" + }, + "requestMessage": { + "type": "string", + "description": "The request message for requesting approval of the shared private link resource." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout." + } + }, + "description": "Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin." + }, "Sku": { "type": "object", "properties": {