CreateDatasourceRequest: {
    isDefault: boolean;
    name: string;
    projectId?: string;
    type?: DatasourceType;
}

Request to create a data source.

Type declaration

  • isDefault: boolean

    Specifies that the returned output is the default data source per type.

  • name: string

    Data source name.

  • OptionalprojectId?: string

    ID of the Project the Cockpit belongs to.

  • Optionaltype?: DatasourceType

    Data source type.