The response from the server when an organization is created or updated

interface FutureResponse {
    id: string;
    remainingTimeMs?: number;
    progress?: number;
    endState?: FutureEndState;
    reason?: string;
    clientData?: Record<string, unknown>;
    reasonData?: {
        name: string;
        version: string;
    } | {
        vmId: string;
        target: string;
    } | {
        vmId: string;
        target: string;
    }[];
    note?: string;
}

Properties

id: string

the id of the Future

remainingTimeMs?: number

the remaining time of the Future

progress?: number

the progress of the Future

endState?: FutureEndState

the end state of the Future

reason?: string

the reason for a failure

clientData?: Record<string, unknown>

object containing client data

reasonData?: {
    name: string;
    version: string;
} | {
    vmId: string;
    target: string;
} | {
    vmId: string;
    target: string;
}[]

object containing reason data

Type declaration

  • name: string
  • version: string

Type declaration

  • vmId: string
  • target: string
note?: string

object containing client data