@nebius/js-sdk - v0.1.41
    Preparing search index...
    interface CORSRule {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.storage.v1.CORSRule";
        allowedHeaders: string[];
        allowedMethods: string[];
        allowedOrigins: string[];
        exposeHeaders: string[];
        id?: string;
        maxAgeSeconds?: number;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined
    Index

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.storage.v1.CORSRule"
    allowedHeaders: string[]

    Headers that are allowed in a preflight request through the Access-Control-Request-Headers header

    allowedMethods: string[]

    HTTP methods CORS is allowed for: GET, PUT, POST, DELETE, HEAD.

    allowedOrigins: string[]

    The origins that you want to allow cross-domain requests from. Single wildcard * is allowed.

    exposeHeaders: string[]

    Headers in the response that you want customers to be able to access from their applications.

    id?: string

    Optional rule identifier.

    maxAgeSeconds?: number

    Time in seconds that your browser can cache the response for a preflight request as identified by the resource.