Class GetPeerDatabaseMetricsRequest
Implements
Inherited Members
Namespace: Oci.DatabasemanagementService.Requests
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class GetPeerDatabaseMetricsRequest : IOciRequest
Examples
Click here to see an example of how to use GetPeerDatabaseMetrics request.
Properties
CompareType
Declaration
[HttpConverter(TargetEnum.Query, "compareType")]
public CompareType? CompareType { get; set; }
Property Value
Type | Description |
---|---|
CompareType? | The time window used for metrics comparison. |
EndTime
Declaration
[Required(ErrorMessage = "EndTime is required.")]
[HttpConverter(TargetEnum.Query, "endTime")]
public string EndTime { get; set; }
Property Value
Type | Description |
---|---|
string | The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". |
Remarks
Required
FilterByMetricNames
Declaration
[HttpConverter(TargetEnum.Query, "filterByMetricNames")]
public string FilterByMetricNames { get; set; }
Property Value
Type | Description |
---|---|
string | The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics. |
ManagedDatabaseId
Declaration
[Required(ErrorMessage = "ManagedDatabaseId is required.")]
[HttpConverter(TargetEnum.Path, "managedDatabaseId")]
public string ManagedDatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Managed Database. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The client request ID for tracing. |
PeerDatabaseCompartmentId
Declaration
[HttpConverter(TargetEnum.Query, "peerDatabaseCompartmentId")]
public string PeerDatabaseCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment for which peer database metrics are required. This is not a mandatory parameter and in its absence, all the peer database metrics are returned. |
StartTime
Declaration
[Required(ErrorMessage = "StartTime is required.")]
[HttpConverter(TargetEnum.Query, "startTime")]
public string StartTime { get; set; }
Property Value
Type | Description |
---|---|
string | The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". |
Remarks
Required