Type Alias PreviewStackAsyncData

PreviewStackAsyncData: {
    body?: request_StackImportRequest;
    path: { stack_id: number };
    query: {
        detail?: boolean;
        force?: boolean;
        importResources?: boolean;
        output?: string;
        specID?: string;
        workspace: string;
    };
}

Type declaration

  • Optionalbody?: request_StackImportRequest

    The resources to import during the stack preview

  • path: { stack_id: number }
    • stack_id: number

      Stack ID

  • query: {
        detail?: boolean;
        force?: boolean;
        importResources?: boolean;
        output?: string;
        specID?: string;
        workspace: string;
    }
    • Optionaldetail?: boolean

      Show detailed output

    • Optionalforce?: boolean

      Force the preview even when the stack is locked

    • OptionalimportResources?: boolean

      Import existing resources during the stack preview

    • Optionaloutput?: string

      Output format. Choices are: json, default. Default to default output format in Kusion.

    • OptionalspecID?: string

      The Spec ID to use for the preview. Default to the last one generated.

    • workspace: string

      The target workspace to preview the spec in.