Partilhar via


ITopLevelDomainsOperations.ListAgreementsWithHttpMessagesAsync Método

Definição

Obtém todos os contratos legais que o utilizador precisa de aceitar antes de comprar um domínio.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.TldLegalAgreement>>> ListAgreementsWithHttpMessagesAsync (string name, Microsoft.Azure.Management.AppService.Fluent.Models.TopLevelDomainAgreementOption agreementOption, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAgreementsWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.TopLevelDomainAgreementOption * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.TldLegalAgreement>>>
Public Function ListAgreementsWithHttpMessagesAsync (name As String, agreementOption As TopLevelDomainAgreementOption, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of TldLegalAgreement)))

Parâmetros

name
String

Nome do domínio de nível superior.

agreementOption
TopLevelDomainAgreementOption

Opções do contrato de domínio.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados ao pedido.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Exceções

Emitido quando a operação devolveu um código de estado inválido

Lançada quando não é possível anular a serialização da resposta

Emitido quando um parâmetro necessário é nulo

Observações

Descrição para Obtém todos os contratos legais que o utilizador precisa de aceitar antes de comprar um domínio.

Aplica-se a