@nebius/js-sdk - v0.2.78
    Preparing search index...

    Interface VMDiscoveryOptions

    Configures the VM fallback used by Config.load when its config file is missing.

    interface VMDiscoveryOptions {
        fetch?: (
            input: string | URL | Request,
            init?: RequestInit,
        ) => Promise<Response>;
        tokenEndpoint?: string;
        tokenFile?: string;
    }
    Index
    fetch?: (input: string | URL | Request, init?: RequestInit) => Promise<Response>

    Supplies the HTTP implementation used for the metadata availability probe.

    Type Declaration

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Supplies the HTTP implementation used for the metadata availability probe.

        Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    tokenEndpoint?: string

    Overrides the metadata token endpoint.

    tokenFile?: string

    Overrides the mounted metadata token path.