Class MonitoredResourceAssociation
Association details between two monitored resources.
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class MonitoredResourceAssociation
Properties
AssociationType
Declaration
[Required(ErrorMessage = "AssociationType is required.")]
[JsonProperty(PropertyName = "associationType")]
public string AssociationType { get; set; }
Property Value
Type | Description |
---|---|
string | Association Type. |
Remarks
Required
Category
Declaration
[JsonProperty(PropertyName = "category")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MonitoredResourceAssociation.CategoryEnum? Category { get; set; }
Property Value
Type | Description |
---|---|
MonitoredResourceAssociation.CategoryEnum? | Association category. Possible values are:
|
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier OCID. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
DestinationResourceDetails
Declaration
[JsonProperty(PropertyName = "destinationResourceDetails")]
public AssociationResourceDetails DestinationResourceDetails { get; set; }
Property Value
Type | Description |
---|---|
AssociationResourceDetails |
DestinationResourceId
Declaration
[Required(ErrorMessage = "DestinationResourceId is required.")]
[JsonProperty(PropertyName = "destinationResourceId")]
public string DestinationResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | Destination Monitored Resource Identifier OCID. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
SourceResourceDetails
Declaration
[JsonProperty(PropertyName = "sourceResourceDetails")]
public AssociationResourceDetails SourceResourceDetails { get; set; }
Property Value
Type | Description |
---|---|
AssociationResourceDetails |
SourceResourceId
Declaration
[Required(ErrorMessage = "SourceResourceId is required.")]
[JsonProperty(PropertyName = "sourceResourceId")]
public string SourceResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | Source Monitored Resource Identifier OCID. |
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>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TenantId
Declaration
[Required(ErrorMessage = "TenantId is required.")]
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }
Property Value
Type | Description |
---|---|
string | Tenancy Identifier OCID. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the association was created. An RFC3339 formatted datetime string. |