Class ListAuditTrailAnalyticsRequest
Implements
Inherited Members
Namespace: Oci.DatasafeService.Requests
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class ListAuditTrailAnalyticsRequest : IOciRequest
Examples
Click here to see an example of how to use ListAuditTrailAnalytics request.
Properties
AccessLevel
Declaration
[HttpConverter(TargetEnum.Query, "accessLevel")]
public ListAuditTrailAnalyticsRequest.AccessLevelEnum? AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
ListAuditTrailAnalyticsRequest.AccessLevelEnum? | Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only resources that match the specified compartment OCID. |
Remarks
Required
CompartmentIdInSubtree
Declaration
[HttpConverter(TargetEnum.Query, "compartmentIdInSubtree")]
public bool? CompartmentIdInSubtree { get; set; }
Property Value
Type | Description |
---|---|
bool? | Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. |
GroupBy
Declaration
[HttpConverter(TargetEnum.Query, "groupBy", CollectionFormatType.Multi)]
public List<ListAuditTrailAnalyticsRequest.GroupByEnum> GroupBy { get; set; }
Property Value
Type | Description |
---|---|
List<ListAuditTrailAnalyticsRequest.GroupByEnum> | The group by parameter for summarize operation on audit trail. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination. |
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 | For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination. |
QueryTimeZone
Declaration
[HttpConverter(TargetEnum.Query, "queryTimeZone")]
public string QueryTimeZone { get; set; }
Property Value
Type | Description |
---|---|
string | Default time zone is UTC if no time zone provided. The date-time considerations of the resource will be in accordance with the specified time zone. |
TargetDatabaseGroupId
Declaration
[HttpConverter(TargetEnum.Query, "targetDatabaseGroupId")]
public string TargetDatabaseGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return the target database group that matches the specified OCID. |
TargetId
Declaration
[HttpConverter(TargetEnum.Query, "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only items related to a specific target OCID. |
TimeEnded
Declaration
[HttpConverter(TargetEnum.Query, "timeEnded")]
public DateTime? TimeEnded { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | An optional filter to return audit events whose creation time in the database is less than and equal to the date-time specified, in the format defined by RFC3339. |
TimeStarted
Declaration
[HttpConverter(TargetEnum.Query, "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | An optional filter to return audit events whose creation time in the database is greater than and equal to the date-time specified, in the format defined by RFC3339. |