Skip to content
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

[CDN] Fix customDomains property type in Endpoint #19788

Merged
merged 2 commits into from
Jul 21, 2022
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -2657,8 +2657,11 @@
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/CustomDomain"
}
"$ref": "#/definitions/DeepCreatedCustomDomain"
},
"x-ms-identifiers": [
"name"
]
},
"resourceState": {
"description": "Resource status of the endpoint.",
Expand Down Expand Up @@ -5484,6 +5487,40 @@
}
}
},
"DeepCreatedCustomDomain": {
"description": "Custom domains created on the CDN endpoint.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Custom domain name.",
"type": "string"
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/DeepCreatedCustomDomainProperties"
}
}
},
"DeepCreatedCustomDomainProperties": {
"description": "Properties of the custom domain created on the CDN endpoint.",
"type": "object",
"required": [
"hostName"
],
"properties": {
"hostName": {
"description": "The host name of the custom domain. Must be a domain name.",
"type": "string"
},
"validationData": {
"description": "Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.",
"type": "string"
}
}
},
"CustomDomain": {
"description": "Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.",
"type": "object",
Expand Down