SetPrivilegeRequest: {
    databaseName: string;
    instanceId: string;
    permission?: DocumentDB.v1beta1.Permission;
    region?: Region;
    userName: string;
}

Type declaration

  • databaseName: string

    Name of the database.

  • instanceId: string

    UUID of the Database Instance.

  • Optionalpermission?: DocumentDB.v1beta1.Permission

    Permission to set (Read, Read/Write, All, Custom).

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • userName: string

    Name of the user.