Skip to content

Commit b8bb26c

Browse files
author
SDKAuto
committed
CodeGen from PR 17518 in Azure/azure-rest-api-specs
Updated AfdEndpoint and CheckNameAvailability API with additional pro… (#17518) * Updated AfdEndpoint and CheckNameAvailability API with additional property AutoGeneratedDomainNameLabelScope Update afdx.json * Added AutoGeneratedDomainNameLabelScope property into CheckNameAvailabilityInput instead of checkHostNameAvailabilityInput * Update cdn.json Updated the property name and its description. * Update d property name in examples. * Fix the reference error and a typo * Fix the reference error in CDN API * test * Updated property name to camelCase style * Updated the property name to camel case style. * Added new checkNameAvailability API for afdx * Updated the parameter references in new API * Added input and output type separate from CDN one for new checkNameAvailability API * Updated the input and out reference path for new API * Added AfdResourceType for new API * Updated the definition name of input and output for new API * Updated input name in example. * Include the required property type in the example. * Rename the new API to CheckEndpointNameAvailability
1 parent 60b772a commit b8bb26c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,23 @@
872872
"AFDEndpointProperties": {
873873
"type": "object",
874874
"properties": {
875+
"autoGeneratedDomainNameLabelScope": {
876+
"oneOf": [
877+
{
878+
"type": "string",
879+
"enum": [
880+
"TenantReuse",
881+
"SubscriptionReuse",
882+
"ResourceGroupReuse",
883+
"NoReuse"
884+
]
885+
},
886+
{
887+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
888+
}
889+
],
890+
"description": "Indicates the endpoint name reuse scope. The default value is TenantReuse."
891+
},
875892
"enabledState": {
876893
"oneOf": [
877894
{

0 commit comments

Comments
 (0)