Class TenancyAttachment
A 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.
Inherited Members
Namespace: Oci.ResourceanalyticsService.Models
Assembly: OCI.DotNetSDK.Resourceanalytics.dll
Syntax
public class TenancyAttachment
Properties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A description of the tenancy. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the TenancyAttachment. |
Remarks
Required
IsReportingTenancy
Declaration
[Required(ErrorMessage = "IsReportingTenancy is required.")]
[JsonProperty(PropertyName = "isReportingTenancy")]
public bool? IsReportingTenancy { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the tenancy is the tenancy used when creating Resource Analytics Instance. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TenancyAttachment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
TenancyAttachment.LifecycleStateEnum? | The current state of the TenancyAttachment. |
Remarks
Required
ResourceAnalyticsInstanceId
Declaration
[Required(ErrorMessage = "ResourceAnalyticsInstanceId is required.")]
[JsonProperty(PropertyName = "resourceAnalyticsInstanceId")]
public string ResourceAnalyticsInstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace.
|
TenancyId
Declaration
[Required(ErrorMessage = "TenancyId is required.")]
[JsonProperty(PropertyName = "tenancyId")]
public string TenancyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the tenancy associated with this TenancyAttachment. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the TenancyAttachment was created, in the format defined by RFC 3339.
|
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the TenancyAttachment was updated, in the format defined by RFC 3339.
|