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

    Interface IPv4PrivateAllocationSpec

    Represents the nebius.vpc.v1alpha1.IPv4PrivateAllocationSpec protobuf message.

    interface IPv4PrivateAllocationSpec {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.vpc.v1alpha1.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

      Represents the nebius.vpc.v1alpha1.IPv4PrivateAllocationSpec protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.vpc.v1alpha1.IPv4PrivateAllocationSpec protobuf message.

            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.v1alpha1.IPv4PrivateAllocationSpec"

    Contains the fully qualified protobuf type name.

    cidr: string

    CIDR block for IPv4 Allocation. May be a single IP address (such as 10.2.3.4), a prefix length (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). Random address (/32) from pool would be allocated if field is omitted.

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

    Contains the selected value for the pool protobuf oneof.

    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.