Class ListDbHomesRequest
Implements
Inherited Members
Namespace: Oci.DatabaseService.Requests
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class ListDbHomesRequest : IOciRequestExamples
Click here to see an example of how to use ListDbHomes request.
Properties
BackupId
Declaration
[HttpConverter(TargetEnum.Query, "backupId")]
public string BackupId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the backup. Specify a backupId to list only the DB systems or DB homes that support creating a database using this backup in this compartment. | 
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
DbSystemId
Declaration
[HttpConverter(TargetEnum.Query, "dbSystemId")]
public string DbSystemId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The DB system OCID. If provided, filters the results to the set of database versions which are supported for the DB system. | 
DbVersion
Declaration
[HttpConverter(TargetEnum.Query, "dbVersion")]
public string DbVersion { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A filter to return only DB Homes that match the specified dbVersion. | 
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. | 
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public DbHomeSummary.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| DbHomeSummary.LifecycleStateEnum? | A filter to return only resources that match the given lifecycle state exactly. | 
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. | 
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The pagination token to continue listing from. | 
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListDbHomesRequest.SortByEnum? SortBy { get; set; }Property Value
| Type | Description | 
|---|---|
| ListDbHomesRequest.SortByEnum? | The field to sort by.  You can provide one sort order ( | 
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListDbHomesRequest.SortOrderEnum? SortOrder { get; set; }Property Value
| Type | Description | 
|---|---|
| ListDbHomesRequest.SortOrderEnum? | The sort order to use, either ascending ( | 
VmClusterId
Declaration
[HttpConverter(TargetEnum.Query, "vmClusterId")]
public string VmClusterId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the VM cluster. |