Class ListDbServersRequest
Implements
Inherited Members
Namespace: Oci.DatabaseService.Requests
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class ListDbServersRequest : IOciRequest
Examples
Click here to see an example of how to use ListDbServers 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 display name given. The match is not case sensitive. |
ExadataInfrastructureId
Declaration
[Required(ErrorMessage = "ExadataInfrastructureId is required.")]
[HttpConverter(TargetEnum.Query, "exadataInfrastructureId")]
public string ExadataInfrastructureId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the ExadataInfrastructure. |
Remarks
Required
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public DbServerSummary.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DbServerSummary.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. |
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. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListDbServersRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListDbServersRequest.SortByEnum? | Sort by TIMECREATED. Default order for TIMECREATED is descending. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListDbServersRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListDbServersRequest.SortOrderEnum? | The sort order to use, either ascending ( |