Show / Hide Table of Contents

Class ListAutonomousDatabasesRequest

Inheritance
object
ListAutonomousDatabasesRequest
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.DatabaseService.Requests
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class ListAutonomousDatabasesRequest : IOciRequest
Examples

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

Properties

AutonomousContainerDatabaseId

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

The Autonomous Container Database OCID.

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

DbVersion

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

A filter to return only autonomous database resources that match the specified dbVersion.

DbWorkload

Declaration
[HttpConverter(TargetEnum.Query, "dbWorkload")]
public AutonomousDatabaseSummary.DbWorkloadEnum? DbWorkload { get; set; }
Property Value
Type Description
AutonomousDatabaseSummary.DbWorkloadEnum?

A filter to return only autonomous database resources that match the specified workload type.

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 display name given. The match is not case sensitive.

InfrastructureType

Declaration
[HttpConverter(TargetEnum.Query, "infrastructureType")]
public AutonomousDatabaseSummary.InfrastructureTypeEnum? InfrastructureType { get; set; }
Property Value
Type Description
AutonomousDatabaseSummary.InfrastructureTypeEnum?

A filter to return only resources that match the given Infrastructure Type.

IsDataGuardEnabled

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

A filter to return only resources that have Data Guard enabled.

IsFreeTier

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

Filter on the value of the resource's 'isFreeTier' property. A value of true returns only Always Free resources. A value of false excludes Always Free resources from the returned results. Omitting this parameter returns both Always Free and paid resources.

IsRefreshableClone

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

Filter on the value of the resource's 'isRefreshableClone' property. A value of true returns only refreshable clones. A value of false excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones.

IsResourcePoolLeader

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

Filter if the resource is the resource pool leader. A value of true returns only resource pool leader.

LifecycleState

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

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

LifecycleStateNotEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleStateNotEqualTo")]
public AutonomousDatabaseSummary.LifecycleStateEnum? LifecycleStateNotEqualTo { get; set; }
Property Value
Type Description
AutonomousDatabaseSummary.LifecycleStateEnum?

A filter to return only resources that not match the given 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 pagination token to continue listing from.

ResourcePoolLeaderId

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

The database OCID of the resourcepool Leader Autonomous Database.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListAutonomousDatabasesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListAutonomousDatabasesRequest.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. The DISPLAYNAME sort order is case sensitive.
Note: If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.

SortOrder

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

The sort order to use, either ascending (ASC) or descending (DESC).

Implements

IOciRequest
In this article
Back to top