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? | The maximum number of items to return in a paginated "List" call. |
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'. |