Show / Hide Table of Contents

Class ListLongTermBackupsRequest

Inheritance
object
ListLongTermBackupsRequest
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.RecoveryService.Requests
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class ListLongTermBackupsRequest : IOciRequest
Examples

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

Properties

CompartmentId

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

The compartment OCID.

DisplayName

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

A filter to return only resources that match the entire 'displayname' given.

Id

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

The long-term backup OCID. Use longTermBackupId to filter a long-term backup based on its unique identifier.

LifecycleState

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

A filter to return only the resources that match the specified lifecycle state.

Limit

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

The maximum number of items to return per page.

OpcRequestId

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

Unique identifier for the request.

Page

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

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

ProtectedDatabaseId

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

The protected database OCID. Use protectedDatabaseId to list the long-term backups of a specific protected database.

SortBy

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

The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order. Allowed values are:

  • TIMECREATED
  • DISPLAYNAME

SortOrder

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

The sort order to use, either ascending (ASC) or descending (DESC). Allowed values are:

  • ASC
  • DESC

Implements

IOciRequest
In this article
Back to top