Liking cljdoc? Tell your friends :D

clj-oci.tag.bulk

OCI Bulk Tag and Standard Tag Template API wrapper.

Provides operations for bulk tag management and standard templates:

  • bulk-delete-tags — delete multiple tag definitions (async)
  • bulk-edit-tags — add/update/remove tags on resources (async)
  • list-bulk-edit-tags-resource-types — metadata: which resource types support bulk edit
  • import-standard-tags — import Oracle standard tag templates (async)
  • list-standard-tag-namespaces — list available standard templates
  • get-standard-tag-template — get a specific standard template

Uses IdentityClient via clj-oci.clients. No caching — tags are dynamic and always fetched fresh.

OCI Bulk Tag and Standard Tag Template API wrapper.

Provides operations for bulk tag management and standard templates:
- `bulk-delete-tags` — delete multiple tag definitions (async)
- `bulk-edit-tags` — add/update/remove tags on resources (async)
- `list-bulk-edit-tags-resource-types` — metadata: which resource types support bulk edit
- `import-standard-tags` — import Oracle standard tag templates (async)
- `list-standard-tag-namespaces` — list available standard templates
- `get-standard-tag-template` — get a specific standard template

Uses `IdentityClient` via `clj-oci.clients`. No caching — tags are
dynamic and always fetched fresh.
raw docstring

bulk-delete-tagsclj

(bulk-delete-tags tag-definition-ids)
(bulk-delete-tags tag-definition-ids opts)

Deletes multiple tag definitions (async). Tags must be retired first.

Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.

tag-definition-ids is a vector of tag definition OCID strings.

opts may include: :opc-retry-token — idempotency token :is-lock-override — boolean, override locks

Deletes multiple tag definitions (async). Tags must be retired first.

Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.

`tag-definition-ids` is a vector of tag definition OCID strings.

`opts` may include:
  :opc-retry-token  — idempotency token
  :is-lock-override — boolean, override locks
raw docstring

bulk-edit-tagsclj

(bulk-edit-tags details)
(bulk-edit-tags details opts)

Edits tags on multiple resources in bulk (async).

Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.

details is a map: :compartment-id — OCID of compartment (required) :resources — vector of {:id :resource-type :metadata} maps (required) :bulk-edit-operations — vector of {:operation-type :defined-tags} maps (required) operation-type: :add-where-absent, :set-where-present, :add-or-set, :remove

opts may include: :opc-retry-token — idempotency token

Edits tags on multiple resources in bulk (async).

Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.

`details` is a map:
  :compartment-id      — OCID of compartment (required)
  :resources           — vector of {:id :resource-type :metadata} maps (required)
  :bulk-edit-operations — vector of {:operation-type :defined-tags} maps (required)
    operation-type: :add-where-absent, :set-where-present, :add-or-set, :remove

`opts` may include:
  :opc-retry-token — idempotency token
raw docstring

get-standard-tag-templateclj

(get-standard-tag-template compartment-id standard-tag-namespace-name)

Fetches a specific standard tag namespace template.

Returns {:data {...}} or {:error ...}.

Fetches a specific standard tag namespace template.

Returns {:data {...}} or {:error ...}.
raw docstring

import-standard-tagsclj

(import-standard-tags compartment-id standard-tag-namespace-name)
(import-standard-tags compartment-id standard-tag-namespace-name opts)

Imports a standard tag namespace template into a compartment (async).

Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.

opts may include: :opc-retry-token — idempotency token

Imports a standard tag namespace template into a compartment (async).

Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.

`opts` may include:
  :opc-retry-token — idempotency token
raw docstring

list-bulk-edit-tags-resource-typesclj

(list-bulk-edit-tags-resource-types)
(list-bulk-edit-tags-resource-types opts)

Lists resource types that support bulk tag editing, paginating automatically.

Returns {:data {:items [{:resourceType "..." :metadataKeys [...]} ...]}} or {:error ...}.

Options (all optional): :limit — page size, default 100

Lists resource types that support bulk tag editing, paginating automatically.

Returns {:data {:items [{:resourceType "..." :metadataKeys [...]} ...]}}
or {:error ...}.

Options (all optional):
  :limit — page size, default 100
raw docstring

list-standard-tag-namespacesclj

(list-standard-tag-namespaces compartment-id)
(list-standard-tag-namespaces compartment-id opts)

Lists available standard tag namespace templates, paginating automatically.

Returns {:data {:items [template-summary-maps...]}} or {:error ...}.

Options (all optional): :limit — page size, default 100

Lists available standard tag namespace templates, paginating automatically.

Returns {:data {:items [template-summary-maps...]}} or {:error ...}.

Options (all optional):
  :limit — page size, default 100
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close