IndexResource
IndexResource · Type
Methods
Section titled “Methods”configure
Section titled “configure”indexResource.configure(pod_type: string, replicas: int) → Result
Change this index’s pod type and number of replicas.
createPod
Section titled “createPod”indexResource.createPod(dimension: int, metric?: string, environment?: string, replicas?: int, pod_type?: string, pods?: int, shards?: int, metadataConfig?: array, sourceCollection?: string) → Result
Create a pod-based index with this name.
createServerless
Section titled “createServerless”indexResource.createServerless(dimension: int, metric?: string, cloud?: string, region?: string) → Result
Create a serverless index with this name.
delete
Section titled “delete”indexResource.delete() → Result
Delete this index.
describe
Section titled “describe”indexResource.describe() → Result
Describe this index.
indexResource.list() → Result
List the indexes.