import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DnsRecord_EnviromentalVariables} */ export declare function createDnsRecord_EnviromentalVariablesFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DnsRecord_GeolocationInfo} */ export declare function createDnsRecord_GeolocationInfoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DnsRecord_IPGeoLocationInfo} */ export declare function createDnsRecord_IPGeoLocationInfoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DnsRecord} */ export declare function createDnsRecordFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DnsZoneCreate} */ export declare function createDnsZoneCreateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DnsZone} */ export declare function createDnsZoneFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoDnsRecord(dnsRecord?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoDnsRecord_EnviromentalVariables(dnsRecord_EnviromentalVariables?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoDnsRecord_GeolocationInfo(dnsRecord_GeolocationInfo?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoDnsRecord_IPGeoLocationInfo(dnsRecord_IPGeoLocationInfo?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoDnsZone(dnsZone?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoDnsZoneCreate(dnsZoneCreate?: Partial | undefined): Record void>; export interface DnsRecord extends AdditionalDataHolder, Parsable { /** * The Accelerated property */ accelerated?: boolean | null; /** * The AcceleratedPullZoneId property */ acceleratedPullZoneId?: number | null; /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The Comment property */ comment?: string | null; /** * The Disabled property */ disabled?: boolean | null; /** * The EnviromentalVariables property */ enviromentalVariables?: DnsRecord_EnviromentalVariables[] | null; /** * The Flags property */ flags?: number | null; /** * The GeolocationInfo property */ geolocationInfo?: DnsRecord_GeolocationInfo | null; /** * The GeolocationLatitude property */ geolocationLatitude?: number | null; /** * The GeolocationLongitude property */ geolocationLongitude?: number | null; /** * The Id property */ id?: number | null; /** * The IPGeoLocationInfo property */ iPGeoLocationInfo?: DnsRecord_IPGeoLocationInfo | null; /** * The LatencyZone property */ latencyZone?: string | null; /** * The LinkName property */ linkName?: string | null; /** * The MonitorStatus property */ monitorStatus?: number | null; /** * The MonitorType property */ monitorType?: number | null; /** * The Name property */ name?: string | null; /** * The Port property */ port?: number | null; /** * The Priority property */ priority?: number | null; /** * The SmartRoutingType property */ smartRoutingType?: number | null; /** * The Tag property */ tag?: string | null; /** * The Ttl property */ ttl?: number | null; /** * The Type property */ type?: number | null; /** * The Value property */ value?: string | null; /** * The Weight property */ weight?: number | null; } export interface DnsRecord_EnviromentalVariables extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The Name property */ name?: string | null; /** * The Value property */ value?: string | null; } export interface DnsRecord_GeolocationInfo extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The City property */ city?: string | null; /** * The Country property */ country?: string | null; /** * The Latitude property */ latitude?: number | null; /** * The Longitude property */ longitude?: number | null; } export interface DnsRecord_IPGeoLocationInfo extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The ASN property */ aSN?: number | null; /** * The City property */ city?: string | null; /** * The Country property */ country?: string | null; /** * The CountryCode property */ countryCode?: string | null; /** * The OrganizationName property */ organizationName?: string | null; } export interface DnsZone extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The CustomNameserversEnabled property */ customNameserversEnabled?: boolean | null; /** * The DateCreated property */ dateCreated?: Date | null; /** * The DateModified property */ dateModified?: Date | null; /** * The Domain property */ domain?: string | null; /** * The Id property */ id?: number | null; /** * The LogAnonymizationType property */ logAnonymizationType?: number | null; /** * The LoggingEnabled property */ loggingEnabled?: boolean | null; /** * Determines if the log anonymization should be enabled */ loggingIPAnonymizationEnabled?: boolean | null; /** * The Nameserver1 property */ nameserver1?: string | null; /** * The Nameserver2 property */ nameserver2?: string | null; /** * The NameserversDetected property */ nameserversDetected?: boolean | null; /** * The NameserversNextCheck property */ nameserversNextCheck?: Date | null; /** * The Records property */ records?: DnsRecord[] | null; /** * The SoaEmail property */ soaEmail?: string | null; } export interface DnsZoneCreate extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The CustomNameserversEnabled property */ customNameserversEnabled?: boolean | null; /** * The LogAnonymizationType property */ logAnonymizationType?: number | null; /** * The LoggingEnabled property */ loggingEnabled?: boolean | null; /** * Determines if the log anonymization should be enabled */ loggingIPAnonymizationEnabled?: boolean | null; /** * The Nameserver1 property */ nameserver1?: string | null; /** * The Nameserver2 property */ nameserver2?: string | null; /** * The SoaEmail property */ soaEmail?: string | null; } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeDnsRecord(writer: SerializationWriter, dnsRecord?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeDnsRecord_EnviromentalVariables(writer: SerializationWriter, dnsRecord_EnviromentalVariables?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeDnsRecord_GeolocationInfo(writer: SerializationWriter, dnsRecord_GeolocationInfo?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeDnsRecord_IPGeoLocationInfo(writer: SerializationWriter, dnsRecord_IPGeoLocationInfo?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeDnsZone(writer: SerializationWriter, dnsZone?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeDnsZoneCreate(writer: SerializationWriter, dnsZoneCreate?: Partial | undefined | null): void;