Skip to content

Commit

Permalink
CodeGen from PR 17518 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SDKAuto committed Feb 9, 2022
1 parent 60b772a commit b8bb26c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions schemas/2021-06-01/Microsoft.Cdn.json
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,23 @@
"AFDEndpointProperties": {
"type": "object",
"properties": {
"autoGeneratedDomainNameLabelScope": {
"oneOf": [
{
"type": "string",
"enum": [
"TenantReuse",
"SubscriptionReuse",
"ResourceGroupReuse",
"NoReuse"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Indicates the endpoint name reuse scope. The default value is TenantReuse."
},
"enabledState": {
"oneOf": [
{
Expand Down

0 comments on commit b8bb26c

Please sign in to comment.