Function createInstance

  • Acts as the entrypoint into the rest of the library. Connecting to the cluster and exposing the various services and features.

    Parameters

    • connStr: string

      The connection string to use to connect to the cluster.

    • credential: Credential

      The credential details to use to connect to the cluster.

    • Optional options: ClusterOptions

      Optional parameters for this operation.

    Returns Cluster