resource_discovery_services
Creates, updates, deletes, gets or lists a resource_discovery_services resource.
Overview​
| Name | resource_discovery_services |
| Type | Resource |
| Id | oci.resource_manager.resource_discovery_services |
Fields​
The following fields are returned by SELECT queries:
- list
A list of supported Resource Discovery services.
| Name | Datatype | Description |
|---|---|---|
name | string | A supported service. Example: core For reference on service names, see the [Terraform provider documentation](https:​//www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services). |
discoveryScope | string | The scope of the service as used with Resource Discovery. This property determines the type of compartment OCID required: root compartment (TENANCY) or not (COMPARTMENT). For example, identity is at the root compartment scope while database is at the compartment scope. (TENANCY, COMPARTMENT) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | region | opc-request-id, compartmentId | Returns a list of supported services for [Resource Discovery](/iaas/Content/ResourceManager/Concepts/resource-discovery.htm).<br />For reference on service names, see the [Terraform provider documentation](https:​//www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services).<br />For more information, see<br />[Listing Resource Discovery Services](/iaas/Content/ResourceManager/Tasks/list-discovery-services.htm).<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 |
|---|---|---|
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) |
compartmentId | string | A filter to return only resources that exist in the compartment, identified by [OCID](/iaas/Content/General/Concepts/identifiers.htm). |
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
SELECT examples​
- list
Returns a list of supported services for [Resource Discovery](/iaas/Content/ResourceManager/Concepts/resource-discovery.htm).<br />For reference on service names, see the [Terraform provider documentation](https:​//www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services).<br />For more information, see<br />[Listing Resource Discovery Services](/iaas/Content/ResourceManager/Tasks/list-discovery-services.htm).<br />
SELECT
name,
discoveryScope
FROM oci.resource_manager.resource_discovery_services
WHERE region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND compartmentId = '{{ compartmentId }}'
;