The spec object defines how the index should be deployed.

For serverless indexes, you define only the cloud and region where the index should be hosted. For pod-based indexes, you define the environment where the index should be hosted, the pod type and size to use, and other index characteristics.

interface CreateIndexSpec {
    byoc?: CreateIndexByocSpec;
    pod?: CreateIndexPodSpec;
    serverless?: CreateIndexServerlessSpec;
}

Properties

The byoc object allows you to configure a BYOC index.

The pod object allows you to configure a pods-based index.

The serverless object allows you to configure a serverless index.