import { Button, Icon, Spinner, Text } from '@grafana/ui';
import { Trans, t } from 'app/core/internationalization';
import { CTAInfo } from './CTAInfo';
interface SnapshotCTAProps {
disabled: boolean;
isLoading: boolean;
onClick: () => void;
}
export function BuildSnapshotCTA(props: SnapshotCTAProps) {
const { disabled, isLoading, onClick } = props;
return (
}
>
This tool can migrate some resources from this installation to your cloud stack. To get started, you'll
need to create a snapshot of this installation. Creating a snapshot typically takes less than two minutes. The
snapshot is stored alongside this Grafana installation.
Once the snapshot is complete, you will be able to upload it to your cloud stack.
);
}
export function CreatingSnapshotCTA(props: SnapshotCTAProps) {
const { disabled, isLoading, onClick } = props;
return (
}
>
We're creating a point-in-time snapshot of the current state of this installation. Once the snapshot is
complete. you'll be able to upload it to Grafana Cloud.
Creating a snapshot typically takes less than two minutes.
);
}