TopLevelDomainsOperationsExtensions.ListAgreementsAsync(ITopLevelDomainsOperations, String, TopLevelDomainAgreementOption, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.TldLegalAgreement>> ListAgreementsAsync (this Microsoft.Azure.Management.WebSites.ITopLevelDomainsOperations operations, string name, Microsoft.Azure.Management.WebSites.Models.TopLevelDomainAgreementOption agreementOption, System.Threading.CancellationToken cancellationToken = null);
static member ListAgreementsAsync : Microsoft.Azure.Management.WebSites.ITopLevelDomainsOperations * string * Microsoft.Azure.Management.WebSites.Models.TopLevelDomainAgreementOption * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.TldLegalAgreement>>

Parameters

operations
ITopLevelDomainsOperations

The operations group for this extension method.

name
System.String

Name of the top-level domain.

agreementOption
TopLevelDomainAgreementOption

Domain agreement options.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<TldLegalAgreement>>

Remarks

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

Applies to