swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector CheckFrontDoorNameAvailabilityWithSubscription API schemes: - https tags: - name: CheckFrontDoorNameAvailabilityWithSubscription paths: /subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability: post: tags: - CheckFrontDoorNameAvailabilityWithSubscription description: Check the availability of a Front Door subdomain. operationId: microsoftAzureCheckfrontdoornameavailabilitywithsubscription x-ms-examples: CheckNameAvailabilityWithSubscription: $ref: ./examples/CheckFrontdoorNameAvailabilityWithSubscription.json parameters: - name: checkFrontDoorNameAvailabilityInput in: body description: Input to check. required: true schema: $ref: '#/definitions/CheckNameAvailabilityInput' - $ref: ./network.json#/parameters/SubscriptionIdParameter - $ref: ./network.json#/parameters/ApiVersionParameter responses: '200': description: OK. The request has succeeded. schema: $ref: '#/definitions/CheckNameAvailabilityOutput' default: description: Front Door error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Network Checkfrontdoornameavailability definitions: ErrorResponse: description: Error response indicates Front Door service is not able to process the incoming request. The reason is provided in the error message. type: object properties: code: description: Error code. readOnly: true type: string message: description: Error message indicating why the operation failed. readOnly: true type: string CheckNameAvailabilityOutput: description: Output of check name availability API. type: object properties: nameAvailability: description: Indicates whether the name is available. readOnly: true enum: - Available - Unavailable type: string x-ms-enum: name: Availability modelAsString: true reason: description: The reason why the name is not available. readOnly: true type: string message: description: The detailed error message describing why the name is not available. readOnly: true type: string CheckNameAvailabilityInput: description: Input of CheckNameAvailability API. type: object required: - name - type properties: name: description: The resource name to validate. type: string type: description: The type of the resource whose name is to be validated. $ref: '#/definitions/ResourceType' ResourceType: description: Type of Front Door resource used in CheckNameAvailability. enum: - Microsoft.Network/frontDoors - Microsoft.Network/frontDoors/frontendEndpoints type: string x-ms-enum: name: ResourceType modelAsString: false x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'