Class ListLogGroupsRequest
Implements
Inherited Members
Namespace: Oci.LoggingService.Requests
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class ListLogGroupsRequest : IOciRequest
Examples
Click here to see an example of how to use ListLogGroups request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. |
Remarks
Required
DisplayName
Declaration
[HttpConverter(TargetEnum.Query, "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Resource name. |
IsCompartmentIdInSubtree
Declaration
[HttpConverter(TargetEnum.Query, "isCompartmentIdInSubtree")]
public bool? IsCompartmentIdInSubtree { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Specifies whether or not nested compartments should be traversed. Defaults to false. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | When setting the page limit, specifies the maximum number of unfiltered records that can be fetched from the data store in one request. Filtering happens after the records are retrieved. Subsequent pages might include results that match the query criteria. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string | For list pagination. The value of the |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListLogGroupsRequest.SortByEnum? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| ListLogGroupsRequest.SortByEnum? | The field to sort by (one column only). Default sort order is
ascending exception of |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListLogGroupsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| ListLogGroupsRequest.SortOrderEnum? | The sort order to use, whether 'asc' or 'desc'. |