bulk_action_resource_types
Creates, updates, deletes, gets or lists a bulk_action_resource_types resource.
Overview​
| Name | bulk_action_resource_types |
| Type | Resource |
| Id | oci.identity.bulk_action_resource_types |
Fields​
The following fields are returned by SELECT queries:
- list
The list is being retrieved.
| Name | Datatype | Description |
|---|---|---|
name | string | The unique name of the resource-type. |
metadataKeys | array | List 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | bulkActionType, region | page, limit | 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 /> |
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.
| Name | Datatype | Description |
|---|---|---|
bulkActionType | string | The type of bulk action. |
region | string | OCI 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) |
limit | integer | The maximum number of items to return in a paginated "List" call. |
page | string | The value of the opc-next-page response header from the previous "List" call. |
SELECT examples​
- list
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 }}'
;