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: 2021-02-01
  • Resource: TopLevelDomainResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.TldLegalAgreement> GetAgreementsAsync (Azure.ResourceManager.AppService.Models.TopLevelDomainAgreementOption agreementOption, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAgreementsAsync : Azure.ResourceManager.AppService.Models.TopLevelDomainAgreementOption * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.TldLegalAgreement>
override this.GetAgreementsAsync : Azure.ResourceManager.AppService.Models.TopLevelDomainAgreementOption * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.TldLegalAgreement>
Public Overridable Function GetAgreementsAsync (agreementOption As TopLevelDomainAgreementOption, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TldLegalAgreement)

Parameters

agreementOption
TopLevelDomainAgreementOption

Domain agreement options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of TldLegalAgreement that may take multiple service requests to iterate over.

Exceptions

agreementOption is null.

Applies to