@runloop/api-client - v1.4.0
    Preparing search index...

    Interface NetworkPolicyCreateParams

    interface NetworkPolicyCreateParams {
        name: string;
        allow_all?: boolean | null;
        allow_devbox_to_devbox?: boolean | null;
        allowed_hostnames?: string[] | null;
        description?: string | null;
    }
    Index

    Properties

    name: string

    The human-readable name for the NetworkPolicy. Must be unique within the account.

    allow_all?: boolean | null

    (Optional) If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults to false.

    allow_devbox_to_devbox?: boolean | null

    (Optional) If true, allows traffic between the account's own devboxes via tunnels. Defaults to false. If allow_all is true, this is automatically set to true.

    allowed_hostnames?: string[] | null

    (Optional) DNS-based allow list with wildcard support. Examples: ['github.com', '*.npmjs.org'].

    description?: string | null

    Optional description for the NetworkPolicy.