Skip to Content

create()

create( projectId, productId, input ): Promise<{ allowanceMetric: UsageRuleAllowanceMetric; allowanceValue: number; billedUsages: object[]; conflicts: { clientData: unknown; conflictedAt: number; serverData: unknown; }; createdAt?: string; id: string; metadata: Record<string, unknown>; product: { id: string; }; project: { id: string; }; sandboxMode: boolean; scopeKind: UsageRuleScopeKind; scopeValue: string; tombstoned?: boolean; tombstonedAt?: string | null; updatedAt?: string; }>;

Parameters

projectId

string

productId

string

input

allowanceMetric

UsageRuleAllowanceMetric = ...

allowanceValue

number = ...

scopeKind

UsageRuleScopeKind = ...

scopeValue

string = ...

Last updated on