TopLevelDomainsOperationsExtensions.ListAgreementsAsync 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 = default);
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>>
<Extension()>
Public Function ListAgreementsAsync (operations As ITopLevelDomainsOperations, name As String, agreementOption As TopLevelDomainAgreementOption, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of TldLegalAgreement))

Parameters

operations
ITopLevelDomainsOperations

The operations group for this extension method.

name
String

Name of the top-level domain.

agreementOption
TopLevelDomainAgreementOption

Domain agreement options.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to