Class ListResourceProfilesRequest
Implements
Inherited Members
Namespace: Oci.CloudguardService.Requests
Assembly: OCI.DotNetSDK.Cloudguard.dll
Syntax
public class ListResourceProfilesRequest : IOciRequest
Examples
Click here to see an example of how to use ListResourceProfiles request.
Properties
AccessLevel
Declaration
[HttpConverter(TargetEnum.Query, "accessLevel")]
public ListResourceProfilesRequest.AccessLevelEnum? AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
ListResourceProfilesRequest.AccessLevelEnum? | Valid values are |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment in which to list resources. |
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 depending on the setting of |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The client request ID for tracing. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. |
ResourceTypes
Declaration
[HttpConverter(TargetEnum.Query, "resourceTypes", CollectionFormatType.Multi)]
public List<string> ResourceTypes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A filter to return only resources that match the list of resource types given. |
RiskScoreGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "riskScoreGreaterThanOrEqualTo")]
public double RiskScoreGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
double | Risk score filter. |
RiskScoreLessThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "riskScoreLessThanOrEqualTo")]
public double RiskScoreLessThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
double | Risk score filter, |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListResourceProfilesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListResourceProfilesRequest.SortByEnum? | The field to sort resource profiles. Only one sort order may be provided. Default order for timeLastDetected is descending. If no value is specified timeLastDetected is default. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrders? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrders? | The sort order to use |
Tactics
Declaration
[HttpConverter(TargetEnum.Query, "tactics", CollectionFormatType.Multi)]
public List<string> Tactics { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A filter to return only resources that match the list of tactics given. |
Techniques
Declaration
[HttpConverter(TargetEnum.Query, "techniques", CollectionFormatType.Multi)]
public List<string> Techniques { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A filter to return only resources that match the list of techniques given. |
TimeFirstDetectedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeFirstDetectedGreaterThanOrEqualTo")]
public DateTime? TimeFirstDetectedGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. |
TimeFirstDetectedLessThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeFirstDetectedLessThanOrEqualTo")]
public DateTime? TimeFirstDetectedLessThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | End time for a filter. If end time is not specified, end time will be set to current time. |
TimeLastDetectedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeLastDetectedGreaterThanOrEqualTo")]
public DateTime? TimeLastDetectedGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. |
TimeLastDetectedLessThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeLastDetectedLessThanOrEqualTo")]
public DateTime? TimeLastDetectedLessThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | End time for a filter. If end time is not specified, end time will be set to current time. |