Skip to main content

bulk_action_resource_types

Creates, updates, deletes, gets or lists a bulk_action_resource_types resource.

Overview​

Namebulk_action_resource_types
TypeResource
Idoci.identity.bulk_action_resource_types

Fields​

The following fields are returned by SELECT queries:

The list is being retrieved.

NameDatatypeDescription
namestringThe unique name of the resource-type.
metadataKeysarrayList of metadata keys required to identify a specific resource. Some resource-types require information besides an OCID to identify a specific resource. For example, the resource-type buckets requires metadataKeys ["namespaceName", "bucketName"] to identify a specific bucket. The required information to identify a resource is in the API documentation for the resource-type. For example, the required information for buckets is found in the [DeleteBucket API](#/en/objectstorage/20160918/Bucket/DeleteBucket).

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectbulkActionType, regionpage, limitLists the resource-types supported by compartment bulk actions. Use this API to help you provide the correct<br />resource-type information to the [BulkDeleteResources](#/en/identity/20160918/Compartment/BulkDeleteResources/)<br />and [BulkMoveResources](#/en/identity/20160918/Compartment/BulkMoveResources/) operations. The returned list of<br />resource-types provides the appropriate resource-type names to use with the bulk action operations along with<br />the type of identifying information you'll need to provide for each resource-type. Most resource-types just<br />require an [OCID](/Content/General/Concepts/identifiers.htm) to identify a specific resource, but some resource-types,<br />such as buckets, require you to provide other identifying information.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
bulkActionTypestringThe type of bulk action.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
limitintegerThe maximum number of items to return in a paginated "List" call.
pagestringThe value of the opc-next-page response header from the previous "List" call.

SELECT examples​

Lists the resource-types supported by compartment bulk actions. Use this API to help you provide the correct<br />resource-type information to the [BulkDeleteResources](#/en/identity/20160918/Compartment/BulkDeleteResources/)<br />and [BulkMoveResources](#/en/identity/20160918/Compartment/BulkMoveResources/) operations. The returned list of<br />resource-types provides the appropriate resource-type names to use with the bulk action operations along with<br />the type of identifying information you'll need to provide for each resource-type. Most resource-types just<br />require an [OCID](/Content/General/Concepts/identifiers.htm) to identify a specific resource, but some resource-types,<br />such as buckets, require you to provide other identifying information.<br />

SELECT
name,
metadataKeys
FROM oci.identity.bulk_action_resource_types
WHERE bulkActionType = '{{ bulkActionType }}' -- required
AND region = '{{ region }}' -- required
AND page = '{{ page }}'
AND limit = '{{ limit }}'
;