UNPKG

25.6 kBTypeScriptView Raw
1/// <reference types="node" />
2import { Cluster } from './cluster';
3import { CppManagementAnalyticsCouchbaseRemoteLink, CppManagementAnalyticsS3ExternalLink, CppManagementAnalyticsAzureBlobExternalLink } from './binding';
4import { NodeCallback } from './utilities';
5/**
6 * Represents the type of an analytics link.
7 *
8 * @category Analytics
9 */
10export declare enum AnalyticsLinkType {
11 /**
12 * Indicates that the link is for S3.
13 */
14 S3External = "s3",
15 /**
16 * Indicates that the link is for Azure.
17 */
18 AzureBlobExternal = "azureblob",
19 /**
20 * Indicates that the link is for a remote Couchbase cluster.
21 */
22 CouchbaseRemote = "couchbase"
23}
24/**
25 * Represents what level of encryption to use for analytics remote links.
26 *
27 * @category Analytics
28 */
29export declare enum AnalyticsEncryptionLevel {
30 /**
31 * Indicates that no encryption should be used.
32 */
33 None = "none",
34 /**
35 * Indicates that half encryption should be used.
36 */
37 Half = "half",
38 /**
39 * Indicates that full encryption should be used.
40 */
41 Full = "full"
42}
43/**
44 * Contains a specific dataset configuration for the analytics service.
45 *
46 * @category Management
47 */
48export declare class AnalyticsDataset {
49 /**
50 * The name of the dataset.
51 */
52 name: string;
53 /**
54 * The name of the dataverse that this dataset exists within.
55 */
56 dataverseName: string;
57 /**
58 * The name of the link that is associated with this dataset.
59 */
60 linkName: string;
61 /**
62 * The name of the bucket that this dataset includes.
63 */
64 bucketName: string;
65 /**
66 * @internal
67 */
68 constructor(data: AnalyticsDataset);
69}
70/**
71 * Contains a specific index configuration for the analytics service.
72 *
73 * @category Management
74 */
75export declare class AnalyticsIndex {
76 /**
77 * The name of the index.
78 */
79 name: string;
80 /**
81 * The name of the dataset this index belongs to.
82 */
83 datasetName: string;
84 /**
85 * The name of the dataverse this index belongs to.
86 */
87 dataverseName: string;
88 /**
89 * Whether or not this is a primary index or not.
90 */
91 isPrimary: boolean;
92 /**
93 * @internal
94 */
95 constructor(data: AnalyticsIndex);
96}
97/**
98 * Specifies encryption options for an analytics remote link.
99 */
100export interface ICouchbaseAnalyticsEncryptionSettings {
101 /**
102 * Specifies what level of encryption should be used.
103 */
104 encryptionLevel: AnalyticsEncryptionLevel;
105 /**
106 * Provides a certificate to use for connecting when encryption level is set
107 * to full. Required when encryptionLevel is set to Full.
108 */
109 certificate?: Buffer;
110 /**
111 * Provides a client certificate to use for connecting when encryption level
112 * is set to full. Cannot be set if a username/password are used.
113 */
114 clientCertificate?: Buffer;
115 /**
116 * Provides a client key to use for connecting when encryption level is set
117 * to full. Cannot be set if a username/password are used.
118 */
119 clientKey?: Buffer;
120}
121/**
122 * Includes information about an analytics remote links encryption.
123 */
124export declare class CouchbaseAnalyticsEncryptionSettings implements ICouchbaseAnalyticsEncryptionSettings {
125 /**
126 * Specifies what level of encryption should be used.
127 */
128 encryptionLevel: AnalyticsEncryptionLevel;
129 /**
130 * Provides a certificate to use for connecting when encryption level is set
131 * to full. Required when encryptionLevel is set to Full.
132 */
133 certificate?: Buffer;
134 /**
135 * Provides a client certificate to use for connecting when encryption level
136 * is set to full. Cannot be set if a username/password are used.
137 */
138 clientCertificate?: Buffer;
139 /**
140 * Provides a client key to use for connecting when encryption level is set
141 * to full. Cannot be set if a username/password are used.
142 */
143 clientKey?: Buffer;
144 /**
145 * @internal
146 */
147 constructor(data: CouchbaseAnalyticsEncryptionSettings);
148}
149/**
150 * Provides a base class for specifying options for an analytics link.
151 *
152 * @category Management
153 */
154export interface IAnalyticsLink {
155 /**
156 * Specifies what type of analytics link this represents.
157 */
158 linkType: AnalyticsLinkType;
159 /**
160 * The dataverse that this link belongs to.
161 */
162 dataverse: string;
163 /**
164 * The name of this link.
165 */
166 name: string;
167}
168/**
169 * This is a base class for specific link configurations for the analytics service.
170 */
171export declare abstract class AnalyticsLink implements IAnalyticsLink {
172 /**
173 * @internal
174 */
175 constructor();
176 /**
177 * Specifies what type of analytics link this represents.
178 */
179 linkType: AnalyticsLinkType;
180 /**
181 * The dataverse that this link belongs to.
182 */
183 dataverse: string;
184 /**
185 * The name of this link.
186 */
187 name: string;
188 /**
189 * Validates the link.
190 */
191 abstract validate(): void;
192 /**
193 * @internal
194 */
195 static _toHttpData(data: IAnalyticsLink): any;
196 /**
197 * @internal
198 */
199 static _fromHttpData(data: any): AnalyticsLink;
200}
201/**
202 * Provides options for configuring an analytics remote couchbase cluster link.
203 */
204export interface ICouchbaseRemoteAnalyticsLink extends IAnalyticsLink {
205 /**
206 * Specifies what type of analytics link this represents.
207 */
208 linkType: AnalyticsLinkType.CouchbaseRemote;
209 /**
210 * The dataverse that this link belongs to.
211 */
212 dataverse: string;
213 /**
214 * The name of this link.
215 */
216 name: string;
217 /**
218 * The hostname of the target Couchbase cluster.
219 */
220 hostname: string;
221 /**
222 * The encryption settings to be used for the link.
223 */
224 encryption?: ICouchbaseAnalyticsEncryptionSettings;
225 /**
226 * The username to use for authentication with the remote cluster. Optional
227 * if client-certificate authentication
228 * (@see ICouchbaseAnalyticsEncryptionSettings.clientCertificate) is being used.
229 */
230 username?: string;
231 /**
232 * The password to use for authentication with the remote cluster. Optional
233 * if client-certificate authentication
234 * (@see ICouchbaseAnalyticsEncryptionSettings.clientCertificate) is being used.
235 */
236 password?: string;
237}
238/**
239 * Provides information about a analytics remote Couchbase link.
240 */
241export declare class CouchbaseRemoteAnalyticsLink extends AnalyticsLink implements ICouchbaseRemoteAnalyticsLink {
242 /**
243 * Specifies what type of analytics link this represents.
244 */
245 linkType: AnalyticsLinkType.CouchbaseRemote;
246 /**
247 * The dataverse that this link belongs to.
248 */
249 dataverse: string;
250 /**
251 * The name of this link.
252 */
253 name: string;
254 /**
255 * The hostname of the target Couchbase cluster.
256 */
257 hostname: string;
258 /**
259 * The encryption settings to be used for the link.
260 */
261 encryption?: CouchbaseAnalyticsEncryptionSettings;
262 /**
263 * The username to use for authentication with the remote cluster. Optional
264 * if client-certificate authentication
265 * (@see ICouchbaseAnalyticsEncryptionSettings.clientCertificate) is being used.
266 */
267 username?: string;
268 /**
269 * The password to use for authentication with the remote cluster. Optional
270 * if client-certificate authentication
271 * (@see ICouchbaseAnalyticsEncryptionSettings.clientCertificate) is being used.
272 */
273 password?: string;
274 /**
275 * Validates the CouchbaseRemoteAnalyticsLink.
276 */
277 validate(): void;
278 /**
279 * @internal
280 */
281 constructor(data: ICouchbaseRemoteAnalyticsLink);
282 /**
283 * @internal
284 */
285 static _toCppData(data: CouchbaseRemoteAnalyticsLink): CppManagementAnalyticsCouchbaseRemoteLink;
286 /**
287 * @internal
288 */
289 static _fromCppData(data: CppManagementAnalyticsCouchbaseRemoteLink): CouchbaseRemoteAnalyticsLink;
290}
291/**
292 * Provides options for configuring an analytics remote S3 link.
293 */
294export interface IS3ExternalAnalyticsLink extends IAnalyticsLink {
295 /**
296 * Specifies what type of analytics link this represents.
297 */
298 linkType: AnalyticsLinkType.S3External;
299 /**
300 * The dataverse that this link belongs to.
301 */
302 dataverse: string;
303 /**
304 * The name of this link.
305 */
306 name: string;
307 /**
308 * The AWS S3 access key.
309 */
310 accessKeyId: string;
311 /**
312 * The AWS S3 secret key.
313 */
314 secretAccessKey?: string;
315 /**
316 * The AWS S3 token if temporary credentials are provided. Only available
317 * in Couchbase Server 7.0 and above.
318 */
319 sessionToken?: string;
320 /**
321 * The AWS S3 region.
322 */
323 region: string;
324 /**
325 * The AWS S3 service endpoint.
326 */
327 serviceEndpoint?: string;
328}
329/**
330 * Provides information about a analytics remote S3 link.
331 */
332export declare class S3ExternalAnalyticsLink extends AnalyticsLink implements IS3ExternalAnalyticsLink {
333 /**
334 * Specifies what type of analytics link this represents.
335 */
336 linkType: AnalyticsLinkType.S3External;
337 /**
338 * The dataverse that this link belongs to.
339 */
340 dataverse: string;
341 /**
342 * The name of this link.
343 */
344 name: string;
345 /**
346 * The AWS S3 access key.
347 */
348 accessKeyId: string;
349 /**
350 * The AWS S3 secret key.
351 */
352 secretAccessKey?: string;
353 /**
354 * The AWS S3 token if temporary credentials are provided. Only available
355 * in Couchbase Server 7.0 and above.
356 */
357 sessionToken?: string;
358 /**
359 * The AWS S3 region.
360 */
361 region: string;
362 /**
363 * The AWS S3 service endpoint.
364 */
365 serviceEndpoint?: string;
366 /**
367 * @internal
368 */
369 constructor(data: IS3ExternalAnalyticsLink);
370 /**
371 * Validates the S3ExternalAnalyticsLink.
372 */
373 validate(): void;
374 /**
375 * @internal
376 */
377 static _toCppData(data: S3ExternalAnalyticsLink): CppManagementAnalyticsS3ExternalLink;
378 /**
379 * @internal
380 */
381 static _fromCppData(data: CppManagementAnalyticsS3ExternalLink): S3ExternalAnalyticsLink;
382}
383/**
384 * Provides options for configuring an analytics remote Azure link.
385 */
386export interface IAzureExternalAnalyticsLink extends IAnalyticsLink {
387 /**
388 * Specifies what type of analytics link this represents.
389 */
390 linkType: AnalyticsLinkType.AzureBlobExternal;
391 /**
392 * The dataverse that this link belongs to.
393 */
394 dataverse: string;
395 /**
396 * The name of this link.
397 */
398 name: string;
399 /**
400 * The connection string to use to connect to the external Azure store.
401 */
402 connectionString?: string;
403 /**
404 * The Azure blob storage account name.
405 */
406 accountName?: string;
407 /**
408 * The Azure blob storage account key.
409 */
410 accountKey?: string;
411 /**
412 * The shared access signature to use for authentication.
413 */
414 sharedAccessSignature?: string;
415 /**
416 * The Azure blob storage endpoint.
417 */
418 blobEndpoint?: string;
419 /**
420 * The Azure blob endpoint suffix.
421 */
422 endpointSuffix?: string;
423}
424/**
425 * Provides information about a analytics remote S3 link.
426 */
427export declare class AzureExternalAnalyticsLink extends AnalyticsLink implements IAzureExternalAnalyticsLink {
428 /**
429 * Specifies what type of analytics link this represents.
430 */
431 linkType: AnalyticsLinkType.AzureBlobExternal;
432 /**
433 * The dataverse that this link belongs to.
434 */
435 dataverse: string;
436 /**
437 * The name of this link.
438 */
439 name: string;
440 /**
441 * The connection string to use to connect to the external Azure store.
442 */
443 connectionString?: string;
444 /**
445 * The Azure blob storage account name.
446 */
447 accountName?: string;
448 /**
449 * The Azure blob storage account key.
450 */
451 accountKey?: string;
452 /**
453 * The shared access signature to use for authentication.
454 */
455 sharedAccessSignature?: string;
456 /**
457 * The Azure blob storage endpoint.
458 */
459 blobEndpoint?: string;
460 /**
461 * The Azure blob endpoint suffix.
462 */
463 endpointSuffix?: string;
464 /**
465 * @internal
466 */
467 constructor(data: IAzureExternalAnalyticsLink);
468 /**
469 * Validates the AzureExternalAnalyticsLink.
470 */
471 validate(): void;
472 /**
473 * @internal
474 */
475 static _toCppData(data: AzureExternalAnalyticsLink): CppManagementAnalyticsAzureBlobExternalLink;
476 /**
477 * @internal
478 */
479 static _fromCppData(data: CppManagementAnalyticsAzureBlobExternalLink): AzureExternalAnalyticsLink;
480}
481/**
482 * @category Management
483 */
484export interface CreateAnalyticsDataverseOptions {
485 /**
486 * Whether or not the call should ignore the dataverse already existing when
487 * determining whether the call was successful.
488 */
489 ignoreIfExists?: boolean;
490 /**
491 * The timeout for this operation, represented in milliseconds.
492 */
493 timeout?: number;
494}
495/**
496 * @category Management
497 */
498export interface DropAnalyticsDataverseOptions {
499 /**
500 * Whether or not the call should ignore the dataverse not existing when
501 * determining whether the call was successful.
502 */
503 ignoreIfNotExists?: boolean;
504 /**
505 * The timeout for this operation, represented in milliseconds.
506 */
507 timeout?: number;
508}
509/**
510 * @category Management
511 */
512export interface CreateAnalyticsDatasetOptions {
513 /**
514 * Whether or not the call should ignore the dataset already existing when
515 * determining whether the call was successful.
516 */
517 ignoreIfExists?: boolean;
518 /**
519 * The name of the dataverse the dataset should belong to.
520 */
521 dataverseName?: string;
522 /**
523 * A conditional expression to limit the indexes scope.
524 */
525 condition?: string;
526 /**
527 * The timeout for this operation, represented in milliseconds.
528 */
529 timeout?: number;
530}
531/**
532 * @category Management
533 */
534export interface DropAnalyticsDatasetOptions {
535 /**
536 * Whether or not the call should ignore the dataset already existing when
537 * determining whether the call was successful.
538 */
539 ignoreIfNotExists?: boolean;
540 /**
541 * The name of the dataverse the dataset belongs to.
542 */
543 dataverseName?: string;
544 /**
545 * The timeout for this operation, represented in milliseconds.
546 */
547 timeout?: number;
548}
549/**
550 * @category Management
551 */
552export interface GetAllAnalyticsDatasetsOptions {
553 /**
554 * The timeout for this operation, represented in milliseconds.
555 */
556 timeout?: number;
557}
558/**
559 * @category Management
560 */
561export interface CreateAnalyticsIndexOptions {
562 /**
563 * Whether or not the call should ignore the dataverse not existing when
564 * determining whether the call was successful.
565 */
566 ignoreIfExists?: boolean;
567 /**
568 * The name of the dataverse the index should belong to.
569 */
570 dataverseName?: string;
571 /**
572 * The timeout for this operation, represented in milliseconds.
573 */
574 timeout?: number;
575}
576/**
577 * @category Management
578 */
579export interface DropAnalyticsIndexOptions {
580 /**
581 * Whether or not the call should ignore the index already existing when
582 * determining whether the call was successful.
583 */
584 ignoreIfNotExists?: boolean;
585 /**
586 * The name of the dataverse the index belongs to.
587 */
588 dataverseName?: string;
589 /**
590 * The timeout for this operation, represented in milliseconds.
591 */
592 timeout?: number;
593}
594/**
595 * @category Management
596 */
597export interface GetAllAnalyticsIndexesOptions {
598 /**
599 * The timeout for this operation, represented in milliseconds.
600 */
601 timeout?: number;
602}
603/**
604 * @category Management
605 */
606export interface ConnectAnalyticsLinkOptions {
607 /**
608 * Whether or not the call should attempt to force the link connection.
609 */
610 force?: boolean;
611 /**
612 * The name of the dataverse the link belongs to.
613 */
614 dataverseName?: string;
615 /**
616 * The name of the link to connect.
617 */
618 linkName?: string;
619 /**
620 * The timeout for this operation, represented in milliseconds.
621 */
622 timeout?: number;
623}
624/**
625 * @category Management
626 */
627export interface DisconnectAnalyticsLinkOptions {
628 /**
629 * The name of the dataverse the link belongs to.
630 */
631 dataverseName?: string;
632 /**
633 * The name of the link to connect.
634 */
635 linkName?: string;
636 /**
637 * The timeout for this operation, represented in milliseconds.
638 */
639 timeout?: number;
640}
641/**
642 * @category Management
643 */
644export interface GetPendingAnalyticsMutationsOptions {
645 /**
646 * The timeout for this operation, represented in milliseconds.
647 */
648 timeout?: number;
649}
650/**
651 * @category Management
652 */
653export interface CreateAnalyticsLinkOptions {
654 /**
655 * The timeout for this operation, represented in milliseconds.
656 */
657 timeout?: number;
658}
659/**
660 * @category Management
661 */
662export interface ReplaceAnalyticsLinkOptions {
663 /**
664 * The timeout for this operation, represented in milliseconds.
665 */
666 timeout?: number;
667}
668/**
669 * @category Management
670 */
671export interface DropAnalyticsLinkOptions {
672 /**
673 * The timeout for this operation, represented in milliseconds.
674 */
675 timeout?: number;
676}
677/**
678 * @category Management
679 */
680export interface GetAllAnalyticsLinksOptions {
681 /**
682 * The name of a dataverse to filter the links list to.
683 */
684 dataverse?: string;
685 /**
686 * The name of a specific link to fetch.
687 */
688 name?: string;
689 /**
690 * The type of link to filter the links list to.
691 */
692 linkType?: AnalyticsLinkType;
693 /**
694 * The timeout for this operation, represented in milliseconds.
695 */
696 timeout?: number;
697}
698/**
699 * AnalyticsIndexManager provides an interface for performing management
700 * operations against the analytics service of the cluster.
701 *
702 * @category Management
703 */
704export declare class AnalyticsIndexManager {
705 private _cluster;
706 /**
707 * @internal
708 */
709 constructor(cluster: Cluster);
710 /**
711 * Creates a new dataverse.
712 *
713 * @param dataverseName The name of the dataverse to create.
714 * @param options Optional parameters for this operation.
715 * @param callback A node-style callback to be invoked after execution.
716 */
717 createDataverse(dataverseName: string, options?: CreateAnalyticsDataverseOptions, callback?: NodeCallback<void>): Promise<void>;
718 /**
719 * Drops a previously created dataverse.
720 *
721 * @param dataverseName The name of the dataverse to drop.
722 * @param options Optional parameters for this operation.
723 * @param callback A node-style callback to be invoked after execution.
724 */
725 dropDataverse(dataverseName: string, options?: DropAnalyticsDataverseOptions, callback?: NodeCallback<void>): Promise<void>;
726 /**
727 * Creates a new dataset.
728 *
729 * @param bucketName The name of the bucket to create this dataset of.
730 * @param datasetName The name of the new dataset.
731 * @param options Optional parameters for this operation.
732 * @param callback A node-style callback to be invoked after execution.
733 */
734 createDataset(bucketName: string, datasetName: string, options?: CreateAnalyticsDatasetOptions, callback?: NodeCallback<void>): Promise<void>;
735 /**
736 * Drops a previously created dataset.
737 *
738 * @param datasetName The name of the dataset to drop.
739 * @param options Optional parameters for this operation.
740 * @param callback A node-style callback to be invoked after execution.
741 */
742 dropDataset(datasetName: string, options?: DropAnalyticsDatasetOptions, callback?: NodeCallback<void>): Promise<void>;
743 /**
744 * Returns a list of all existing datasets.
745 *
746 * @param options Optional parameters for this operation.
747 * @param callback A node-style callback to be invoked after execution.
748 */
749 getAllDatasets(options?: GetAllAnalyticsDatasetsOptions, callback?: NodeCallback<AnalyticsDataset[]>): Promise<AnalyticsDataset[]>;
750 /**
751 * Creates a new index.
752 *
753 * @param datasetName The name of the dataset to create this index on.
754 * @param indexName The name of index to create.
755 * @param fields A map of fields that the index should contain.
756 * @param options Optional parameters for this operation.
757 * @param callback A node-style callback to be invoked after execution.
758 */
759 createIndex(datasetName: string, indexName: string, fields: {
760 [key: string]: string;
761 }, options?: CreateAnalyticsIndexOptions, callback?: NodeCallback<void>): Promise<void>;
762 /**
763 * Drops a previously created index.
764 *
765 * @param datasetName The name of the dataset containing the index to drop.
766 * @param indexName The name of the index to drop.
767 * @param options Optional parameters for this operation.
768 * @param callback A node-style callback to be invoked after execution.
769 */
770 dropIndex(datasetName: string, indexName: string, options?: DropAnalyticsIndexOptions, callback?: NodeCallback<void>): Promise<void>;
771 /**
772 * Returns a list of all existing indexes.
773 *
774 * @param options Optional parameters for this operation.
775 * @param callback A node-style callback to be invoked after execution.
776 */
777 getAllIndexes(options?: GetAllAnalyticsIndexesOptions, callback?: NodeCallback<AnalyticsIndex[]>): Promise<AnalyticsIndex[]>;
778 /**
779 * Connects a not yet connected link.
780 *
781 * @param linkStr The name of the link to connect.
782 * @param options Optional parameters for this operation.
783 * @param callback A node-style callback to be invoked after execution.
784 * @deprecated Use the other overload instead.
785 */
786 connectLink(linkStr: string, options?: ConnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
787 /**
788 * Connects a not yet connected link.
789 *
790 * @param options Optional parameters for this operation.
791 * @param callback A node-style callback to be invoked after execution.
792 */
793 connectLink(options?: ConnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
794 /**
795 * @internal
796 */
797 _connectLinkDeprecated(linkStr: string, options?: ConnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
798 /**
799 * @internal
800 */
801 _connectLink(options?: ConnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
802 /**
803 * Disconnects a previously connected link.
804 *
805 * @param linkStr The name of the link to disconnect.
806 * @param options Optional parameters for this operation.
807 * @param callback A node-style callback to be invoked after execution.
808 * @deprecated Use the other overload instead.
809 */
810 disconnectLink(linkStr: string, options?: DisconnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
811 /**
812 * Disconnects a previously connected link.
813 *
814 * @param options Optional parameters for this operation.
815 * @param callback A node-style callback to be invoked after execution.
816 */
817 disconnectLink(options?: DisconnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
818 /**
819 * @internal
820 */
821 _disconnectLinkDeprecated(linkStr: string, options?: DisconnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
822 /**
823 * @internal
824 */
825 _disconnectLink(options?: DisconnectAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
826 /**
827 * Returns a list of all pending mutations.
828 *
829 * @param options Optional parameters for this operation.
830 * @param callback A node-style callback to be invoked after execution.
831 */
832 getPendingMutations(options?: GetPendingAnalyticsMutationsOptions, callback?: NodeCallback<{
833 [k: string]: {
834 [k: string]: number;
835 };
836 }>): Promise<{
837 [k: string]: {
838 [k: string]: number;
839 };
840 }>;
841 /**
842 * Creates a new analytics remote link.
843 *
844 * @param link The settings for the link to create.
845 * @param options Optional parameters for this operation.
846 * @param callback A node-style callback to be invoked after execution.
847 */
848 createLink(link: IAnalyticsLink, options?: CreateAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
849 /**
850 * Replaces an existing analytics remote link.
851 *
852 * @param link The settings for the updated link.
853 * @param options Optional parameters for this operation.
854 * @param callback A node-style callback to be invoked after execution.
855 */
856 replaceLink(link: IAnalyticsLink, options?: ReplaceAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
857 /**
858 * Drops an existing analytics remote link.
859 *
860 * @param linkName The name of the link to drop.
861 * @param dataverseName The dataverse containing the link to drop.
862 * @param options Optional parameters for this operation.
863 * @param callback A node-style callback to be invoked after execution.
864 */
865 dropLink(linkName: string, dataverseName: string, options?: DropAnalyticsLinkOptions, callback?: NodeCallback<void>): Promise<void>;
866 /**
867 * Returns a list of existing analytics remote links.
868 *
869 * @param options Optional parameters for this operation.
870 * @param callback A node-style callback to be invoked after execution.
871 */
872 getAllLinks(options?: GetAllAnalyticsLinksOptions, callback?: NodeCallback<AnalyticsLink[]>): Promise<AnalyticsLink[]>;
873}