ResourceDiscoveryServiceSummary

class oci.resource_manager.models.ResourceDiscoveryServiceSummary(**kwargs)

Bases: object

A service supported for use with Resource Discovery.

Attributes

DISCOVERY_SCOPE_COMPARTMENT A constant which can be used with the discovery_scope property of a ResourceDiscoveryServiceSummary.
DISCOVERY_SCOPE_TENANCY A constant which can be used with the discovery_scope property of a ResourceDiscoveryServiceSummary.
discovery_scope Gets the discovery_scope of this ResourceDiscoveryServiceSummary.
name Gets the name of this ResourceDiscoveryServiceSummary.

Methods

__init__(**kwargs) Initializes a new ResourceDiscoveryServiceSummary object with values from keyword arguments.
DISCOVERY_SCOPE_COMPARTMENT = 'COMPARTMENT'

A constant which can be used with the discovery_scope property of a ResourceDiscoveryServiceSummary. This constant has a value of “COMPARTMENT”

DISCOVERY_SCOPE_TENANCY = 'TENANCY'

A constant which can be used with the discovery_scope property of a ResourceDiscoveryServiceSummary. This constant has a value of “TENANCY”

__init__(**kwargs)

Initializes a new ResourceDiscoveryServiceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this ResourceDiscoveryServiceSummary.
  • discovery_scope (str) – The value to assign to the discovery_scope property of this ResourceDiscoveryServiceSummary. Allowed values for this property are: “TENANCY”, “COMPARTMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
discovery_scope

Gets the discovery_scope of this ResourceDiscoveryServiceSummary. 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.

Allowed values for this property are: “TENANCY”, “COMPARTMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The discovery_scope of this ResourceDiscoveryServiceSummary.
Return type:str
name

Gets the name of this ResourceDiscoveryServiceSummary. A supported service. Example: core For reference on service names, see the Terraform provider documentation.

Returns:The name of this ResourceDiscoveryServiceSummary.
Return type:str