Skip to content

[AutoPR cdn] cdn: adding missing x-ms-enum's #5793

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 96 additions & 6 deletions schemas/2021-06-01/Microsoft.Cdn.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down