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/firebaseapphosting:v1.ts";

A set of updates including ACME challenges and DNS records that allow App Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to App Hosting servers. Use these updates to facilitate zero downtime migrations to App 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 dnsUpdates?: DnsUpdates[];
readonly issues?: Status[];
readonly relevantDomainStates?:
| "CUSTOM_DOMAIN_STATE_UNSPECIFIED"
| "HOST_STATE"
| "OWNERSHIP_STATE"
| "CERT_STATE"[];
readonly stepState?:
| "STEP_STATE_UNSPECIFIED"
| "PREPARING"
| "PENDING"
| "INCOMPLETE"
| "PROCESSING"
| "COMPLETE";
}

§Properties

§
readonly dnsUpdates?: DnsUpdates[]
[src]

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

§
readonly issues?: Status[]
[src]

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

§
readonly relevantDomainStates?: "CUSTOM_DOMAIN_STATE_UNSPECIFIED" | "HOST_STATE" | "OWNERSHIP_STATE" | "CERT_STATE"[]
[src]

Output only. One or more states from the CustomDomainStatus of the migrating domain that this step is attempting to make ACTIVE. For example, if the step is attempting to mint an SSL certificate, this field will include CERT_STATE.

§
readonly stepState?: "STEP_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.