DomainPurchaseConsent Class

Definition

Domain purchase consent object, representing acceptance of applicable legal agreements.

public class DomainPurchaseConsent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.DomainPurchaseConsent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.DomainPurchaseConsent>
type DomainPurchaseConsent = class
    interface IJsonModel<DomainPurchaseConsent>
    interface IPersistableModel<DomainPurchaseConsent>
Public Class DomainPurchaseConsent
Implements IJsonModel(Of DomainPurchaseConsent), IPersistableModel(Of DomainPurchaseConsent)
Inheritance
DomainPurchaseConsent
Implements

Constructors

DomainPurchaseConsent()

Initializes a new instance of DomainPurchaseConsent.

Properties

AgreedBy

Client IP address.

AgreedOn

Timestamp when the agreements were accepted.

AgreementKeys

List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DomainPurchaseConsent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DomainPurchaseConsent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DomainPurchaseConsent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DomainPurchaseConsent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DomainPurchaseConsent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to