Class GetPdbMetricsRequest
Implements
Inherited Members
Namespace: Oci.DatabasemanagementService.Requests
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class GetPdbMetricsRequest : IOciRequestExamples
Click here to see an example of how to use GetPdbMetrics 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. | 
CompartmentId
Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment. | 
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. | 
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