Share via


DomainPurchaseConsent Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DomainPurchaseConsentTypeConverter))]
public class DomainPurchaseConsent : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDomainPurchaseConsent
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DomainPurchaseConsentTypeConverter))>]
type DomainPurchaseConsent = class
    interface IDomainPurchaseConsent
    interface IJsonSerializable
Public Class DomainPurchaseConsent
Implements IDomainPurchaseConsent
Inheritance
DomainPurchaseConsent
Attributes
Implements

Constructors

DomainPurchaseConsent()

Creates an new DomainPurchaseConsent instance.

Properties

AgreedAt

Timestamp when the agreements were accepted.

AgreedBy

Client IP address.

AgreementKey

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DomainPurchaseConsent.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DomainPurchaseConsent.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDomainPurchaseConsent.

FromJsonString(String)

Creates a new instance of DomainPurchaseConsent, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DomainPurchaseConsent into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to