Variable ServerTypeConst

ServerType: Readonly<{
    LoadBalancer: "LoadBalancer";
    Mongos: "Mongos";
    PossiblePrimary: "PossiblePrimary";
    RSArbiter: "RSArbiter";
    RSGhost: "RSGhost";
    RSOther: "RSOther";
    RSPrimary: "RSPrimary";
    RSSecondary: "RSSecondary";
    Standalone: "Standalone";
    Unknown: "Unknown";
}>

An enumeration of server types we know about

Type declaration

  • Readonly LoadBalancer: "LoadBalancer"
  • Readonly Mongos: "Mongos"
  • Readonly PossiblePrimary: "PossiblePrimary"
  • Readonly RSArbiter: "RSArbiter"
  • Readonly RSGhost: "RSGhost"
  • Readonly RSOther: "RSOther"
  • Readonly RSPrimary: "RSPrimary"
  • Readonly RSSecondary: "RSSecondary"
  • Readonly Standalone: "Standalone"
  • Readonly Unknown: "Unknown"

Generated using TypeDoc