Memco

Interface CreateNetworkOptions

What NetworkOperations.create makes a network from.

A network is either a root, placed in a memory domain, or the child of another network, whose domain it takes.

interface CreateNetworkOptions {
    name: string;
    parentId?: string;
    parentIds?: Iterable<string, any, any>;
    domain?: string;
    scope?: string;
    owner?: string;
    description?: string;
    timeout?: number;
}

Hierarchy (View Summary)

Index
name: string

The network's name.

parentId?: string

The network to create this one under, read as parentIds holding this one network.

Use parentIds, and never both.

parentIds?: Iterable<string, any, any>

The networks to create this one under, each named once and all in one domain, which the new network takes. Omitted or empty, the new network is a root.

domain?: string

The memory domain of a root network. Omitted, your organization's default. A child must not name one.

scope?: string

internal or customer, where your organization uses scopes. An external user can be placed only in a customer network.

owner?: string

Who the network's knowledge belongs to.

description?: string

What the network is for.

timeout?: number

Seconds to wait for this call. Defaults to the client's own timeout.

On this page