Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LiveMigrationStep

import type { LiveMigrationStep } from "https://googleapis.deno.dev/v1/firebasehosting:v1.ts";

A set of updates including ACME challenges and DNS records that allow Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to Hosting servers. Use these updates to facilitate zero downtime migrations to Hosting from other services. After you've made the recommended updates, check your custom domain's ownershipState and certState. To avoid downtime, they should be OWNERSHIP_ACTIVE and CERT_ACTIVE, respectively, before you update your A and AAAA records.

interface LiveMigrationStep {
readonly certVerification?: CertVerification;
readonly dnsUpdates?: DnsUpdates;
readonly issues?: Status[];
readonly state?:
| "STATE_UNSPECIFIED"
| "PREPARING"
| "PENDING"
| "INCOMPLETE"
| "PROCESSING"
| "COMPLETE";
}

§Properties

§
readonly certVerification?: CertVerification
[src]

Output only. A pair of ACME challenges that Hosting's Certificate Authority (CA) can use to create an SSL cert for your domain name. Use either the DNS or HTTP challenge; it's not necessary to provide both.

§
readonly dnsUpdates?: DnsUpdates
[src]

Output only. DNS updates to facilitate your domain's zero-downtime migration to Hosting.

§
readonly issues?: Status[]
[src]

Output only. Issues that prevent the current step from completing.

§
readonly state?: "STATE_UNSPECIFIED" | "PREPARING" | "PENDING" | "INCOMPLETE" | "PROCESSING" | "COMPLETE"
[src]

Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it.