Show / Hide Table of Contents

Class ListProtectedDatabasesRequest

Inheritance
object
ListProtectedDatabasesRequest
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 ListProtectedDatabasesRequest : IOciRequest
Examples

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

Properties

CompartmentId

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

The compartment OCID.

Remarks

Required

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 protected database OCID.

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.

ProtectionPolicyId

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

The protection policy OCID.

RecoveryServiceSubnetId

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

The recovery service subnet OCID.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListProtectedDatabasesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListProtectedDatabasesRequest.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