Show / Hide Table of Contents

Class GetDatabaseFleetBackupMetricsRequest

Inheritance
object
GetDatabaseFleetBackupMetricsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService.Requests
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class GetDatabaseFleetBackupMetricsRequest : IOciRequest
Examples

Click here to see an example of how to use GetDatabaseFleetBackupMetrics request.

Properties

CompartmentId

Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment.

DatabaseHostedIn

Declaration
[Required(ErrorMessage = "DatabaseHostedIn is required.")]
[HttpConverter(TargetEnum.Query, "databaseHostedIn")]
public DatabaseHostedIn? DatabaseHostedIn { get; set; }
Property Value
Type Description
DatabaseHostedIn?

Indicates whether the database is a cloud database or an external database.

Remarks

Required

DefinedTagEquals

Declaration
[HttpConverter(TargetEnum.Query, "definedTagEquals", CollectionFormatType.Multi)]
public List<string> DefinedTagEquals { get; set; }
Property Value
Type Description
List<string>

A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".

DefinedTagExists

Declaration
[HttpConverter(TargetEnum.Query, "definedTagExists", CollectionFormatType.Multi)]
public List<string> DefinedTagExists { get; set; }
Property Value
Type Description
List<string>

A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".

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.

FreeformTagEquals

Declaration
[HttpConverter(TargetEnum.Query, "freeformTagEquals", CollectionFormatType.Multi)]
public List<string> FreeformTagEquals { get; set; }
Property Value
Type Description
List<string>

A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".

FreeformTagExists

Declaration
[HttpConverter(TargetEnum.Query, "freeformTagExists", CollectionFormatType.Multi)]
public List<string> FreeformTagExists { get; set; }
Property Value
Type Description
List<string>

A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND".

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number of records returned in the paginated response.

ManagedDatabaseGroupId

Declaration
[HttpConverter(TargetEnum.Query, "managedDatabaseGroupId")]
public string ManagedDatabaseGroupId { get; set; }
Property Value
Type Description
string

The OCID of the Managed Database Group.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The client request ID for tracing.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The page token representing the page from where the next set of paginated results are retrieved. This is usually retrieved from a previous list call.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public GetDatabaseFleetBackupMetricsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
GetDatabaseFleetBackupMetricsRequest.SortByEnum?

The field to sort information by. Only one sortOrder can be used. The default sort order for DATABASENAME is ascending and it is case-sensitive.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrders? SortOrder { get; set; }
Property Value
Type Description
SortOrders?

The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order. Ascending order is the default order.

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

Implements

IOciRequest
In this article
Back to top