TopLevelDomainResource.GetAgreements Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2023-12-01
- Resource: TopLevelDomainResource
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.TldLegalAgreement> GetAgreements (Azure.ResourceManager.AppService.Models.TopLevelDomainAgreementOption agreementOption, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAgreements : Azure.ResourceManager.AppService.Models.TopLevelDomainAgreementOption * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.TldLegalAgreement>
override this.GetAgreements : Azure.ResourceManager.AppService.Models.TopLevelDomainAgreementOption * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.TldLegalAgreement>
Public Overridable Function GetAgreements (agreementOption As TopLevelDomainAgreementOption, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TldLegalAgreement)
Parameters
- agreementOption
- TopLevelDomainAgreementOption
Domain agreement options.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of TldLegalAgreement that may take multiple service requests to iterate over.
Exceptions
agreementOption
is null.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET