Class AwrHubSource
Awr hub source object
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
public class AwrHubSource
Properties
AssociatedOpsiId
Declaration
[JsonProperty(PropertyName = "associatedOpsiId")]
public string AssociatedOpsiId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the database id. |
AssociatedResourceId
Declaration
[JsonProperty(PropertyName = "associatedResourceId")]
public string AssociatedResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the database id. |
AwrHubId
Declaration
[Required(ErrorMessage = "AwrHubId is required.")]
[JsonProperty(PropertyName = "awrHubId")]
public string AwrHubId { get; set; }
Property Value
Type | Description |
---|---|
string | AWR Hub OCID |
Remarks
Required
AwrHubOpsiSourceId
Declaration
[Required(ErrorMessage = "AwrHubOpsiSourceId is required.")]
[JsonProperty(PropertyName = "awrHubOpsiSourceId")]
public string AwrHubOpsiSourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The shorted string of the Awr Hub source database identifier. |
Remarks
Required
AwrSourceDatabaseId
Declaration
[JsonProperty(PropertyName = "awrSourceDatabaseId")]
public string AwrSourceDatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment. |
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"}} |
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"} |
HoursSinceLastImport
Declaration
[JsonProperty(PropertyName = "hoursSinceLastImport")]
public double HoursSinceLastImport { get; set; }
Property Value
Type | Description |
---|---|
double | Number of hours since last AWR snapshots import happened from the Source database. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Awr Hub source database. |
Remarks
Required
IsRegisteredWithAwrHub
Declaration
[JsonProperty(PropertyName = "isRegisteredWithAwrHub")]
public bool? IsRegisteredWithAwrHub { get; set; }
Property Value
Type | Description |
---|---|
bool? | This is |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AwrHubSourceLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
AwrHubSourceLifecycleState? | the current state of the source database |
Remarks
Required
MaxSnapshotIdentifier
Declaration
[JsonProperty(PropertyName = "maxSnapshotIdentifier")]
public decimal? MaxSnapshotIdentifier { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. |
MinSnapshotIdentifier
Declaration
[JsonProperty(PropertyName = "minSnapshotIdentifier")]
public decimal? MinSnapshotIdentifier { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the Awr Hub source database. |
Remarks
Required
SourceMailBoxUrl
Declaration
[Required(ErrorMessage = "SourceMailBoxUrl is required.")]
[JsonProperty(PropertyName = "sourceMailBoxUrl")]
public string SourceMailBoxUrl { get; set; }
Property Value
Type | Description |
---|---|
string | Opsi Mailbox URL based on the Awr Hub and Awr Hub source. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AwrHubSourceStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
AwrHubSourceStatus? | Indicates the status of a source database in Operations Insights |
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. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time at which the resource was first created. An RFC3339 formatted datetime string |
Remarks
Required
TimeFirstSnapshotGenerated
Declaration
[JsonProperty(PropertyName = "timeFirstSnapshotGenerated")]
public DateTime? TimeFirstSnapshotGenerated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string |
TimeLastSnapshotGenerated
Declaration
[JsonProperty(PropertyName = "timeLastSnapshotGenerated")]
public DateTime? TimeLastSnapshotGenerated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time at which the resource was last updated. An RFC3339 formatted datetime string |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AwrHubSourceType? Type { get; set; }
Property Value
Type | Description |
---|---|
AwrHubSourceType? | source type of the database |
Remarks
Required