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

    Interface IPv4PrivateAllocationSpec

    Private IPv4 address configuration for the allocation.

    interface IPv4PrivateAllocationSpec {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.vpc.v1.IPv4PrivateAllocationSpec";
        cidr: string;
        pool?:
            | { $case: "subnetId"; subnetId: string }
            | { $case: "poolId"; poolId: string };
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

      Private IPv4 address configuration for the allocation.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Private IPv4 address configuration for the allocation.

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.vpc.v1.IPv4PrivateAllocationSpec"

    Contains the fully qualified protobuf type name.

    cidr: string

    A single IP address (e.g 10.1.2.1), a CIDR block (e.g., "10.1.2.0/24") or a prefix length (e.g., "/32"). If prefix length is specified, the CIDR block will be auto-allocated from the available space in the pool or subnet. If not specified, defaults to "/32".

    pool?:
        | { $case: "subnetId"; subnetId: string }
        | { $case: "poolId"; poolId: string }

    May be changed only from subnet_id to pool_id, and the new pool_id must be equal to status.details.pool_id.

    Type Declaration

    • { $case: "subnetId"; subnetId: string }
      • $case: "subnetId"

        Contains the case.

      • subnetId: string

        Contains the subnet ID.

    • { $case: "poolId"; poolId: string }
      • $case: "poolId"

        Contains the case.

      • poolId: string

        Contains the pool ID.