swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector TopLevelDomains API schemes: - https tags: - name: TopLevelDomains paths: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains: get: tags: - TopLevelDomains summary: Microsoft Azure Get All Top Level Domains Supported For Registration description: Description for Get all top-level domains supported for registration. operationId: microsoftAzureTopleveldomainsList parameters: - $ref: '#/parameters/subscriptionIdParameter' - $ref: '#/parameters/apiVersionParameter' responses: '200': description: OK schema: $ref: '#/definitions/TopLevelDomainCollection' default: description: App Service error response. schema: $ref: ../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/DefaultErrorResponse x-ms-examples: List Top Level Domains: $ref: ./examples/ListTopLevelDomains.json x-ms-pageable: nextLinkName: nextLink /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}: get: tags: - TopLevelDomains summary: Microsoft Azure Get Details Of A Top Level Domain description: Description for Get details of a top-level domain. operationId: microsoftAzureTopleveldomainsGet parameters: - name: name in: path description: Name of the top-level domain. required: true type: string - $ref: '#/parameters/subscriptionIdParameter' - $ref: '#/parameters/apiVersionParameter' responses: '200': description: OK schema: $ref: '#/definitions/TopLevelDomain' default: description: App Service error response. schema: $ref: ../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/DefaultErrorResponse x-ms-examples: Get Top Level Domain: $ref: ./examples/GetTopLevelDomain.json /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements: post: tags: - TopLevelDomains summary: Microsoft Azure Gets All Legal Agreements That User Needs To Accept Before Purchasing A Domain description: Description for Gets all legal agreements that user needs to accept before purchasing a domain. operationId: microsoftAzureTopleveldomainsListagreements parameters: - name: name in: path description: Name of the top-level domain. required: true type: string - name: agreementOption in: body description: Domain agreement options. required: true schema: $ref: '#/definitions/TopLevelDomainAgreementOption' - $ref: '#/parameters/subscriptionIdParameter' - $ref: '#/parameters/apiVersionParameter' responses: '200': description: OK schema: $ref: '#/definitions/TldLegalAgreementCollection' default: description: App Service error response. schema: $ref: ../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/DefaultErrorResponse x-ms-examples: List Top Level Domain Agreements: $ref: ./examples/ListTopLevelDomainAgreements.json x-ms-pageable: nextLinkName: nextLink definitions: TopLevelDomain: description: A top level domain object. type: object allOf: - $ref: ../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/ProxyOnlyResource properties: properties: description: TopLevelDomain resource specific properties type: object properties: privacy: description: If true, then the top level domain supports domain privacy; otherwise, false. type: boolean x-ms-client-flatten: true TldLegalAgreement: description: Legal agreement for a top level domain. required: - agreementKey - title - content type: object properties: agreementKey: description: Unique identifier for the agreement. type: string title: description: Agreement title. type: string content: description: Agreement details. type: string url: description: URL where a copy of the agreement details is hosted. type: string TopLevelDomainCollection: description: Collection of Top-level domains. required: - value type: object properties: value: description: Collection of resources. type: array items: $ref: '#/definitions/TopLevelDomain' nextLink: description: Link to next page of resources. type: string readOnly: true TopLevelDomainAgreementOption: description: Options for retrieving the list of top level domain legal agreements. type: object properties: includePrivacy: description: If true, then the list of agreements will include agreements for domain privacy as well; otherwise, false. type: boolean forTransfer: description: If true, then the list of agreements will include agreements for domain transfer as well; otherwise, false. type: boolean TldLegalAgreementCollection: description: Collection of top-level domain legal agreements. required: - value type: object properties: value: description: Collection of resources. type: array items: $ref: '#/definitions/TldLegalAgreement' x-ms-identifiers: - agreementKey nextLink: description: Link to next page of resources. type: string readOnly: true parameters: subscriptionIdParameter: name: subscriptionId in: path description: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). required: true type: string apiVersionParameter: name: api-version in: query description: API Version required: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'