Cloudflare/resource Library
@swamp/cloudflare/resource-libraryv2026.10.06.1
01README
Cloudflare resource-library infrastructure models
02Release Notes
- Updated: applications
03Models
@swamp/cloudflare/resource-library/applicationsv2026.10.06.1applications.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_id | string | Cloudflare account ID |
| hostnames? | array | Hostnames matched by the application. |
| ip_subnets? | array | IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128. |
| port_protocols? | array | Ports matched by the application, in `protocol/port` or inclusive `protocol/start-end` format (for example, `tcp/443` or `udp/10000-20000`). TCP and UDP ports must be between 0 and 65535. |
| support_domains? | array | Support domains matched by the application. |
| category_id? | number | Numeric identifier for an application category. |
| human_id? | string | Human-readable identifier for the application. |
| name? | string | Application name. |
| apiToken? | string | Cloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| apiKey? | string | Cloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email. |
| email? | string | Cloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey. |
fn create()
Create a Applications
fn get(id: string)
Get a Applications
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Applications |
fn lookup()
Look up an existing Applications by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Applications by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Applications to import |
fn update(identifier?: string)
Update Applications attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Applications by id (e.g. one discovered by list) |
fn delete(id: string)
Delete the Applications
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Applications |
fn sync(identifier?: string)
Sync Applications state from Cloudflare
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Applications by id (e.g. one discovered by list) |
Resources
state(infinite)— Applications resource state
04Previous Versions
2026.09.29.1
- Updated: applications
2026.09.24.1
- Updated: applications
2026.08.15.1
- Added: applications
05Stats
A
100 / 100
Downloads
14
Archive size
9.9 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels