TenancyAttachment¶
-
class
oci.resource_analytics.models.TenancyAttachment(**kwargs)¶ Bases:
objectA TenancyAttachment is a customers’ tenancy attached to a ResourceAnalyticsInstance. Attached tenancies will be included in analytics collection.
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
Attributes
DATA_POPULATION_STATUS_ACCEPTEDA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_CANCELEDA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_CANCELINGA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_FAILEDA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_IN_PROGRESSA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_NEEDS_ATTENTIONA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_PARTIALLY_SUCCEEDEDA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_SUCCEEDEDA constant which can be used with the data_population_status property of a TenancyAttachment. DATA_POPULATION_STATUS_WAITINGA constant which can be used with the data_population_status property of a TenancyAttachment. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a TenancyAttachment. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a TenancyAttachment. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a TenancyAttachment. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a TenancyAttachment. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a TenancyAttachment. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a TenancyAttachment. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a TenancyAttachment. data_population_status[Required] Gets the data_population_status of this TenancyAttachment. descriptionGets the description of this TenancyAttachment. id[Required] Gets the id of this TenancyAttachment. is_reporting_tenancy[Required] Gets the is_reporting_tenancy of this TenancyAttachment. lifecycle_detailsGets the lifecycle_details of this TenancyAttachment. lifecycle_state[Required] Gets the lifecycle_state of this TenancyAttachment. monitored_regions[Required] Gets the monitored_regions of this TenancyAttachment. resource_analytics_instance_id[Required] Gets the resource_analytics_instance_id of this TenancyAttachment. system_tagsGets the system_tags of this TenancyAttachment. tenancy_id[Required] Gets the tenancy_id of this TenancyAttachment. time_created[Required] Gets the time_created of this TenancyAttachment. time_data_population_endedGets the time_data_population_ended of this TenancyAttachment. time_data_population_startedGets the time_data_population_started of this TenancyAttachment. time_updatedGets the time_updated of this TenancyAttachment. Methods
__init__(**kwargs)Initializes a new TenancyAttachment object with values from keyword arguments. -
DATA_POPULATION_STATUS_ACCEPTED= 'ACCEPTED'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “ACCEPTED”
-
DATA_POPULATION_STATUS_CANCELED= 'CANCELED'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “CANCELED”
-
DATA_POPULATION_STATUS_CANCELING= 'CANCELING'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “CANCELING”
-
DATA_POPULATION_STATUS_FAILED= 'FAILED'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “FAILED”
-
DATA_POPULATION_STATUS_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “IN_PROGRESS”
-
DATA_POPULATION_STATUS_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “NEEDS_ATTENTION”
-
DATA_POPULATION_STATUS_PARTIALLY_SUCCEEDED= 'PARTIALLY_SUCCEEDED'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “PARTIALLY_SUCCEEDED”
-
DATA_POPULATION_STATUS_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “SUCCEEDED”
-
DATA_POPULATION_STATUS_WAITING= 'WAITING'¶ A constant which can be used with the data_population_status property of a TenancyAttachment. This constant has a value of “WAITING”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a TenancyAttachment. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a TenancyAttachment. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a TenancyAttachment. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a TenancyAttachment. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a TenancyAttachment. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a TenancyAttachment. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a TenancyAttachment. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new TenancyAttachment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this TenancyAttachment.
- description (str) – The value to assign to the description property of this TenancyAttachment.
- resource_analytics_instance_id (str) – The value to assign to the resource_analytics_instance_id property of this TenancyAttachment.
- tenancy_id (str) – The value to assign to the tenancy_id property of this TenancyAttachment.
- is_reporting_tenancy (bool) – The value to assign to the is_reporting_tenancy property of this TenancyAttachment.
- monitored_regions (list[oci.resource_analytics.models.TenancyAttachmentMonitoredRegionSummary]) – The value to assign to the monitored_regions property of this TenancyAttachment.
- data_population_status (str) – The value to assign to the data_population_status property of this TenancyAttachment. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “NEEDS_ATTENTION”, “PARTIALLY_SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_data_population_started (datetime) – The value to assign to the time_data_population_started property of this TenancyAttachment.
- time_data_population_ended (datetime) – The value to assign to the time_data_population_ended property of this TenancyAttachment.
- time_created (datetime) – The value to assign to the time_created property of this TenancyAttachment.
- time_updated (datetime) – The value to assign to the time_updated property of this TenancyAttachment.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this TenancyAttachment. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this TenancyAttachment.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this TenancyAttachment.
-
data_population_status¶ [Required] Gets the data_population_status of this TenancyAttachment. The overall status of the data population from the tenancy.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “NEEDS_ATTENTION”, “PARTIALLY_SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The data_population_status of this TenancyAttachment. Return type: str
-
description¶ Gets the description of this TenancyAttachment. A description of the tenancy.
Returns: The description of this TenancyAttachment. Return type: str
-
id¶ [Required] Gets the id of this TenancyAttachment. The OCID of the TenancyAttachment.
Returns: The id of this TenancyAttachment. Return type: str
-
is_reporting_tenancy¶ [Required] Gets the is_reporting_tenancy of this TenancyAttachment. Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
Returns: The is_reporting_tenancy of this TenancyAttachment. Return type: bool
-
lifecycle_details¶ Gets the lifecycle_details of this TenancyAttachment. A message that describes the current state of the TenancyAttachment in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
Returns: The lifecycle_details of this TenancyAttachment. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this TenancyAttachment. The current state of the TenancyAttachment.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this TenancyAttachment. Return type: str
-
monitored_regions¶ [Required] Gets the monitored_regions of this TenancyAttachment. List of monitored regions with their data population status.
Returns: The monitored_regions of this TenancyAttachment. Return type: list[oci.resource_analytics.models.TenancyAttachmentMonitoredRegionSummary]
-
resource_analytics_instance_id¶ [Required] Gets the resource_analytics_instance_id of this TenancyAttachment. The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
Returns: The resource_analytics_instance_id of this TenancyAttachment. Return type: str
Gets the system_tags of this TenancyAttachment. System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this TenancyAttachment. Return type: dict(str, dict(str, object))
-
tenancy_id¶ [Required] Gets the tenancy_id of this TenancyAttachment. The OCID of the tenancy associated with this TenancyAttachment.
Returns: The tenancy_id of this TenancyAttachment. Return type: str
-
time_created¶ [Required] Gets the time_created of this TenancyAttachment. The date and time the TenancyAttachment was created, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this TenancyAttachment. Return type: datetime
-
time_data_population_ended¶ Gets the time_data_population_ended of this TenancyAttachment. The date and time the data population tasks completed, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_data_population_ended of this TenancyAttachment. Return type: datetime
-
time_data_population_started¶ Gets the time_data_population_started of this TenancyAttachment. The date and time the data population tasks started, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_data_population_started of this TenancyAttachment. Return type: datetime
-