import { type PullZone } from '../pullZone/index.js'; 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 {StorageZoneCreate} */ export declare function createStorageZoneCreateFromDiscriminatorValue(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 {StorageZone} */ export declare function createStorageZoneFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStorageZone(storageZone?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStorageZoneCreate(storageZoneCreate?: Partial | undefined): Record void>; export type EdgeReplicationRegions = (typeof EdgeReplicationRegionsObject)[keyof typeof EdgeReplicationRegionsObject]; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStorageZone(writer: SerializationWriter, storageZone?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStorageZoneCreate(writer: SerializationWriter, storageZoneCreate?: Partial | undefined | null): void; export type StandardRegions = (typeof StandardRegionsObject)[keyof typeof StandardRegionsObject]; export interface StorageZone 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 Custom404FilePath property */ custom404FilePath?: string | null; /** * The DateModified property */ dateModified?: Date | null; /** * The Deleted property */ deleted?: boolean | null; /** * The Discount property */ discount?: number | null; /** * The FilesStored property */ filesStored?: number | null; /** * The Id property */ id?: number | null; /** * The Name property */ name?: string | null; /** * The Password property */ password?: string | null; /** * The PriceOverride property */ priceOverride?: number | null; /** * The PullZones property */ pullZones?: PullZone[] | null; /** * The ReadOnlyPassword property */ readOnlyPassword?: string | null; /** * The Region property */ region?: StandardRegions | null; /** * The ReplicationChangeInProgress property */ replicationChangeInProgress?: boolean | null; /** * The ReplicationRegions property */ replicationRegions?: EdgeReplicationRegions[] | null; /** * The Rewrite404To200 property */ rewrite404To200?: boolean | null; /** * The StorageHostname property */ storageHostname?: string | null; /** * The StorageUsed property */ storageUsed?: number | null; /** * The UserId property */ userId?: string | null; /** * The ZoneTier property */ zoneTier?: number | null; } export interface StorageZoneCreate 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 Custom404FilePath property */ custom404FilePath?: string | null; /** * The Name property */ name?: string | null; /** * The OriginUrl property */ originUrl?: string | null; /** * The Region property */ region?: StandardRegions | null; /** * The ReplicationRegions property */ replicationRegions?: EdgeReplicationRegions[] | null; /** * The Rewrite404To200 property */ rewrite404To200?: boolean | null; /** * The ZoneTier property */ zoneTier?: number | null; } export declare const EdgeReplicationRegionsObject: { readonly DE: "DE"; readonly UK: "UK"; readonly SE: "SE"; readonly CZ: "CZ"; readonly ES: "ES"; readonly NY: "NY"; readonly LA: "LA"; readonly WA: "WA"; readonly MI: "MI"; readonly SG: "SG"; readonly HK: "HK"; readonly JP: "JP"; readonly SYD: "SYD"; readonly BR: "BR"; readonly JH: "JH"; }; export declare const StandardRegionsObject: { readonly DE: "DE"; readonly UK: "UK"; readonly SE: "SE"; readonly NY: "NY"; readonly LA: "LA"; readonly SG: "SG"; readonly SYD: "SYD"; readonly BR: "BR"; readonly JH: "JH"; };