reveal-sdk-node
Version:
RevealBI Node.js SDK
41 lines (40 loc) • 2.05 kB
TypeScript
import { RVDashboardDataSource } from "../AbstractClasses/RVDashboardDataSource";
import { RVAzureCosmosDBConnectionMode } from "./RVAzureCosmosDBConnectionMode";
import { nullableString } from "../types";
/** Azure CosmosDB data source */
export declare class RVAzureCosmosDBDataSource extends RVDashboardDataSource {
constructor();
constructor(json: any);
toJson(): any;
getProviderKey(): string;
private _accountEndpoint;
/** Gets or sets the URI of the Azure CosmosDB account endpoint (e.g. https://myaccount.documents.azure.com:443/). */
get accountEndpoint(): nullableString;
set accountEndpoint(value: nullableString);
private _applicationRegion;
/** Gets or sets the preferred Azure region for read and write operations. Leave null to use the account default. */
get applicationRegion(): nullableString;
set applicationRegion(value: nullableString);
private _connectionMode;
/** Gets or sets the connection mode used to communicate with the CosmosDB service. Defaults to Gateway. */
get connectionMode(): RVAzureCosmosDBConnectionMode;
set connectionMode(value: RVAzureCosmosDBConnectionMode);
private _acceptAnyServerCertificate;
/**
* When set to true, the HTTP client accepts any server certificate without validation.
* Useful in development or test environments with self-signed certificates. Do not use in production.
*/
get acceptAnyServerCertificate(): boolean;
set acceptAnyServerCertificate(value: boolean);
private _database;
/** Gets or sets the name of the database to connect to. */
get database(): nullableString;
set database(value: nullableString);
private _processDataOnServerDefaultValue;
get processDataOnServerDefaultValue(): boolean;
set processDataOnServerDefaultValue(value: boolean);
private _processDataOnServerReadOnly;
get processDataOnServerReadOnly(): boolean;
set processDataOnServerReadOnly(value: boolean);
getType(): string;
}