TopLevelDomainResource.GetAgreementsAsync Method

Definition

Description for Gets all legal agreements that user needs to accept before purchasing a domain.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements.
  • Operation Id. : TopLevelDomains_ListAgreements.
  • Default Api Version. : 2024-11-01.
  • Resource. : TopLevelDomainResource.
public virtual Azure.AsyncPageable<Azure.ResourceManager.DomainRegistration.Models.TopLevelDomainLegalAgreement> GetAgreementsAsync(Azure.ResourceManager.DomainRegistration.Models.TopLevelDomainAgreementContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAgreementsAsync : Azure.ResourceManager.DomainRegistration.Models.TopLevelDomainAgreementContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DomainRegistration.Models.TopLevelDomainLegalAgreement>
override this.GetAgreementsAsync : Azure.ResourceManager.DomainRegistration.Models.TopLevelDomainAgreementContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DomainRegistration.Models.TopLevelDomainLegalAgreement>
Public Overridable Function GetAgreementsAsync (content As TopLevelDomainAgreementContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TopLevelDomainLegalAgreement)

Parameters

content
TopLevelDomainAgreementContent

Domain agreement options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of TopLevelDomainLegalAgreement that may take multiple service requests to iterate over.

Exceptions

content is null.

Applies to